16 references to AssertDiagnostic
Microsoft.Analyzers.Extra.Tests (16)
AsyncCallInsideUsingBlockAnalyzerTests.cs (1)
407
source.
AssertDiagnostic
(i, DiagDescriptors.AsyncCallInsideUsingBlock, d[i]);
AsyncMethodWithoutCancellationTests.cs (1)
168
source.
AssertDiagnostic
(i, DiagDescriptors.AsyncMethodWithoutCancellation, d[i]);
CallAnalysis\ArraysTests.cs (1)
130
Source.
AssertDiagnostic
(i, DiagDescriptors.Arrays, d[i]);
CallAnalysis\LegacyCollectionTests.cs (1)
52
Source.
AssertDiagnostic
(i, DiagDescriptors.LegacyCollection, d[i]);
CallAnalysis\SplitTests.cs (1)
37
Source.
AssertDiagnostic
(i, DiagDescriptors.Split, d[i]);
CallAnalysis\StartsEndsWithTests.cs (2)
65
Source.
AssertDiagnostic
(i, DiagDescriptors.StartsEndsWith, d[i]);
123
Source.
AssertDiagnostic
(i, DiagDescriptors.StartsEndsWith, d[i]);
CallAnalysis\StaticTimeTests.cs (1)
85
Source.
AssertDiagnostic
(i, DiagDescriptors.StaticTime, d[i]);
CallAnalysis\ValueTupleTests.cs (1)
54
Source.
AssertDiagnostic
(i, DiagDescriptors.ValueTuple, d[i]);
CoalesceAnalyzerTests.cs (2)
100
Source.
AssertDiagnostic
(i, DiagDescriptors.CoalesceAssignment, d[i]);
168
Source.
AssertDiagnostic
(i, DiagDescriptors.Coalesce, d[i]);
ConditionalAccessAnalyzerTests.cs (1)
113
Source.
AssertDiagnostic
(i, DiagDescriptors.ConditionalAccess, d[i]);
MakeExeTypesInternalTests.cs (1)
164
Source.
AssertDiagnostic
(i, DiagDescriptors.MakeExeTypesInternal, d[i]);
UsingToStringInLoggersTests.cs (3)
73
Source.
AssertDiagnostic
(0, DiagDescriptors.UsingToStringInLoggers, d[0]);
74
Source.
AssertDiagnostic
(1, DiagDescriptors.UsingToStringInLoggers, d[1]);
75
Source.
AssertDiagnostic
(2, DiagDescriptors.UsingToStringInLoggers, d[2]);