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