Microsoft.CodeQuality.Analyzers\Maintainability\AvoidLengthCalculationWhenSlicingToEndTests.cs (29)
46await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
78await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
114await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
150await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
186await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
220await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
252await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
288await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
324await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
352await VerifyCS.VerifyCodeFixAsync(source, source);
378await VerifyCS.VerifyCodeFixAsync(source, source);
410await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
431await VerifyCS.VerifyCodeFixAsync(source, source);
483await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
511await VerifyCS.VerifyCodeFixAsync(source, source);
532await VerifyCS.VerifyCodeFixAsync(source, source);
556await VerifyCS.VerifyCodeFixAsync(source, source);
580await VerifyCS.VerifyCodeFixAsync(source, source);
603await VerifyCS.VerifyCodeFixAsync(source, source);
624await VerifyCS.VerifyCodeFixAsync(source, source);
648await VerifyCS.VerifyCodeFixAsync(source, source);
669await VerifyCS.VerifyCodeFixAsync(source, source);
701await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
733await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
769await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
800await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
831await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
864await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
890await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
Microsoft.NetCore.Analyzers\Performance\CollapseMultiplePathOperationsTests.cs (10)
70await VerifyCS.VerifyCodeFixAsync(csCode, fixedCode);
98await VerifyCS.VerifyCodeFixAsync(csCode, fixedCode);
126await VerifyCS.VerifyCodeFixAsync(csCode, fixedCode);
150await VerifyCS.VerifyCodeFixAsync(csCode, fixedCode);
195await VerifyCS.VerifyCodeFixAsync(csCode, fixedCode);
223await VerifyCS.VerifyCodeFixAsync(csCode, fixedCode);
257await VerifyCS.VerifyCodeFixAsync(csCode, fixedCode);
285await VerifyCS.VerifyCodeFixAsync(csCode, fixedCode);
313await VerifyCS.VerifyCodeFixAsync(csCode, fixedCode);
347await VerifyCS.VerifyCodeFixAsync(csCode, fixedCode);
Microsoft.NetCore.Analyzers\Performance\DoNotGuardDictionaryRemoveByContainsKeyTests.cs (39)
68await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
103await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
140await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
177await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
215await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
253await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
291await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
329await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
373await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
417await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
461await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
505await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
529await VerifyCS.VerifyCodeFixAsync(source, source);
553await VerifyCS.VerifyCodeFixAsync(source, source);
581await VerifyCS.VerifyCodeFixAsync(source, source);
609await VerifyCS.VerifyCodeFixAsync(source, source);
632await VerifyCS.VerifyCodeFixAsync(source, source);
655await VerifyCS.VerifyCodeFixAsync(source, source);
682await VerifyCS.VerifyCodeFixAsync(source, source);
709await VerifyCS.VerifyCodeFixAsync(source, source);
931await VerifyCS.VerifyCodeFixAsync(source, source);
951await VerifyCS.VerifyCodeFixAsync(source, source);
971await VerifyCS.VerifyCodeFixAsync(source, source);
991await VerifyCS.VerifyCodeFixAsync(source, source);
1013await VerifyCS.VerifyCodeFixAsync(source, source);
1035await VerifyCS.VerifyCodeFixAsync(source, source);
1055await VerifyCS.VerifyCodeFixAsync(source, source);
1075await VerifyCS.VerifyCodeFixAsync(source, source);
1095await VerifyCS.VerifyCodeFixAsync(source, source);
1115await VerifyCS.VerifyCodeFixAsync(source, source);
1154await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
2114await VerifyCS.VerifyCodeFixAsync(source, source);
2153await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
2194await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
2231await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
2278await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
2325await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
2349await VerifyCS.VerifyCodeFixAsync(source, source);
2373await VerifyCS.VerifyCodeFixAsync(source, source);
Microsoft.NetCore.Analyzers\Performance\DoNotGuardSetAddOrRemoveByContainsTests.cs (39)
68await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
103await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
140await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
177await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
215await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
253await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
291await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
329await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
373await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
417await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
461await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
505await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
529await VerifyCS.VerifyCodeFixAsync(source, source);
553await VerifyCS.VerifyCodeFixAsync(source, source);
581await VerifyCS.VerifyCodeFixAsync(source, source);
609await VerifyCS.VerifyCodeFixAsync(source, source);
632await VerifyCS.VerifyCodeFixAsync(source, source);
655await VerifyCS.VerifyCodeFixAsync(source, source);
682await VerifyCS.VerifyCodeFixAsync(source, source);
709await VerifyCS.VerifyCodeFixAsync(source, source);
931await VerifyCS.VerifyCodeFixAsync(source, source);
951await VerifyCS.VerifyCodeFixAsync(source, source);
971await VerifyCS.VerifyCodeFixAsync(source, source);
991await VerifyCS.VerifyCodeFixAsync(source, source);
1013await VerifyCS.VerifyCodeFixAsync(source, source);
1035await VerifyCS.VerifyCodeFixAsync(source, source);
1055await VerifyCS.VerifyCodeFixAsync(source, source);
1075await VerifyCS.VerifyCodeFixAsync(source, source);
1095await VerifyCS.VerifyCodeFixAsync(source, source);
1115await VerifyCS.VerifyCodeFixAsync(source, source);
1154await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
2095await VerifyCS.VerifyCodeFixAsync(source, source);
2134await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
2175await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
2212await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
2257await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
2302await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
2328await VerifyCS.VerifyCodeFixAsync(source, source);
2354await VerifyCS.VerifyCodeFixAsync(source, source);
Microsoft.NetCore.Analyzers\Runtime\ForwardCancellationTokenToInvocationsTests.cs (47)
478await VerifyCS.VerifyCodeFixAsync(source, source);
644return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
674return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
704return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
734return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
764return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
794return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
830return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
870return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
907return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
946return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
976return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
1006return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
1038return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
1070return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
1102return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
1134return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
1170return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
1206return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
1242return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
1278return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
1314return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
1358return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
1402return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
1438return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
1480return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
1522return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
1564return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
1606return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
1638return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
1672return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
1704return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
1738return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
1770return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
1806return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
1836return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
1866return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
1898return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
1930return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
1959return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
1999return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
2112return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
2161return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
2210return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
2448return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
2488return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
2529return VerifyCS.VerifyCodeFixAsync(originalCode, fixedCode);
Microsoft.NetCore.Analyzers\Usage\PreferGenericOverloadsTests.cs (43)
34await VerifyCS.VerifyCodeFixAsync(source, source);
53await VerifyCS.VerifyCodeFixAsync(source, source);
72await VerifyCS.VerifyCodeFixAsync(source, source);
93await VerifyCS.VerifyCodeFixAsync(source, source);
115await VerifyCS.VerifyCodeFixAsync(source, source);
135await VerifyCS.VerifyCodeFixAsync(source, source);
155await VerifyCS.VerifyCodeFixAsync(source, source);
174await VerifyCS.VerifyCodeFixAsync(source, source);
193await VerifyCS.VerifyCodeFixAsync(source, source);
207await VerifyCS.VerifyCodeFixAsync(source, source);
228await VerifyCS.VerifyCodeFixAsync(source, source);
264await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
285await VerifyCS.VerifyCodeFixAsync(source, source);
321await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
342await VerifyCS.VerifyCodeFixAsync(source, source);
378await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
402await VerifyCS.VerifyCodeFixAsync(source, source);
444await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
465await VerifyCS.VerifyCodeFixAsync(source, source);
501await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
589await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
627await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
659await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
697await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
729await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
767await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
799await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
837await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
869await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
907await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
945await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
981await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
1013await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
1045await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
1083await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
1127await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
1143await VerifyCS.VerifyCodeFixAsync(source, source);
1169await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
1201await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
1233await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
1364await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
1398await VerifyCS.VerifyCodeFixAsync(source, fixedSource);
1432await VerifyCS.VerifyCodeFixAsync(source, fixedSource);