4 references to AssertDiagnostic
Microsoft.Analyzers.Local.Tests (4)
ApiLifecycle\ApiLifecycleAnalyzerTest.cs (1)
48source.AssertDiagnostic(i, descriptor, diagnostics[i]);
CallAnalysis\ToInvariantStringTests.cs (1)
45Source.AssertDiagnostic(i, DiagDescriptors.ToInvariantString, d[i]);
CallAnalysis\UseThrowsTests.cs (2)
34original.AssertDiagnostic(0, DiagDescriptors.ThrowsStatement, d[0]); 282original.AssertDiagnostic(0, DiagDescriptors.ThrowsExpression, d[0]);