diff --git a/src/dotnet/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.Tests/AzureAnalyzerVerifier.cs b/src/dotnet/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.Tests/AzureAnalyzerVerifier.cs index 101a33a3c9b..afe009f60b6 100644 --- a/src/dotnet/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.Tests/AzureAnalyzerVerifier.cs +++ b/src/dotnet/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.Tests/AzureAnalyzerVerifier.cs @@ -26,17 +26,17 @@ namespace Azure.ClientSdk.Analyzers.Tests public static CSharpAnalyzerTest CreateAnalyzer(string source, LanguageVersion languageVersion = LanguageVersion.Latest) => new CSharpAnalyzerTest - { - ReferenceAssemblies = DefaultReferenceAssemblies, - SolutionTransforms = {(solution, projectId) => + { + ReferenceAssemblies = DefaultReferenceAssemblies, + SolutionTransforms = {(solution, projectId) => { var project = solution.GetProject(projectId); var parseOptions = (CSharpParseOptions)project.ParseOptions; return solution.WithProjectParseOptions(projectId, parseOptions.WithLanguageVersion(languageVersion)); }}, - TestCode = source, - TestBehaviors = TestBehaviors.SkipGeneratedCodeCheck - }; + TestCode = source, + TestBehaviors = TestBehaviors.SkipGeneratedCodeCheck + }; public static Task VerifyAnalyzerAsync(string source, LanguageVersion languageVersion = LanguageVersion.Latest) => CreateAnalyzer(source, languageVersion).RunAsync(CancellationToken.None);