Skip to content

Commit

Permalink
Add readonly to Instance fields. (#35334)
Browse files Browse the repository at this point in the history
  • Loading branch information
cincuranet authored Dec 16, 2024
1 parent 44b38a8 commit 1fad9c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace Microsoft.EntityFrameworkCore.TestUtilities;

public class SqlServerPrecompiledQueryTestHelpers : PrecompiledQueryTestHelpers
{
public static SqlServerPrecompiledQueryTestHelpers Instance = new();
public static readonly SqlServerPrecompiledQueryTestHelpers Instance = new();

protected override IEnumerable<MetadataReference> BuildProviderMetadataReferences()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace Microsoft.EntityFrameworkCore.TestUtilities;

public class SqlitePrecompiledQueryTestHelpers : PrecompiledQueryTestHelpers
{
public static SqlitePrecompiledQueryTestHelpers Instance = new();
public static readonly SqlitePrecompiledQueryTestHelpers Instance = new();

protected override IEnumerable<MetadataReference> BuildProviderMetadataReferences()
{
Expand Down

0 comments on commit 1fad9c1

Please sign in to comment.