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