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