18 references to Rule
Microsoft.CodeAnalysis.NetAnalyzers.UnitTests (18)
Microsoft.NetCore.Analyzers\Runtime\UseSpanBasedStringConcatTests.cs (18)
86
ExpectedDiagnostics = { VerifyCS.Diagnostic(
Rule
).WithLocation(0) }
152
ExpectedDiagnostics = { VerifyVB.Diagnostic(
Rule
).WithLocation(0) }
200
test.ExpectedDiagnostics.AddRange(locations.Select(x => VerifyCS.Diagnostic(
Rule
).WithLocation(x)));
247
test.ExpectedDiagnostics.AddRange(locations.Select(x => VerifyVB.Diagnostic(
Rule
).WithLocation(x)));
291
test.ExpectedDiagnostics.AddRange(locations.Select(x => VerifyCS.Diagnostic(
Rule
).WithLocation(x)));
335
test.ExpectedDiagnostics.AddRange(locations.Select(x => VerifyVB.Diagnostic(
Rule
).WithLocation(x)));
350
ExpectedDiagnostics = { VerifyCS.Diagnostic(
Rule
).WithLocation(0) }
366
ExpectedDiagnostics = { VerifyVB.Diagnostic(
Rule
).WithLocation(0) }
379
ExpectedDiagnostics = { VerifyCS.Diagnostic(
Rule
).WithLocation(0) }
394
ExpectedDiagnostics = { VerifyVB.Diagnostic(
Rule
).WithLocation(0) }
416
ExpectedDiagnostics = { VerifyVB.Diagnostic(
Rule
).WithLocation(0) }
437
ExpectedDiagnostics = { VerifyCS.Diagnostic(
Rule
).WithLocation(0) }
458
ExpectedDiagnostics = { VerifyVB.Diagnostic(
Rule
).WithLocation(0) }
495
ExpectedDiagnostics = { VerifyCS.Diagnostic(
Rule
).WithLocation(0) }
535
ExpectedDiagnostics = { VerifyVB.Diagnostic(
Rule
).WithLocation(0) }
563
ExpectedDiagnostics = { VerifyVB.Diagnostic(
Rule
).WithLocation(0) }
582
ExpectedDiagnostics = { VerifyCS.Diagnostic(
Rule
).WithLocation(0) }
601
ExpectedDiagnostics = { VerifyVB.Diagnostic(
Rule
).WithLocation(0) }