1 write to _supportedDiagnostics
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Diagnostics\DiagnosticAnalyzerServiceTests.cs (1)
1037
=>
_supportedDiagnostics
= ImmutableArray.Create(new DiagnosticDescriptor(DiagnosticId, "test", "test", "test", defaultSeverity, isEnabledByDefault: true));
2 references to _supportedDiagnostics
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
Diagnostics\DiagnosticAnalyzerServiceTests.cs (2)
1039
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics =>
_supportedDiagnostics
;
1047
c.ReportDiagnostic(Diagnostic.Create(
_supportedDiagnostics
[0], c.Symbol.Locations[0]));