45 references to RoslynTestUtils
Microsoft.Analyzers.Extra.Tests (45)
AsyncCallInsideUsingBlockAnalyzerTests.cs (1)
400
var d = await
RoslynTestUtils
.RunAnalyzer(
AsyncMethodWithoutCancellationTests.cs (1)
161
var d = await
RoslynTestUtils
.RunAnalyzer(
CallAnalysis\ArraysTests.cs (1)
117
var d = await
RoslynTestUtils
.RunAnalyzer(
CallAnalysis\LegacyCollectionTests.cs (1)
39
var d = await
RoslynTestUtils
.RunAnalyzer(
CallAnalysis\LegacyLoggingTests.cs (18)
71
var l = await
RoslynTestUtils
.RunAnalyzerAndFixer(
164
var l = await
RoslynTestUtils
.RunAnalyzerAndFixer(
227
var l = await
RoslynTestUtils
.RunAnalyzerAndFixer(
288
var l = await
RoslynTestUtils
.RunAnalyzerAndFixer(
362
var l = await
RoslynTestUtils
.RunAnalyzerAndFixer(
438
var l = await
RoslynTestUtils
.RunAnalyzerAndFixer(
521
var l = await
RoslynTestUtils
.RunAnalyzerAndFixer(
609
var l = await
RoslynTestUtils
.RunAnalyzerAndFixer(
679
var l = await
RoslynTestUtils
.RunAnalyzerAndFixer(
749
var l = await
RoslynTestUtils
.RunAnalyzerAndFixer(
815
var proj =
RoslynTestUtils
823
var targetClass = targetRoot!.FindNode(
RoslynTestUtils
.MakeTextSpan(TargetSourceCode, 0)) as ClassDeclarationSyntax;
854
RoslynTestUtils
.MakeTextSpan(InvocationSourceCode, 0),
867
RoslynTestUtils
.MakeTextSpan(InvocationSourceCode, 0),
880
RoslynTestUtils
.MakeTextSpan(InvocationSourceCode, 0),
893
RoslynTestUtils
.MakeTextSpan(InvocationSourceCode, 0),
917
RoslynTestUtils
.MakeTextSpan(InvocationSourceCode, 0),
930
RoslynTestUtils
.MakeTextSpan(InvocationSourceCode, 0),
CallAnalysis\LegacyLoggingTests.Extra.cs (8)
91
var l = await
RoslynTestUtils
.RunAnalyzerAndFixer(
169
var l = await
RoslynTestUtils
.RunAnalyzerAndFixer(
232
var l = await
RoslynTestUtils
.RunAnalyzerAndFixer(
295
var l = await
RoslynTestUtils
.RunAnalyzerAndFixer(
356
var l = await
RoslynTestUtils
.RunAnalyzerAndFixer(
432
var l = await
RoslynTestUtils
.RunAnalyzerAndFixer(
683
var l = await
RoslynTestUtils
.RunAnalyzerAndFixer(
745
var l = await
RoslynTestUtils
.RunAnalyzerAndFixer(
CallAnalysis\SplitTests.cs (1)
29
var d = await
RoslynTestUtils
.RunAnalyzer(
CallAnalysis\StartsEndsWithTests.cs (2)
56
var d = await
RoslynTestUtils
.RunAnalyzer(
114
var d = await
RoslynTestUtils
.RunAnalyzer(
CallAnalysis\StaticTimeTests.cs (1)
77
var d = await
RoslynTestUtils
.RunAnalyzer(
CallAnalysis\ValueTupleTests.cs (1)
46
var d = await
RoslynTestUtils
.RunAnalyzer(
CoalesceAnalyzerTests.cs (3)
37
var d = await
RoslynTestUtils
.RunAnalyzer(
92
var d = await
RoslynTestUtils
.RunAnalyzer(
160
var d = await
RoslynTestUtils
.RunAnalyzer(
ConditionalAccessAnalyzerTests.cs (1)
104
var d = await
RoslynTestUtils
.RunAnalyzer(
MakeExeTypesInternalTests.cs (2)
68
var actualFixedSources = await
RoslynTestUtils
.RunAnalyzerAndFixer(
155
var d = await
RoslynTestUtils
.RunAnalyzer(
UsingToStringInLoggersTests.cs (4)
58
var generated = await
RoslynTestUtils
.RunGenerator(
65
var fullDiags = await
RoslynTestUtils
.RunAnalyzer(
70
var d =
RoslynTestUtils
.FilterDiagnostics(fullDiags, DiagDescriptors.UsingToStringInLoggers);
113
var d = await
RoslynTestUtils
.RunAnalyzer(