18 references to VerifyAnalyzerAsync
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (18)
src\Analyzers\CSharp\Tests\Formatting\FormattingAnalyzerTests.cs (1)
69
await Verify.
VerifyAnalyzerAsync
(testCode);
src\Analyzers\CSharp\Tests\RemoveRedundantEquality\RemoveRedundantEqualityTests.cs (4)
124
await VerifyCS.
VerifyAnalyzerAsync
(code);
141
await VerifyCS.
VerifyAnalyzerAsync
(code);
159
await VerifyCS.
VerifyAnalyzerAsync
(code);
266
await VerifyCS.
VerifyAnalyzerAsync
(code);
src\Analyzers\CSharp\Tests\RemoveUnusedMembers\RemoveUnusedMembersTests.cs (6)
1758
await VerifyCS.
VerifyAnalyzerAsync
(code, new DiagnosticResult(
1811
await VerifyCS.
VerifyAnalyzerAsync
("""
1934
await VerifyCS.
VerifyAnalyzerAsync
(code, new DiagnosticResult(
1995
await VerifyCS.
VerifyAnalyzerAsync
(code, new DiagnosticResult(
3174
await VerifyCS.
VerifyAnalyzerAsync
(
3211
await VerifyCS.
VerifyAnalyzerAsync
(code);
src\Analyzers\CSharp\Tests\SimplifyLinqExpression\CSharpSimplifyLinqExpressionTests.cs (6)
120
await VerifyCS.
VerifyAnalyzerAsync
(testCode);
305
await VerifyCS.
VerifyAnalyzerAsync
(source);
444
await VerifyCS.
VerifyAnalyzerAsync
(source);
472
await VerifyCS.
VerifyAnalyzerAsync
(source);
496
await VerifyCS.
VerifyAnalyzerAsync
(source);
533
await VerifyCS.
VerifyAnalyzerAsync
(source);
src\Analyzers\CSharp\Tests\UseExpressionBody\UseExpressionBodyForAccessorsAnalyzerTests.cs (1)
275
await VerifyCS.
VerifyAnalyzerAsync
("""