diff options
Diffstat (limited to 'test/ILLink.RoslynAnalyzer.Tests/TestCaseCompilation.cs')
-rw-r--r-- | test/ILLink.RoslynAnalyzer.Tests/TestCaseCompilation.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ILLink.RoslynAnalyzer.Tests/TestCaseCompilation.cs b/test/ILLink.RoslynAnalyzer.Tests/TestCaseCompilation.cs index aaa35beb9..e45d10a01 100644 --- a/test/ILLink.RoslynAnalyzer.Tests/TestCaseCompilation.cs +++ b/test/ILLink.RoslynAnalyzer.Tests/TestCaseCompilation.cs @@ -63,7 +63,7 @@ namespace ILLink.RoslynAnalyzer.Tests return (new CompilationWithAnalyzers (comp, SupportedDiagnosticAnalyzers, compWithAnalyzerOptions), comp.GetSemanticModel (src), exceptionDiagnostics); } - class SimpleAnalyzerOptions : AnalyzerConfigOptionsProvider + sealed class SimpleAnalyzerOptions : AnalyzerConfigOptionsProvider { public SimpleAnalyzerOptions ((string, string)[]? globalOptions) { @@ -81,7 +81,7 @@ namespace ILLink.RoslynAnalyzer.Tests public override AnalyzerConfigOptions GetOptions (AdditionalText textFile) => SimpleAnalyzerConfigOptions.Empty; - class SimpleAnalyzerConfigOptions : AnalyzerConfigOptions + sealed class SimpleAnalyzerConfigOptions : AnalyzerConfigOptions { public static readonly SimpleAnalyzerConfigOptions Empty = new SimpleAnalyzerConfigOptions (ImmutableDictionary<string, string>.Empty); |