214 references to VerifyRefactoringAsync
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (214)
AddDebuggerDisplay\AddDebuggerDisplayTests.cs (22)
21
await VerifyCS.
VerifyRefactoringAsync
("""
99
await VerifyCS.
VerifyRefactoringAsync
("""
126
await VerifyCS.
VerifyRefactoringAsync
(code, code);
139
await VerifyCS.
VerifyRefactoringAsync
(code, code);
151
await VerifyCS.
VerifyRefactoringAsync
(code, code);
161
await VerifyCS.
VerifyRefactoringAsync
(code, code);
174
await VerifyCS.
VerifyRefactoringAsync
(code, code);
180
await VerifyCS.
VerifyRefactoringAsync
("""
204
await VerifyCS.
VerifyRefactoringAsync
("""
240
await VerifyCS.
VerifyRefactoringAsync
(code, code);
246
await VerifyCS.
VerifyRefactoringAsync
("""
272
await VerifyCS.
VerifyRefactoringAsync
(code, code);
278
await VerifyCS.
VerifyRefactoringAsync
("""
301
await VerifyCS.
VerifyRefactoringAsync
("""
332
await VerifyCS.
VerifyRefactoringAsync
(code, code);
345
await VerifyCS.
VerifyRefactoringAsync
(code, code);
351
await VerifyCS.
VerifyRefactoringAsync
("""
374
await VerifyCS.
VerifyRefactoringAsync
("""
406
await VerifyCS.
VerifyRefactoringAsync
(code, code);
412
await VerifyCS.
VerifyRefactoringAsync
("""
445
await VerifyCS.
VerifyRefactoringAsync
("""
464
await VerifyCS.
VerifyRefactoringAsync
("""
CodeActions\ConvertIfToSwitch\ConvertIfToSwitchTests.cs (11)
116
await VerifyCS.
VerifyRefactoringAsync
(code, code);
458
await VerifyCS.
VerifyRefactoringAsync
(source, source);
475
await VerifyCS.
VerifyRefactoringAsync
(source, source);
492
await VerifyCS.
VerifyRefactoringAsync
(source, source);
560
await VerifyCS.
VerifyRefactoringAsync
(
675
await VerifyCS.
VerifyRefactoringAsync
(
708
await VerifyCS.
VerifyRefactoringAsync
(
741
await VerifyCS.
VerifyRefactoringAsync
(
794
await VerifyCS.
VerifyRefactoringAsync
(source, source);
862
await VerifyCS.
VerifyRefactoringAsync
(source, source);
2373
await VerifyCS.
VerifyRefactoringAsync
(
ConvertToInterpolatedString\ConvertConcatenationToInterpolatedStringTests.cs (49)
35
await VerifyCS.
VerifyRefactoringAsync
(code, code);
49
await VerifyCS.
VerifyRefactoringAsync
(code, code);
63
await VerifyCS.
VerifyRefactoringAsync
(code, code);
77
await VerifyCS.
VerifyRefactoringAsync
(code, code);
83
await VerifyCS.
VerifyRefactoringAsync
(
103
await VerifyCS.
VerifyRefactoringAsync
(
123
await VerifyCS.
VerifyRefactoringAsync
(
143
await VerifyCS.
VerifyRefactoringAsync
(
163
await VerifyCS.
VerifyRefactoringAsync
(
189
await VerifyCS.
VerifyRefactoringAsync
(
209
await VerifyCS.
VerifyRefactoringAsync
(
231
await VerifyCS.
VerifyRefactoringAsync
(
253
await VerifyCS.
VerifyRefactoringAsync
(
281
await VerifyCS.
VerifyRefactoringAsync
(code, code);
295
await VerifyCS.
VerifyRefactoringAsync
(code, code);
309
await VerifyCS.
VerifyRefactoringAsync
(code, code);
315
await VerifyCS.
VerifyRefactoringAsync
(
364
await VerifyCS.
VerifyRefactoringAsync
(code, code);
370
await VerifyCS.
VerifyRefactoringAsync
(
390
await VerifyCS.
VerifyRefactoringAsync
(
410
await VerifyCS.
VerifyRefactoringAsync
(
438
await VerifyCS.
VerifyRefactoringAsync
(code, code);
453
await VerifyCS.
VerifyRefactoringAsync
(code, code);
468
await VerifyCS.
VerifyRefactoringAsync
(code, code);
475
await VerifyCS.
VerifyRefactoringAsync
(
497
await VerifyCS.
VerifyRefactoringAsync
(
519
await VerifyCS.
VerifyRefactoringAsync
(
541
await VerifyCS.
VerifyRefactoringAsync
(
562
await VerifyCS.
VerifyRefactoringAsync
(
582
await VerifyCS.
VerifyRefactoringAsync
(
603
await VerifyCS.
VerifyRefactoringAsync
(
632
await VerifyCS.
VerifyRefactoringAsync
(code, code);
648
await VerifyCS.
VerifyRefactoringAsync
(code, code);
664
await VerifyCS.
VerifyRefactoringAsync
(code, code);
670
await VerifyCS.
VerifyRefactoringAsync
(
690
await VerifyCS.
VerifyRefactoringAsync
(
710
await VerifyCS.
VerifyRefactoringAsync
(
730
await VerifyCS.
VerifyRefactoringAsync
(
750
await VerifyCS.
VerifyRefactoringAsync
(
770
await VerifyCS.
VerifyRefactoringAsync
(
790
await VerifyCS.
VerifyRefactoringAsync
(
810
await VerifyCS.
VerifyRefactoringAsync
(
830
await VerifyCS.
VerifyRefactoringAsync
(
854
await VerifyCS.
VerifyRefactoringAsync
(
876
await VerifyCS.
VerifyRefactoringAsync
(
968
await VerifyCS.
VerifyRefactoringAsync
(@"
1025
await VerifyCS.
VerifyRefactoringAsync
(initialMarkup, expected);
1055
await VerifyCS.
VerifyRefactoringAsync
(initialMarkup, expected);
1083
await VerifyCS.
VerifyRefactoringAsync
(initialMarkup, expected);
GenerateComparisonOperators\GenerateComparisonOperatorsTests.cs (10)
24
await VerifyCS.
VerifyRefactoringAsync
(
102
await VerifyCS.
VerifyRefactoringAsync
(
144
await VerifyCS.
VerifyRefactoringAsync
(
186
await VerifyCS.
VerifyRefactoringAsync
(
228
await VerifyCS.
VerifyRefactoringAsync
(
281
await VerifyCS.
VerifyRefactoringAsync
(code, code);
298
await VerifyCS.
VerifyRefactoringAsync
(code, code);
336
await VerifyCS.
VerifyRefactoringAsync
(code, code);
342
await VerifyCS.
VerifyRefactoringAsync
(
452
await VerifyCS.
VerifyRefactoringAsync
(
GenerateFromMembers\AddConstructorParametersFromMembers\AddConstructorParametersFromMembersTests.cs (20)
517
await VerifyCS.
VerifyRefactoringAsync
(
548
await VerifyCS.
VerifyRefactoringAsync
(
579
await VerifyCS.
VerifyRefactoringAsync
(
829
await VerifyCS.
VerifyRefactoringAsync
(
860
await VerifyCS.
VerifyRefactoringAsync
(
895
await VerifyCS.
VerifyRefactoringAsync
(
934
await VerifyCS.
VerifyRefactoringAsync
(
980
await VerifyCS.
VerifyRefactoringAsync
(source, source);
997
await VerifyCS.
VerifyRefactoringAsync
(source, source);
1003
await VerifyCS.
VerifyRefactoringAsync
(
1031
await VerifyCS.
VerifyRefactoringAsync
(
1068
await VerifyCS.
VerifyRefactoringAsync
(source, source);
1074
await VerifyCS.
VerifyRefactoringAsync
(
1102
await VerifyCS.
VerifyRefactoringAsync
(
1133
await VerifyCS.
VerifyRefactoringAsync
(
1651
await VerifyCS.
VerifyRefactoringAsync
(source, source);
2413
await VerifyCS.
VerifyRefactoringAsync
(source, source);
2434
await VerifyCS.
VerifyRefactoringAsync
(source, source);
2455
await VerifyCS.
VerifyRefactoringAsync
(source, source);
2476
await VerifyCS.
VerifyRefactoringAsync
(source, source);
GenerateFromMembers\GenerateEqualsAndGetHashCodeFromMembers\GenerateEqualsAndGetHashCodeFromMembersTests.cs (8)
624
await VerifyCS.
VerifyRefactoringAsync
(
672
await VerifyCS.
VerifyRefactoringAsync
(
720
await VerifyCS.
VerifyRefactoringAsync
(
765
await VerifyCS.
VerifyRefactoringAsync
(
810
await VerifyCS.
VerifyRefactoringAsync
(
886
await VerifyCS.
VerifyRefactoringAsync
(
3830
await VerifyCS.
VerifyRefactoringAsync
(
3858
await VerifyCS.
VerifyRefactoringAsync
(
InitializeParameter\AddParameterCheckTests.cs (56)
29
await VerifyCS.
VerifyRefactoringAsync
(code, code);
60
await VerifyCS.
VerifyRefactoringAsync
(
123
await VerifyCS.
VerifyRefactoringAsync
(
162
await VerifyCS.
VerifyRefactoringAsync
(code, code);
179
await VerifyCS.
VerifyRefactoringAsync
(code, code);
194
await VerifyCS.
VerifyRefactoringAsync
(code, code);
213
await VerifyCS.
VerifyRefactoringAsync
(code, code);
227
await VerifyCS.
VerifyRefactoringAsync
(code, code);
241
await VerifyCS.
VerifyRefactoringAsync
(code, code);
343
await VerifyCS.
VerifyRefactoringAsync
(
414
await VerifyCS.
VerifyRefactoringAsync
(
485
await VerifyCS.
VerifyRefactoringAsync
(
630
await VerifyCS.
VerifyRefactoringAsync
(code, code);
864
await VerifyCS.
VerifyRefactoringAsync
(
979
await VerifyCS.
VerifyRefactoringAsync
(
1007
await VerifyCS.
VerifyRefactoringAsync
(
1091
await VerifyCS.
VerifyRefactoringAsync
(
1131
await VerifyCS.
VerifyRefactoringAsync
(
1171
await VerifyCS.
VerifyRefactoringAsync
(
1211
await VerifyCS.
VerifyRefactoringAsync
(
1251
await VerifyCS.
VerifyRefactoringAsync
(
1288
await VerifyCS.
VerifyRefactoringAsync
(
1339
await VerifyCS.
VerifyRefactoringAsync
(code, code);
1358
await VerifyCS.
VerifyRefactoringAsync
(code, code);
1377
await VerifyCS.
VerifyRefactoringAsync
(code, code);
1396
await VerifyCS.
VerifyRefactoringAsync
(code, code);
1416
await VerifyCS.
VerifyRefactoringAsync
(code, code);
1436
await VerifyCS.
VerifyRefactoringAsync
(code, code);
1459
await VerifyCS.
VerifyRefactoringAsync
(code, code);
1476
await VerifyCS.
VerifyRefactoringAsync
(code, code);
1492
await VerifyCS.
VerifyRefactoringAsync
(code, code);
1498
await VerifyCS.
VerifyRefactoringAsync
(
1528
await VerifyCS.
VerifyRefactoringAsync
(
1561
await VerifyCS.
VerifyRefactoringAsync
(
1597
await VerifyCS.
VerifyRefactoringAsync
(
1631
await VerifyCS.
VerifyRefactoringAsync
(
1728
await VerifyCS.
VerifyRefactoringAsync
(
1764
await VerifyCS.
VerifyRefactoringAsync
(
1813
await VerifyCS.
VerifyRefactoringAsync
(code, code);
1857
await VerifyCS.
VerifyRefactoringAsync
(code, code);
1984
await VerifyCS.
VerifyRefactoringAsync
(code, code);
2105
await VerifyCS.
VerifyRefactoringAsync
(
2142
await VerifyCS.
VerifyRefactoringAsync
(
2193
await VerifyCS.
VerifyRefactoringAsync
(code, code);
2217
await VerifyCS.
VerifyRefactoringAsync
(code, code);
2223
await VerifyCS.
VerifyRefactoringAsync
(
2260
await VerifyCS.
VerifyRefactoringAsync
(
2331
await VerifyCS.
VerifyRefactoringAsync
(code, code);
2337
await VerifyCS.
VerifyRefactoringAsync
(
2874
await VerifyCS.
VerifyRefactoringAsync
(source, source);
2890
await VerifyCS.
VerifyRefactoringAsync
(source, source);
2906
await VerifyCS.
VerifyRefactoringAsync
(source, source);
2922
await VerifyCS.
VerifyRefactoringAsync
(source, source);
2973
await VerifyCS.
VerifyRefactoringAsync
("""
3012
await VerifyCS.
VerifyRefactoringAsync
("""
3043
await VerifyCS.
VerifyRefactoringAsync
("""
ReplaceConditionalWithStatements\ReplaceConditionalWithStatementsTests.cs (32)
23
await VerifyCS.
VerifyRefactoringAsync
(
56
await VerifyCS.
VerifyRefactoringAsync
(
89
await VerifyCS.
VerifyRefactoringAsync
(
122
await VerifyCS.
VerifyRefactoringAsync
(
159
await VerifyCS.
VerifyRefactoringAsync
(
260
await VerifyCS.
VerifyRefactoringAsync
(source, source);
277
await VerifyCS.
VerifyRefactoringAsync
(source, source);
283
await VerifyCS.
VerifyRefactoringAsync
(
366
await VerifyCS.
VerifyRefactoringAsync
(
398
await VerifyCS.
VerifyRefactoringAsync
(
430
await VerifyCS.
VerifyRefactoringAsync
(
462
await VerifyCS.
VerifyRefactoringAsync
(
587
await VerifyCS.
VerifyRefactoringAsync
(
618
await VerifyCS.
VerifyRefactoringAsync
(
649
await VerifyCS.
VerifyRefactoringAsync
(
680
await VerifyCS.
VerifyRefactoringAsync
(
713
await VerifyCS.
VerifyRefactoringAsync
(
746
await VerifyCS.
VerifyRefactoringAsync
(
779
await VerifyCS.
VerifyRefactoringAsync
(
812
await VerifyCS.
VerifyRefactoringAsync
(
849
await VerifyCS.
VerifyRefactoringAsync
(
887
await VerifyCS.
VerifyRefactoringAsync
(
920
await VerifyCS.
VerifyRefactoringAsync
(
953
await VerifyCS.
VerifyRefactoringAsync
(
988
await VerifyCS.
VerifyRefactoringAsync
(
1023
await VerifyCS.
VerifyRefactoringAsync
(
1058
await VerifyCS.
VerifyRefactoringAsync
(
1091
await VerifyCS.
VerifyRefactoringAsync
(
1124
await VerifyCS.
VerifyRefactoringAsync
(
1161
await VerifyCS.
VerifyRefactoringAsync
(
1199
await VerifyCS.
VerifyRefactoringAsync
(
1234
await VerifyCS.
VerifyRefactoringAsync
(
UseNamedArguments\UseNamedArgumentsTests.cs (6)
23
return VerifyCS.
VerifyRefactoringAsync
(code, code);
528
await VerifyCS.
VerifyRefactoringAsync
(
600
await VerifyCS.
VerifyRefactoringAsync
(
620
await VerifyCS.
VerifyRefactoringAsync
(
653
await VerifyCS.
VerifyRefactoringAsync
("""
685
await VerifyCS.
VerifyRefactoringAsync
("""