diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1313CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1313CSharp10UnitTests.cs index 02173ad14..d099245cb 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1313CSharp10UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1313CSharp10UnitTests.cs @@ -7,7 +7,6 @@ namespace StyleCop.Analyzers.Test.CSharp10.NamingRules { using System.Threading; using System.Threading.Tasks; - using Microsoft.CodeAnalysis.CSharp; using StyleCop.Analyzers.Test.CSharp9.NamingRules; using StyleCop.Analyzers.Test.Verifiers; using Xunit; @@ -43,7 +42,7 @@ public R(int a, int b) }} "; - await new CSharpTest(LanguageVersion.CSharp10) + await new CSharpTest() { ReferenceAssemblies = GenericAnalyzerTest.ReferenceAssembliesNet60, TestCode = testCode, diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1101CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1101CSharp10UnitTests.cs index 6d5bd0724..33b092d9e 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1101CSharp10UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1101CSharp10UnitTests.cs @@ -5,7 +5,6 @@ namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules { using System.Threading; using System.Threading.Tasks; - using Microsoft.CodeAnalysis.CSharp; using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules; using StyleCop.Analyzers.Test.Verifiers; using Xunit; @@ -30,7 +29,7 @@ public bool Method(Test arg) } }"; - await new CSharpTest(LanguageVersion.CSharp10) + await new CSharpTest() { ReferenceAssemblies = GenericAnalyzerTest.ReferenceAssembliesNet60, TestCode = testCode,