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