src\Analyzers\CSharp\Tests\AssignOutParameters\AssignOutParametersAtStartTests.cs (25)
14using VerifyCS = CSharpCodeFixVerifier<
40await VerifyCS.VerifyCodeFixAsync(code, code);
46await VerifyCS.VerifyCodeFixAsync(
90await VerifyCS.VerifyCodeFixAsync(code, code);
96await VerifyCS.VerifyCodeFixAsync(
144await VerifyCS.VerifyCodeFixAsync(code, code);
165await VerifyCS.VerifyCodeFixAsync(code, code);
182await VerifyCS.VerifyCodeFixAsync(code, code);
199await VerifyCS.VerifyCodeFixAsync(code, code);
216await VerifyCS.VerifyCodeFixAsync(code, code);
222await VerifyCS.VerifyCodeFixAsync(
253await VerifyCS.VerifyCodeFixAsync(
280await VerifyCS.VerifyCodeFixAsync(
325await VerifyCS.VerifyCodeFixAsync(code, code);
343await VerifyCS.VerifyCodeFixAsync(code, code);
361await VerifyCS.VerifyCodeFixAsync(code, code);
382await VerifyCS.VerifyCodeFixAsync(code, code);
404await VerifyCS.VerifyCodeFixAsync(code, code);
427await VerifyCS.VerifyCodeFixAsync(code, code);
433await VerifyCS.VerifyCodeFixAsync(
473await VerifyCS.VerifyCodeFixAsync(
537await VerifyCS.VerifyCodeFixAsync(
569await VerifyCS.VerifyCodeFixAsync(
617await VerifyCS.VerifyCodeFixAsync(
661await VerifyCS.VerifyCodeFixAsync(
src\Analyzers\CSharp\Tests\ConvertSwitchStatementToExpression\ConvertSwitchStatementToExpressionTests.cs (63)
20using VerifyCS = CSharpCodeFixVerifier<
31=> VerifyCS.VerifyStandardProperty(property);
36await VerifyCS.VerifyCodeFixAsync(
76await VerifyCS.VerifyCodeFixAsync(
116await VerifyCS.VerifyCodeFixAsync(
190await VerifyCS.VerifyCodeFixAsync(code, code);
222await VerifyCS.VerifyCodeFixAsync(code, code);
242await VerifyCS.VerifyCodeFixAsync(code, code);
262await VerifyCS.VerifyCodeFixAsync(code, code);
282await VerifyCS.VerifyCodeFixAsync(code, code);
302await VerifyCS.VerifyCodeFixAsync(code, code);
326await VerifyCS.VerifyCodeFixAsync(code, code);
332await VerifyCS.VerifyCodeFixAsync(
368await VerifyCS.VerifyCodeFixAsync(
434await VerifyCS.VerifyCodeFixAsync(code, code);
460await VerifyCS.VerifyCodeFixAsync(code, code);
466await VerifyCS.VerifyCodeFixAsync(
510await VerifyCS.VerifyCodeFixAsync(
582await VerifyCS.VerifyCodeFixAsync(code, code);
606await VerifyCS.VerifyCodeFixAsync(code, code);
630await new VerifyCS.Test
671await new VerifyCS.Test
708await VerifyCS.VerifyCodeFixAsync(code, code);
732await VerifyCS.VerifyCodeFixAsync(code, code);
738await VerifyCS.VerifyCodeFixAsync(
787await VerifyCS.VerifyCodeFixAsync(
831await VerifyCS.VerifyCodeFixAsync(
888await new VerifyCS.Test
906await VerifyCS.VerifyCodeFixAsync(
946await VerifyCS.VerifyCodeFixAsync(
1003await VerifyCS.VerifyCodeFixAsync(code, code);
1009await VerifyCS.VerifyCodeFixAsync(
1121await VerifyCS.VerifyCodeFixAsync(code, code);
1191await new VerifyCS.Test
1205await VerifyCS.VerifyCodeFixAsync(
1239await VerifyCS.VerifyCodeFixAsync(
1331await new VerifyCS.Test
1402await new VerifyCS.Test
1473await new VerifyCS.Test
1552await new VerifyCS.Test
1623await new VerifyCS.Test
1694await new VerifyCS.Test
1765await new VerifyCS.Test
1815await new VerifyCS.Test
1864await new VerifyCS.Test
1914await new VerifyCS.Test
1964await new VerifyCS.Test
2014await new VerifyCS.Test
2044await VerifyCS.VerifyCodeFixAsync(code, code);
2068await VerifyCS.VerifyCodeFixAsync(code, code);
2092await VerifyCS.VerifyCodeFixAsync(code, code);
2098await VerifyCS.VerifyCodeFixAsync(
2155var test = new VerifyCS.Test
2200var test = new VerifyCS.Test
2247await new VerifyCS.Test
2258await VerifyCS.VerifyCodeFixAsync(
2288await VerifyCS.VerifyCodeFixAsync(
2318await VerifyCS.VerifyCodeFixAsync(
2359await VerifyCS.VerifyCodeFixAsync(
2404await VerifyCS.VerifyCodeFixAsync(
2441await VerifyCS.VerifyCodeFixAsync(
2481await new VerifyCS.Test
2537await new VerifyCS.Test
src\Analyzers\CSharp\Tests\ConvertTypeOfToNameOf\ConvertTypeOfToNameOfTests.cs (15)
15using VerifyCS = CSharpCodeFixVerifier<CSharpConvertTypeOfToNameOfDiagnosticAnalyzer,
42await VerifyCS.VerifyCodeFixAsync(text, expected);
66await VerifyCS.VerifyCodeFixAsync(text, expected);
94await VerifyCS.VerifyCodeFixAsync(text, expected);
130await VerifyCS.VerifyCodeFixAsync(text, expected);
148await VerifyCS.VerifyCodeFixAsync(text, text);
172await VerifyCS.VerifyCodeFixAsync(text, expected);
200await VerifyCS.VerifyCodeFixAsync(text, expected);
215await VerifyCS.VerifyCodeFixAsync(text, text);
232await VerifyCS.VerifyCodeFixAsync(text, text);
250await VerifyCS.VerifyCodeFixAsync(text, text);
286await VerifyCS.VerifyCodeFixAsync(text, expected);
316await VerifyCS.VerifyCodeFixAsync(text, expected);
331await VerifyCS.VerifyCodeFixAsync(text, text);
337await new VerifyCS.Test
src\Analyzers\CSharp\Tests\Formatting\FormattingAnalyzerTests.cs (16)
14using Verify = CSharpCodeFixVerifier<CodeStyle.CSharpFormattingAnalyzer, CodeStyle.CSharpFormattingCodeFixProvider>;
30await Verify.VerifyCodeFixAsync(testCode, expected);
54await Verify.VerifyCodeFixAsync(testCode, expected);
69await Verify.VerifyAnalyzerAsync(testCode);
92await Verify.VerifyCodeFixAsync(testCode, fixedCode);
135await Verify.VerifyCodeFixAsync(testCode, fixedCode);
166await Verify.VerifyCodeFixAsync(testCode, fixedCode);
197await Verify.VerifyCodeFixAsync(testCode, fixedCode);
229await Verify.VerifyCodeFixAsync(testCode, fixedCode);
252await Verify.VerifyCodeFixAsync(testCode, fixedCode);
273await new Verify.Test
306await new Verify.Test
343await Verify.VerifyCodeFixAsync(testCode, testCode);
398await Verify.VerifyCodeFixAsync(testCode, fixedCode);
444await Verify.VerifyCodeFixAsync(testCode, fixedCode);
484await Verify.VerifyCodeFixAsync(testCode, fixedCode);
src\Analyzers\CSharp\Tests\MakeStructFieldsWritable\MakeStructFieldsWritableTests.cs (21)
14using VerifyCS = CSharpCodeFixVerifier<CSharpMakeStructFieldsWritableDiagnosticAnalyzer, CSharpMakeStructFieldsWritableCodeFixProvider>;
21=> VerifyCS.VerifyStandardProperty(property);
26await VerifyCS.VerifyCodeFixAsync(
64await VerifyCS.VerifyCodeFixAsync(
129await VerifyCS.VerifyCodeFixAsync(code, code);
135await VerifyCS.VerifyCodeFixAsync(
198await VerifyCS.VerifyCodeFixAsync(code, code);
216await VerifyCS.VerifyCodeFixAsync(code, code);
222await VerifyCS.VerifyCodeFixAsync(
278await VerifyCS.VerifyCodeFixAsync(code, code);
294await VerifyCS.VerifyCodeFixAsync(code, code);
317await VerifyCS.VerifyCodeFixAsync(code, code);
340await VerifyCS.VerifyCodeFixAsync(code, code);
346await VerifyCS.VerifyCodeFixAsync(
414await VerifyCS.VerifyCodeFixAsync(
482await VerifyCS.VerifyCodeFixAsync(
550await VerifyCS.VerifyCodeFixAsync(
618await VerifyCS.VerifyCodeFixAsync(
670await VerifyCS.VerifyCodeFixAsync(
718await VerifyCS.VerifyCodeFixAsync(test, test);
734await VerifyCS.VerifyCodeFixAsync(test, test);
src\Analyzers\CSharp\Tests\RemoveUnnecessaryCast\RemoveUnnecessaryCastTests.cs (497)
17using VerifyCS = CSharpCodeFixVerifier<
26=> VerifyCS.VerifyStandardProperty(property);
45await VerifyCS.VerifyCodeFixAsync(
59await VerifyCS.VerifyCodeFixAsync(
91await VerifyCS.VerifyCodeFixAsync(
121await VerifyCS.VerifyCodeFixAsync(
160await VerifyCS.VerifyCodeFixAsync(source, source);
180await VerifyCS.VerifyCodeFixAsync(source, source);
205await VerifyCS.VerifyCodeFixAsync(source, source);
211await VerifyCS.VerifyCodeFixAsync(
261await VerifyCS.VerifyCodeFixAsync(source, source);
285await VerifyCS.VerifyCodeFixAsync(source, source);
291await VerifyCS.VerifyCodeFixAsync(
335await VerifyCS.VerifyCodeFixAsync(source, source);
362await VerifyCS.VerifyCodeFixAsync(source, source);
390await VerifyCS.VerifyCodeFixAsync(source, source);
419await VerifyCS.VerifyCodeFixAsync(source, source);
437await VerifyCS.VerifyCodeFixAsync(source, source);
465await VerifyCS.VerifyCodeFixAsync(source, source);
471await VerifyCS.VerifyCodeFixAsync(
493await VerifyCS.VerifyCodeFixAsync(
517await VerifyCS.VerifyCodeFixAsync(
543await VerifyCS.VerifyCodeFixAsync(
592await new VerifyCS.Test
631await new VerifyCS.Test
672await new VerifyCS.Test
688await VerifyCS.VerifyCodeFixAsync(
728await VerifyCS.VerifyCodeFixAsync(source, source);
771await new VerifyCS.Test
785await VerifyCS.VerifyCodeFixAsync(
819await VerifyCS.VerifyCodeFixAsync(
851await VerifyCS.VerifyCodeFixAsync(
884await VerifyCS.VerifyCodeFixAsync(
919await VerifyCS.VerifyCodeFixAsync(
972await VerifyCS.VerifyCodeFixAsync(source, source);
1003await VerifyCS.VerifyCodeFixAsync(source, source);
1009await VerifyCS.VerifyCodeFixAsync(
1035await VerifyCS.VerifyCodeFixAsync(
1084await VerifyCS.VerifyCodeFixAsync(source, source);
1090await VerifyCS.VerifyCodeFixAsync(
1116await VerifyCS.VerifyCodeFixAsync(
1173await VerifyCS.VerifyCodeFixAsync(source, source);
1196await VerifyCS.VerifyCodeFixAsync(
1232await VerifyCS.VerifyCodeFixAsync(source, source);
1256await VerifyCS.VerifyCodeFixAsync(source, source);
1262await VerifyCS.VerifyCodeFixAsync(
1301await VerifyCS.VerifyCodeFixAsync(source, source);
1342await VerifyCS.VerifyCodeFixAsync(source, source);
1359await VerifyCS.VerifyCodeFixAsync(source, source);
1378await VerifyCS.VerifyCodeFixAsync(
1392await VerifyCS.VerifyCodeFixAsync(
1426await VerifyCS.VerifyCodeFixAsync(
1480await VerifyCS.VerifyCodeFixAsync(
1536await VerifyCS.VerifyCodeFixAsync(source, source);
1577await VerifyCS.VerifyCodeFixAsync(source, source);
1583await VerifyCS.VerifyCodeFixAsync(
1687await VerifyCS.VerifyCodeFixAsync(
1792await VerifyCS.VerifyCodeFixAsync(source, source);
1798await VerifyCS.VerifyCodeFixAsync("""
1846await VerifyCS.VerifyCodeFixAsync(
1878await VerifyCS.VerifyCodeFixAsync(
1904await VerifyCS.VerifyCodeFixAsync(
1932await VerifyCS.VerifyCodeFixAsync(
1971await VerifyCS.VerifyCodeFixAsync(source, source);
1992await VerifyCS.VerifyCodeFixAsync(source, source);
2024await VerifyCS.VerifyCodeFixAsync(source, source);
2043await VerifyCS.VerifyCodeFixAsync(source, source);
2069await VerifyCS.VerifyCodeFixAsync(source, source);
2075await VerifyCS.VerifyCodeFixAsync(
2095await VerifyCS.VerifyCodeFixAsync(
2135await VerifyCS.VerifyCodeFixAsync(
2145await VerifyCS.VerifyCodeFixAsync(
2190await VerifyCS.VerifyCodeFixAsync(source, source);
2211await VerifyCS.VerifyCodeFixAsync(source, source);
2228await VerifyCS.VerifyCodeFixAsync(source, source);
2249await VerifyCS.VerifyCodeFixAsync(source, source);
2270await VerifyCS.VerifyCodeFixAsync(source, source);
2296await VerifyCS.VerifyCodeFixAsync(source, source);
2325await VerifyCS.VerifyCodeFixAsync(source, source);
2351await VerifyCS.VerifyCodeFixAsync(source, source);
2380await VerifyCS.VerifyCodeFixAsync(source, source);
2395await VerifyCS.VerifyCodeFixAsync(source, source);
2401await VerifyCS.VerifyCodeFixAsync(
2436await VerifyCS.VerifyCodeFixAsync(source, source);
2453await VerifyCS.VerifyCodeFixAsync(source, source);
2459await VerifyCS.VerifyCodeFixAsync(
2496await VerifyCS.VerifyCodeFixAsync(source, source);
2502await VerifyCS.VerifyCodeFixAsync(
2543await VerifyCS.VerifyCodeFixAsync(source, source);
2549await VerifyCS.VerifyCodeFixAsync(
2590await VerifyCS.VerifyCodeFixAsync(source, source);
2596await VerifyCS.VerifyCodeFixAsync(
2624await VerifyCS.VerifyCodeFixAsync(
2665await VerifyCS.VerifyCodeFixAsync(source, source);
2702await VerifyCS.VerifyCodeFixAsync(source, source);
2709await VerifyCS.VerifyCodeFixAsync("""
2757await VerifyCS.VerifyCodeFixAsync(
2812await VerifyCS.VerifyCodeFixAsync(
2893await VerifyCS.VerifyCodeFixAsync(source, source);
2900await VerifyCS.VerifyCodeFixAsync(
2975await VerifyCS.VerifyCodeFixAsync(source, source);
2981await VerifyCS.VerifyCodeFixAsync(
3029await VerifyCS.VerifyCodeFixAsync(
3099await VerifyCS.VerifyCodeFixAsync(source, source);
3105await VerifyCS.VerifyCodeFixAsync(
3153await VerifyCS.VerifyCodeFixAsync(
3223await VerifyCS.VerifyCodeFixAsync(source, source);
3256await VerifyCS.VerifyCodeFixAsync(source, source);
3292await VerifyCS.VerifyCodeFixAsync(
3352await VerifyCS.VerifyCodeFixAsync(source, source);
3390await VerifyCS.VerifyCodeFixAsync(source, source);
3397await VerifyCS.VerifyCodeFixAsync(
3442await VerifyCS.VerifyCodeFixAsync(
3475await VerifyCS.VerifyCodeFixAsync(
3505await VerifyCS.VerifyCodeFixAsync(
3538await VerifyCS.VerifyCodeFixAsync(
3579await VerifyCS.VerifyCodeFixAsync(source, source);
3585await VerifyCS.VerifyCodeFixAsync(
3625await VerifyCS.VerifyCodeFixAsync(source, source);
3631await VerifyCS.VerifyCodeFixAsync(
3676await VerifyCS.VerifyCodeFixAsync(source, source);
3682await VerifyCS.VerifyCodeFixAsync(
3727await VerifyCS.VerifyCodeFixAsync(source, source);
3733await VerifyCS.VerifyCodeFixAsync(
3787await VerifyCS.VerifyCodeFixAsync(source, source);
3811await VerifyCS.VerifyCodeFixAsync(source, source);
3835await VerifyCS.VerifyCodeFixAsync(source, source);
3841await VerifyCS.VerifyCodeFixAsync(
3869await VerifyCS.VerifyCodeFixAsync(
3897await VerifyCS.VerifyCodeFixAsync(
3925await VerifyCS.VerifyCodeFixAsync(
3953await VerifyCS.VerifyCodeFixAsync(
3981await VerifyCS.VerifyCodeFixAsync(
4032await VerifyCS.VerifyCodeFixAsync(
4065await VerifyCS.VerifyCodeFixAsync(
4112await VerifyCS.VerifyCodeFixAsync(
4165await VerifyCS.VerifyCodeFixAsync(
4202await VerifyCS.VerifyCodeFixAsync(source, source);
4236await VerifyCS.VerifyCodeFixAsync(source, source);
4245await VerifyCS.VerifyCodeFixAsync(
4296await VerifyCS.VerifyCodeFixAsync(
4348await VerifyCS.VerifyCodeFixAsync(source, source);
4392await VerifyCS.VerifyCodeFixAsync(source, source);
4438await VerifyCS.VerifyCodeFixAsync(source, source);
4467await VerifyCS.VerifyCodeFixAsync(source, source);
4508await VerifyCS.VerifyCodeFixAsync(source, source);
4561await VerifyCS.VerifyCodeFixAsync(source, source);
4579await VerifyCS.VerifyCodeFixAsync(source, source);
4597await VerifyCS.VerifyCodeFixAsync(source, source);
4615await VerifyCS.VerifyCodeFixAsync(source, source);
4633await VerifyCS.VerifyCodeFixAsync(source, source);
4674await VerifyCS.VerifyCodeFixAsync(source, source);
4696await VerifyCS.VerifyCodeFixAsync(source, source);
4721await VerifyCS.VerifyCodeFixAsync(source, source);
4740await VerifyCS.VerifyCodeFixAsync(source, source);
4773await new VerifyCS.Test
4819await VerifyCS.VerifyCodeFixAsync(source, source);
4837await VerifyCS.VerifyCodeFixAsync(source, source);
4870await VerifyCS.VerifyCodeFixAsync(source, source);
4898await VerifyCS.VerifyCodeFixAsync(source, source);
4920await VerifyCS.VerifyCodeFixAsync(source, source);
4942await VerifyCS.VerifyCodeFixAsync(source, source);
4967await VerifyCS.VerifyCodeFixAsync(source, source);
4973await VerifyCS.VerifyCodeFixAsync(
5013await VerifyCS.VerifyCodeFixAsync(
5037await VerifyCS.VerifyCodeFixAsync(
5061await VerifyCS.VerifyCodeFixAsync(
5113await VerifyCS.VerifyCodeFixAsync(source, source);
5137await VerifyCS.VerifyCodeFixAsync(
5165await VerifyCS.VerifyCodeFixAsync(
5192await VerifyCS.VerifyCodeFixAsync(
5202await VerifyCS.VerifyCodeFixAsync(
5234await VerifyCS.VerifyCodeFixAsync(
5293await VerifyCS.VerifyCodeFixAsync(source, source);
5322await VerifyCS.VerifyCodeFixAsync(source, source);
5328await VerifyCS.VerifyCodeFixAsync(
5393await VerifyCS.VerifyCodeFixAsync(source, source);
5416await VerifyCS.VerifyCodeFixAsync(source, source);
5439await VerifyCS.VerifyCodeFixAsync(source, source);
5445await VerifyCS.VerifyCodeFixAsync(
5514await new VerifyCS.Test
5540await VerifyCS.VerifyCodeFixAsync(
5596await VerifyCS.VerifyCodeFixAsync(source, source);
5622await VerifyCS.VerifyCodeFixAsync(source, source);
5663await new VerifyCS.Test
5713await new VerifyCS.Test
5741await new VerifyCS.Test
5765await new VerifyCS.Test
5790await new VerifyCS.Test
5815await new VerifyCS.Test
5854await new VerifyCS.Test
5865await VerifyCS.VerifyCodeFixAsync(
5906await new VerifyCS.Test
5931await new VerifyCS.Test
5956await new VerifyCS.Test
5995await new VerifyCS.Test
6035await new VerifyCS.Test
6057await new VerifyCS.Test
6078await new VerifyCS.Test
6099await new VerifyCS.Test
6130await new VerifyCS.Test
6154await new VerifyCS.Test
6177await new VerifyCS.Test
6201await VerifyCS.VerifyCodeFixAsync(source, source);
6227await VerifyCS.VerifyCodeFixAsync(source, source);
6254await VerifyCS.VerifyCodeFixAsync(source, source);
6276await VerifyCS.VerifyCodeFixAsync(
6300await VerifyCS.VerifyCodeFixAsync(source, source);
6326await VerifyCS.VerifyCodeFixAsync(source, source);
6347await VerifyCS.VerifyCodeFixAsync(source, source);
6366await VerifyCS.VerifyCodeFixAsync(source, source);
6385await VerifyCS.VerifyCodeFixAsync(source, source);
6406await VerifyCS.VerifyCodeFixAsync(source, source);
6426await VerifyCS.VerifyCodeFixAsync(source, source);
6432await VerifyCS.VerifyCodeFixAsync(
6522await new VerifyCS.Test
6548await VerifyCS.VerifyCodeFixAsync(source, source);
6554await VerifyCS.VerifyCodeFixAsync(
6595await VerifyCS.VerifyCodeFixAsync(source, source);
6601await VerifyCS.VerifyCodeFixAsync(
6645await VerifyCS.VerifyCodeFixAsync(source, source);
6651await VerifyCS.VerifyCodeFixAsync(
6683await VerifyCS.VerifyCodeFixAsync(
6711await VerifyCS.VerifyCodeFixAsync(
6756await VerifyCS.VerifyCodeFixAsync(source, source);
6793await VerifyCS.VerifyCodeFixAsync(
6825await VerifyCS.VerifyCodeFixAsync(
6860await VerifyCS.VerifyCodeFixAsync(
6868await VerifyCS.VerifyCodeFixAsync(
6929await VerifyCS.VerifyCodeFixAsync(source, source);
6945await VerifyCS.VerifyCodeFixAsync(source, source);
6966await VerifyCS.VerifyCodeFixAsync(source, source);
6987await VerifyCS.VerifyCodeFixAsync(source, source);
6993await VerifyCS.VerifyCodeFixAsync(
7025await VerifyCS.VerifyCodeFixAsync(
7057await VerifyCS.VerifyCodeFixAsync(
7081await VerifyCS.VerifyCodeFixAsync(
7113await VerifyCS.VerifyCodeFixAsync(
7145await VerifyCS.VerifyCodeFixAsync(
7173await VerifyCS.VerifyCodeFixAsync(
7201await VerifyCS.VerifyCodeFixAsync(
7229await VerifyCS.VerifyCodeFixAsync(
7259await VerifyCS.VerifyCodeFixAsync(
7289await VerifyCS.VerifyCodeFixAsync(
7342await VerifyCS.VerifyCodeFixAsync(source, source);
7365await VerifyCS.VerifyCodeFixAsync(source, source);
7388await VerifyCS.VerifyCodeFixAsync(source, source);
7411await VerifyCS.VerifyCodeFixAsync(source, source);
7418await VerifyCS.VerifyCodeFixAsync("""
7454await VerifyCS.VerifyCodeFixAsync("""
7490await VerifyCS.VerifyCodeFixAsync("""
7542await VerifyCS.VerifyCodeFixAsync(source, source);
7549await VerifyCS.VerifyCodeFixAsync(
7602await VerifyCS.VerifyCodeFixAsync(source, source);
7609await VerifyCS.VerifyCodeFixAsync(
7646await VerifyCS.VerifyCodeFixAsync("""
7698await VerifyCS.VerifyCodeFixAsync(source, source);
7721await VerifyCS.VerifyCodeFixAsync(source, source);
7744await VerifyCS.VerifyCodeFixAsync(source, source);
7767await VerifyCS.VerifyCodeFixAsync(source, source);
7790await VerifyCS.VerifyCodeFixAsync(source, source);
7797await VerifyCS.VerifyCodeFixAsync("""
7848await VerifyCS.VerifyCodeFixAsync(source, source);
7855await VerifyCS.VerifyCodeFixAsync("""
7890await VerifyCS.VerifyCodeFixAsync("""
7942await VerifyCS.VerifyCodeFixAsync(source, source);
7965await VerifyCS.VerifyCodeFixAsync(source, source);
7988await VerifyCS.VerifyCodeFixAsync(source, source);
8011await VerifyCS.VerifyCodeFixAsync(source, source);
8032await VerifyCS.VerifyCodeFixAsync(source, source);
8053await VerifyCS.VerifyCodeFixAsync(source, source);
8074await VerifyCS.VerifyCodeFixAsync(source, source);
8095await VerifyCS.VerifyCodeFixAsync(source, source);
8116await VerifyCS.VerifyCodeFixAsync(source, source);
8137await VerifyCS.VerifyCodeFixAsync(source, source);
8158await VerifyCS.VerifyCodeFixAsync(source, source);
8179await VerifyCS.VerifyCodeFixAsync(source, source);
8200await VerifyCS.VerifyCodeFixAsync(source, source);
8226await new VerifyCS.Test
8247await VerifyCS.VerifyCodeFixAsync(source, source);
8264await VerifyCS.VerifyCodeFixAsync(source, source);
8281await VerifyCS.VerifyCodeFixAsync(source, source);
8298await new VerifyCS.Test
8308await new VerifyCS.Test
8346await new VerifyCS.Test
8356await new VerifyCS.Test
8394await new VerifyCS.Test
8404await new VerifyCS.Test
8442await VerifyCS.VerifyCodeFixAsync(source, source);
8459await VerifyCS.VerifyCodeFixAsync(source, source);
8476await VerifyCS.VerifyCodeFixAsync(source, source);
8493await new VerifyCS.Test
8503await new VerifyCS.Test
8541await new VerifyCS.Test
8551await new VerifyCS.Test
8589await new VerifyCS.Test
8599await new VerifyCS.Test
8637await VerifyCS.VerifyCodeFixAsync(source, source);
8654await VerifyCS.VerifyCodeFixAsync(source, source);
8682await VerifyCS.VerifyCodeFixAsync(source, fixedCode);
8710await VerifyCS.VerifyCodeFixAsync(source, fixedCode);
8738await VerifyCS.VerifyCodeFixAsync(source, fixedCode);
8766await VerifyCS.VerifyCodeFixAsync(source, fixedCode);
8793await new VerifyCS.Test
8825await VerifyCS.VerifyCodeFixAsync(source, fixedCode);
8852await VerifyCS.VerifyCodeFixAsync(source, fixedCode);
8874await VerifyCS.VerifyCodeFixAsync(source, source);
8911await VerifyCS.VerifyCodeFixAsync(source, fixedCode);
8948await VerifyCS.VerifyCodeFixAsync(source, fixedCode);
8975await VerifyCS.VerifyCodeFixAsync(source, fixedCode);
9002await VerifyCS.VerifyCodeFixAsync(source, fixedCode);
9029await VerifyCS.VerifyCodeFixAsync(source, fixedCode);
9059await VerifyCS.VerifyCodeFixAsync(source, source);
9089await VerifyCS.VerifyCodeFixAsync(source, source);
9119await VerifyCS.VerifyCodeFixAsync(source, source);
9150await VerifyCS.VerifyCodeFixAsync(source, source);
9181await VerifyCS.VerifyCodeFixAsync(source, source);
9211await VerifyCS.VerifyCodeFixAsync(source, source);
9241await VerifyCS.VerifyCodeFixAsync(source, source);
9271await VerifyCS.VerifyCodeFixAsync(source, source);
9303await VerifyCS.VerifyCodeFixAsync(source, source);
9335await VerifyCS.VerifyCodeFixAsync(source, source);
9367await VerifyCS.VerifyCodeFixAsync(source, source);
9399await VerifyCS.VerifyCodeFixAsync(source, source);
9431await VerifyCS.VerifyCodeFixAsync(source, source);
9463await VerifyCS.VerifyCodeFixAsync(source, source);
9495await VerifyCS.VerifyCodeFixAsync(source, source);
9527await VerifyCS.VerifyCodeFixAsync(source, source);
9539await VerifyCS.VerifyCodeFixAsync(source, source);
9551await VerifyCS.VerifyCodeFixAsync(source, source);
9569await VerifyCS.VerifyCodeFixAsync(source, source);
9575await VerifyCS.VerifyCodeFixAsync(
9618var test = new VerifyCS.Test()
9640var test = new VerifyCS.Test()
9669var test = new VerifyCS.Test()
9691var test = new VerifyCS.Test()
9712var test = new VerifyCS.Test()
9749await VerifyCS.VerifyCodeFixAsync(source, fixedCode);
9780await VerifyCS.VerifyCodeFixAsync(source, fixedCode);
9797var test = new VerifyCS.Test()
9820var test = new VerifyCS.Test()
9843var test = new VerifyCS.Test()
9855var test = new VerifyCS.Test()
9885var test = new VerifyCS.Test()
9914await new VerifyCS.Test
9930await new VerifyCS.Test
9979await new VerifyCS.Test
10007await new VerifyCS.Test
10030await new VerifyCS.Test
10052await new VerifyCS.Test
10062await VerifyCS.VerifyCodeFixAsync(
10086await VerifyCS.VerifyCodeFixAsync(
10121await VerifyCS.VerifyCodeFixAsync(source, source);
10127await VerifyCS.VerifyCodeFixAsync("""
10182await VerifyCS.VerifyCodeFixAsync(source, source);
10211await VerifyCS.VerifyCodeFixAsync(source, source);
10233await VerifyCS.VerifyCodeFixAsync(source, source);
10252await VerifyCS.VerifyCodeFixAsync(source, source);
10277await VerifyCS.VerifyCodeFixAsync(source, source);
10283await VerifyCS.VerifyCodeFixAsync(
10315await VerifyCS.VerifyCodeFixAsync(
10361await VerifyCS.VerifyCodeFixAsync(source, source);
10380await VerifyCS.VerifyCodeFixAsync(source, source);
10386await VerifyCS.VerifyCodeFixAsync(
10416await VerifyCS.VerifyCodeFixAsync(
10459await VerifyCS.VerifyCodeFixAsync(source, source);
10465await VerifyCS.VerifyCodeFixAsync(
10515await VerifyCS.VerifyCodeFixAsync(source, source);
10521await VerifyCS.VerifyCodeFixAsync(
10582await VerifyCS.VerifyCodeFixAsync(source, source);
10606await VerifyCS.VerifyCodeFixAsync(source, source);
10612await VerifyCS.VerifyCodeFixAsync(
10658await VerifyCS.VerifyCodeFixAsync(
10716await VerifyCS.VerifyCodeFixAsync(source, source);
10722await VerifyCS.VerifyCodeFixAsync(
10781await VerifyCS.VerifyCodeFixAsync(source, source);
10787await VerifyCS.VerifyCodeFixAsync(
10819await VerifyCS.VerifyCodeFixAsync(
10866await VerifyCS.VerifyCodeFixAsync(source, source);
10887await new VerifyCS.Test
10897await new VerifyCS.Test
10951await VerifyCS.VerifyCodeFixAsync(source, source);
10979await VerifyCS.VerifyCodeFixAsync(source, source);
11007await VerifyCS.VerifyCodeFixAsync(source, source);
11035await VerifyCS.VerifyCodeFixAsync(source, source);
11063await VerifyCS.VerifyCodeFixAsync(source, source);
11069await VerifyCS.VerifyCodeFixAsync(
11136await VerifyCS.VerifyCodeFixAsync(source, source);
11164await VerifyCS.VerifyCodeFixAsync(source, source);
11192await VerifyCS.VerifyCodeFixAsync(source, source);
11220await VerifyCS.VerifyCodeFixAsync(source, source);
11226await VerifyCS.VerifyCodeFixAsync(
11293await VerifyCS.VerifyCodeFixAsync(source, source);
11321await VerifyCS.VerifyCodeFixAsync(source, source);
11349await VerifyCS.VerifyCodeFixAsync(source, source);
11377await VerifyCS.VerifyCodeFixAsync(source, source);
11383await VerifyCS.VerifyCodeFixAsync(
11411await VerifyCS.VerifyCodeFixAsync(
11439await VerifyCS.VerifyCodeFixAsync(
11467await VerifyCS.VerifyCodeFixAsync(
11495await VerifyCS.VerifyCodeFixAsync(
11523await VerifyCS.VerifyCodeFixAsync(
11564await VerifyCS.VerifyCodeFixAsync(source, source);
11591await VerifyCS.VerifyCodeFixAsync(source, source);
11598await new VerifyCS.Test
11636await VerifyCS.VerifyCodeFixAsync(
11670await VerifyCS.VerifyCodeFixAsync(
11704await VerifyCS.VerifyCodeFixAsync(source, source);
11710await VerifyCS.VerifyCodeFixAsync(
11743await VerifyCS.VerifyCodeFixAsync(source, source);
11749await VerifyCS.VerifyCodeFixAsync(
11783await VerifyCS.VerifyCodeFixAsync(source, source);
11789await VerifyCS.VerifyCodeFixAsync(
11823await VerifyCS.VerifyCodeFixAsync(source, source);
11829await VerifyCS.VerifyCodeFixAsync(
11862await VerifyCS.VerifyCodeFixAsync(source, source);
11868await VerifyCS.VerifyCodeFixAsync(
11901await VerifyCS.VerifyCodeFixAsync(source, source);
11916await VerifyCS.VerifyCodeFixAsync(source, source);
11931await VerifyCS.VerifyCodeFixAsync(source, source);
11937await VerifyCS.VerifyCodeFixAsync(
11965await VerifyCS.VerifyCodeFixAsync(
12012await VerifyCS.VerifyCodeFixAsync(source, source);
12037await VerifyCS.VerifyCodeFixAsync(source, source);
12062await VerifyCS.VerifyCodeFixAsync(source, source);
12090await new VerifyCS.Test
12120await new VerifyCS.Test
12139await new VerifyCS.Test
12156await new VerifyCS.Test
12180await new VerifyCS.Test
12202await new VerifyCS.Test
12223await new VerifyCS.Test
12244await new VerifyCS.Test
12267await new VerifyCS.Test
12289await new VerifyCS.Test
12305await new VerifyCS.Test
12327await new VerifyCS.Test
12351await new VerifyCS.Test
12370await new VerifyCS.Test
12389await new VerifyCS.Test
12413await new VerifyCS.Test
12436await new VerifyCS.Test
12467await new VerifyCS.Test
12517await new VerifyCS.Test
12558await new VerifyCS.Test
12585await new VerifyCS.Test
12632await new VerifyCS.Test
12673await new VerifyCS.Test
12696await new VerifyCS.Test
12706await new VerifyCS.Test
12737await new VerifyCS.Test
12768await new VerifyCS.Test
12799await new VerifyCS.Test
12830await new VerifyCS.Test
12861await new VerifyCS.Test
12901await new VerifyCS.Test
12927await new VerifyCS.Test
12962await new VerifyCS.Test
12997await new VerifyCS.Test
13010var test = new VerifyCS.Test()
13072await new VerifyCS.Test
13104await VerifyCS.VerifyCodeFixAsync(code, fixedCode);
13132await VerifyCS.VerifyCodeFixAsync(code, fixedCode);
13160await VerifyCS.VerifyCodeFixAsync(code, fixedCode);
13176await VerifyCS.VerifyCodeFixAsync(code, code);
13198await VerifyCS.VerifyCodeFixAsync(code, code);
13220await VerifyCS.VerifyCodeFixAsync(code, code);
13242await VerifyCS.VerifyCodeFixAsync(code, code);
13264await VerifyCS.VerifyCodeFixAsync(code, code);
13270await VerifyCS.VerifyCodeFixAsync(
13300await VerifyCS.VerifyCodeFixAsync("""
13336await VerifyCS.VerifyCodeFixAsync("""
13374await VerifyCS.VerifyCodeFixAsync("""
13416await VerifyCS.VerifyCodeFixAsync("""
13454await VerifyCS.VerifyCodeFixAsync("""
13492await VerifyCS.VerifyCodeFixAsync("""
13530await VerifyCS.VerifyCodeFixAsync("""
13568await new VerifyCS.Test
13586await new VerifyCS.Test
13603await new VerifyCS.Test
13630await new VerifyCS.Test
13655await new VerifyCS.Test
13689await new VerifyCS.Test
13712await new VerifyCS.Test
13742await new VerifyCS.Test
13785await new VerifyCS.Test
13823await new VerifyCS.Test
13901await new VerifyCS.Test
13941await new VerifyCS.Test
13962await new VerifyCS.Test
13983await new VerifyCS.Test
14002await new VerifyCS.Test
14021await new VerifyCS.Test
14040await new VerifyCS.Test
14061await new VerifyCS.Test
14082await new VerifyCS.Test
14105await new VerifyCS.Test
src\Analyzers\CSharp\Tests\RemoveUnnecessaryImports\RemoveUnnecessaryImportsTests.cs (62)
17using VerifyCS = CSharpCodeFixVerifier<
29await VerifyCS.VerifyCodeFixAsync(
55await VerifyCS.VerifyCodeFixAsync(
85await VerifyCS.VerifyCodeFixAsync(
122await VerifyCS.VerifyCodeFixAsync(
158await VerifyCS.VerifyCodeFixAsync(
204await new VerifyCS.Test
213await VerifyCS.VerifyCodeFixAsync(
243await VerifyCS.VerifyCodeFixAsync(
276await VerifyCS.VerifyCodeFixAsync(
343await VerifyCS.VerifyCodeFixAsync(code, code);
349await VerifyCS.VerifyCodeFixAsync(
379await VerifyCS.VerifyCodeFixAsync(
408await VerifyCS.VerifyCodeFixAsync(
446await new VerifyCS.Test
487await VerifyCS.VerifyCodeFixAsync(
537await VerifyCS.VerifyCodeFixAsync(
588await new VerifyCS.Test
656await VerifyCS.VerifyCodeFixAsync(code, code);
688await VerifyCS.VerifyCodeFixAsync(code, code);
694await VerifyCS.VerifyCodeFixAsync(
727await VerifyCS.VerifyCodeFixAsync(
764await VerifyCS.VerifyCodeFixAsync(
803await VerifyCS.VerifyCodeFixAsync(
846await VerifyCS.VerifyCodeFixAsync(
905await VerifyCS.VerifyCodeFixAsync(
930await VerifyCS.VerifyCodeFixAsync(
954await VerifyCS.VerifyCodeFixAsync(
1026await new VerifyCS.Test
1057await VerifyCS.VerifyCodeFixAsync(code, code);
1107await new VerifyCS.Test
1141await VerifyCS.VerifyCodeFixAsync(code, code);
1148await VerifyCS.VerifyCodeFixAsync(
1186await VerifyCS.VerifyCodeFixAsync(
1224await VerifyCS.VerifyCodeFixAsync(
1248await VerifyCS.VerifyCodeFixAsync(
1285await VerifyCS.VerifyCodeFixAsync(code, code);
1291await VerifyCS.VerifyCodeFixAsync(
1309await VerifyCS.VerifyCodeFixAsync(
1337await VerifyCS.VerifyCodeFixAsync(
1394await VerifyCS.VerifyCodeFixAsync(code, code);
1414await new VerifyCS.Test
1442await VerifyCS.VerifyCodeFixAsync(code, code);
1460await VerifyCS.VerifyCodeFixAsync(code, fixedCode);
1512await VerifyCS.VerifyCodeFixAsync(code, code);
1566await VerifyCS.VerifyCodeFixAsync(code, code);
1614await VerifyCS.VerifyCodeFixAsync(code, code);
1669await VerifyCS.VerifyCodeFixAsync(code, code);
1691await VerifyCS.VerifyCodeFixAsync(code, code);
1715await new VerifyCS.Test
1933await new VerifyCS.Test
1943await new VerifyCS.Test
1953await new VerifyCS.Test
1966await VerifyCS.VerifyCodeFixAsync(
1996await VerifyCS.VerifyCodeFixAsync(
2052await new VerifyCS.Test
2074await new VerifyCS.Test
2112await new VerifyCS.Test
2146await new VerifyCS.Test
2181await new VerifyCS.Test
2220await new VerifyCS.Test
2255await VerifyCS.VerifyCodeFixAsync(
src\Analyzers\CSharp\Tests\RemoveUnusedMembers\RemoveUnusedMembersTests.cs (195)
18using VerifyCS = CSharpCodeFixVerifier<
27=> VerifyCS.VerifyStandardProperty(property);
32await new VerifyCS.Test
56await new VerifyCS.Test
76await new VerifyCS.Test
95await new VerifyCS.Test
122await VerifyCS.VerifyCodeFixAsync(code, code);
140await VerifyCS.VerifyCodeFixAsync(code, code);
159await VerifyCS.VerifyCodeFixAsync(code, code);
179await VerifyCS.VerifyCodeFixAsync(code, code);
185await VerifyCS.VerifyCodeFixAsync(
202await VerifyCS.VerifyCodeFixAsync(
219await VerifyCS.VerifyCodeFixAsync(
236await VerifyCS.VerifyCodeFixAsync(
261await VerifyCS.VerifyCodeFixAsync(code, code);
267await VerifyCS.VerifyCodeFixAsync(
291await VerifyCS.VerifyCodeFixAsync(code, code);
304await VerifyCS.VerifyCodeFixAsync(code, code);
310await VerifyCS.VerifyCodeFixAsync(
327await VerifyCS.VerifyCodeFixAsync(
344await VerifyCS.VerifyCodeFixAsync(
368await VerifyCS.VerifyCodeFixAsync(code, code);
383await VerifyCS.VerifyCodeFixAsync(code, code);
398await VerifyCS.VerifyCodeFixAsync(code, code);
413await VerifyCS.VerifyCodeFixAsync(code, code);
428await VerifyCS.VerifyCodeFixAsync(code, code);
438await new VerifyCS.Test
457await new VerifyCS.Test
485await new VerifyCS.Test
504await new VerifyCS.Test
527await VerifyCS.VerifyCodeFixAsync(
544await VerifyCS.VerifyCodeFixAsync(
561await VerifyCS.VerifyCodeFixAsync(
579await VerifyCS.VerifyCodeFixAsync(
596await VerifyCS.VerifyCodeFixAsync(
613await VerifyCS.VerifyCodeFixAsync(
630await VerifyCS.VerifyCodeFixAsync(
648await VerifyCS.VerifyCodeFixAsync(
675await VerifyCS.VerifyCodeFixAsync(code, code);
688await VerifyCS.VerifyCodeFixAsync(code, code);
701await VerifyCS.VerifyCodeFixAsync(code, code);
719await VerifyCS.VerifyCodeFixAsync(code, code);
737await VerifyCS.VerifyCodeFixAsync(code, code);
759await VerifyCS.VerifyCodeFixAsync(code, code);
765await VerifyCS.VerifyCodeFixAsync(
790await VerifyCS.VerifyCodeFixAsync(code, code);
796await VerifyCS.VerifyCodeFixAsync(
821await VerifyCS.VerifyCodeFixAsync(code, code);
835await VerifyCS.VerifyCodeFixAsync(code, code);
853await VerifyCS.VerifyCodeFixAsync(code, code);
871await VerifyCS.VerifyCodeFixAsync(code, code);
889await VerifyCS.VerifyCodeFixAsync(code, code);
907await VerifyCS.VerifyCodeFixAsync(code, code);
925await VerifyCS.VerifyCodeFixAsync(code, code);
945await VerifyCS.VerifyCodeFixAsync(code, code);
962await VerifyCS.VerifyCodeFixAsync(code, code);
976await VerifyCS.VerifyCodeFixAsync(code, code);
994await VerifyCS.VerifyCodeFixAsync(code, code);
1008await VerifyCS.VerifyCodeFixAsync(code, code);
1024await VerifyCS.VerifyCodeFixAsync(code, code);
1038await VerifyCS.VerifyCodeFixAsync(code, code);
1055await VerifyCS.VerifyCodeFixAsync(code, code);
1069await VerifyCS.VerifyCodeFixAsync(code, code);
1083await VerifyCS.VerifyCodeFixAsync(code, code);
1097await VerifyCS.VerifyCodeFixAsync(code, code);
1111await VerifyCS.VerifyCodeFixAsync(code, code);
1125await VerifyCS.VerifyCodeFixAsync(code, code);
1139await VerifyCS.VerifyCodeFixAsync(code, code);
1153await VerifyCS.VerifyCodeFixAsync(code, code);
1168await new VerifyCS.Test
1191await VerifyCS.VerifyCodeFixAsync(code, code);
1205await VerifyCS.VerifyCodeFixAsync(code, code);
1221await VerifyCS.VerifyCodeFixAsync(code, code);
1244await VerifyCS.VerifyCodeFixAsync(code, code);
1264await VerifyCS.VerifyCodeFixAsync(code, code);
1278await VerifyCS.VerifyCodeFixAsync(code, code);
1292await VerifyCS.VerifyCodeFixAsync(code, code);
1298await new VerifyCS.Test
1321await VerifyCS.VerifyCodeFixAsync(code, code);
1335await VerifyCS.VerifyCodeFixAsync(code, code);
1349await VerifyCS.VerifyCodeFixAsync(code, code);
1363await VerifyCS.VerifyCodeFixAsync(code, code);
1378await VerifyCS.VerifyCodeFixAsync(code, code);
1394await VerifyCS.VerifyCodeFixAsync(code, code);
1410await VerifyCS.VerifyCodeFixAsync(code, code);
1428await VerifyCS.VerifyCodeFixAsync(code, code);
1446await VerifyCS.VerifyCodeFixAsync(code, code);
1463await VerifyCS.VerifyCodeFixAsync(code, code);
1469await new VerifyCS.Test
1484VerifyCS
1506await VerifyCS.VerifyCodeFixAsync(code, code);
1524await VerifyCS.VerifyCodeFixAsync(code, code);
1538await VerifyCS.VerifyCodeFixAsync(code, code);
1556await VerifyCS.VerifyCodeFixAsync(code, code);
1570await VerifyCS.VerifyCodeFixAsync(code, code);
1588await VerifyCS.VerifyCodeFixAsync(code, code);
1606await VerifyCS.VerifyCodeFixAsync(code, code);
1624await VerifyCS.VerifyCodeFixAsync(code, code);
1642await VerifyCS.VerifyCodeFixAsync(code, code);
1660await VerifyCS.VerifyCodeFixAsync(code, code);
1674await VerifyCS.VerifyCodeFixAsync(code, code);
1688await VerifyCS.VerifyCodeFixAsync(code, code);
1702await VerifyCS.VerifyCodeFixAsync(code, code);
1716await VerifyCS.VerifyCodeFixAsync(code, code);
1730await VerifyCS.VerifyCodeFixAsync(code, code);
1744await VerifyCS.VerifyCodeFixAsync(code, code);
1758await VerifyCS.VerifyAnalyzerAsync(code, new DiagnosticResult(
1777await VerifyCS.VerifyAnalyzerAsync(code, []);
1791await VerifyCS.VerifyCodeFixAsync(code, code);
1805await VerifyCS.VerifyCodeFixAsync(code, code);
1811await VerifyCS.VerifyAnalyzerAsync("""
1836await VerifyCS.VerifyAnalyzerAsync(code, []);
1850await VerifyCS.VerifyCodeFixAsync(code, code);
1864await VerifyCS.VerifyCodeFixAsync(code, code);
1878await VerifyCS.VerifyCodeFixAsync(code, code);
1892await VerifyCS.VerifyCodeFixAsync(code, code);
1906await VerifyCS.VerifyCodeFixAsync(code, code);
1920await VerifyCS.VerifyCodeFixAsync(code, code);
1934await VerifyCS.VerifyAnalyzerAsync(code, new DiagnosticResult(
1953await VerifyCS.VerifyAnalyzerAsync(code, []);
1967await VerifyCS.VerifyCodeFixAsync(code, code);
1981await VerifyCS.VerifyCodeFixAsync(code, code);
1995await VerifyCS.VerifyAnalyzerAsync(code, new DiagnosticResult(
2014await VerifyCS.VerifyAnalyzerAsync(code, []);
2028await VerifyCS.VerifyCodeFixAsync(code, code);
2043await VerifyCS.VerifyCodeFixAsync(code, code);
2058await VerifyCS.VerifyCodeFixAsync(code, code);
2073await VerifyCS.VerifyCodeFixAsync(code, code);
2088await VerifyCS.VerifyCodeFixAsync(code, code);
2103await VerifyCS.VerifyCodeFixAsync(code, code);
2118await VerifyCS.VerifyCodeFixAsync(code, code);
2133await VerifyCS.VerifyCodeFixAsync(code, code);
2148await VerifyCS.VerifyCodeFixAsync(code, code);
2165await VerifyCS.VerifyCodeFixAsync(code, code);
2171await VerifyCS.VerifyCodeFixAsync(
2209await new VerifyCS.Test
2226await VerifyCS.VerifyCodeFixAsync(
2246await VerifyCS.VerifyCodeFixAsync(
2278await VerifyCS.VerifyCodeFixAsync(code, code);
2296await VerifyCS.VerifyCodeFixAsync(code, code);
2302await VerifyCS.VerifyCodeFixAsync(
2337await VerifyCS.VerifyCodeFixAsync(code, code);
2343await VerifyCS.VerifyCodeFixAsync(
2371await VerifyCS.VerifyCodeFixAsync(code, code);
2390await new VerifyCS.Test
2413await new VerifyCS.Test
2431await VerifyCS.VerifyCodeFixAsync(code, code);
2445await VerifyCS.VerifyCodeFixAsync(code, code);
2459await VerifyCS.VerifyCodeFixAsync(code, code);
2477await VerifyCS.VerifyCodeFixAsync(code, code);
2483await VerifyCS.VerifyCodeFixAsync(
2525await VerifyCS.VerifyCodeFixAsync(code, code);
2541await VerifyCS.VerifyCodeFixAsync(code, code);
2556await VerifyCS.VerifyCodeFixAsync(code, code);
2572await VerifyCS.VerifyCodeFixAsync(code, code);
2578await VerifyCS.VerifyCodeFixAsync(
2621await VerifyCS.VerifyCodeFixAsync(code, code);
2638await VerifyCS.VerifyCodeFixAsync(code, code);
2652await VerifyCS.VerifyCodeFixAsync(code, code);
2666await VerifyCS.VerifyCodeFixAsync(code, code);
2680await VerifyCS.VerifyCodeFixAsync(code, code);
2696await VerifyCS.VerifyCodeFixAsync(code, code);
2712await VerifyCS.VerifyCodeFixAsync(code, code);
2728await VerifyCS.VerifyCodeFixAsync(code, code);
2747await VerifyCS.VerifyCodeFixAsync(code, code);
2772await VerifyCS.VerifyCodeFixAsync(code, code);
2799await VerifyCS.VerifyCodeFixAsync(code, code);
2821await VerifyCS.VerifyCodeFixAsync(code, code);
2839await VerifyCS.VerifyCodeFixAsync(code, code);
2857await VerifyCS.VerifyCodeFixAsync(code, code);
2874await VerifyCS.VerifyCodeFixAsync(code, code);
2896await VerifyCS.VerifyCodeFixAsync(code, code);
2902await VerifyCS.VerifyCodeFixAsync(
2926await VerifyCS.VerifyCodeFixAsync(
2952await VerifyCS.VerifyCodeFixAsync(
2972await VerifyCS.VerifyCodeFixAsync(
3062await new VerifyCS.Test
3091await new VerifyCS.Test
3120await new VerifyCS.Test
3139await VerifyCS.VerifyCodeFixAsync(code, code);
3154await VerifyCS.VerifyCodeFixAsync(code, code);
3168await VerifyCS.VerifyCodeFixAsync(code, code);
3174await VerifyCS.VerifyAnalyzerAsync(
3182VerifyCS.Diagnostic("IDE0051")
3211await VerifyCS.VerifyAnalyzerAsync(code);
3243await VerifyCS.VerifyCodeFixAsync(code, fixedCode);
3249await new VerifyCS.Test
3278await new VerifyCS.Test
3307await new VerifyCS.Test
3347await new VerifyCS.Test
3376await new VerifyCS.Test
3410await new VerifyCS.Test
3433await new VerifyCS.Test
3457await new VerifyCS.Test
3488await new VerifyCS.Test
src\Analyzers\CSharp\Tests\UseDeconstruction\UseDeconstructionTests.cs (34)
16using VerifyCS = CSharpCodeFixVerifier<
26await VerifyCS.VerifyCodeFixAsync("""
67await VerifyCS.VerifyCodeFixAsync(code, code);
87await VerifyCS.VerifyCodeFixAsync(code, code);
93await VerifyCS.VerifyCodeFixAsync("""
121await VerifyCS.VerifyCodeFixAsync("""
149await VerifyCS.VerifyCodeFixAsync("""
181await VerifyCS.VerifyCodeFixAsync("""
213await VerifyCS.VerifyCodeFixAsync("""
241await VerifyCS.VerifyCodeFixAsync("""
277await VerifyCS.VerifyCodeFixAsync("""
305await VerifyCS.VerifyCodeFixAsync("""
345await VerifyCS.VerifyCodeFixAsync(code, code);
351await VerifyCS.VerifyCodeFixAsync("""
377await VerifyCS.VerifyCodeFixAsync("""
417await VerifyCS.VerifyCodeFixAsync(code, code);
436await VerifyCS.VerifyCodeFixAsync(code, code);
455await VerifyCS.VerifyCodeFixAsync(code, code);
474await VerifyCS.VerifyCodeFixAsync(code, code);
493await VerifyCS.VerifyCodeFixAsync(code, code);
499await VerifyCS.VerifyCodeFixAsync("""
527await new VerifyCS.Test()
546await VerifyCS.VerifyCodeFixAsync("""
586await VerifyCS.VerifyCodeFixAsync(code, code);
592await VerifyCS.VerifyCodeFixAsync("""
642await VerifyCS.VerifyCodeFixAsync(code, code);
648await VerifyCS.VerifyCodeFixAsync("""
684await VerifyCS.VerifyCodeFixAsync("""
708await VerifyCS.VerifyCodeFixAsync("""
736await VerifyCS.VerifyCodeFixAsync("""
766await new VerifyCS.Test()
807await new VerifyCS.Test
862await new VerifyCS.Test()
884await new VerifyCS.Test
src\Analyzers\CSharp\Tests\UseObjectInitializer\UseObjectInitializerTests.cs (53)
16using VerifyCS = CSharpCodeFixVerifier<
27var test = new VerifyCS.Test
68await new VerifyCS.Test
74VerifyCS.Diagnostic().WithSeverity(DiagnosticSeverity.Info).WithLocation(0).WithLocation(1).WithLocation(2).WithLocation(3),
175await new VerifyCS.Test
181VerifyCS.Diagnostic().WithSeverity(DiagnosticSeverity.Info).WithLocation(0).WithLocation(1).WithLocation(2).WithLocation(3),
240await new VerifyCS.Test
246VerifyCS.Diagnostic().WithSeverity(DiagnosticSeverity.Info).WithLocation(0).WithLocation(1).WithLocation(2).WithLocation(3),
304await new VerifyCS.Test
310VerifyCS.Diagnostic().WithSeverity(DiagnosticSeverity.Info).WithLocation(0).WithLocation(1).WithLocation(2).WithLocation(3),
349await new VerifyCS.Test
355VerifyCS.Diagnostic().WithSeverity(DiagnosticSeverity.Info).WithLocation(0).WithLocation(1).WithLocation(2).WithLocation(3),
396await new VerifyCS.Test
402VerifyCS.Diagnostic().WithSeverity(DiagnosticSeverity.Info).WithLocation(0).WithLocation(1).WithLocation(2).WithLocation(3).WithLocation(4).WithLocation(5),
443await new VerifyCS.Test
449VerifyCS.Diagnostic().WithSeverity(DiagnosticSeverity.Info).WithLocation(0).WithLocation(1).WithLocation(2).WithLocation(3),
489await new VerifyCS.Test
495VerifyCS.Diagnostic().WithSeverity(DiagnosticSeverity.Info).WithLocation(0).WithLocation(1).WithLocation(2).WithLocation(3),
538await new VerifyCS.Test
544VerifyCS.Diagnostic().WithSeverity(DiagnosticSeverity.Info).WithLocation(0).WithLocation(1).WithLocation(2).WithLocation(3),
589await new VerifyCS.Test
595VerifyCS.Diagnostic().WithSeverity(DiagnosticSeverity.Info).WithLocation(0).WithLocation(1).WithLocation(2).WithLocation(3),
668await new VerifyCS.Test
674VerifyCS.Diagnostic().WithSeverity(DiagnosticSeverity.Info).WithLocation(0).WithLocation(1).WithLocation(2).WithLocation(3),
676VerifyCS.Diagnostic().WithSeverity(DiagnosticSeverity.Info).WithLocation(4).WithLocation(5).WithLocation(6).WithLocation(7),
724await new VerifyCS.Test
730VerifyCS.Diagnostic().WithSeverity(DiagnosticSeverity.Info).WithLocation(0).WithLocation(1).WithLocation(2).WithLocation(3),
732VerifyCS.Diagnostic().WithSeverity(DiagnosticSeverity.Info).WithLocation(4).WithLocation(5).WithLocation(6).WithLocation(7),
781await new VerifyCS.Test
787VerifyCS.Diagnostic().WithSeverity(DiagnosticSeverity.Info).WithLocation(0).WithLocation(1).WithLocation(2).WithLocation(3).WithLocation(4).WithLocation(5),
789VerifyCS.Diagnostic().WithSeverity(DiagnosticSeverity.Info).WithLocation(6).WithLocation(7).WithLocation(8).WithLocation(9).WithLocation(10).WithLocation(11),
828await new VerifyCS.Test
834VerifyCS.Diagnostic().WithSeverity(DiagnosticSeverity.Info).WithLocation(0).WithLocation(1).WithLocation(2).WithLocation(3).WithLocation(4).WithLocation(5),
880await new VerifyCS.Test
886VerifyCS.Diagnostic().WithSeverity(DiagnosticSeverity.Info).WithLocation(0).WithLocation(1).WithLocation(2).WithLocation(3).WithLocation(4).WithLocation(5),
981await new VerifyCS.Test
987VerifyCS.Diagnostic().WithSeverity(DiagnosticSeverity.Info).WithLocation(0).WithLocation(1).WithLocation(2).WithLocation(3),
1034await new VerifyCS.Test
1040VerifyCS.Diagnostic().WithSeverity(DiagnosticSeverity.Info).WithLocation(0).WithLocation(1).WithLocation(2).WithLocation(3),
1146await new VerifyCS.Test
1152VerifyCS.Diagnostic().WithSeverity(DiagnosticSeverity.Info).WithLocation(0).WithLocation(1).WithLocation(2).WithLocation(3),
1211await new VerifyCS.Test
1217VerifyCS.Diagnostic().WithSeverity(DiagnosticSeverity.Info).WithLocation(0).WithLocation(1).WithLocation(2).WithLocation(3),
1248await new VerifyCS.Test
1254VerifyCS.Diagnostic().WithSeverity(DiagnosticSeverity.Info).WithLocation(0).WithLocation(1).WithLocation(2).WithLocation(3),
1328var test = new VerifyCS.Test
1346VerifyCS.Diagnostic().WithSeverity(DiagnosticSeverity.Info).WithLocation(0).WithLocation(1).WithLocation(2).WithLocation(3));
1396await new VerifyCS.Test
1404VerifyCS.Diagnostic().WithSeverity(DiagnosticSeverity.Warning).WithLocation(0).WithLocation(1).WithLocation(2).WithLocation(3),
1419await new VerifyCS.Test
1462await new VerifyCS.Test
1509await new VerifyCS.Test
1552await new VerifyCS.Test