21 instantiations of CSharpCompilerDiagnosticAnalyzer
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (5)
Diagnostics\Suppression\RemoveUnnecessaryPragmaSuppressionsTests.cs (2)
147=> ImmutableArray.Create<DiagnosticAnalyzer>(new CSharpCompilerDiagnosticAnalyzer()); 1021=> ImmutableArray.Create<DiagnosticAnalyzer>(new CSharpCompilerDiagnosticAnalyzer(), new UserDiagnosticAnalyzer());
Diagnostics\Suppression\SuppressionTests.cs (1)
448var analyzerReference = new AnalyzerImageReference(ImmutableArray.Create<DiagnosticAnalyzer>(new CSharpCompilerDiagnosticAnalyzer()));
LanguageServer\CSharpLspBuildOnlyDiagnosticsTests.cs (1)
25var supported = new CSharpCompilerDiagnosticAnalyzer().GetSupportedErrorCodes();
QuickInfo\DiagnosticAnalyzerQuickInfoSourceTests.cs (1)
215new CSharpCompilerDiagnosticAnalyzer(),
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (9)
Diagnostics\DiagnosticAnalyzerTests.cs (2)
715var analyzer = new CSharpCompilerDiagnosticAnalyzer(); 3660var analyzer2 = new CSharpCompilerDiagnosticAnalyzer();
Diagnostics\GetDiagnosticsTests.cs (7)
465var analyzers = new DiagnosticAnalyzer[] { new CSharpCompilerDiagnosticAnalyzer() }; 491var analyzers = ImmutableArray.Create<DiagnosticAnalyzer>(new CSharpCompilerDiagnosticAnalyzer()); 601var analyzers = ImmutableArray.Create<DiagnosticAnalyzer>(new CSharpCompilerDiagnosticAnalyzer()); 723var analyzers = ImmutableArray.Create<DiagnosticAnalyzer>(new CSharpCompilerDiagnosticAnalyzer()); 1002var compilerAnalyzer = new CSharpCompilerDiagnosticAnalyzer(); 1050var analyzers = ImmutableArray.Create<DiagnosticAnalyzer>(new CSharpCompilerDiagnosticAnalyzer()); 1069analyzers = ImmutableArray.Create<DiagnosticAnalyzer>(new CSharpCompilerDiagnosticAnalyzer(), suppressor);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (4)
Diagnostics\DiagnosticAnalyzerServiceTests.cs (4)
135var analyzerReference = new AnalyzerImageReference(ImmutableArray.Create<DiagnosticAnalyzer>(new CSharpCompilerDiagnosticAnalyzer())); 151var analyzerReference = new AnalyzerImageReference(ImmutableArray.Create<DiagnosticAnalyzer>(new CSharpCompilerDiagnosticAnalyzer())); 427new CSharpCompilerDiagnosticAnalyzer(), 820new CSharpCompilerDiagnosticAnalyzer(),
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (2)
Diagnostics\DiagnosticServiceTests.vb (2)
2360Dim compilerAnalyzer = New CSharpCompilerDiagnosticAnalyzer() 2431Dim compilerAnalyzer = New CSharpCompilerDiagnosticAnalyzer()
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\DiagnosticExtensions.cs (1)
396(DiagnosticAnalyzer)new Diagnostics.CSharp.CSharpCompilerDiagnosticAnalyzer() :
6 references to CSharpCompilerDiagnosticAnalyzer
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
Diagnostics\Suppression\RemoveUnnecessaryPragmaSuppressionsTests.cs (1)
157var supported = ((CSharpCompilerDiagnosticAnalyzer)OtherAnalyzers[0]).GetSupportedErrorCodes();
Formatting\CodeCleanupTests.cs (1)
825new AnalyzerFileReference(typeof(CSharpCompilerDiagnosticAnalyzer).Assembly.Location, TestAnalyzerAssemblyLoader.LoadFromFile),
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (3)
Diagnostics\DiagnosticAnalyzerTests.cs (2)
715var analyzer = new CSharpCompilerDiagnosticAnalyzer(); 3660var analyzer2 = new CSharpCompilerDiagnosticAnalyzer();
Diagnostics\GetDiagnosticsTests.cs (1)
1002var compilerAnalyzer = new CSharpCompilerDiagnosticAnalyzer();
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Diagnostics\DiagnosticAnalyzerServiceTests.cs (1)
451typeof(CSharpCompilerDiagnosticAnalyzer),