2 references to s_syntaxDiagnosticDescriptor
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
Diagnostics\DiagnosticAnalyzerDriver\DiagnosticAnalyzerDriverTests.cs (2)
223
return [
s_syntaxDiagnosticDescriptor
];
236
=> context.ReportDiagnostic(Diagnostic.Create(
s_syntaxDiagnosticDescriptor
, context.Tree.GetRoot().GetFirstToken().GetLocation()));