580 references to CSharpCodeRefactoringVerifier
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (580)
AddDebuggerDisplay\AddDebuggerDisplayTests.cs (25)
10
using VerifyCS = Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions.
CSharpCodeRefactoringVerifier
<
21
await
VerifyCS
.VerifyRefactoringAsync("""
60
await new
VerifyCS
.Test()
87
await new
VerifyCS
.Test()
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 (76)
17
using VerifyCS =
CSharpCodeRefactoringVerifier
<CSharpConvertIfToSwitchCodeRefactoringProvider>;
53
await new
VerifyCS
.Test
93
await new
VerifyCS
.Test
116
await
VerifyCS
.VerifyRefactoringAsync(code, code);
150
await new
VerifyCS
.Test
217
await new
VerifyCS
.Test
266
await new
VerifyCS
.Test
310
await new
VerifyCS
.Test
354
await new
VerifyCS
.Test
393
await new
VerifyCS
.Test
434
await new
VerifyCS
.Test
458
await
VerifyCS
.VerifyRefactoringAsync(source, source);
475
await
VerifyCS
.VerifyRefactoringAsync(source, source);
492
await
VerifyCS
.VerifyRefactoringAsync(source, source);
548
await new
VerifyCS
.Test
560
await
VerifyCS
.VerifyRefactoringAsync(
623
await new
VerifyCS
.Test
664
await new
VerifyCS
.Test
675
await
VerifyCS
.VerifyRefactoringAsync(
708
await
VerifyCS
.VerifyRefactoringAsync(
741
await
VerifyCS
.VerifyRefactoringAsync(
794
await
VerifyCS
.VerifyRefactoringAsync(source, source);
837
await new
VerifyCS
.Test
862
await
VerifyCS
.VerifyRefactoringAsync(source, source);
883
await
VerifyCS
.VerifyRefactoringAsync(
933
await new
VerifyCS
.Test
975
await new
VerifyCS
.Test
1014
await new
VerifyCS
.Test
1054
await new
VerifyCS
.Test
1098
await new
VerifyCS
.Test
1148
await new
VerifyCS
.Test
1207
await new
VerifyCS
.Test
1250
await new
VerifyCS
.Test
1305
await new
VerifyCS
.Test
1378
await new
VerifyCS
.Test
1433
await new
VerifyCS
.Test
1502
await new
VerifyCS
.Test
1543
await new
VerifyCS
.Test
1585
await new
VerifyCS
.Test
1635
await new
VerifyCS
.Test
1677
await new
VerifyCS
.Test
1727
await new
VerifyCS
.Test
1769
await new
VerifyCS
.Test
1819
await new
VerifyCS
.Test
1861
await new
VerifyCS
.Test
1911
await new
VerifyCS
.Test
1952
await new
VerifyCS
.Test
1993
await new
VerifyCS
.Test
2034
await new
VerifyCS
.Test
2075
await new
VerifyCS
.Test
2116
await new
VerifyCS
.Test
2157
await new
VerifyCS
.Test
2198
await new
VerifyCS
.Test
2239
await new
VerifyCS
.Test
2280
await new
VerifyCS
.Test
2321
await new
VerifyCS
.Test
2362
await new
VerifyCS
.Test
2373
await
VerifyCS
.VerifyRefactoringAsync(
2428
await new
VerifyCS
.Test
2473
await new
VerifyCS
.Test
2498
await new
VerifyCS
.Test
2538
await new
VerifyCS
.Test
2581
await new
VerifyCS
.Test
2616
await new
VerifyCS
.Test
2658
await new
VerifyCS
.Test
2709
await new
VerifyCS
.Test
2751
await new
VerifyCS
.Test
2800
var test = new
VerifyCS
.Test
2863
await new
VerifyCS
.Test
2886
await new
VerifyCS
.Test
2911
await new
VerifyCS
.Test
2934
await new
VerifyCS
.Test
2957
await new
VerifyCS
.Test
2997
await new
VerifyCS
.Test
3060
await new
VerifyCS
.Test
3124
await new
VerifyCS
.Test
CodeActions\EnableNullable\EnableNullableTests.cs (10)
16
using VerifyCS = Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions.
CSharpCodeRefactoringVerifier
<
134
await new
VerifyCS
.Test
220
await new
VerifyCS
.Test
328
await new
VerifyCS
.Test
427
await new
VerifyCS
.Test
500
await new
VerifyCS
.Test
541
await new
VerifyCS
.Test
595
await new
VerifyCS
.Test
683
await new
VerifyCS
.Test
792
await new
VerifyCS
.Test
CodeActions\ExtractMethod\ExtractLocalFunctionTests.cs (7)
15
using VerifyCS = Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions.
CSharpCodeRefactoringVerifier
<
5170
await new
VerifyCS
.Test
5211
await new
VerifyCS
.Test
5260
await new
VerifyCS
.Test
5313
await new
VerifyCS
.Test
5343
await new
VerifyCS
.Test
5377
await new
VerifyCS
.Test
CodeActions\ExtractMethod\ExtractMethodTests.cs (5)
16
using VerifyCS = Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions.
CSharpCodeRefactoringVerifier
<
4977
await new
VerifyCS
.Test
5003
await new
VerifyCS
.Test
5033
await new
VerifyCS
.Test
5065
await new
VerifyCS
.Test
CodeRefactorings\UseRecursivePatterns\UseRecursivePatternsRefactoringTests.cs (2)
15
using VerifyCS =
CSharpCodeRefactoringVerifier
<UseRecursivePatternsCodeRefactoringProvider>;
26
return new
VerifyCS
.Test
ConvertCast\ConvertDirectCastToTryCastTests.cs (15)
15
using VerifyCS =
CSharpCodeRefactoringVerifier
<CSharpConvertDirectCastToTryCastCodeRefactoringProvider>;
41
await new
VerifyCS
.Test
82
await new
VerifyCS
.Test
102
await new
VerifyCS
.Test
124
await new
VerifyCS
.Test
146
await new
VerifyCS
.Test
178
await new
VerifyCS
.Test
215
await new
VerifyCS
.Test
255
await new
VerifyCS
.Test
277
await new
VerifyCS
.Test
318
await new
VerifyCS
.Test
378
await new
VerifyCS
.Test
411
await new
VerifyCS
.Test
444
await new
VerifyCS
.Test
475
await new
VerifyCS
.Test
ConvertCast\ConvertTryCastToDirectCastTests.cs (10)
15
using VerifyCS =
CSharpCodeRefactoringVerifier
<CSharpConvertTryCastToDirectCastCodeRefactoringProvider>;
41
await new
VerifyCS
.Test
61
await new
VerifyCS
.Test
83
await new
VerifyCS
.Test
122
await new
VerifyCS
.Test
155
await new
VerifyCS
.Test
194
await new
VerifyCS
.Test
227
await new
VerifyCS
.Test
260
await new
VerifyCS
.Test
290
await new
VerifyCS
.Test
ConvertNamespace\ConvertNamespaceRefactoringTests.cs (42)
17
using VerifyCS =
CSharpCodeRefactoringVerifier
<ConvertNamespaceCodeRefactoringProvider>;
31
await new
VerifyCS
.Test
51
await new
VerifyCS
.Test
66
await new
VerifyCS
.Test
87
await new
VerifyCS
.Test
114
await new
VerifyCS
.Test
134
await new
VerifyCS
.Test
158
await new
VerifyCS
.Test
181
await new
VerifyCS
.Test
204
await new
VerifyCS
.Test
226
await new
VerifyCS
.Test
253
await new
VerifyCS
.Test
275
await new
VerifyCS
.Test
300
await new
VerifyCS
.Test
324
await new
VerifyCS
.Test
352
await new
VerifyCS
.Test
382
await new
VerifyCS
.Test
409
await new
VerifyCS
.Test
437
await new
VerifyCS
.Test
467
await new
VerifyCS
.Test
495
await new
VerifyCS
.Test
527
await new
VerifyCS
.Test
563
await new
VerifyCS
.Test
603
await new
VerifyCS
.Test
626
await new
VerifyCS
.Test
641
await new
VerifyCS
.Test
661
await new
VerifyCS
.Test
685
await new
VerifyCS
.Test
704
await new
VerifyCS
.Test
722
await new
VerifyCS
.Test
737
await new
VerifyCS
.Test
764
await new
VerifyCS
.Test
786
await new
VerifyCS
.Test
813
await new
VerifyCS
.Test
837
await new
VerifyCS
.Test
860
await new
VerifyCS
.Test
884
await new
VerifyCS
.Test
907
await new
VerifyCS
.Test
934
await new
VerifyCS
.Test
963
await new
VerifyCS
.Test
989
await new
VerifyCS
.Test
1016
await new
VerifyCS
.Test
ConvertProgram\ConvertToProgramMainRefactoringTests.cs (9)
16
using VerifyCS =
CSharpCodeRefactoringVerifier
<ConvertToProgramMainCodeRefactoringProvider>;
29
await new
VerifyCS
.Test
49
await new
VerifyCS
.Test
67
await new
VerifyCS
.Test
91
await new
VerifyCS
.Test
103
await new
VerifyCS
.Test
131
await new
VerifyCS
.Test
150
await new
VerifyCS
.Test
167
await new
VerifyCS
.Test
ConvertProgram\ConvertToTopLevelStatementsRefactoringTests.cs (10)
16
using VerifyCS =
CSharpCodeRefactoringVerifier
<ConvertToTopLevelStatementsCodeRefactoringProvider>;
29
await new
VerifyCS
.Test
57
await new
VerifyCS
.Test
70
await new
VerifyCS
.Test
106
await new
VerifyCS
.Test
131
await new
VerifyCS
.Test
163
await new
VerifyCS
.Test
188
await new
VerifyCS
.Test
213
await new
VerifyCS
.Test
230
await new
VerifyCS
.Test
ConvertToInterpolatedString\ConvertConcatenationToInterpolatedStringTests.cs (54)
15
using VerifyCS = Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions.
CSharpCodeRefactoringVerifier
<
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(
913
await new
VerifyCS
.Test
920
await new
VerifyCS
.Test
950
await new
VerifyCS
.Test
957
await new
VerifyCS
.Test
968
await
VerifyCS
.VerifyRefactoringAsync(@"
1025
await
VerifyCS
.VerifyRefactoringAsync(initialMarkup, expected);
1055
await
VerifyCS
.VerifyRefactoringAsync(initialMarkup, expected);
1083
await
VerifyCS
.VerifyRefactoringAsync(initialMarkup, expected);
ConvertToRawString\ConvertRegularStringToRawStringTests.cs (2)
15
using VerifyCS =
CSharpCodeRefactoringVerifier
<
23
await new
VerifyCS
.Test
ConvertToRecord\ConvertToRecordCodeRefactoringTests.cs (2)
21
using VerifyCSRefactoring =
CSharpCodeRefactoringVerifier
<CSharpConvertToRecordRefactoringProvider>;
4562
private class RefactoringTest :
VerifyCSRefactoring
.Test
ConvertTupleToStruct\ConvertTupleToStructTests.cs (7)
25
using VerifyCS =
CSharpCodeRefactoringVerifier
<CSharpConvertTupleToStructCodeRefactoringProvider>;
54
await new
VerifyCS
.Test
2336
await new
VerifyCS
.Test
3423
await new
VerifyCS
.Test
3584
await new
VerifyCS
.Test
3713
await new
VerifyCS
.Test
3854
await new
VerifyCS
.Test
ExtractClass\ExtractClassTests.cs (1)
32
private class Test :
CSharpCodeRefactoringVerifier
<CSharpExtractClassCodeRefactoringProvider>.Test
GenerateComparisonOperators\GenerateComparisonOperatorsTests.cs (14)
12
using VerifyCS = Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions.
CSharpCodeRefactoringVerifier
<
24
await
VerifyCS
.VerifyRefactoringAsync(
66
await new
VerifyCS
.Test
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(
432
await new
VerifyCS
.Test
440
await new
VerifyCS
.Test
452
await
VerifyCS
.VerifyRefactoringAsync(
GenerateDefaultConstructors\GenerateDefaultConstructorsTests.cs (3)
21
using VerifyRefactoring =
CSharpCodeRefactoringVerifier
<
34
await new
VerifyRefactoring
.Test
58
await new
VerifyRefactoring
.Test
GenerateFromMembers\AddConstructorParametersFromMembers\AddConstructorParametersFromMembersTests.cs (72)
15
using VerifyCS =
CSharpCodeRefactoringVerifier
<AddConstructorParametersFromMembersCodeRefactoringProvider>;
59
await new
VerifyCS
.Test
99
await new
VerifyCS
.Test
141
await new
VerifyCS
.Test
190
await new
VerifyCS
.Test
237
await new
VerifyCS
.Test
285
await new
VerifyCS
.Test()
328
await new
VerifyCS
.Test()
383
await new
VerifyCS
.Test()
436
await new
VerifyCS
.Test
476
await new
VerifyCS
.Test
517
await
VerifyCS
.VerifyRefactoringAsync(
548
await
VerifyCS
.VerifyRefactoringAsync(
579
await
VerifyCS
.VerifyRefactoringAsync(
610
await new
VerifyCS
.Test
647
await new
VerifyCS
.Test
683
await new
VerifyCS
.Test
720
await new
VerifyCS
.Test
757
await new
VerifyCS
.Test
793
await new
VerifyCS
.Test
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(
1163
await new
VerifyCS
.Test
1238
await new
VerifyCS
.Test
1284
await new
VerifyCS
.Test
1329
await new
VerifyCS
.Test
1375
await new
VerifyCS
.Test
1420
await new
VerifyCS
.Test
1481
await new
VerifyCS
.Test
1538
await new
VerifyCS
.Test
1550
await new
VerifyCS
.Test
1625
await new
VerifyCS
.Test
1651
await
VerifyCS
.VerifyRefactoringAsync(source, source);
1679
await new
VerifyCS
.Test
1712
await new
VerifyCS
.Test
1745
await new
VerifyCS
.Test
1779
await new
VerifyCS
.Test
1812
await new
VerifyCS
.Test
1834
await new
VerifyCS
.Test
1870
await new
VerifyCS
.Test
1904
await new
VerifyCS
.Test
1915
await new
VerifyCS
.Test
1955
await new
VerifyCS
.Test
1995
await new
VerifyCS
.Test
2035
await new
VerifyCS
.Test
2075
await new
VerifyCS
.Test
2115
await new
VerifyCS
.Test
2155
await new
VerifyCS
.Test
2196
await new
VerifyCS
.Test
2237
await new
VerifyCS
.Test
2277
await new
VerifyCS
.Test
2317
await new
VerifyCS
.Test
2357
await new
VerifyCS
.Test
2413
await
VerifyCS
.VerifyRefactoringAsync(source, source);
2434
await
VerifyCS
.VerifyRefactoringAsync(source, source);
2455
await
VerifyCS
.VerifyRefactoringAsync(source, source);
2476
await
VerifyCS
.VerifyRefactoringAsync(source, source);
2482
await new
VerifyCS
.Test
2531
await new
VerifyCS
.Test
2589
await new
VerifyCS
.Test
2639
await new
VerifyCS
.Test
2700
await new
VerifyCS
.Test
GenerateFromMembers\GenerateEqualsAndGetHashCodeFromMembers\GenerateEqualsAndGetHashCodeFromMembersTests.cs (59)
23
using VerifyCS = Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions.
CSharpCodeRefactoringVerifier
<
32
private class TestWithDialog :
VerifyCS
.Test
107
await new
VerifyCS
.Test
144
await new
VerifyCS
.Test
182
await new
VerifyCS
.Test
226
await new
VerifyCS
.Test
278
await new
VerifyCS
.Test
322
await new
VerifyCS
.Test
360
await new
VerifyCS
.Test
398
await new
VerifyCS
.Test
441
await new
VerifyCS
.Test
483
await new
VerifyCS
.Test
543
await new
VerifyCS
.Test
612
await new
VerifyCS
.Test
624
await
VerifyCS
.VerifyRefactoringAsync(
672
await
VerifyCS
.VerifyRefactoringAsync(
720
await
VerifyCS
.VerifyRefactoringAsync(
765
await
VerifyCS
.VerifyRefactoringAsync(
810
await
VerifyCS
.VerifyRefactoringAsync(
874
await new
VerifyCS
.Test
886
await
VerifyCS
.VerifyRefactoringAsync(
945
await new
VerifyCS
.Test
989
await new
VerifyCS
.Test
1044
await new
VerifyCS
.Test
1138
await new
VerifyCS
.Test
1185
await new
VerifyCS
.Test
1229
await new
VerifyCS
.Test
1281
await new
VerifyCS
.Test
1332
await new
VerifyCS
.Test
1391
await new
VerifyCS
.Test
1450
await new
VerifyCS
.Test
1489
await new
VerifyCS
.Test
1528
await new
VerifyCS
.Test
1566
await new
VerifyCS
.Test
1609
await new
VerifyCS
.Test
1653
await new
VerifyCS
.Test
1705
await new
VerifyCS
.Test
1759
await new
VerifyCS
.Test
1811
await new
VerifyCS
.Test
1855
await new
VerifyCS
.Test
1899
await new
VerifyCS
.Test
1951
await new
VerifyCS
.Test
1995
await new
VerifyCS
.Test
2539
await new
VerifyCS
.Test
2613
await new
VerifyCS
.Test
3153
await new
VerifyCS
.Test
3303
await new
VerifyCS
.Test
3368
await new
VerifyCS
.Test
3428
await new
VerifyCS
.Test
3496
await new
VerifyCS
.Test
3575
await new
VerifyCS
.Test
3653
await new
VerifyCS
.Test
3739
await new
VerifyCS
.Test
3817
await new
VerifyCS
.Test
3830
await
VerifyCS
.VerifyRefactoringAsync(
3858
await
VerifyCS
.VerifyRefactoringAsync(
3948
await new
VerifyCS
.Test
3969
await new
VerifyCS
.Test
4388
await new
VerifyCS
.Test
InitializeParameter\AddParameterCheckTests.cs (101)
19
using VerifyCS =
CSharpCodeRefactoringVerifier
<CSharpAddParameterCheckCodeRefactoringProvider>;
29
await
VerifyCS
.VerifyRefactoringAsync(code, code);
49
await new
VerifyCS
.Test
60
await
VerifyCS
.VerifyRefactoringAsync(
90
await new
VerifyCS
.Test
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);
261
await new
VerifyCS
.Test
284
await new
VerifyCS
.Test
309
await new
VerifyCS
.Test
332
await new
VerifyCS
.Test
343
await
VerifyCS
.VerifyRefactoringAsync(
377
await new
VerifyCS
.Test
414
await
VerifyCS
.VerifyRefactoringAsync(
448
await new
VerifyCS
.Test
485
await
VerifyCS
.VerifyRefactoringAsync(
517
await new
VerifyCS
.Test
571
await new
VerifyCS
.Test
630
await
VerifyCS
.VerifyRefactoringAsync(code, code);
636
await new
VerifyCS
.Test
681
await new
VerifyCS
.Test
726
await new
VerifyCS
.Test
776
await new
VerifyCS
.Test
820
await new
VerifyCS
.Test
864
await
VerifyCS
.VerifyRefactoringAsync(
896
await new
VerifyCS
.Test
936
await new
VerifyCS
.Test
979
await
VerifyCS
.VerifyRefactoringAsync(
1007
await
VerifyCS
.VerifyRefactoringAsync(
1046
await new
VerifyCS
.Test
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(
1667
await new
VerifyCS
.Test
1717
await new
VerifyCS
.Test
1728
await
VerifyCS
.VerifyRefactoringAsync(
1764
await
VerifyCS
.VerifyRefactoringAsync(
1813
await
VerifyCS
.VerifyRefactoringAsync(code, code);
1832
await new
VerifyCS
.Test
1857
await
VerifyCS
.VerifyRefactoringAsync(code, code);
1863
await new
VerifyCS
.Test
1899
await new
VerifyCS
.Test
1936
await new
VerifyCS
.Test
1984
await
VerifyCS
.VerifyRefactoringAsync(code, code);
1990
await new
VerifyCS
.Test
2032
await new
VerifyCS
.Test
2065
await new
VerifyCS
.Test
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(
2301
await
VerifyCS
.VerifyRefactoringAsync(code,
2331
await
VerifyCS
.VerifyRefactoringAsync(code, code);
2337
await
VerifyCS
.VerifyRefactoringAsync(
2365
await new
VerifyCS
.Test
2401
await new
VerifyCS
.Test
2437
await new
VerifyCS
.Test
2475
await new
VerifyCS
.Test
2510
await new
VerifyCS
.Test
2545
await new
VerifyCS
.Test
2583
await new
VerifyCS
.Test
2623
await new
VerifyCS
.Test
2663
await new
VerifyCS
.Test
2705
await new
VerifyCS
.Test
2744
await new
VerifyCS
.Test
2783
await new
VerifyCS
.Test
2825
await new
VerifyCS
.Test
2874
await
VerifyCS
.VerifyRefactoringAsync(source, source);
2890
await
VerifyCS
.VerifyRefactoringAsync(source, source);
2906
await
VerifyCS
.VerifyRefactoringAsync(source, source);
2922
await
VerifyCS
.VerifyRefactoringAsync(source, source);
2934
await new
VerifyCS
.Test
2948
await new
VerifyCS
.Test
2962
await new
VerifyCS
.Test
2973
await
VerifyCS
.VerifyRefactoringAsync("""
3012
await
VerifyCS
.VerifyRefactoringAsync("""
3043
await
VerifyCS
.VerifyRefactoringAsync("""
InlineMethod\CSharpInlineMethodTests.cs (1)
20
private class TestVerifier :
CSharpCodeRefactoringVerifier
<CSharpInlineMethodRefactoringProvider>.Test
MoveStaticMembers\CSharpMoveStaticMembersTests.cs (2)
13
using VerifyCS = Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions.
CSharpCodeRefactoringVerifier
<
3397
private class Test :
VerifyCS
.Test
ReplaceConditionalWithStatements\ReplaceConditionalWithStatementsTests.cs (39)
16
using VerifyCS =
CSharpCodeRefactoringVerifier
<CSharpReplaceConditionalWithStatementsCodeRefactoringProvider>;
23
await
VerifyCS
.VerifyRefactoringAsync(
56
await
VerifyCS
.VerifyRefactoringAsync(
89
await
VerifyCS
.VerifyRefactoringAsync(
122
await
VerifyCS
.VerifyRefactoringAsync(
159
await
VerifyCS
.VerifyRefactoringAsync(
190
await new
VerifyCS
.Test
219
await new
VerifyCS
.Test
260
await
VerifyCS
.VerifyRefactoringAsync(source, source);
277
await
VerifyCS
.VerifyRefactoringAsync(source, source);
283
await
VerifyCS
.VerifyRefactoringAsync(
316
await new
VerifyCS
.Test
366
await
VerifyCS
.VerifyRefactoringAsync(
398
await
VerifyCS
.VerifyRefactoringAsync(
430
await
VerifyCS
.VerifyRefactoringAsync(
462
await
VerifyCS
.VerifyRefactoringAsync(
500
await new
VerifyCS
.Test
529
await new
VerifyCS
.Test
558
await new
VerifyCS
.Test
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 (12)
16
using VerifyCS =
CSharpCodeRefactoringVerifier
<CSharpUseNamedArgumentsCodeRefactoringProvider>;
23
return
VerifyCS
.VerifyRefactoringAsync(code, code);
28
return new
VerifyCS
.Test
38
return new
VerifyCS
.Test
49
return new
VerifyCS
.Test
97
await new
VerifyCS
.Test
528
await
VerifyCS
.VerifyRefactoringAsync(
600
await
VerifyCS
.VerifyRefactoringAsync(
620
await
VerifyCS
.VerifyRefactoringAsync(
642
await new
VerifyCS
.Test
653
await
VerifyCS
.VerifyRefactoringAsync("""
685
await
VerifyCS
.VerifyRefactoringAsync("""