diff --git a/eng/Versions.props b/eng/Versions.props
index 2b27df38715..9c6c1ded8b6 100644
--- a/eng/Versions.props
+++ b/eng/Versions.props
@@ -38,7 +38,7 @@
17.9.5
4.8.0
- 1.1.2-beta1.24121.1
+ 1.1.2
1.12.0
1.3.2
1.8.1
diff --git a/test/EFCore.Analyzers.Tests/TestUtilities/CSharpAnalyzerVerifier.cs b/test/EFCore.Analyzers.Tests/TestUtilities/CSharpAnalyzerVerifier.cs
index 0bc003b1ae3..2f5ee948477 100644
--- a/test/EFCore.Analyzers.Tests/TestUtilities/CSharpAnalyzerVerifier.cs
+++ b/test/EFCore.Analyzers.Tests/TestUtilities/CSharpAnalyzerVerifier.cs
@@ -18,7 +18,9 @@ public static class CSharpAnalyzerVerifier
where TAnalyzer : DiagnosticAnalyzer, new()
{
public static DiagnosticResult Diagnostic(string diagnosticId)
+#pragma warning disable CS0618 // Type or member is obsolete
=> CSharpAnalyzerVerifier.Diagnostic(diagnosticId);
+#pragma warning restore CS0618 // Type or member is obsolete
public static Task VerifyAnalyzerAsync(string source, params DiagnosticResult[] expected)
{
@@ -27,7 +29,9 @@ public static Task VerifyAnalyzerAsync(string source, params DiagnosticResult[]
return test.RunAsync();
}
+#pragma warning disable CS0618 // Type or member is obsolete
public class Test : CSharpAnalyzerTest
+#pragma warning restore CS0618 // Type or member is obsolete
{
protected override CompilationOptions CreateCompilationOptions()
{
diff --git a/test/EFCore.Analyzers.Tests/TestUtilities/CSharpCodeFixVerifier.cs b/test/EFCore.Analyzers.Tests/TestUtilities/CSharpCodeFixVerifier.cs
index 1f859e69de8..5354b86e3d3 100644
--- a/test/EFCore.Analyzers.Tests/TestUtilities/CSharpCodeFixVerifier.cs
+++ b/test/EFCore.Analyzers.Tests/TestUtilities/CSharpCodeFixVerifier.cs
@@ -18,7 +18,9 @@ public static class CSharpCodeFixVerifier
where TCodeFix : CodeFixProvider, new()
{
public static DiagnosticResult Diagnostic(string diagnosticId)
+#pragma warning disable CS0618 // Type or member is obsolete
=> CSharpAnalyzerVerifier.Diagnostic(diagnosticId);
+#pragma warning restore CS0618 // Type or member is obsolete
public static Task VerifyAnalyzerAsync(string source, params DiagnosticResult[] expected)
{
@@ -34,7 +36,9 @@ public static async Task VerifyCodeFixAsync(string source, string fixedSource)
await test.RunAsync();
}
+#pragma warning disable CS0618 // Type or member is obsolete
public class Test : CSharpCodeFixTest
+#pragma warning restore CS0618 // Type or member is obsolete
{
protected override async Task CreateProjectImplAsync(
EvaluatedProjectState primaryProject,