5 references to s_rule
Microsoft.CodeAnalysis.Test.Utilities (5)
Diagnostics\SuppressMessageAttributeTests.DiagnosticAnalyzers.cs (5)
131
return ImmutableArray.Create(
s_rule
);
154
context.ReportDiagnostic(CodeAnalysis.Diagnostic.Create(
s_rule
, context.OwningSymbol.Locations.First(), messageArgs: context.OwningSymbol.Name + ":end"));
160
context.ReportDiagnostic(CodeAnalysis.Diagnostic.Create(
s_rule
, context.Node.GetLocation(), messageArgs: context.Node.ToFullString()));
173
context.ReportDiagnostic(CodeAnalysis.Diagnostic.Create(
s_rule
, context.OwningSymbol.Locations.First(), messageArgs: context.OwningSymbol.Name + ":end"));
179
context.ReportDiagnostic(CodeAnalysis.Diagnostic.Create(
s_rule
, context.Node.GetLocation(), messageArgs: context.Node.ToFullString()));