2 references to Rule
Microsoft.CodeAnalysis.NetAnalyzers.UnitTests (2)
Microsoft.NetCore.Analyzers\Runtime\PreferAsSpanOverSubstringTests.cs (2)
1816
public static DiagnosticResult DiagnosticAt(int markupKey) => VerifyCS.Diagnostic(
Rule
).WithLocation(markupKey);
1841
public static DiagnosticResult DiagnosticAt(int markupKey) => VerifyVB.Diagnostic(
Rule
).WithLocation(markupKey);