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