2082 references to VerifyAnalyzerAsync
Microsoft.CodeAnalysis.Analyzers.UnitTests (47)
FixAnalyzers\FixerWithFixAllAnalyzerTests.cs (2)
102await VerifyCS.VerifyAnalyzerAsync(source + fixAllProviderString + sourceSuffix, expected); 106await VerifyCS.VerifyAnalyzerAsync(source + sourceSuffix, expected);
MetaAnalyzers\AddLanguageSupportToAnalyzerRuleTests.cs (2)
60await VerifyCS.VerifyAnalyzerAsync(source); 154await VerifyCS.VerifyAnalyzerAsync(source);
MetaAnalyzers\ClassIsNotDiagnosticAnalyzerTests.cs (4)
21await VerifyCS.VerifyAnalyzerAsync(""" 55await VerifyCS.VerifyAnalyzerAsync(""" 86await VerifyCS.VerifyAnalyzerAsync(""" 130await VerifyCS.VerifyAnalyzerAsync("""
MetaAnalyzers\ConfigureGeneratedCodeAnalysisAnalyzerTests.cs (1)
87=> VerifyCS.VerifyAnalyzerAsync("""
MetaAnalyzers\DoNotStorePerCompilationDataOntoFieldsRuleTests.cs (7)
37await VerifyCS.VerifyAnalyzerAsync(""" 135=> VerifyCS.VerifyAnalyzerAsync(""" 283=> VerifyCS.VerifyAnalyzerAsync(""" 349=> VerifyCS.VerifyAnalyzerAsync($$""" 381=> VerifyCS.VerifyAnalyzerAsync($$""" 413=> VerifyCS.VerifyAnalyzerAsync($$""" 445=> VerifyCS.VerifyAnalyzerAsync($$"""
MetaAnalyzers\DoNotUseCompilationGetSemanticModelTests.cs (4)
22await VerifyCS.VerifyAnalyzerAsync(""" 70await VerifyCS.VerifyAnalyzerAsync(""" 128await VerifyCS.VerifyAnalyzerAsync(""" 180await VerifyCS.VerifyAnalyzerAsync("""
MetaAnalyzers\EnableConcurrentExecutionAnalyzerTests.cs (1)
87=> VerifyCS.VerifyAnalyzerAsync("""
MetaAnalyzers\InvalidReportDiagnosticRuleTests.cs (3)
33await VerifyCS.VerifyAnalyzerAsync(""" 93await VerifyCS.VerifyAnalyzerAsync(""" 183=> VerifyCS.VerifyAnalyzerAsync("""
MetaAnalyzers\InvalidSyntaxKindTypeArgumentRuleTests.cs (2)
31await VerifyCS.VerifyAnalyzerAsync(""" 112=> VerifyCS.VerifyAnalyzerAsync("""
MetaAnalyzers\MissingDiagnosticAnalyzerAttributeRuleTests.cs (2)
50await VerifyCS.VerifyAnalyzerAsync(source, expected); 215=> VerifyCS.VerifyAnalyzerAsync("""
MetaAnalyzers\MissingKindArgumentToRegisterActionRuleTests.cs (3)
26await VerifyCS.VerifyAnalyzerAsync(""" 95await VerifyCS.VerifyAnalyzerAsync(""" 166await VerifyCS.VerifyAnalyzerAsync("""
MetaAnalyzers\SemanticModelGetDeclaredSymbolAlwaysReturnsNullAnalyzerTests.cs (3)
68=> VerifyCS.VerifyAnalyzerAsync($$""" 81=> VerifyCS.VerifyAnalyzerAsync(""" 94=> VerifyCS.VerifyAnalyzerAsync("""
MetaAnalyzers\StartActionWithNoRegisteredActionsRuleTests.cs (5)
32await VerifyCS.VerifyAnalyzerAsync(""" 127=> VerifyCS.VerifyAnalyzerAsync(""" 167=> VerifyCS.VerifyAnalyzerAsync(""" 210=> VerifyCS.VerifyAnalyzerAsync(""" 261=> VerifyCS.VerifyAnalyzerAsync("""
MetaAnalyzers\StartActionWithOnlyEndActionRuleTests.cs (3)
32await VerifyCS.VerifyAnalyzerAsync(""" 133=> VerifyCS.VerifyAnalyzerAsync(""" 186=> VerifyCS.VerifyAnalyzerAsync("""
MetaAnalyzers\UnsupportedSymbolKindArgumentRuleTests.cs (2)
41await VerifyCS.VerifyAnalyzerAsync(""" 157=> VerifyCS.VerifyAnalyzerAsync("""
UseReturnValueFromImmutableObjectMethodTests.cs (3)
28await VerifyCS.VerifyAnalyzerAsync(""" 86await VerifyCS.VerifyAnalyzerAsync(""" 120=> VerifyCS.VerifyAnalyzerAsync("""
Microsoft.CodeAnalysis.BannedApiAnalyzers.UnitTests (1)
SymbolIsBannedAnalyzerTests.cs (1)
71await VerifyCS.VerifyAnalyzerAsync("class C { }");
Microsoft.CodeAnalysis.NetAnalyzers.UnitTests (2001)
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\AvoidEmptyInterfacesTests.cs (5)
22await VerifyCS.VerifyAnalyzerAsync(@" 39await VerifyCS.VerifyAnalyzerAsync(@" 56await VerifyCS.VerifyAnalyzerAsync(@" 75await VerifyCS.VerifyAnalyzerAsync(@" 98await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\AvoidExcessiveParametersOnGenericTypesTests.cs (5)
19await VerifyCS.VerifyAnalyzerAsync(@" 32await VerifyCS.VerifyAnalyzerAsync(@" 43await VerifyCS.VerifyAnalyzerAsync(@" 54await VerifyCS.VerifyAnalyzerAsync(@" 77await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\AvoidOutParametersTests.cs (9)
20await VerifyCS.VerifyAnalyzerAsync(@" 190await VerifyCS.VerifyAnalyzerAsync(@" 225await VerifyCS.VerifyAnalyzerAsync(@" 258await VerifyCS.VerifyAnalyzerAsync(@" 276await VerifyCS.VerifyAnalyzerAsync(@" 341await VerifyCS.VerifyAnalyzerAsync(@" 385await VerifyCS.VerifyAnalyzerAsync(@" 399await VerifyCS.VerifyAnalyzerAsync(@" 417await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\CancellationTokenParametersMustComeLastTests.cs (22)
23await VerifyCS.VerifyAnalyzerAsync(test); 40await VerifyCS.VerifyAnalyzerAsync(source, expected); 57await VerifyCS.VerifyAnalyzerAsync(source, expected); 71await VerifyCS.VerifyAnalyzerAsync(test); 85await VerifyCS.VerifyAnalyzerAsync(test); 99await VerifyCS.VerifyAnalyzerAsync(test); 114await VerifyCS.VerifyAnalyzerAsync(test); 128await VerifyCS.VerifyAnalyzerAsync(test); 142await VerifyCS.VerifyAnalyzerAsync(test); 164await VerifyCS.VerifyAnalyzerAsync(test, expected); 186await VerifyCS.VerifyAnalyzerAsync(test, expected); 208await VerifyCS.VerifyAnalyzerAsync(test, expected); 222await VerifyCS.VerifyAnalyzerAsync(test); 238await VerifyCS.VerifyAnalyzerAsync(test); 256await VerifyCS.VerifyAnalyzerAsync(test, expected); 262await VerifyCS.VerifyAnalyzerAsync(@" 290await VerifyCS.VerifyAnalyzerAsync(@" 326await VerifyCS.VerifyAnalyzerAsync(@" 362await VerifyCS.VerifyAnalyzerAsync(@" 383await VerifyCS.VerifyAnalyzerAsync(@" 404await VerifyCS.VerifyAnalyzerAsync(@" 425await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\CollectionPropertiesShouldBeReadOnlyTests.cs (14)
35await VerifyCS.VerifyAnalyzerAsync(@" 48await VerifyCS.VerifyAnalyzerAsync(@" 61await VerifyCS.VerifyAnalyzerAsync(@" 148await VerifyCS.VerifyAnalyzerAsync(@" 161await VerifyCS.VerifyAnalyzerAsync(@" 179await VerifyCS.VerifyAnalyzerAsync(@" 192await VerifyCS.VerifyAnalyzerAsync(@" 209await VerifyCS.VerifyAnalyzerAsync(@" 226await VerifyCS.VerifyAnalyzerAsync(@" 257await VerifyCS.VerifyAnalyzerAsync(@" 273await VerifyCS.VerifyAnalyzerAsync(@" 290await VerifyCS.VerifyAnalyzerAsync(@" 420await VerifyCS.VerifyAnalyzerAsync(@" 478return VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\CollectionsShouldImplementGenericInterfaceTests.cs (17)
41await VerifyCS.VerifyAnalyzerAsync(@" 60await VerifyCS.VerifyAnalyzerAsync(@" 77await VerifyCS.VerifyAnalyzerAsync(@" 119await VerifyCS.VerifyAnalyzerAsync(@" 159await VerifyCS.VerifyAnalyzerAsync(@" 188await VerifyCS.VerifyAnalyzerAsync(@" 284await VerifyCS.VerifyAnalyzerAsync(@" 349await VerifyCS.VerifyAnalyzerAsync(@" 383await VerifyCS.VerifyAnalyzerAsync(@" 478await VerifyCS.VerifyAnalyzerAsync(@" 574await VerifyCS.VerifyAnalyzerAsync(@" 660await VerifyCS.VerifyAnalyzerAsync(@" 712await VerifyCS.VerifyAnalyzerAsync(@" 740await VerifyCS.VerifyAnalyzerAsync(@" 849await VerifyCS.VerifyAnalyzerAsync(@" 1269await VerifyCS.VerifyAnalyzerAsync(@" 1330await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\DefineAccessorsForAttributeArgumentsTests.cs (11)
22await VerifyCS.VerifyAnalyzerAsync(@" 121await VerifyCS.VerifyAnalyzerAsync(@" 534await VerifyCS.VerifyAnalyzerAsync(@" 696await VerifyCS.VerifyAnalyzerAsync(@" 1247await VerifyCS.VerifyAnalyzerAsync(@" 1427await VerifyCS.VerifyAnalyzerAsync(@" 1665await VerifyCS.VerifyAnalyzerAsync(@" 1729await VerifyCS.VerifyAnalyzerAsync(@" 1929await VerifyCS.VerifyAnalyzerAsync(@" 2197await VerifyCS.VerifyAnalyzerAsync(@" 2410await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\DoNotCatchGeneralExceptionTypesTests.cs (14)
21await VerifyCS.VerifyAnalyzerAsync(@" 69await VerifyCS.VerifyAnalyzerAsync(@" 124await VerifyCS.VerifyAnalyzerAsync(@" 174await VerifyCS.VerifyAnalyzerAsync(@" 224await VerifyCS.VerifyAnalyzerAsync(@" 274await VerifyCS.VerifyAnalyzerAsync(@" 319await VerifyCS.VerifyAnalyzerAsync(@" 366await VerifyCS.VerifyAnalyzerAsync(@" 413await VerifyCS.VerifyAnalyzerAsync(@" 457await VerifyCS.VerifyAnalyzerAsync(@" 499await VerifyCS.VerifyAnalyzerAsync(@" 523await VerifyCS.VerifyAnalyzerAsync(@" 566await VerifyCS.VerifyAnalyzerAsync(@" 635await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\DoNotDeclareStaticMembersOnGenericTypesTests.cs (5)
21await VerifyCS.VerifyAnalyzerAsync(@" 100await VerifyCS.VerifyAnalyzerAsync(@" 170await VerifyCS.VerifyAnalyzerAsync(@" 352await VerifyCS.VerifyAnalyzerAsync(@" 380await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\DoNotDeclareVisibleInstanceFieldsTests.cs (17)
22await VerifyCS.VerifyAnalyzerAsync(@" 41await VerifyCS.VerifyAnalyzerAsync(@" 70await VerifyCS.VerifyAnalyzerAsync(@" 89await VerifyCS.VerifyAnalyzerAsync(@" 108await VerifyCS.VerifyAnalyzerAsync(@" 127await VerifyCS.VerifyAnalyzerAsync(@" 146await VerifyCS.VerifyAnalyzerAsync(@" 165await VerifyCS.VerifyAnalyzerAsync(@" 194await VerifyCS.VerifyAnalyzerAsync(@" 213await VerifyCS.VerifyAnalyzerAsync(@" 232await VerifyCS.VerifyAnalyzerAsync(@" 251await VerifyCS.VerifyAnalyzerAsync(@" 270await VerifyCS.VerifyAnalyzerAsync(@" 299await VerifyCS.VerifyAnalyzerAsync(@" 318await VerifyCS.VerifyAnalyzerAsync(@" 337await VerifyCS.VerifyAnalyzerAsync(@" 356await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\DoNotExposeGenericListsTests.cs (4)
20await VerifyCS.VerifyAnalyzerAsync(@" 57await VerifyCS.VerifyAnalyzerAsync(@" 146await VerifyCS.VerifyAnalyzerAsync(@" 223await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\DoNotHideBaseClassMethodsTests.cs (14)
20await VerifyCS.VerifyAnalyzerAsync(@" 52await VerifyCS.VerifyAnalyzerAsync(@" 84await VerifyCS.VerifyAnalyzerAsync(@" 118await VerifyCS.VerifyAnalyzerAsync(@" 138await VerifyCS.VerifyAnalyzerAsync(@" 188await VerifyCS.VerifyAnalyzerAsync(@" 217await VerifyCS.VerifyAnalyzerAsync(@" 247await VerifyCS.VerifyAnalyzerAsync(@" 277await VerifyCS.VerifyAnalyzerAsync(@" 313await VerifyCS.VerifyAnalyzerAsync(@" 346await VerifyCS.VerifyAnalyzerAsync(@" 379await VerifyCS.VerifyAnalyzerAsync(@" 414await VerifyCS.VerifyAnalyzerAsync(@" 447await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\DoNotNameEnumValuesReservedTests.cs (5)
20await VerifyCS.VerifyAnalyzerAsync(@" 45await VerifyCS.VerifyAnalyzerAsync(@" 65await VerifyCS.VerifyAnalyzerAsync(@" 84await VerifyCS.VerifyAnalyzerAsync(@" 103await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\DoNotOverloadOperatorEqualsOnReferenceTypesTests.cs (8)
19await VerifyCS.VerifyAnalyzerAsync(@" 43await VerifyCS.VerifyAnalyzerAsync(@" 67await VerifyCS.VerifyAnalyzerAsync(@" 210await VerifyCS.VerifyAnalyzerAsync($@" 244await VerifyCS.VerifyAnalyzerAsync(@" 275await VerifyCS.VerifyAnalyzerAsync(@" 304await VerifyCS.VerifyAnalyzerAsync(@" 339await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\DoNotPassTypesByReferenceTests.cs (7)
19await VerifyCS.VerifyAnalyzerAsync(@" 41await VerifyCS.VerifyAnalyzerAsync(@" 59await VerifyCS.VerifyAnalyzerAsync(@" 92await VerifyCS.VerifyAnalyzerAsync(@" 121await VerifyCS.VerifyAnalyzerAsync(@" 143await VerifyCS.VerifyAnalyzerAsync(@" 166await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\DoNotPrefixEnumValuesWithTypeNameTests.cs (6)
21await VerifyCS.VerifyAnalyzerAsync(@" 49await VerifyCS.VerifyAnalyzerAsync(@" 84await VerifyCS.VerifyAnalyzerAsync(@" 100await VerifyCS.VerifyAnalyzerAsync(@" 119await VerifyCS.VerifyAnalyzerAsync(@" 133await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\DoNotRaiseExceptionsInUnexpectedLocationsTests.cs (20)
40await VerifyCS.VerifyAnalyzerAsync(code); 54await VerifyCS.VerifyAnalyzerAsync(code); 143await VerifyCS.VerifyAnalyzerAsync(code, 207await VerifyCS.VerifyAnalyzerAsync(code); 233await VerifyCS.VerifyAnalyzerAsync(code, 278await VerifyCS.VerifyAnalyzerAsync(code); 314await VerifyCS.VerifyAnalyzerAsync(code, 332await VerifyCS.VerifyAnalyzerAsync(code, 394await VerifyCS.VerifyAnalyzerAsync(code, 420await VerifyCS.VerifyAnalyzerAsync(code, 492await VerifyCS.VerifyAnalyzerAsync(code, 515await VerifyCS.VerifyAnalyzerAsync(code, 578await VerifyCS.VerifyAnalyzerAsync(code, 615await VerifyCS.VerifyAnalyzerAsync(code, 653await VerifyCS.VerifyAnalyzerAsync(code, 688await VerifyCS.VerifyAnalyzerAsync(code, 726return VerifyCS.VerifyAnalyzerAsync(code); 809await VerifyCS.VerifyAnalyzerAsync(code, 861await VerifyCS.VerifyAnalyzerAsync( 916await VerifyCS.VerifyAnalyzerAsync(code,
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\EnumShouldNotHaveDuplicatedValuesTests.cs (22)
21await VerifyCS.VerifyAnalyzerAsync(@" 38await VerifyCS.VerifyAnalyzerAsync(@" 57await VerifyCS.VerifyAnalyzerAsync(@" 168await VerifyCS.VerifyAnalyzerAsync(@" 191await VerifyCS.VerifyAnalyzerAsync(@" 212await VerifyCS.VerifyAnalyzerAsync(@" 235await VerifyCS.VerifyAnalyzerAsync(@" 256await VerifyCS.VerifyAnalyzerAsync(@" 277await VerifyCS.VerifyAnalyzerAsync(@" 296await VerifyCS.VerifyAnalyzerAsync(@" 315await VerifyCS.VerifyAnalyzerAsync(@" 336await VerifyCS.VerifyAnalyzerAsync(@" 359await VerifyCS.VerifyAnalyzerAsync(@" 384await VerifyCS.VerifyAnalyzerAsync(@" 413await VerifyCS.VerifyAnalyzerAsync(@" 434await VerifyCS.VerifyAnalyzerAsync(@" 457await VerifyCS.VerifyAnalyzerAsync(@" 476await VerifyCS.VerifyAnalyzerAsync(@" 495await VerifyCS.VerifyAnalyzerAsync(@" 514await VerifyCS.VerifyAnalyzerAsync(@" 544await VerifyCS.VerifyAnalyzerAsync(@" 569await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\EnumsShouldHaveZeroValueTests.cs (6)
60await VerifyCS.VerifyAnalyzerAsync(code, 108await VerifyCS.VerifyAnalyzerAsync(code); 132await VerifyCS.VerifyAnalyzerAsync(code, 158await VerifyCS.VerifyAnalyzerAsync(code); 191await VerifyCS.VerifyAnalyzerAsync(code, 226await VerifyCS.VerifyAnalyzerAsync(code);
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\EnumStorageShouldBeInt32Tests.cs (4)
23await VerifyCS.VerifyAnalyzerAsync(@" 62await VerifyCS.VerifyAnalyzerAsync(@" 79await VerifyCS.VerifyAnalyzerAsync(@" 96await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\EnumWithFlagsAttributeTests.cs (17)
54await VerifyCS.VerifyAnalyzerAsync(codeWithoutFlags, 60await VerifyCS.VerifyAnalyzerAsync(codeWithFlags); 89await VerifyCS.VerifyAnalyzerAsync(codeWithoutFlags); 93await VerifyCS.VerifyAnalyzerAsync(codeWithFlags); 119await VerifyCS.VerifyAnalyzerAsync(codeWithoutFlags, 225await VerifyCS.VerifyAnalyzerAsync(codeWithoutFlags, 230await VerifyCS.VerifyAnalyzerAsync(codeWithFlags); 283await VerifyCS.VerifyAnalyzerAsync(codeWithoutFlags, 289await VerifyCS.VerifyAnalyzerAsync(codeWithFlags); 307await VerifyCS.VerifyAnalyzerAsync(codeWithoutFlags); 311await VerifyCS.VerifyAnalyzerAsync(codeWithFlags, 419await VerifyCS.VerifyAnalyzerAsync(codeWithoutFlags); 423await VerifyCS.VerifyAnalyzerAsync(codeWithFlags); 514await VerifyCS.VerifyAnalyzerAsync(codeWithoutFlags); 518await VerifyCS.VerifyAnalyzerAsync(codeWithFlags, 583await VerifyCS.VerifyAnalyzerAsync(codeWithoutFlags); 587await VerifyCS.VerifyAnalyzerAsync(codeWithFlags);
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\EquatableAnalyzerTests.cs (20)
25await VerifyCS.VerifyAnalyzerAsync(code); 36await VerifyCS.VerifyAnalyzerAsync(code); 51await VerifyCS.VerifyAnalyzerAsync(code, 67await VerifyCS.VerifyAnalyzerAsync(code); 84await VerifyCS.VerifyAnalyzerAsync(code, 102await VerifyCS.VerifyAnalyzerAsync(code, 120await VerifyCS.VerifyAnalyzerAsync(code); 137await VerifyCS.VerifyAnalyzerAsync(code); 154await VerifyCS.VerifyAnalyzerAsync(code); 171await VerifyCS.VerifyAnalyzerAsync(code); 188await VerifyCS.VerifyAnalyzerAsync(code); 205await VerifyCS.VerifyAnalyzerAsync(code); 219await VerifyCS.VerifyAnalyzerAsync(code, 237await VerifyCS.VerifyAnalyzerAsync(code); 254await VerifyCS.VerifyAnalyzerAsync(code); 271await VerifyCS.VerifyAnalyzerAsync(code, 297await VerifyCS.VerifyAnalyzerAsync(code, 321await VerifyCS.VerifyAnalyzerAsync(code); 341await VerifyCS.VerifyAnalyzerAsync(code); 370await VerifyCS.VerifyAnalyzerAsync(code);
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\EventsShouldNotHaveBeforeOrAfterPrefixTests.cs (6)
19await VerifyCS.VerifyAnalyzerAsync(@" 37await VerifyCS.VerifyAnalyzerAsync(@" 55await VerifyCS.VerifyAnalyzerAsync(@" 75await VerifyCS.VerifyAnalyzerAsync(@" 95await VerifyCS.VerifyAnalyzerAsync(@" 115await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\IdentifiersShouldDifferByMoreThanCaseTests.cs (11)
22await VerifyCS.VerifyAnalyzerAsync(@" 38await VerifyCS.VerifyAnalyzerAsync(@" 64await VerifyCS.VerifyAnalyzerAsync(@" 81await VerifyCS.VerifyAnalyzerAsync(@" 203await VerifyCS.VerifyAnalyzerAsync(@" 250await VerifyCS.VerifyAnalyzerAsync(@" 298await VerifyCS.VerifyAnalyzerAsync(@" 314await VerifyCS.VerifyAnalyzerAsync(@" 333await VerifyCS.VerifyAnalyzerAsync(@" 368await VerifyCS.VerifyAnalyzerAsync(@" 381await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\IdentifiersShouldHaveCorrectPrefixTests.cs (5)
22await VerifyCS.VerifyAnalyzerAsync(@" 78await VerifyCS.VerifyAnalyzerAsync(@" 169await VerifyCS.VerifyAnalyzerAsync(@" 196await VerifyCS.VerifyAnalyzerAsync(@" 221await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\IdentifiersShouldHaveCorrectSuffixTests.cs (7)
259await VerifyCS.VerifyAnalyzerAsync(@" 1113await VerifyCS.VerifyAnalyzerAsync(@" 1125await VerifyCS.VerifyAnalyzerAsync(@" 1138await VerifyCS.VerifyAnalyzerAsync(@" 1463await VerifyCS.VerifyAnalyzerAsync(@" 2020await VerifyCS.VerifyAnalyzerAsync(@" 2029await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\IdentifiersShouldNotContainTypeNamesTests.cs (23)
19await VerifyCS.VerifyAnalyzerAsync(@" 29await VerifyCS.VerifyAnalyzerAsync(@" 40await VerifyCS.VerifyAnalyzerAsync(@" 64await VerifyCS.VerifyAnalyzerAsync(@" 75await VerifyCS.VerifyAnalyzerAsync(@" 86await VerifyCS.VerifyAnalyzerAsync(@" 100await VerifyCS.VerifyAnalyzerAsync(@" 114await VerifyCS.VerifyAnalyzerAsync(@" 126await VerifyCS.VerifyAnalyzerAsync(@" 140await VerifyCS.VerifyAnalyzerAsync(@" 167await VerifyCS.VerifyAnalyzerAsync(@" 200await VerifyCS.VerifyAnalyzerAsync(@" 224await VerifyCS.VerifyAnalyzerAsync(@" 244await VerifyCS.VerifyAnalyzerAsync(@" 264await VerifyCS.VerifyAnalyzerAsync(@" 285await VerifyCS.VerifyAnalyzerAsync(@" 306await VerifyCS.VerifyAnalyzerAsync(@" 330await VerifyCS.VerifyAnalyzerAsync(@" 354await VerifyCS.VerifyAnalyzerAsync(@" 379await VerifyCS.VerifyAnalyzerAsync(@" 404await VerifyCS.VerifyAnalyzerAsync(@" 430await VerifyCS.VerifyAnalyzerAsync(@" 456await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\IdentifiersShouldNotContainUnderscoresTests.cs (6)
702await VerifyCS.VerifyAnalyzerAsync(@" 721await VerifyCS.VerifyAnalyzerAsync(@" 741await VerifyCS.VerifyAnalyzerAsync(@" 763await VerifyCS.VerifyAnalyzerAsync(@" 780await VerifyCS.VerifyAnalyzerAsync(@" 807await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\IdentifiersShouldNotHaveIncorrectSuffixTests.cs (56)
21await VerifyCS.VerifyAnalyzerAsync( 46await VerifyCS.VerifyAnalyzerAsync( 71await VerifyCS.VerifyAnalyzerAsync( 96await VerifyCS.VerifyAnalyzerAsync( 123await VerifyCS.VerifyAnalyzerAsync( 148await VerifyCS.VerifyAnalyzerAsync( 173await VerifyCS.VerifyAnalyzerAsync( 198await VerifyCS.VerifyAnalyzerAsync( 223await VerifyCS.VerifyAnalyzerAsync( 284await VerifyCS.VerifyAnalyzerAsync( 309await VerifyCS.VerifyAnalyzerAsync( 415await VerifyCS.VerifyAnalyzerAsync( 439await VerifyCS.VerifyAnalyzerAsync( 465await VerifyCS.VerifyAnalyzerAsync( 500await VerifyCS.VerifyAnalyzerAsync( 515await VerifyCS.VerifyAnalyzerAsync( 547await VerifyCS.VerifyAnalyzerAsync( 579await VerifyCS.VerifyAnalyzerAsync( 599await VerifyCS.VerifyAnalyzerAsync( 624await VerifyCS.VerifyAnalyzerAsync( 703await VerifyCS.VerifyAnalyzerAsync( 850await VerifyCS.VerifyAnalyzerAsync( 987await VerifyCS.VerifyAnalyzerAsync( 1022await VerifyCS.VerifyAnalyzerAsync( 1057await VerifyCS.VerifyAnalyzerAsync( 1092await VerifyCS.VerifyAnalyzerAsync( 1117await VerifyCS.VerifyAnalyzerAsync( 1174await VerifyCS.VerifyAnalyzerAsync( 1204await VerifyCS.VerifyAnalyzerAsync( 1292await VerifyCS.VerifyAnalyzerAsync( 1312await VerifyCS.VerifyAnalyzerAsync( 1332await VerifyCS.VerifyAnalyzerAsync( 1352await VerifyCS.VerifyAnalyzerAsync( 1379await VerifyCS.VerifyAnalyzerAsync( 1399await VerifyCS.VerifyAnalyzerAsync( 1419await VerifyCS.VerifyAnalyzerAsync( 1439await VerifyCS.VerifyAnalyzerAsync( 1468await VerifyCS.VerifyAnalyzerAsync( 1502await VerifyCS.VerifyAnalyzerAsync( 1536await VerifyCS.VerifyAnalyzerAsync( 1561await VerifyCS.VerifyAnalyzerAsync( 1576await VerifyCS.VerifyAnalyzerAsync( 1602await VerifyCS.VerifyAnalyzerAsync( 1622await VerifyCS.VerifyAnalyzerAsync( 1656await VerifyCS.VerifyAnalyzerAsync( 1706await VerifyCS.VerifyAnalyzerAsync( 1744await VerifyCS.VerifyAnalyzerAsync( 1774await VerifyCS.VerifyAnalyzerAsync( 1794await VerifyCS.VerifyAnalyzerAsync( 1815await VerifyCS.VerifyAnalyzerAsync( 1865await VerifyCS.VerifyAnalyzerAsync( 1920await VerifyCS.VerifyAnalyzerAsync( 1955await VerifyCS.VerifyAnalyzerAsync( 1990await VerifyCS.VerifyAnalyzerAsync( 2019await VerifyCS.VerifyAnalyzerAsync(@" 2036await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\IdentifiersShouldNotMatchKeywordsMemberParameterRuleTests.cs (16)
25await VerifyCS.VerifyAnalyzerAsync(@" 47await VerifyCS.VerifyAnalyzerAsync(@" 71await VerifyCS.VerifyAnalyzerAsync(@" 90await VerifyCS.VerifyAnalyzerAsync(@" 112await VerifyCS.VerifyAnalyzerAsync(@" 134await VerifyCS.VerifyAnalyzerAsync(@" 154await VerifyCS.VerifyAnalyzerAsync(@" 174await VerifyCS.VerifyAnalyzerAsync(@" 194await VerifyCS.VerifyAnalyzerAsync(@" 214await VerifyCS.VerifyAnalyzerAsync(@" 235await VerifyCS.VerifyAnalyzerAsync(@" 254await VerifyCS.VerifyAnalyzerAsync(@" 290await VerifyCS.VerifyAnalyzerAsync(@" 326await VerifyCS.VerifyAnalyzerAsync(@" 364await VerifyCS.VerifyAnalyzerAsync(@" 394await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\IdentifiersShouldNotMatchKeywordsMemberRuleTests.cs (24)
25await VerifyCS.VerifyAnalyzerAsync(@" 48await VerifyCS.VerifyAnalyzerAsync(@" 68await VerifyCS.VerifyAnalyzerAsync(@" 92await VerifyCS.VerifyAnalyzerAsync(@" 114await VerifyCS.VerifyAnalyzerAsync(@" 134await VerifyCS.VerifyAnalyzerAsync(@" 154await VerifyCS.VerifyAnalyzerAsync(@" 174await VerifyCS.VerifyAnalyzerAsync(@" 194await VerifyCS.VerifyAnalyzerAsync(@" 215await VerifyCS.VerifyAnalyzerAsync(@" 234await VerifyCS.VerifyAnalyzerAsync(@" 274await VerifyCS.VerifyAnalyzerAsync(@" 295await VerifyCS.VerifyAnalyzerAsync(@" 328await VerifyCS.VerifyAnalyzerAsync(@" 361await VerifyCS.VerifyAnalyzerAsync(@" 373await VerifyCS.VerifyAnalyzerAsync(@" 408await VerifyCS.VerifyAnalyzerAsync(@" 443await VerifyCS.VerifyAnalyzerAsync(@" 470await VerifyCS.VerifyAnalyzerAsync(@" 506await VerifyCS.VerifyAnalyzerAsync(@" 544await VerifyCS.VerifyAnalyzerAsync(@" 571await VerifyCS.VerifyAnalyzerAsync(@" 586await VerifyCS.VerifyAnalyzerAsync(@" 617await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\IdentifiersShouldNotMatchKeywordsNamespaceRuleTests.cs (6)
29await VerifyCS.VerifyAnalyzerAsync(@" 53await VerifyCS.VerifyAnalyzerAsync(@" 75await VerifyCS.VerifyAnalyzerAsync(@" 97await VerifyCS.VerifyAnalyzerAsync(@" 123await VerifyCS.VerifyAnalyzerAsync(@" 140await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\IdentifiersShouldNotMatchKeywordsTypeRuleTests.cs (7)
26await VerifyCS.VerifyAnalyzerAsync(@" 45await VerifyCS.VerifyAnalyzerAsync(@" 61await VerifyCS.VerifyAnalyzerAsync(@" 79await VerifyCS.VerifyAnalyzerAsync(@" 96await VerifyCS.VerifyAnalyzerAsync(@" 113await VerifyCS.VerifyAnalyzerAsync(@" 138await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\ImplementIDisposableCorrectlyTests.cs (48)
24await VerifyCS.VerifyAnalyzerAsync(@" 50await VerifyCS.VerifyAnalyzerAsync(@" 84await VerifyCS.VerifyAnalyzerAsync(@" 114await VerifyCS.VerifyAnalyzerAsync(@" 157await VerifyCS.VerifyAnalyzerAsync(@" 190await VerifyCS.VerifyAnalyzerAsync(@" 237await VerifyCS.VerifyAnalyzerAsync(@" 281await VerifyCS.VerifyAnalyzerAsync(@" 312await VerifyCS.VerifyAnalyzerAsync(@" 345await VerifyCS.VerifyAnalyzerAsync(@" 373await VerifyCS.VerifyAnalyzerAsync(@" 400await VerifyCS.VerifyAnalyzerAsync(@" 434await VerifyCS.VerifyAnalyzerAsync(@" 471await VerifyCS.VerifyAnalyzerAsync(@" 508await VerifyCS.VerifyAnalyzerAsync(@" 559await VerifyCS.VerifyAnalyzerAsync(@" 593await VerifyCS.VerifyAnalyzerAsync(@" 628await VerifyCS.VerifyAnalyzerAsync(@" 672await VerifyCS.VerifyAnalyzerAsync(@" 706await VerifyCS.VerifyAnalyzerAsync(@" 747await VerifyCS.VerifyAnalyzerAsync(@" 803await VerifyCS.VerifyAnalyzerAsync(@" 829await VerifyCS.VerifyAnalyzerAsync(@" 866await VerifyCS.VerifyAnalyzerAsync(@" 888await VerifyCS.VerifyAnalyzerAsync(@" 911await VerifyCS.VerifyAnalyzerAsync(@" 938await VerifyCS.VerifyAnalyzerAsync(@" 965await VerifyCS.VerifyAnalyzerAsync(@" 992await VerifyCS.VerifyAnalyzerAsync(@" 1024await VerifyCS.VerifyAnalyzerAsync(@" 1055await VerifyCS.VerifyAnalyzerAsync(@" 1079await VerifyCS.VerifyAnalyzerAsync(@" 1105await VerifyCS.VerifyAnalyzerAsync(@" 1131await VerifyCS.VerifyAnalyzerAsync(@" 1158await VerifyCS.VerifyAnalyzerAsync(@" 1184await VerifyCS.VerifyAnalyzerAsync(@" 1210await VerifyCS.VerifyAnalyzerAsync(@" 1230await VerifyCS.VerifyAnalyzerAsync(@" 1255await VerifyCS.VerifyAnalyzerAsync(@" 1282await VerifyCS.VerifyAnalyzerAsync(@" 1314await VerifyCS.VerifyAnalyzerAsync(@" 1345await VerifyCS.VerifyAnalyzerAsync(@" 1373await VerifyCS.VerifyAnalyzerAsync(@" 1396await VerifyCS.VerifyAnalyzerAsync(@" 1425await VerifyCS.VerifyAnalyzerAsync(@" 1451await VerifyCS.VerifyAnalyzerAsync(@" 1478await VerifyCS.VerifyAnalyzerAsync(@" 1510await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\ImplementStandardExceptionConstructorsTests.cs (9)
22await VerifyCS.VerifyAnalyzerAsync(@" 34await VerifyCS.VerifyAnalyzerAsync(@" 56await VerifyCS.VerifyAnalyzerAsync(@" 81await VerifyCS.VerifyAnalyzerAsync(@" 95await VerifyCS.VerifyAnalyzerAsync(@" 112await VerifyCS.VerifyAnalyzerAsync(@" 131await VerifyCS.VerifyAnalyzerAsync(@" 150await VerifyCS.VerifyAnalyzerAsync(@" 169await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\InterfaceMethodsShouldBeCallableByChildTypesTests.cs (4)
40await VerifyCS.VerifyAnalyzerAsync(@" 150await VerifyCS.VerifyAnalyzerAsync(@" 215await VerifyCS.VerifyAnalyzerAsync(@" 363await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\MarkAssembliesWithAssemblyVersionTests.cs (6)
39await VerifyCS.VerifyAnalyzerAsync( 60await VerifyCS.VerifyAnalyzerAsync( 77await VerifyCS.VerifyAnalyzerAsync( 123await VerifyCS.VerifyAnalyzerAsync( 140await VerifyCS.VerifyAnalyzerAsync( 157await VerifyCS.VerifyAnalyzerAsync(
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\MarkAssembliesWithClsCompliantTests.cs (7)
53await VerifyCS.VerifyAnalyzerAsync( 76await VerifyCS.VerifyAnalyzerAsync( 94await VerifyCS.VerifyAnalyzerAsync( 142await VerifyCS.VerifyAnalyzerAsync( 161await VerifyCS.VerifyAnalyzerAsync( 178await VerifyCS.VerifyAnalyzerAsync( 194await VerifyCS.VerifyAnalyzerAsync(
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\MarkAssembliesWithComVisibleTests.cs (9)
17await VerifyCS.VerifyAnalyzerAsync(""); 23await VerifyCS.VerifyAnalyzerAsync(@" 32await VerifyCS.VerifyAnalyzerAsync(@" 41await VerifyCS.VerifyAnalyzerAsync(@" 51await VerifyCS.VerifyAnalyzerAsync(@" 65await VerifyCS.VerifyAnalyzerAsync(@" 78await VerifyCS.VerifyAnalyzerAsync(@" 87await VerifyCS.VerifyAnalyzerAsync(@" 100await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\MarkAttributesWithAttributeUsageTests.cs (2)
86await VerifyCS.VerifyAnalyzerAsync(@" 102await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\MovePInvokesToNativeMethodsClassTests.cs (5)
34await VerifyCS.VerifyAnalyzerAsync(@" 86await VerifyCS.VerifyAnalyzerAsync(@" 115await VerifyCS.VerifyAnalyzerAsync(@" 196await VerifyCS.VerifyAnalyzerAsync(@" 243await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\NestedTypesShouldNotBeVisibleTests.cs (15)
30await VerifyCS.VerifyAnalyzerAsync(code, GetCSharpCA1034ResultAt(4, 18, "Inner")); 56await VerifyCS.VerifyAnalyzerAsync(code, GetCSharpCA1034ResultAt(4, 19, "Inner")); 83await VerifyCS.VerifyAnalyzerAsync(code); 120await VerifyCS.VerifyAnalyzerAsync(code); 145await VerifyCS.VerifyAnalyzerAsync(code); 171await VerifyCS.VerifyAnalyzerAsync(code); 197await VerifyCS.VerifyAnalyzerAsync(code); 223await VerifyCS.VerifyAnalyzerAsync(code); 266await VerifyCS.VerifyAnalyzerAsync(code); 280await VerifyCS.VerifyAnalyzerAsync(code); 344await VerifyCS.VerifyAnalyzerAsync(code); 396await VerifyCS.VerifyAnalyzerAsync(code, GetCSharpCA1034ResultAt(17, 18, "Inner")); 447await VerifyCS.VerifyAnalyzerAsync(code, 525await VerifyCS.VerifyAnalyzerAsync($@" 610await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\NonConstantFieldsShouldNotBeVisibleTests.cs (6)
21await VerifyCS.VerifyAnalyzerAsync(@" 40await VerifyCS.VerifyAnalyzerAsync(@" 59await VerifyCS.VerifyAnalyzerAsync(@" 69await VerifyCS.VerifyAnalyzerAsync(@" 113await VerifyCS.VerifyAnalyzerAsync(@" 132await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\OperatorOverloadsHaveNamedAlternatesTests.cs (18)
62await VerifyCS.VerifyAnalyzerAsync(@" 74await VerifyCS.VerifyAnalyzerAsync(@" 86await VerifyCS.VerifyAnalyzerAsync(@" 98await VerifyCS.VerifyAnalyzerAsync(@" 110await VerifyCS.VerifyAnalyzerAsync(@" 134await VerifyCS.VerifyAnalyzerAsync(@" 146await VerifyCS.VerifyAnalyzerAsync(@" 165await VerifyCS.VerifyAnalyzerAsync(@" 178await VerifyCS.VerifyAnalyzerAsync(@" 190await VerifyCS.VerifyAnalyzerAsync(@" 203await VerifyCS.VerifyAnalyzerAsync(@" 217await VerifyCS.VerifyAnalyzerAsync(@" 229await VerifyCS.VerifyAnalyzerAsync( 244await VerifyCS.VerifyAnalyzerAsync( 259await VerifyCS.VerifyAnalyzerAsync( 274await VerifyCS.VerifyAnalyzerAsync( 289await VerifyCS.VerifyAnalyzerAsync( 304await VerifyCS.VerifyAnalyzerAsync(
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\OperatorsShouldHaveSymmetricalOverloadsTests.cs (10)
18await VerifyCS.VerifyAnalyzerAsync(@" 29await VerifyCS.VerifyAnalyzerAsync(@" 40await VerifyCS.VerifyAnalyzerAsync(@" 65await VerifyCS.VerifyAnalyzerAsync(@" 89await VerifyCS.VerifyAnalyzerAsync(@" 100await VerifyCS.VerifyAnalyzerAsync(@" 111await VerifyCS.VerifyAnalyzerAsync(@" 122await VerifyCS.VerifyAnalyzerAsync(@" 133await VerifyCS.VerifyAnalyzerAsync(@" 144await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\OverloadOperatorEqualsOnOverridingValueTypeEqualsTests.cs (6)
22await VerifyCS.VerifyAnalyzerAsync(@" 48await VerifyCS.VerifyAnalyzerAsync(@" 65await VerifyCS.VerifyAnalyzerAsync(@" 92await VerifyCS.VerifyAnalyzerAsync(@" 117await VerifyCS.VerifyAnalyzerAsync(@" 143await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\OverrideEqualsAndOperatorEqualsOnValueTypesTests.cs (9)
22await VerifyCS.VerifyAnalyzerAsync(@" 35await VerifyCS.VerifyAnalyzerAsync(@" 55await VerifyCS.VerifyAnalyzerAsync(@" 67await VerifyCS.VerifyAnalyzerAsync(@" 78await VerifyCS.VerifyAnalyzerAsync(@" 142await VerifyCS.VerifyAnalyzerAsync(@" 152await VerifyCS.VerifyAnalyzerAsync(@" 175await VerifyCS.VerifyAnalyzerAsync(@" 199await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\OverrideMethodsOnComparableTypesTests.cs (15)
21await VerifyCS.VerifyAnalyzerAsync(@" 77await VerifyCS.VerifyAnalyzerAsync(@" 120await VerifyCS.VerifyAnalyzerAsync(@" 201await VerifyCS.VerifyAnalyzerAsync(@" 303await VerifyCS.VerifyAnalyzerAsync(@" 359await VerifyCS.VerifyAnalyzerAsync(@" 398await VerifyCS.VerifyAnalyzerAsync(@" 440await VerifyCS.VerifyAnalyzerAsync(@" 477await VerifyCS.VerifyAnalyzerAsync(@" 514await VerifyCS.VerifyAnalyzerAsync(@" 581await VerifyCS.VerifyAnalyzerAsync(@" 618await VerifyCS.VerifyAnalyzerAsync(@" 1216await VerifyCS.VerifyAnalyzerAsync("enum MyEnum {}"); 1232await VerifyCS.VerifyAnalyzerAsync(@" 1264await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\ParameterNamesShouldMatchBaseDeclarationTests.cs (28)
21await VerifyCS.VerifyAnalyzerAsync(@"public class TestClass 26await VerifyCS.VerifyAnalyzerAsync(@"public class TestClass 31await VerifyCS.VerifyAnalyzerAsync(@"public class TestClass 36await VerifyCS.VerifyAnalyzerAsync(@"public class TestClass 60await VerifyCS.VerifyAnalyzerAsync(@"public abstract class BaseClass 72await VerifyCS.VerifyAnalyzerAsync(@"public abstract class BaseClass 84await VerifyCS.VerifyAnalyzerAsync(@"public abstract class BaseClass 128await VerifyCS.VerifyAnalyzerAsync(@"public abstract class BaseClass 138await VerifyCS.VerifyAnalyzerAsync(@"internal abstract class BaseClass 148await VerifyCS.VerifyAnalyzerAsync(@"internal class OuterClass 200await VerifyCS.VerifyAnalyzerAsync(@"public interface IBase 212await VerifyCS.VerifyAnalyzerAsync(@"public interface IBase 224await VerifyCS.VerifyAnalyzerAsync(@"public interface IBase 268await VerifyCS.VerifyAnalyzerAsync(@"public interface IBase 278await VerifyCS.VerifyAnalyzerAsync(@"public interface IBase 288await VerifyCS.VerifyAnalyzerAsync(@"public interface IBase 333await VerifyCS.VerifyAnalyzerAsync(@"public class TestClass 347await VerifyCS.VerifyAnalyzerAsync(@"public abstract class BaseClass 384await VerifyCS.VerifyAnalyzerAsync(@"public class BaseClass 410await VerifyCS.VerifyAnalyzerAsync(@"public abstract class BaseClass 425await VerifyCS.VerifyAnalyzerAsync(@"public abstract class BaseClass 480await VerifyCS.VerifyAnalyzerAsync(@"public interface ITest1 514await VerifyCS.VerifyAnalyzerAsync(@"public interface ITest1 550await VerifyCS.VerifyAnalyzerAsync(@"public interface ITest1 587await VerifyCS.VerifyAnalyzerAsync(@"public interface ITest 632return VerifyCS.VerifyAnalyzerAsync(code); 652return VerifyCS.VerifyAnalyzerAsync(code); 672return VerifyCS.VerifyAnalyzerAsync(code);
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\PassSystemUriObjectsInsteadOfStringsTests.cs (22)
21await VerifyCS.VerifyAnalyzerAsync(@" 41await VerifyCS.VerifyAnalyzerAsync(@" 61await VerifyCS.VerifyAnalyzerAsync(@" 81await VerifyCS.VerifyAnalyzerAsync(@" 102await VerifyCS.VerifyAnalyzerAsync(@" 122await VerifyCS.VerifyAnalyzerAsync(@" 142await VerifyCS.VerifyAnalyzerAsync(@" 162await VerifyCS.VerifyAnalyzerAsync(@" 183await VerifyCS.VerifyAnalyzerAsync(@" 204await VerifyCS.VerifyAnalyzerAsync(@" 225await VerifyCS.VerifyAnalyzerAsync(@" 246await VerifyCS.VerifyAnalyzerAsync(@" 267await VerifyCS.VerifyAnalyzerAsync(@" 288await VerifyCS.VerifyAnalyzerAsync(@" 309await VerifyCS.VerifyAnalyzerAsync(@" 329await VerifyCS.VerifyAnalyzerAsync(@" 350await VerifyCS.VerifyAnalyzerAsync(@" 371await VerifyCS.VerifyAnalyzerAsync(@" 395await VerifyCS.VerifyAnalyzerAsync(@" 416await VerifyCS.VerifyAnalyzerAsync(@" 437await VerifyCS.VerifyAnalyzerAsync(@" 480await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\PropertiesShouldNotBeWriteOnlyTests.cs (21)
35await VerifyCS.VerifyAnalyzerAsync(code); 55await VerifyCS.VerifyAnalyzerAsync(code); 75await VerifyCS.VerifyAnalyzerAsync(code); 95await VerifyCS.VerifyAnalyzerAsync(code); 115await VerifyCS.VerifyAnalyzerAsync(code); 135await VerifyCS.VerifyAnalyzerAsync(code); 155await VerifyCS.VerifyAnalyzerAsync(code); 175await VerifyCS.VerifyAnalyzerAsync(code); 198await VerifyCS.VerifyAnalyzerAsync(code); 224await VerifyCS.VerifyAnalyzerAsync(code); 250await VerifyCS.VerifyAnalyzerAsync(code); 447await VerifyCS.VerifyAnalyzerAsync(code, GetCA1044CSharpResultAt(8, 23, CA1044MessageAddGetter, "CS_WriteOnlyProperty")); 466await VerifyCS.VerifyAnalyzerAsync(code, GetCA1044CSharpResultAt(8, 23, CA1044MessageAddGetter, "CS_WriteOnlyProperty1")); 485await VerifyCS.VerifyAnalyzerAsync(code, GetCA1044CSharpResultAt(8, 26, CA1044MessageAddGetter, "CS_WriteOnlyProperty2")); 504await VerifyCS.VerifyAnalyzerAsync(code, GetCA1044CSharpResultAt(8, 26, CA1044MessageAddGetter, "CS_WriteOnlyProperty3")); 523await VerifyCS.VerifyAnalyzerAsync(code, GetCA1044CSharpResultAt(8, 35, CA1044MessageAddGetter, "CS_WriteOnlyProperty4")); 541await VerifyCS.VerifyAnalyzerAsync(code, GetCA1044CSharpResultAt(7, 31, CA1044MessageAddGetter, "CS_BaseProperty5")); 559await VerifyCS.VerifyAnalyzerAsync(code, GetCA1044CSharpResultAt(7, 16, CA1044MessageAddGetter, "CS_InterfaceProperty6")); 580await VerifyCS.VerifyAnalyzerAsync(code, GetCA1044CSharpResultAt(8, 24, CA1044MessageMakeMoreAccessible, "CS_InaccessibleProperty")); 600await VerifyCS.VerifyAnalyzerAsync(code, GetCA1044CSharpResultAt(8, 26, CA1044MessageMakeMoreAccessible, "CS_InaccessibleProperty1")); 620await VerifyCS.VerifyAnalyzerAsync(code, GetCA1044CSharpResultAt(8, 35, CA1044MessageMakeMoreAccessible, "CS_InaccessibleProperty2"));
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\PropertiesShouldNotReturnArraysTests.cs (4)
21await VerifyCS.VerifyAnalyzerAsync(@" 37await VerifyCS.VerifyAnalyzerAsync(@" 57await VerifyCS.VerifyAnalyzerAsync(@" 75await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\PropertyNamesShouldNotMatchGetMethodsTests.cs (15)
80await VerifyCS.VerifyAnalyzerAsync(@" 105await VerifyCS.VerifyAnalyzerAsync( 113await VerifyCS.VerifyAnalyzerAsync( 125await VerifyCS.VerifyAnalyzerAsync(string.Format(CultureInfo.InvariantCulture, CSharpTestTemplate, propertyAccessibility, methodAccessibility)); 149await VerifyCS.VerifyAnalyzerAsync(string.Format(CultureInfo.InvariantCulture, CSharpTestTemplate, propertyAccessibility, methodAccessibility)); 155await VerifyCS.VerifyAnalyzerAsync(@" 179await VerifyCS.VerifyAnalyzerAsync(@" 318await VerifyCS.VerifyAnalyzerAsync(@" 336await VerifyCS.VerifyAnalyzerAsync(@" 371await VerifyCS.VerifyAnalyzerAsync(@" 443await VerifyCS.VerifyAnalyzerAsync(@" 516await VerifyCS.VerifyAnalyzerAsync(@" 590await VerifyCS.VerifyAnalyzerAsync(@" 674await VerifyCS.VerifyAnalyzerAsync(@" 719await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\ProvideObsoleteAttributeMessageTests.cs (3)
21await VerifyCS.VerifyAnalyzerAsync(@" 93await VerifyCS.VerifyAnalyzerAsync(@" 149await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\StaticHolderTypeTests.cs (33)
39await VerifyCS.VerifyAnalyzerAsync(@" 59await VerifyCS.VerifyAnalyzerAsync(@" 70await VerifyCS.VerifyAnalyzerAsync(@" 92await VerifyCS.VerifyAnalyzerAsync(@" 122await VerifyCS.VerifyAnalyzerAsync(@" 146await VerifyCS.VerifyAnalyzerAsync(@" 172await VerifyCS.VerifyAnalyzerAsync(@" 183await VerifyCS.VerifyAnalyzerAsync(@" 221await VerifyCS.VerifyAnalyzerAsync(@" 247await VerifyCS.VerifyAnalyzerAsync(@" 278await VerifyCS.VerifyAnalyzerAsync(@" 307await VerifyCS.VerifyAnalyzerAsync(@" 336await VerifyCS.VerifyAnalyzerAsync(@" 365await VerifyCS.VerifyAnalyzerAsync(@" 392await VerifyCS.VerifyAnalyzerAsync(@" 419await VerifyCS.VerifyAnalyzerAsync(@" 457await VerifyCS.VerifyAnalyzerAsync(@" 467await VerifyCS.VerifyAnalyzerAsync(@" 489await VerifyCS.VerifyAnalyzerAsync(@" 500await VerifyCS.VerifyAnalyzerAsync(@" 526await VerifyCS.VerifyAnalyzerAsync(@" 552await VerifyCS.VerifyAnalyzerAsync(@" 573await VerifyCS.VerifyAnalyzerAsync(@" 595await VerifyCS.VerifyAnalyzerAsync(@" 631await VerifyCS.VerifyAnalyzerAsync(@" 659await VerifyCS.VerifyAnalyzerAsync(@" 687await VerifyCS.VerifyAnalyzerAsync(@" 720await VerifyCS.VerifyAnalyzerAsync(@" 743await VerifyCS.VerifyAnalyzerAsync(@" 763await VerifyCS.VerifyAnalyzerAsync(@" 788await VerifyCS.VerifyAnalyzerAsync(@" 799await VerifyCS.VerifyAnalyzerAsync(@" 822await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\TypeNamesShouldNotMatchNamespacesTests.cs (11)
50await VerifyCS.VerifyAnalyzerAsync(@" 59await VerifyCS.VerifyAnalyzerAsync(@" 69await VerifyCS.VerifyAnalyzerAsync(@" 116await VerifyCS.VerifyAnalyzerAsync(@" 130await VerifyCS.VerifyAnalyzerAsync(@" 145await VerifyCS.VerifyAnalyzerAsync(@" 163await VerifyCS.VerifyAnalyzerAsync(@" 181await VerifyCS.VerifyAnalyzerAsync(@" 198await VerifyCS.VerifyAnalyzerAsync(@" 218await VerifyCS.VerifyAnalyzerAsync(@" 238await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\TypesThatOwnDisposableFieldsShouldBeDisposableTests.cs (6)
20await VerifyCS.VerifyAnalyzerAsync(@" 33await VerifyCS.VerifyAnalyzerAsync(@" 139await VerifyCS.VerifyAnalyzerAsync(@" 156await VerifyCS.VerifyAnalyzerAsync(@" 301await VerifyCS.VerifyAnalyzerAsync(@" 370await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\UriParametersShouldNotBeStringsTests.cs (11)
21await VerifyCS.VerifyAnalyzerAsync(@" 34await VerifyCS.VerifyAnalyzerAsync(@" 47await VerifyCS.VerifyAnalyzerAsync(@" 61await VerifyCS.VerifyAnalyzerAsync(@" 86await VerifyCS.VerifyAnalyzerAsync(@" 112await VerifyCS.VerifyAnalyzerAsync(@" 126await VerifyCS.VerifyAnalyzerAsync(@" 143await VerifyCS.VerifyAnalyzerAsync(@" 159await VerifyCS.VerifyAnalyzerAsync(@" 189await VerifyCS.VerifyAnalyzerAsync(@" 202await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\UriPropertiesShouldNotBeStringsTests.cs (8)
21await VerifyCS.VerifyAnalyzerAsync(@" 34await VerifyCS.VerifyAnalyzerAsync(@" 47await VerifyCS.VerifyAnalyzerAsync(@" 60await VerifyCS.VerifyAnalyzerAsync(@" 73await VerifyCS.VerifyAnalyzerAsync(@" 88await VerifyCS.VerifyAnalyzerAsync(@" 102await VerifyCS.VerifyAnalyzerAsync(@" 137await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\UriReturnValuesShouldNotBeStringsTests.cs (7)
21await VerifyCS.VerifyAnalyzerAsync(@" 34await VerifyCS.VerifyAnalyzerAsync(@" 47await VerifyCS.VerifyAnalyzerAsync(@" 60await VerifyCS.VerifyAnalyzerAsync(@" 73await VerifyCS.VerifyAnalyzerAsync(@" 86await VerifyCS.VerifyAnalyzerAsync(@" 100await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\UseEventsWhereAppropriateTests.cs (7)
24await VerifyCS.VerifyAnalyzerAsync(@" 82await VerifyCS.VerifyAnalyzerAsync(@" 140await VerifyCS.VerifyAnalyzerAsync(@" 251await VerifyCS.VerifyAnalyzerAsync(@" 345await VerifyCS.VerifyAnalyzerAsync(@" 448await VerifyCS.VerifyAnalyzerAsync(@" 535await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\UseGenericEventHandlerInstancesTests.cs (9)
21await VerifyCS.VerifyAnalyzerAsync(@" 44await VerifyCS.VerifyAnalyzerAsync(@" 106await VerifyCS.VerifyAnalyzerAsync(@" 119await VerifyCS.VerifyAnalyzerAsync(@" 134await VerifyCS.VerifyAnalyzerAsync(@" 147await VerifyCS.VerifyAnalyzerAsync(@" 182await VerifyCS.VerifyAnalyzerAsync(@" 202await VerifyCS.VerifyAnalyzerAsync(@" 216await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\UseIntegralOrStringArgumentForIndexersTests.cs (5)
79await VerifyCS.VerifyAnalyzerAsync(@" 96await VerifyCS.VerifyAnalyzerAsync(@" 125await VerifyCS.VerifyAnalyzerAsync(@" 142await VerifyCS.VerifyAnalyzerAsync(@" 171await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\UsePropertiesWhereAppropriateTests.cs (11)
21await VerifyCS.VerifyAnalyzerAsync(@" 166await VerifyCS.VerifyAnalyzerAsync(@" 207await VerifyCS.VerifyAnalyzerAsync(@" 340await VerifyCS.VerifyAnalyzerAsync(@" 428await VerifyCS.VerifyAnalyzerAsync(@" 447await VerifyCS.VerifyAnalyzerAsync(@" 466await VerifyCS.VerifyAnalyzerAsync(@" 505await VerifyCS.VerifyAnalyzerAsync(@" 522await VerifyCS.VerifyAnalyzerAsync(@" 540await VerifyCS.VerifyAnalyzerAsync(@" 564await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\Documentation\AvoidUsingCrefTagsWithAPrefixTests.cs (2)
22await VerifyCS.VerifyAnalyzerAsync(@" 52await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\Maintainability\AvoidDeadConditionalCode_NullAnalysis.cs (3)
7048await VerifyCS.VerifyAnalyzerAsync(@" 7074await VerifyCS.VerifyAnalyzerAsync(@" 7101await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\Maintainability\AvoidDeadConditionalCode_ValueContentAnalysis.cs (2)
3400return VerifyCS.VerifyAnalyzerAsync(code); 3420return VerifyCS.VerifyAnalyzerAsync(code);
Microsoft.CodeQuality.Analyzers\Maintainability\AvoidUninstantiatedInternalClassesTests.cs (45)
36await VerifyCS.VerifyAnalyzerAsync( 54await VerifyCS.VerifyAnalyzerAsync( 69await VerifyCS.VerifyAnalyzerAsync( 84await VerifyCS.VerifyAnalyzerAsync( 108await VerifyCS.VerifyAnalyzerAsync( 130await VerifyCS.VerifyAnalyzerAsync( 163await VerifyCS.VerifyAnalyzerAsync( 178await VerifyCS.VerifyAnalyzerAsync(@" 197await VerifyCS.VerifyAnalyzerAsync( 218await VerifyCS.VerifyAnalyzerAsync( 362await VerifyCS.VerifyAnalyzerAsync( 410await VerifyCS.VerifyAnalyzerAsync( 432await VerifyCS.VerifyAnalyzerAsync( 459await VerifyCS.VerifyAnalyzerAsync( 497await VerifyCS.VerifyAnalyzerAsync( 535await VerifyCS.VerifyAnalyzerAsync( 566await VerifyCS.VerifyAnalyzerAsync( 600await VerifyCS.VerifyAnalyzerAsync( 649await VerifyCS.VerifyAnalyzerAsync( 679await VerifyCS.VerifyAnalyzerAsync( 711await VerifyCS.VerifyAnalyzerAsync( 735await VerifyCS.VerifyAnalyzerAsync( 762await VerifyCS.VerifyAnalyzerAsync( 772await VerifyCS.VerifyAnalyzerAsync( 805await VerifyCS.VerifyAnalyzerAsync( 852await VerifyCS.VerifyAnalyzerAsync("internal static class S { }"); 858await VerifyCS.VerifyAnalyzerAsync( 945await VerifyCS.VerifyAnalyzerAsync(@" 1020await VerifyCS.VerifyAnalyzerAsync(@" 1048await VerifyCS.VerifyAnalyzerAsync(@" 1131await VerifyCS.VerifyAnalyzerAsync(@" 1171await VerifyCS.VerifyAnalyzerAsync(@" 1217await VerifyCS.VerifyAnalyzerAsync(@" 1266await VerifyCS.VerifyAnalyzerAsync(@" 1286await VerifyCS.VerifyAnalyzerAsync(@" 1299await VerifyCS.VerifyAnalyzerAsync(@" 1327await VerifyCS.VerifyAnalyzerAsync(@" 1346await VerifyCS.VerifyAnalyzerAsync(@" 1366await VerifyCS.VerifyAnalyzerAsync(@" 1383await VerifyCS.VerifyAnalyzerAsync(@" 1399await VerifyCS.VerifyAnalyzerAsync(@" 1416await VerifyCS.VerifyAnalyzerAsync(@" 1433await VerifyCS.VerifyAnalyzerAsync(@" 1454await VerifyCS.VerifyAnalyzerAsync(@" 1477await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\Maintainability\AvoidUnusedPrivateFieldsTests.cs (12)
50await VerifyCS.VerifyAnalyzerAsync(@" 62await VerifyCS.VerifyAnalyzerAsync(@" 74await VerifyCS.VerifyAnalyzerAsync(@" 88await VerifyCS.VerifyAnalyzerAsync(@" 101await VerifyCS.VerifyAnalyzerAsync(@" 114await VerifyCS.VerifyAnalyzerAsync(@" 133await VerifyCS.VerifyAnalyzerAsync(@" 146await VerifyCS.VerifyAnalyzerAsync(@" 159await VerifyCS.VerifyAnalyzerAsync(@" 179await VerifyCS.VerifyAnalyzerAsync(CSharpMEFAttributesDefinition + @" 194await VerifyCS.VerifyAnalyzerAsync(CSharpMEFAttributesDefinition + @" 233await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\Maintainability\CodeMetricsAnalyzerTests.cs (5)
40await VerifyCS.VerifyAnalyzerAsync(source, expected); 621await VerifyCS.VerifyAnalyzerAsync(source, expected); 661await VerifyCS.VerifyAnalyzerAsync(source, expected); 700await VerifyCS.VerifyAnalyzerAsync(source, expected); 1172await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\Maintainability\DoNotIgnoreMethodResultsTests.cs (11)
24await VerifyCS.VerifyAnalyzerAsync(@" 244await VerifyCS.VerifyAnalyzerAsync(@" 289await VerifyCS.VerifyAnalyzerAsync(@" 326await VerifyCS.VerifyAnalyzerAsync(@" 357await VerifyCS.VerifyAnalyzerAsync(@" 388await VerifyCS.VerifyAnalyzerAsync(@" 425await VerifyCS.VerifyAnalyzerAsync(@" 469await VerifyCS.VerifyAnalyzerAsync(@" 702await VerifyCS.VerifyAnalyzerAsync(@" 747await VerifyCS.VerifyAnalyzerAsync(@" 904return VerifyCS.VerifyAnalyzerAsync(code, diagnosticResult);
Microsoft.CodeQuality.Analyzers\Maintainability\UseNameOfInPlaceOfStringTests.cs (14)
23await VerifyCS.VerifyAnalyzerAsync(@" 36await VerifyCS.VerifyAnalyzerAsync(@" 50await VerifyCS.VerifyAnalyzerAsync(@" 64await VerifyCS.VerifyAnalyzerAsync(@" 78await VerifyCS.VerifyAnalyzerAsync(@" 92await VerifyCS.VerifyAnalyzerAsync(@" 106await VerifyCS.VerifyAnalyzerAsync(@" 121await VerifyCS.VerifyAnalyzerAsync(@" 135await VerifyCS.VerifyAnalyzerAsync(@" 149await VerifyCS.VerifyAnalyzerAsync(@" 163await VerifyCS.VerifyAnalyzerAsync(@" 177await VerifyCS.VerifyAnalyzerAsync(@" 209await VerifyCS.VerifyAnalyzerAsync(@" 224await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\QualityGuidelines\AssigningSymbolAndItsMemberInSameStatementTests.cs (16)
18await VerifyCS.VerifyAnalyzerAsync(@" 39await VerifyCS.VerifyAnalyzerAsync(@" 60await VerifyCS.VerifyAnalyzerAsync(@" 81await VerifyCS.VerifyAnalyzerAsync(@" 103await VerifyCS.VerifyAnalyzerAsync(@" 125await VerifyCS.VerifyAnalyzerAsync(@" 147await VerifyCS.VerifyAnalyzerAsync(@" 170await VerifyCS.VerifyAnalyzerAsync(@" 194await VerifyCS.VerifyAnalyzerAsync(@" 214await VerifyCS.VerifyAnalyzerAsync(@" 234await VerifyCS.VerifyAnalyzerAsync(@" 254await VerifyCS.VerifyAnalyzerAsync(@" 275await VerifyCS.VerifyAnalyzerAsync(@" 295await VerifyCS.VerifyAnalyzerAsync(@" 315await VerifyCS.VerifyAnalyzerAsync(@" 331await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\QualityGuidelines\AvoidDuplicateElementInitializationTests.cs (4)
16await VerifyCS.VerifyAnalyzerAsync(@" 473await VerifyCS.VerifyAnalyzerAsync(@" 493await VerifyCS.VerifyAnalyzerAsync(@" 512await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\QualityGuidelines\AvoidInfiniteRecursionTests.cs (10)
22await VerifyCS.VerifyAnalyzerAsync(@" 49await VerifyCS.VerifyAnalyzerAsync(@" 81await VerifyCS.VerifyAnalyzerAsync(@" 113await VerifyCS.VerifyAnalyzerAsync(@" 142await VerifyCS.VerifyAnalyzerAsync(@" 171await VerifyCS.VerifyAnalyzerAsync(@" 206await VerifyCS.VerifyAnalyzerAsync(@" 239await VerifyCS.VerifyAnalyzerAsync(@" 283await VerifyCS.VerifyAnalyzerAsync(@" 307await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\QualityGuidelines\AvoidMultipleEnumerationsTests.cs (4)
4088await VerifyCS.VerifyAnalyzerAsync(csharpCode1); 4128await VerifyCS.VerifyAnalyzerAsync(csharpCode); 4174await VerifyCS.VerifyAnalyzerAsync(csharpCode); 4220await VerifyCS.VerifyAnalyzerAsync(csharpCode);
Microsoft.CodeQuality.Analyzers\QualityGuidelines\AvoidPropertySelfAssignmentTests.cs (14)
20await VerifyCS.VerifyAnalyzerAsync(@" 36await VerifyCS.VerifyAnalyzerAsync(@" 52await VerifyCS.VerifyAnalyzerAsync(@" 68await VerifyCS.VerifyAnalyzerAsync(@" 84await VerifyCS.VerifyAnalyzerAsync(@" 100await VerifyCS.VerifyAnalyzerAsync(@" 115await VerifyCS.VerifyAnalyzerAsync(@" 130await VerifyCS.VerifyAnalyzerAsync(@" 146await VerifyCS.VerifyAnalyzerAsync(@" 161await VerifyCS.VerifyAnalyzerAsync(@" 182await VerifyCS.VerifyAnalyzerAsync(@" 201await VerifyCS.VerifyAnalyzerAsync(@" 219await VerifyCS.VerifyAnalyzerAsync(@" 238await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\QualityGuidelines\DoNotCallOverridableMethodsInConstructorsTests.cs (10)
21await VerifyCS.VerifyAnalyzerAsync(@" 38await VerifyCS.VerifyAnalyzerAsync(@" 83await VerifyCS.VerifyAnalyzerAsync(@" 114await VerifyCS.VerifyAnalyzerAsync(@" 152await VerifyCS.VerifyAnalyzerAsync(@" 199await VerifyCS.VerifyAnalyzerAsync(@" 400await VerifyCS.VerifyAnalyzerAsync(@" 441await VerifyCS.VerifyAnalyzerAsync(@" 478await VerifyCS.VerifyAnalyzerAsync(@" 507await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\QualityGuidelines\DoNotDeclareEventFieldsAsVirtualTests.cs (2)
16await VerifyCS.VerifyAnalyzerAsync(@" 30await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\QualityGuidelines\DoNotInitializeUnnecessarilyTests.cs (1)
21await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\QualityGuidelines\DoNotPassDisposablesIntoUnawaitedTasksTests.cs (17)
21await VerifyCS.VerifyAnalyzerAsync(@" 61await VerifyCS.VerifyAnalyzerAsync(@" 100await VerifyCS.VerifyAnalyzerAsync(@" 144await VerifyCS.VerifyAnalyzerAsync(@" 214await VerifyCS.VerifyAnalyzerAsync(@" 236await VerifyCS.VerifyAnalyzerAsync(@" 275await VerifyCS.VerifyAnalyzerAsync(@" 320await VerifyCS.VerifyAnalyzerAsync(@" 368await VerifyCS.VerifyAnalyzerAsync(@" 408await VerifyCS.VerifyAnalyzerAsync(@" 452await VerifyCS.VerifyAnalyzerAsync(@" 490await VerifyCS.VerifyAnalyzerAsync(@" 528await VerifyCS.VerifyAnalyzerAsync(@" 566await VerifyCS.VerifyAnalyzerAsync(@" 604await VerifyCS.VerifyAnalyzerAsync(@" 647await VerifyCS.VerifyAnalyzerAsync(@" 694await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\QualityGuidelines\DoNotRaiseExceptionsInExceptionClausesTests.cs (2)
46await VerifyCS.VerifyAnalyzerAsync(code, 106await VerifyCS.VerifyAnalyzerAsync(code,
Microsoft.CodeQuality.Analyzers\QualityGuidelines\MarkMembersAsStaticTests.cs (17)
21await VerifyCS.VerifyAnalyzerAsync(@" 141await VerifyCS.VerifyAnalyzerAsync(@" 301await VerifyCS.VerifyAnalyzerAsync(@" 421await VerifyCS.VerifyAnalyzerAsync(@" 473await VerifyCS.VerifyAnalyzerAsync(@" 746await VerifyCS.VerifyAnalyzerAsync(@" 784await VerifyCS.VerifyAnalyzerAsync(@" 814await VerifyCS.VerifyAnalyzerAsync(@" 853await VerifyCS.VerifyAnalyzerAsync(@" 868await VerifyCS.VerifyAnalyzerAsync(@" 1004await VerifyCS.VerifyAnalyzerAsync(@" 1280await VerifyCS.VerifyAnalyzerAsync(@" 1309await VerifyCS.VerifyAnalyzerAsync(@" 1343await VerifyCS.VerifyAnalyzerAsync(@" 1388await VerifyCS.VerifyAnalyzerAsync(@" 1407await VerifyCS.VerifyAnalyzerAsync(@" 1427await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\QualityGuidelines\PreferJaggedArraysOverMultidimensionalTests.cs (5)
21await VerifyCS.VerifyAnalyzerAsync(@" 107await VerifyCS.VerifyAnalyzerAsync(@" 153await VerifyCS.VerifyAnalyzerAsync(@" 220await VerifyCS.VerifyAnalyzerAsync(@" 254await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\QualityGuidelines\RemoveEmptyFinalizersTests.cs (12)
24await VerifyCS.VerifyAnalyzerAsync(@" 102await VerifyCS.VerifyAnalyzerAsync(@" 127await VerifyCS.VerifyAnalyzerAsync(@" 151await VerifyCS.VerifyAnalyzerAsync(@" 173await VerifyCS.VerifyAnalyzerAsync(@" 306await VerifyCS.VerifyAnalyzerAsync(@" 339await VerifyCS.VerifyAnalyzerAsync(@" 491await VerifyCS.VerifyAnalyzerAsync(@" 505await VerifyCS.VerifyAnalyzerAsync(@" 530await VerifyCS.VerifyAnalyzerAsync(@" 544await VerifyCS.VerifyAnalyzerAsync(@" 568await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\QualityGuidelines\RethrowToPreserveStackDetailsTests.cs (16)
20await VerifyCS.VerifyAnalyzerAsync(@" 56await VerifyCS.VerifyAnalyzerAsync(@" 97await VerifyCS.VerifyAnalyzerAsync(@" 120await VerifyCS.VerifyAnalyzerAsync(@" 191await VerifyCS.VerifyAnalyzerAsync(@" 234await VerifyCS.VerifyAnalyzerAsync(@" 275await VerifyCS.VerifyAnalyzerAsync(@" 323await VerifyCS.VerifyAnalyzerAsync(@" 371await VerifyCS.VerifyAnalyzerAsync(@" 419await VerifyCS.VerifyAnalyzerAsync(@" 483await VerifyCS.VerifyAnalyzerAsync(@" 507await VerifyCS.VerifyAnalyzerAsync(@" 544await VerifyCS.VerifyAnalyzerAsync(@" 571await VerifyCS.VerifyAnalyzerAsync(@" 599await VerifyCS.VerifyAnalyzerAsync(@" 633await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\QualityGuidelines\SealMethodsThatSatisfyPrivateInterfacesTests.cs (14)
21await VerifyCS.VerifyAnalyzerAsync(@" 52await VerifyCS.VerifyAnalyzerAsync(@" 70await VerifyCS.VerifyAnalyzerAsync(@" 86await VerifyCS.VerifyAnalyzerAsync(@" 104await VerifyCS.VerifyAnalyzerAsync(@" 117await VerifyCS.VerifyAnalyzerAsync(@" 135await VerifyCS.VerifyAnalyzerAsync(@" 153await VerifyCS.VerifyAnalyzerAsync(@" 176await VerifyCS.VerifyAnalyzerAsync(@" 199await VerifyCS.VerifyAnalyzerAsync(@" 222await VerifyCS.VerifyAnalyzerAsync(@" 244await VerifyCS.VerifyAnalyzerAsync(@" 430await VerifyCS.VerifyAnalyzerAsync(@" 473await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\QualityGuidelines\UseLiteralsWhereAppropriateTests.cs (2)
22await VerifyCS.VerifyAnalyzerAsync(@" 44await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.CodeQuality.Analyzers\QualityGuidelines\ValidateArgumentsOfPublicMethodsTests.cs (131)
42await VerifyCS.VerifyAnalyzerAsync(@" 72await VerifyCS.VerifyAnalyzerAsync(@" 91await VerifyCS.VerifyAnalyzerAsync(@" 121await VerifyCS.VerifyAnalyzerAsync(@" 192await VerifyCS.VerifyAnalyzerAsync(@" 218await VerifyCS.VerifyAnalyzerAsync(@" 253await VerifyCS.VerifyAnalyzerAsync(@" 288await VerifyCS.VerifyAnalyzerAsync(@" 331await VerifyCS.VerifyAnalyzerAsync(@" 357await VerifyCS.VerifyAnalyzerAsync(@" 395await VerifyCS.VerifyAnalyzerAsync(@" 449await VerifyCS.VerifyAnalyzerAsync(@" 477await VerifyCS.VerifyAnalyzerAsync(@" 513await VerifyCS.VerifyAnalyzerAsync(@" 543await VerifyCS.VerifyAnalyzerAsync(@" 611await VerifyCS.VerifyAnalyzerAsync(@" 651await VerifyCS.VerifyAnalyzerAsync(@" 819await VerifyCS.VerifyAnalyzerAsync(@" 1020await VerifyCS.VerifyAnalyzerAsync(@" 1098await VerifyCS.VerifyAnalyzerAsync(@" 1185await VerifyCS.VerifyAnalyzerAsync(@" 1227await VerifyCS.VerifyAnalyzerAsync(@" 1253await VerifyCS.VerifyAnalyzerAsync(@" 1480await VerifyCS.VerifyAnalyzerAsync(@" 1580await VerifyCS.VerifyAnalyzerAsync(@" 1685await VerifyCS.VerifyAnalyzerAsync(@" 1772await VerifyCS.VerifyAnalyzerAsync(@" 1798await VerifyCS.VerifyAnalyzerAsync(@" 1826await VerifyCS.VerifyAnalyzerAsync(@" 1894await VerifyCS.VerifyAnalyzerAsync(@" 1937await VerifyCS.VerifyAnalyzerAsync(@" 2124await VerifyCS.VerifyAnalyzerAsync(@" 2165await VerifyCS.VerifyAnalyzerAsync(@" 2304await VerifyCS.VerifyAnalyzerAsync(@" 2357await VerifyCS.VerifyAnalyzerAsync(@" 2410await VerifyCS.VerifyAnalyzerAsync(@" 2463await VerifyCS.VerifyAnalyzerAsync(@" 2513await VerifyCS.VerifyAnalyzerAsync(@" 2568await VerifyCS.VerifyAnalyzerAsync(@" 2613await VerifyCS.VerifyAnalyzerAsync(@" 2663await VerifyCS.VerifyAnalyzerAsync(@" 2713await VerifyCS.VerifyAnalyzerAsync(@" 2745await VerifyCS.VerifyAnalyzerAsync(@" 2803await VerifyCS.VerifyAnalyzerAsync(@" 2861await VerifyCS.VerifyAnalyzerAsync(@" 2915await VerifyCS.VerifyAnalyzerAsync(@" 2954await VerifyCS.VerifyAnalyzerAsync(@" 3007await VerifyCS.VerifyAnalyzerAsync(@" 3030await VerifyCS.VerifyAnalyzerAsync(@" 3060await VerifyCS.VerifyAnalyzerAsync(@" 3093await VerifyCS.VerifyAnalyzerAsync(@" 3128await VerifyCS.VerifyAnalyzerAsync(@" 3181await VerifyCS.VerifyAnalyzerAsync(@" 3238await VerifyCS.VerifyAnalyzerAsync(@" 3307await VerifyCS.VerifyAnalyzerAsync(@" 3364await VerifyCS.VerifyAnalyzerAsync(@" 3419await VerifyCS.VerifyAnalyzerAsync(@" 3465await VerifyCS.VerifyAnalyzerAsync(@" 3504await VerifyCS.VerifyAnalyzerAsync(@" 3543await VerifyCS.VerifyAnalyzerAsync(@" 3582await VerifyCS.VerifyAnalyzerAsync(@" 3621await VerifyCS.VerifyAnalyzerAsync(@" 3666await VerifyCS.VerifyAnalyzerAsync(@" 3716await VerifyCS.VerifyAnalyzerAsync(@" 3744await VerifyCS.VerifyAnalyzerAsync(@" 3776await VerifyCS.VerifyAnalyzerAsync(@" 3805await VerifyCS.VerifyAnalyzerAsync(@" 3900await VerifyCS.VerifyAnalyzerAsync(@" 3923await VerifyCS.VerifyAnalyzerAsync(@" 3970await VerifyCS.VerifyAnalyzerAsync(@" 3996await VerifyCS.VerifyAnalyzerAsync(@" 4209await VerifyCS.VerifyAnalyzerAsync(@" 4269await VerifyCS.VerifyAnalyzerAsync(@" 4303await VerifyCS.VerifyAnalyzerAsync(@" 4345await VerifyCS.VerifyAnalyzerAsync(@" 4369await VerifyCS.VerifyAnalyzerAsync(@" 4407await VerifyCS.VerifyAnalyzerAsync(@" 4445await VerifyCS.VerifyAnalyzerAsync(@" 4469await VerifyCS.VerifyAnalyzerAsync(@" 4539await VerifyCS.VerifyAnalyzerAsync(@" 4575await VerifyCS.VerifyAnalyzerAsync(@" 4606await VerifyCS.VerifyAnalyzerAsync(@" 4676await VerifyCS.VerifyAnalyzerAsync(@" 4706await VerifyCS.VerifyAnalyzerAsync(@" 4753await VerifyCS.VerifyAnalyzerAsync(@" 4792await VerifyCS.VerifyAnalyzerAsync(@" 4841await VerifyCS.VerifyAnalyzerAsync(@" 4878await VerifyCS.VerifyAnalyzerAsync(@" 4897await VerifyCS.VerifyAnalyzerAsync(@" 4924await VerifyCS.VerifyAnalyzerAsync(@" 4951await VerifyCS.VerifyAnalyzerAsync(@" 5063await VerifyCS.VerifyAnalyzerAsync(@" 5092await VerifyCS.VerifyAnalyzerAsync(@" 5130await VerifyCS.VerifyAnalyzerAsync(@" 5154await VerifyCS.VerifyAnalyzerAsync(@" 5185await VerifyCS.VerifyAnalyzerAsync(@" 5224await VerifyCS.VerifyAnalyzerAsync(@" 5254await VerifyCS.VerifyAnalyzerAsync(@" 5292await VerifyCS.VerifyAnalyzerAsync(@" 5323await VerifyCS.VerifyAnalyzerAsync(@" 5348await VerifyCS.VerifyAnalyzerAsync(@" 5373await VerifyCS.VerifyAnalyzerAsync(@" 5398await VerifyCS.VerifyAnalyzerAsync(@" 5437await VerifyCS.VerifyAnalyzerAsync(@" 5483await VerifyCS.VerifyAnalyzerAsync(@" 5608await VerifyCS.VerifyAnalyzerAsync(@" 5632await VerifyCS.VerifyAnalyzerAsync(@" 5721await VerifyCS.VerifyAnalyzerAsync(@" 5747await VerifyCS.VerifyAnalyzerAsync(@" 5784await VerifyCS.VerifyAnalyzerAsync(@" 5805await VerifyCS.VerifyAnalyzerAsync(@" 5835await VerifyCS.VerifyAnalyzerAsync($@" 5873await VerifyCS.VerifyAnalyzerAsync($@" 5901await VerifyCS.VerifyAnalyzerAsync($@" 5925await VerifyCS.VerifyAnalyzerAsync($@" 5943await VerifyCS.VerifyAnalyzerAsync($@" 5961await VerifyCS.VerifyAnalyzerAsync($@" 5984await VerifyCS.VerifyAnalyzerAsync(@" 6016await VerifyCS.VerifyAnalyzerAsync(@" 6038await VerifyCS.VerifyAnalyzerAsync(@" 6058await VerifyCS.VerifyAnalyzerAsync(@" 6078await VerifyCS.VerifyAnalyzerAsync(@" 6094await VerifyCS.VerifyAnalyzerAsync(@" 6119await VerifyCS.VerifyAnalyzerAsync(@" 6143await VerifyCS.VerifyAnalyzerAsync(@" 6173await VerifyCS.VerifyAnalyzerAsync(@" 6197await VerifyCS.VerifyAnalyzerAsync($@" 6217await VerifyCS.VerifyAnalyzerAsync($@" 6241await VerifyCS.VerifyAnalyzerAsync($@" 6346await VerifyCS.VerifyAnalyzerAsync(@" 6625await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.NetCore.Analyzers\ImmutableCollections\DoNotCallToImmutableCollectionOnAnImmutableCollectionValueTests.cs (5)
39await VerifyCS.VerifyAnalyzerAsync($@" 120await VerifyCS.VerifyAnalyzerAsync($@" 200await VerifyCS.VerifyAnalyzerAsync(@" 220await VerifyCS.VerifyAnalyzerAsync($@" 288await VerifyCS.VerifyAnalyzerAsync($@"
Microsoft.NetCore.Analyzers\InteropServices\AvoidStringBuilderPInvokeParametersTests.cs (2)
29await VerifyCS.VerifyAnalyzerAsync(source); 48await VerifyCS.VerifyAnalyzerAsync(
Microsoft.NetCore.Analyzers\InteropServices\DoNotUseOutAttributeStringPInvokeParametersTests.cs (3)
35await VerifyCS.VerifyAnalyzerAsync(source); 49await VerifyCS.VerifyAnalyzerAsync(source); 67await VerifyCS.VerifyAnalyzerAsync(
Microsoft.NetCore.Analyzers\InteropServices\PInvokeDiagnosticAnalyzerTests.cs (9)
55await VerifyCS.VerifyAnalyzerAsync(@" 80await VerifyCS.VerifyAnalyzerAsync(@" 230await VerifyCS.VerifyAnalyzerAsync(@" 265await VerifyCS.VerifyAnalyzerAsync(@" 293await VerifyCS.VerifyAnalyzerAsync(@" 397await VerifyCS.VerifyAnalyzerAsync(@" 515await VerifyCS.VerifyAnalyzerAsync(@" 588await VerifyCS.VerifyAnalyzerAsync(@" 646await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.NetCore.Analyzers\InteropServices\ProvidePublicParameterlessSafeHandleConstructorTests.cs (3)
27await VerifyCS.VerifyAnalyzerAsync(source); 55await VerifyCS.VerifyAnalyzerAsync(source); 154await VerifyCS.VerifyAnalyzerAsync(source);
Microsoft.NetCore.Analyzers\Performance\AvoidSingleUseOfLocalJsonSerializerOptionsTests.cs (26)
24=> VerifyCS.VerifyAnalyzerAsync(""" 40=> VerifyCS.VerifyAnalyzerAsync(""" 96=> VerifyCS.VerifyAnalyzerAsync($$""" 116=> VerifyCS.VerifyAnalyzerAsync($$""" 131=> VerifyCS.VerifyAnalyzerAsync(""" 148=> VerifyCS.VerifyAnalyzerAsync(""" 165=> VerifyCS.VerifyAnalyzerAsync(""" 186=> VerifyCS.VerifyAnalyzerAsync($$""" 203=> VerifyCS.VerifyAnalyzerAsync(""" 223=> VerifyCS.VerifyAnalyzerAsync(""" 277=> VerifyCS.VerifyAnalyzerAsync($$""" 341=> VerifyCS.VerifyAnalyzerAsync(""" 358=> VerifyCS.VerifyAnalyzerAsync(""" 376=> VerifyCS.VerifyAnalyzerAsync(""" 395=> VerifyCS.VerifyAnalyzerAsync(""" 416=> VerifyCS.VerifyAnalyzerAsync(""" 436=> VerifyCS.VerifyAnalyzerAsync(""" 457=> VerifyCS.VerifyAnalyzerAsync(""" 586=> VerifyCS.VerifyAnalyzerAsync(""" 608=> VerifyCS.VerifyAnalyzerAsync($$""" 631=> VerifyCS.VerifyAnalyzerAsync($$""" 655=> VerifyCS.VerifyAnalyzerAsync($$""" 676=> VerifyCS.VerifyAnalyzerAsync($$""" 697=> VerifyCS.VerifyAnalyzerAsync(""" 717=> VerifyCS.VerifyAnalyzerAsync(""" 767=> VerifyCS.VerifyAnalyzerAsync($$"""
Microsoft.NetCore.Analyzers\Performance\CollapseMultiplePathOperationsTests.cs (6)
25await VerifyCS.VerifyAnalyzerAsync(csCode); 42await VerifyCS.VerifyAnalyzerAsync(csCode); 167await VerifyCS.VerifyAnalyzerAsync(csCode); 364await VerifyCS.VerifyAnalyzerAsync(csCode); 381await VerifyCS.VerifyAnalyzerAsync(csCode); 398await VerifyCS.VerifyAnalyzerAsync(csCode);
Microsoft.NetCore.Analyzers\Performance\DoNotGuardDictionaryRemoveByContainsKeyTests.cs (11)
33await VerifyCS.VerifyAnalyzerAsync(source); 730await VerifyCS.VerifyAnalyzerAsync(source); 751await VerifyCS.VerifyAnalyzerAsync(source); 774await VerifyCS.VerifyAnalyzerAsync(source); 797await VerifyCS.VerifyAnalyzerAsync(source); 818await VerifyCS.VerifyAnalyzerAsync(source); 840await VerifyCS.VerifyAnalyzerAsync(source); 862await VerifyCS.VerifyAnalyzerAsync(source); 884await VerifyCS.VerifyAnalyzerAsync(source); 911await VerifyCS.VerifyAnalyzerAsync(source); 2077await VerifyCS.VerifyAnalyzerAsync(source);
Microsoft.NetCore.Analyzers\Performance\DoNotGuardSetAddOrRemoveByContainsTests.cs (11)
33await VerifyCS.VerifyAnalyzerAsync(source); 730await VerifyCS.VerifyAnalyzerAsync(source); 751await VerifyCS.VerifyAnalyzerAsync(source); 774await VerifyCS.VerifyAnalyzerAsync(source); 797await VerifyCS.VerifyAnalyzerAsync(source); 818await VerifyCS.VerifyAnalyzerAsync(source); 840await VerifyCS.VerifyAnalyzerAsync(source); 862await VerifyCS.VerifyAnalyzerAsync(source); 884await VerifyCS.VerifyAnalyzerAsync(source); 911await VerifyCS.VerifyAnalyzerAsync(source); 2058await VerifyCS.VerifyAnalyzerAsync(source);
Microsoft.NetCore.Analyzers\Performance\DoNotUseAsParallelInForEachLoopTests.cs (8)
37return VerifyCS.VerifyAnalyzerAsync(code); 78return VerifyCS.VerifyAnalyzerAsync(code); 100return VerifyCS.VerifyAnalyzerAsync(code); 120return VerifyCS.VerifyAnalyzerAsync(code); 140return VerifyCS.VerifyAnalyzerAsync(code); 160return VerifyCS.VerifyAnalyzerAsync(code); 182return VerifyCS.VerifyAnalyzerAsync(code); 204return VerifyCS.VerifyAnalyzerAsync(code);
Microsoft.NetCore.Analyzers\Performance\PreferCountOverAnyTests.cs (4)
189return VerifyCS.VerifyAnalyzerAsync(code); 221return VerifyCS.VerifyAnalyzerAsync(code); 254return VerifyCS.VerifyAnalyzerAsync(code); 445return VerifyCS.VerifyAnalyzerAsync(code);
Microsoft.NetCore.Analyzers\Performance\PreferDictionaryTryAddOverGuardedAddTests.cs (1)
581return VerifyCS.VerifyAnalyzerAsync(code);
Microsoft.NetCore.Analyzers\Performance\PreferDictionaryTryGetValueMethodsTests.cs (4)
1821return VerifyCS.VerifyAnalyzerAsync(code); 1845return VerifyCS.VerifyAnalyzerAsync(code); 1869return VerifyCS.VerifyAnalyzerAsync(code); 1894return VerifyCS.VerifyAnalyzerAsync(code);
Microsoft.NetCore.Analyzers\Performance\PreferIsEmptyOverAnyTests.cs (3)
185return VerifyCS.VerifyAnalyzerAsync(code); 217return VerifyCS.VerifyAnalyzerAsync(code); 466return VerifyCS.VerifyAnalyzerAsync(code);
Microsoft.NetCore.Analyzers\Performance\PreferIsEmptyOverCountTests.cs (4)
286=> VerifyCS.VerifyAnalyzerAsync( 320=> VerifyCS.VerifyAnalyzerAsync( 331=> VerifyCS.VerifyAnalyzerAsync( 447=> VerifyCS.VerifyAnalyzerAsync(
Microsoft.NetCore.Analyzers\Performance\PreferLengthOverAnyTests.cs (4)
187return VerifyCS.VerifyAnalyzerAsync(code); 219return VerifyCS.VerifyAnalyzerAsync(code); 256return VerifyCS.VerifyAnalyzerAsync(code); 280return VerifyCS.VerifyAnalyzerAsync(code);
Microsoft.NetCore.Analyzers\Performance\UseCompositeFormatTests.cs (1)
16await VerifyCS.VerifyAnalyzerAsync("""
Microsoft.NetCore.Analyzers\Performance\UsePropertyInsteadOfCountMethodWhenAvailableTests.cs (5)
323=> VerifyCS.VerifyAnalyzerAsync( 465=> VerifyCS.VerifyAnalyzerAsync( 660await VerifyCS.VerifyAnalyzerAsync(@" 747await VerifyCS.VerifyAnalyzerAsync(@" 762await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.NetCore.Analyzers\Performance\UseSpanClearInsteadOfFillTests.cs (1)
358await VerifyCS.VerifyAnalyzerAsync(source,
Microsoft.NetCore.Analyzers\Resources\MarkAssembliesWithNeutralResourcesLanguageTests.cs (1)
47await VerifyCS.VerifyAnalyzerAsync(@"class C {}");
Microsoft.NetCore.Analyzers\Runtime\AttributeStringLiteralsShouldParseCorrectlyTests.cs (5)
21await VerifyCS.VerifyAnalyzerAsync(@" 65await VerifyCS.VerifyAnalyzerAsync(@" 142await VerifyCS.VerifyAnalyzerAsync(@" 199await VerifyCS.VerifyAnalyzerAsync(@" 594await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.NetCore.Analyzers\Runtime\AvoidConstArraysTests.cs (11)
609await VerifyCS.VerifyAnalyzerAsync(@" 637await VerifyCS.VerifyAnalyzerAsync(@" 665await VerifyCS.VerifyAnalyzerAsync(@" 699await VerifyCS.VerifyAnalyzerAsync(@" 723await VerifyCS.VerifyAnalyzerAsync(@" 745await VerifyCS.VerifyAnalyzerAsync(@" 766await VerifyCS.VerifyAnalyzerAsync(@" 827await VerifyCS.VerifyAnalyzerAsync(@" 982return VerifyCS.VerifyAnalyzerAsync(source); 1005return VerifyCS.VerifyAnalyzerAsync(source); 1106return VerifyCS.VerifyAnalyzerAsync(code);
Microsoft.NetCore.Analyzers\Runtime\AvoidUnsealedAttributesTests.cs (3)
22await VerifyCS.VerifyAnalyzerAsync(@" 43await VerifyCS.VerifyAnalyzerAsync(@" 62await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.NetCore.Analyzers\Runtime\AvoidZeroLengthArrayAllocationsTests.cs (5)
172await VerifyCS.VerifyAnalyzerAsync(badSource); 377await VerifyCS.VerifyAnalyzerAsync(source + arrayEmptySource); 399await VerifyCS.VerifyAnalyzerAsync(source + arrayEmptySource); 422await VerifyCS.VerifyAnalyzerAsync(source); 445await VerifyCS.VerifyAnalyzerAsync(source);
Microsoft.NetCore.Analyzers\Runtime\BufferBlockCopyLengthTests.cs (18)
21await VerifyCS.VerifyAnalyzerAsync(@" 55await VerifyCS.VerifyAnalyzerAsync(@" 89await VerifyCS.VerifyAnalyzerAsync(@" 123await VerifyCS.VerifyAnalyzerAsync(@" 155await VerifyCS.VerifyAnalyzerAsync(@" 191await VerifyCS.VerifyAnalyzerAsync(@" 225await VerifyCS.VerifyAnalyzerAsync(@" 257await VerifyCS.VerifyAnalyzerAsync(@" 291await VerifyCS.VerifyAnalyzerAsync(@" 324await VerifyCS.VerifyAnalyzerAsync(@" 358await VerifyCS.VerifyAnalyzerAsync(@" 396await VerifyCS.VerifyAnalyzerAsync(@" 437await VerifyCS.VerifyAnalyzerAsync(@" 463await VerifyCS.VerifyAnalyzerAsync(@" 495await VerifyCS.VerifyAnalyzerAsync(@" 535await VerifyCS.VerifyAnalyzerAsync(@" 573await VerifyCS.VerifyAnalyzerAsync(@" 605await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.NetCore.Analyzers\Runtime\CallGCSuppressFinalizeCorrectlyTests.cs (19)
59await VerifyCS.VerifyAnalyzerAsync(code); 110await VerifyCS.VerifyAnalyzerAsync(code); 206await VerifyCS.VerifyAnalyzerAsync(code); 257await VerifyCS.VerifyAnalyzerAsync(code); 311await VerifyCS.VerifyAnalyzerAsync(code); 360await VerifyCS.VerifyAnalyzerAsync(code); 409await VerifyCS.VerifyAnalyzerAsync(code); 453await VerifyCS.VerifyAnalyzerAsync(code); 493await VerifyCS.VerifyAnalyzerAsync(code); 532await VerifyCS.VerifyAnalyzerAsync(csharpCode); 593await VerifyCS.VerifyAnalyzerAsync(code, diagnosticResult); 671await VerifyCS.VerifyAnalyzerAsync(code, diagnosticResult); 745await VerifyCS.VerifyAnalyzerAsync(code, diagnosticResult); 822await VerifyCS.VerifyAnalyzerAsync(code, diagnosticResult); 895await VerifyCS.VerifyAnalyzerAsync(code, diagnosticResult); 950await VerifyCS.VerifyAnalyzerAsync(code, diagnosticResult); 1003await VerifyCS.VerifyAnalyzerAsync(code, diagnosticResult); 1088await VerifyCS.VerifyAnalyzerAsync(code, diagnosticResult1, diagnosticResult2, diagnosticResult3, diagnosticResult4); 1183await VerifyCS.VerifyAnalyzerAsync(code, diagnosticResult);
Microsoft.NetCore.Analyzers\Runtime\DisposableFieldsShouldBeDisposedTests.cs (53)
39await VerifyCS.VerifyAnalyzerAsync(@" 90await VerifyCS.VerifyAnalyzerAsync(@" 143await VerifyCS.VerifyAnalyzerAsync(@" 194await VerifyCS.VerifyAnalyzerAsync(@" 247await VerifyCS.VerifyAnalyzerAsync(@" 295await VerifyCS.VerifyAnalyzerAsync(@" 347await VerifyCS.VerifyAnalyzerAsync(@" 837await VerifyCS.VerifyAnalyzerAsync(@" 890await VerifyCS.VerifyAnalyzerAsync(@" 945await VerifyCS.VerifyAnalyzerAsync(@" 998await VerifyCS.VerifyAnalyzerAsync(@" 1053await VerifyCS.VerifyAnalyzerAsync(@" 1104await VerifyCS.VerifyAnalyzerAsync(@" 1333await VerifyCS.VerifyAnalyzerAsync(@" 1390await VerifyCS.VerifyAnalyzerAsync(@" 1449await VerifyCS.VerifyAnalyzerAsync(@" 1506await VerifyCS.VerifyAnalyzerAsync(@" 1566await VerifyCS.VerifyAnalyzerAsync(@" 1627await VerifyCS.VerifyAnalyzerAsync(@" 1697await VerifyCS.VerifyAnalyzerAsync(@" 1753await VerifyCS.VerifyAnalyzerAsync(@" 1863await VerifyCS.VerifyAnalyzerAsync(@" 1955await VerifyCS.VerifyAnalyzerAsync(@" 1999await VerifyCS.VerifyAnalyzerAsync(@" 2045await VerifyCS.VerifyAnalyzerAsync(@" 2093await VerifyCS.VerifyAnalyzerAsync(@" 2177await VerifyCS.VerifyAnalyzerAsync(@" 2266await VerifyCS.VerifyAnalyzerAsync(@" 2327await VerifyCS.VerifyAnalyzerAsync(@" 2394await VerifyCS.VerifyAnalyzerAsync(@" 2466await VerifyCS.VerifyAnalyzerAsync(@" 2519await VerifyCS.VerifyAnalyzerAsync(@" 2578await VerifyCS.VerifyAnalyzerAsync(@" 2629await VerifyCS.VerifyAnalyzerAsync(@" 2689await VerifyCS.VerifyAnalyzerAsync(@" 2740await VerifyCS.VerifyAnalyzerAsync(@" 2820await VerifyCS.VerifyAnalyzerAsync(@" 2880await VerifyCS.VerifyAnalyzerAsync(@" 2918await VerifyCS.VerifyAnalyzerAsync(@" 2970await VerifyCS.VerifyAnalyzerAsync(@" 3042await VerifyCS.VerifyAnalyzerAsync(@" 3095await VerifyCS.VerifyAnalyzerAsync(@" 3150await VerifyCS.VerifyAnalyzerAsync(@" 3193await VerifyCS.VerifyAnalyzerAsync(@" 3238await VerifyCS.VerifyAnalyzerAsync(@" 3295await VerifyCS.VerifyAnalyzerAsync(@" 3354await VerifyCS.VerifyAnalyzerAsync(@" 3390await VerifyCS.VerifyAnalyzerAsync(@" 3443await VerifyCS.VerifyAnalyzerAsync(@" 3834await VerifyCS.VerifyAnalyzerAsync(@" 3858await VerifyCS.VerifyAnalyzerAsync(@" 3917await VerifyCS.VerifyAnalyzerAsync(@" 3938await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.NetCore.Analyzers\Runtime\DisposableTypesShouldDeclareFinalizerTests.cs (8)
44await VerifyCS.VerifyAnalyzerAsync(code, 109await VerifyCS.VerifyAnalyzerAsync(code); 171await VerifyCS.VerifyAnalyzerAsync(code); 226await VerifyCS.VerifyAnalyzerAsync(code); 284await VerifyCS.VerifyAnalyzerAsync(code); 342await VerifyCS.VerifyAnalyzerAsync(code, 403await VerifyCS.VerifyAnalyzerAsync(code, 464await VerifyCS.VerifyAnalyzerAsync(code);
Microsoft.NetCore.Analyzers\Runtime\DisposeMethodsShouldCallBaseClassDisposeTests.cs (21)
35await VerifyCS.VerifyAnalyzerAsync(@" 68await VerifyCS.VerifyAnalyzerAsync(@" 106await VerifyCS.VerifyAnalyzerAsync(@" 147await VerifyCS.VerifyAnalyzerAsync(@" 212await VerifyCS.VerifyAnalyzerAsync(@" 264await VerifyCS.VerifyAnalyzerAsync(@" 318await VerifyCS.VerifyAnalyzerAsync(@" 368await VerifyCS.VerifyAnalyzerAsync(@" 419await VerifyCS.VerifyAnalyzerAsync(@" 474await VerifyCS.VerifyAnalyzerAsync(@" 542await VerifyCS.VerifyAnalyzerAsync(@" 614await VerifyCS.VerifyAnalyzerAsync(@" 650await VerifyCS.VerifyAnalyzerAsync(@" 689await VerifyCS.VerifyAnalyzerAsync(@" 732await VerifyCS.VerifyAnalyzerAsync(@" 786await VerifyCS.VerifyAnalyzerAsync(@" 838await VerifyCS.VerifyAnalyzerAsync(@" 894await VerifyCS.VerifyAnalyzerAsync(@" 946await VerifyCS.VerifyAnalyzerAsync(@" 993await VerifyCS.VerifyAnalyzerAsync(@" 1045await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.NetCore.Analyzers\Runtime\DisposeObjectsBeforeLosingScopeTests.cs (161)
81await VerifyCS.VerifyAnalyzerAsync(@" 121await VerifyCS.VerifyAnalyzerAsync(@" 163await VerifyCS.VerifyAnalyzerAsync(@" 213await VerifyCS.VerifyAnalyzerAsync(@" 257await VerifyCS.VerifyAnalyzerAsync(@" 297await VerifyCS.VerifyAnalyzerAsync(@" 339await VerifyCS.VerifyAnalyzerAsync(@" 378await VerifyCS.VerifyAnalyzerAsync(@" 433await VerifyCS.VerifyAnalyzerAsync(@" 485await VerifyCS.VerifyAnalyzerAsync(@" 516await VerifyCS.VerifyAnalyzerAsync(@" 545await VerifyCS.VerifyAnalyzerAsync(@" 580await VerifyCS.VerifyAnalyzerAsync(@" 607await VerifyCS.VerifyAnalyzerAsync(@" 661await VerifyCS.VerifyAnalyzerAsync(@" 713await VerifyCS.VerifyAnalyzerAsync(@" 765await VerifyCS.VerifyAnalyzerAsync(@" 842await VerifyCS.VerifyAnalyzerAsync(@" 923await VerifyCS.VerifyAnalyzerAsync(@" 1022await VerifyCS.VerifyAnalyzerAsync(@" 1095await VerifyCS.VerifyAnalyzerAsync(@" 1170await VerifyCS.VerifyAnalyzerAsync(@" 1748await VerifyCS.VerifyAnalyzerAsync(@" 1807await VerifyCS.VerifyAnalyzerAsync(@" 1866await VerifyCS.VerifyAnalyzerAsync(@" 2362await VerifyCS.VerifyAnalyzerAsync(@" 2403await VerifyCS.VerifyAnalyzerAsync(@" 2446await VerifyCS.VerifyAnalyzerAsync(@" 2489await VerifyCS.VerifyAnalyzerAsync(@" 2534await VerifyCS.VerifyAnalyzerAsync(@" 2574await VerifyCS.VerifyAnalyzerAsync(@" 2614await VerifyCS.VerifyAnalyzerAsync(@" 2656await VerifyCS.VerifyAnalyzerAsync(@" 2700await VerifyCS.VerifyAnalyzerAsync(@" 3280await VerifyCS.VerifyAnalyzerAsync(@" 3326await VerifyCS.VerifyAnalyzerAsync(@" 3366await VerifyCS.VerifyAnalyzerAsync(@" 3422await VerifyCS.VerifyAnalyzerAsync(@" 3480await VerifyCS.VerifyAnalyzerAsync(@" 3564await VerifyCS.VerifyAnalyzerAsync(@" 3617await VerifyCS.VerifyAnalyzerAsync(@" 3677await VerifyCS.VerifyAnalyzerAsync(@" 3711await VerifyCS.VerifyAnalyzerAsync(@" 3751await VerifyCS.VerifyAnalyzerAsync(@" 3801await VerifyCS.VerifyAnalyzerAsync(@" 3854await VerifyCS.VerifyAnalyzerAsync(@" 3910await VerifyCS.VerifyAnalyzerAsync(@" 3971await VerifyCS.VerifyAnalyzerAsync(@" 4040await VerifyCS.VerifyAnalyzerAsync(@" 4096await VerifyCS.VerifyAnalyzerAsync(@" 4151await VerifyCS.VerifyAnalyzerAsync(@" 4220await VerifyCS.VerifyAnalyzerAsync(@" 4287await VerifyCS.VerifyAnalyzerAsync(@" 4348await VerifyCS.VerifyAnalyzerAsync(@" 4402await VerifyCS.VerifyAnalyzerAsync(@" 4477await VerifyCS.VerifyAnalyzerAsync(@" 4577await VerifyCS.VerifyAnalyzerAsync(@" 4716await VerifyCS.VerifyAnalyzerAsync(@" 4886await VerifyCS.VerifyAnalyzerAsync(@" 4957await VerifyCS.VerifyAnalyzerAsync(@" 4993await VerifyCS.VerifyAnalyzerAsync(@" 5037await VerifyCS.VerifyAnalyzerAsync(@" 5114await VerifyCS.VerifyAnalyzerAsync(@" 5173await VerifyCS.VerifyAnalyzerAsync(@" 5203await VerifyCS.VerifyAnalyzerAsync(@" 5235await VerifyCS.VerifyAnalyzerAsync(@" 5263await VerifyCS.VerifyAnalyzerAsync(@" 5298await VerifyCS.VerifyAnalyzerAsync(@" 5331await VerifyCS.VerifyAnalyzerAsync(@" 5366await VerifyCS.VerifyAnalyzerAsync(@" 5401await VerifyCS.VerifyAnalyzerAsync(@" 5434await VerifyCS.VerifyAnalyzerAsync(@" 5468await VerifyCS.VerifyAnalyzerAsync(@" 5504await VerifyCS.VerifyAnalyzerAsync(@" 5536await VerifyCS.VerifyAnalyzerAsync(@" 5574await VerifyCS.VerifyAnalyzerAsync(@" 5610await VerifyCS.VerifyAnalyzerAsync(@" 5650await VerifyCS.VerifyAnalyzerAsync(@" 5693await VerifyCS.VerifyAnalyzerAsync(@" 5736await VerifyCS.VerifyAnalyzerAsync(@" 5793await VerifyCS.VerifyAnalyzerAsync(@" 5847await VerifyCS.VerifyAnalyzerAsync(@" 5905await VerifyCS.VerifyAnalyzerAsync(@" 5962await VerifyCS.VerifyAnalyzerAsync(@" 5993await VerifyCS.VerifyAnalyzerAsync(@" 6025await VerifyCS.VerifyAnalyzerAsync(@" 6059await VerifyCS.VerifyAnalyzerAsync(@" 6089await VerifyCS.VerifyAnalyzerAsync(@" 6126await VerifyCS.VerifyAnalyzerAsync(@" 6161await VerifyCS.VerifyAnalyzerAsync(@" 6200await VerifyCS.VerifyAnalyzerAsync(@" 6241await VerifyCS.VerifyAnalyzerAsync(@" 6282await VerifyCS.VerifyAnalyzerAsync(@" 6378await VerifyCS.VerifyAnalyzerAsync(@" 6435await VerifyCS.VerifyAnalyzerAsync(@" 6492await VerifyCS.VerifyAnalyzerAsync(@" 6544await VerifyCS.VerifyAnalyzerAsync(@" 6589await VerifyCS.VerifyAnalyzerAsync(@" 6622await VerifyCS.VerifyAnalyzerAsync(@" 6654await VerifyCS.VerifyAnalyzerAsync(@" 6692await VerifyCS.VerifyAnalyzerAsync(@" 6729await VerifyCS.VerifyAnalyzerAsync(@" 6794await VerifyCS.VerifyAnalyzerAsync(@" 6846await VerifyCS.VerifyAnalyzerAsync(@" 6906await VerifyCS.VerifyAnalyzerAsync(@" 7021await VerifyCS.VerifyAnalyzerAsync(@" 7507await VerifyCS.VerifyAnalyzerAsync(@" 7907await VerifyCS.VerifyAnalyzerAsync(@" 8062await VerifyCS.VerifyAnalyzerAsync(@" 8185await VerifyCS.VerifyAnalyzerAsync(@" 8210await VerifyCS.VerifyAnalyzerAsync(@" 8243await VerifyCS.VerifyAnalyzerAsync(@" 8352await VerifyCS.VerifyAnalyzerAsync(@" 8392await VerifyCS.VerifyAnalyzerAsync(@" 8454await VerifyCS.VerifyAnalyzerAsync(@" 8514await VerifyCS.VerifyAnalyzerAsync(@" 8645await VerifyCS.VerifyAnalyzerAsync(@" 8767await VerifyCS.VerifyAnalyzerAsync(@" 9017await VerifyCS.VerifyAnalyzerAsync(@" 9481await VerifyCS.VerifyAnalyzerAsync(@" 9509await VerifyCS.VerifyAnalyzerAsync(@" 9536await VerifyCS.VerifyAnalyzerAsync(@" 10571await VerifyCS.VerifyAnalyzerAsync(@" 10615await VerifyCS.VerifyAnalyzerAsync(@" 10756await VerifyCS.VerifyAnalyzerAsync(@" 10796await VerifyCS.VerifyAnalyzerAsync(@" 10838await VerifyCS.VerifyAnalyzerAsync(@" 10874await VerifyCS.VerifyAnalyzerAsync(@" 10897await VerifyCS.VerifyAnalyzerAsync(@" 10937await VerifyCS.VerifyAnalyzerAsync(@" 11019await VerifyCS.VerifyAnalyzerAsync(@" 11054await VerifyCS.VerifyAnalyzerAsync(@" 11103await VerifyCS.VerifyAnalyzerAsync(@" 11151await VerifyCS.VerifyAnalyzerAsync(@" 11178await VerifyCS.VerifyAnalyzerAsync(@" 11206await VerifyCS.VerifyAnalyzerAsync(@" 11231await VerifyCS.VerifyAnalyzerAsync(@" 11243await VerifyCS.VerifyAnalyzerAsync(@" 11262await VerifyCS.VerifyAnalyzerAsync(@" 11289await VerifyCS.VerifyAnalyzerAsync(@" 11314await VerifyCS.VerifyAnalyzerAsync(@" 11345await VerifyCS.VerifyAnalyzerAsync(@" 11370await VerifyCS.VerifyAnalyzerAsync(@" 11388await VerifyCS.VerifyAnalyzerAsync(@" 11413await VerifyCS.VerifyAnalyzerAsync(@" 11533await VerifyCS.VerifyAnalyzerAsync(@" 11568await VerifyCS.VerifyAnalyzerAsync(@" 11603await VerifyCS.VerifyAnalyzerAsync(@" 11639await VerifyCS.VerifyAnalyzerAsync(@" 11675await VerifyCS.VerifyAnalyzerAsync(@" 11696await VerifyCS.VerifyAnalyzerAsync(@" 11718await VerifyCS.VerifyAnalyzerAsync(@" 11933await VerifyCS.VerifyAnalyzerAsync(@" 12212await VerifyCS.VerifyAnalyzerAsync(@" 12385await VerifyCS.VerifyAnalyzerAsync(@" 12421await VerifyCS.VerifyAnalyzerAsync(@" 12516await VerifyCS.VerifyAnalyzerAsync(@" 12558await VerifyCS.VerifyAnalyzerAsync(@" 12637await VerifyCS.VerifyAnalyzerAsync(@" 12674await VerifyCS.VerifyAnalyzerAsync(@" 12704await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.NetCore.Analyzers\Runtime\DoNotCallEnumerableCastOrOfTypeWithIncompatibleTypesAnalyzerTests.cs (11)
30await VerifyCS.VerifyAnalyzerAsync(@" 54await VerifyCS.VerifyAnalyzerAsync(@" 81await VerifyCS.VerifyAnalyzerAsync(@" 117await VerifyCS.VerifyAnalyzerAsync(@" 140await VerifyCS.VerifyAnalyzerAsync(@" 161await VerifyCS.VerifyAnalyzerAsync(@" 181await VerifyCS.VerifyAnalyzerAsync(@" 205await VerifyCS.VerifyAnalyzerAsync(@" 341await VerifyCS.VerifyAnalyzerAsync(@" 446await VerifyCS.VerifyAnalyzerAsync(@" 533await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.NetCore.Analyzers\Runtime\DoNotLockOnObjectsWithWeakIdentityTests.cs (5)
21await VerifyCS.VerifyAnalyzerAsync(@" 48await VerifyCS.VerifyAnalyzerAsync(@" 168await VerifyCS.VerifyAnalyzerAsync(@" 259await VerifyCS.VerifyAnalyzerAsync(@" 303await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.NetCore.Analyzers\Runtime\DoNotPassLiteralsAsLocalizedParametersTests.cs (26)
26await VerifyCS.VerifyAnalyzerAsync(@" 70await VerifyCS.VerifyAnalyzerAsync(@" 108await VerifyCS.VerifyAnalyzerAsync(@" 148await VerifyCS.VerifyAnalyzerAsync(@" 189await VerifyCS.VerifyAnalyzerAsync(@" 234await VerifyCS.VerifyAnalyzerAsync(@" 278await VerifyCS.VerifyAnalyzerAsync(@" 322await VerifyCS.VerifyAnalyzerAsync(@" 365await VerifyCS.VerifyAnalyzerAsync(@" 416await VerifyCS.VerifyAnalyzerAsync(@" 554await VerifyCS.VerifyAnalyzerAsync(@" 594await VerifyCS.VerifyAnalyzerAsync(@" 640await VerifyCS.VerifyAnalyzerAsync(@" 682await VerifyCS.VerifyAnalyzerAsync(@" 728await VerifyCS.VerifyAnalyzerAsync(@" 801await VerifyCS.VerifyAnalyzerAsync(@" 845await VerifyCS.VerifyAnalyzerAsync(@" 889await VerifyCS.VerifyAnalyzerAsync(@" 927await VerifyCS.VerifyAnalyzerAsync(@" 972await VerifyCS.VerifyAnalyzerAsync(@" 1012await VerifyCS.VerifyAnalyzerAsync(@" 1056await VerifyCS.VerifyAnalyzerAsync(@" 1098await VerifyCS.VerifyAnalyzerAsync(@" 1140await VerifyCS.VerifyAnalyzerAsync(@" 1190await VerifyCS.VerifyAnalyzerAsync(@" 1252await VerifyCS.VerifyAnalyzerAsync($@"
Microsoft.NetCore.Analyzers\Runtime\DoNotRaiseReservedExceptionTypesTests.cs (3)
20await VerifyCS.VerifyAnalyzerAsync(@" 49await VerifyCS.VerifyAnalyzerAsync(@" 80await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.NetCore.Analyzers\Runtime\DoNotUseEndOfStreamInAsyncMethodsTests.cs (15)
42await VerifyCS.VerifyAnalyzerAsync(source); 73await VerifyCS.VerifyAnalyzerAsync(source); 104await VerifyCS.VerifyAnalyzerAsync(source); 124await VerifyCS.VerifyAnalyzerAsync(source); 144await VerifyCS.VerifyAnalyzerAsync(source); 167await VerifyCS.VerifyAnalyzerAsync(source); 190await VerifyCS.VerifyAnalyzerAsync(source); 208await VerifyCS.VerifyAnalyzerAsync(source); 230await VerifyCS.VerifyAnalyzerAsync(source); 251await VerifyCS.VerifyAnalyzerAsync(source); 271await VerifyCS.VerifyAnalyzerAsync(source); 290await VerifyCS.VerifyAnalyzerAsync(source); 313await VerifyCS.VerifyAnalyzerAsync(source); 335await VerifyCS.VerifyAnalyzerAsync(source); 358await VerifyCS.VerifyAnalyzerAsync(source);
Microsoft.NetCore.Analyzers\Runtime\DoNotUseReferenceEqualsWithValueTypesTests.cs (10)
21await VerifyCS.VerifyAnalyzerAsync(@" 50await VerifyCS.VerifyAnalyzerAsync(@" 81await VerifyCS.VerifyAnalyzerAsync(@" 112await VerifyCS.VerifyAnalyzerAsync(@" 141await VerifyCS.VerifyAnalyzerAsync(@" 171await VerifyCS.VerifyAnalyzerAsync(@" 203await VerifyCS.VerifyAnalyzerAsync(@" 240await VerifyCS.VerifyAnalyzerAsync(@" 271await VerifyCS.VerifyAnalyzerAsync(@" 302await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.NetCore.Analyzers\Runtime\ForwardCancellationTokenToInvocationsTests.cs (21)
23return VerifyCS.VerifyAnalyzerAsync(@" 40return VerifyCS.VerifyAnalyzerAsync(@" 55return VerifyCS.VerifyAnalyzerAsync(@" 72return VerifyCS.VerifyAnalyzerAsync(@" 89return VerifyCS.VerifyAnalyzerAsync(@" 107return VerifyCS.VerifyAnalyzerAsync(@" 125return VerifyCS.VerifyAnalyzerAsync(@" 141return VerifyCS.VerifyAnalyzerAsync(@" 160return VerifyCS.VerifyAnalyzerAsync(@" 178return VerifyCS.VerifyAnalyzerAsync(@" 196return VerifyCS.VerifyAnalyzerAsync(@" 214return VerifyCS.VerifyAnalyzerAsync(@" 232return VerifyCS.VerifyAnalyzerAsync(@" 250return VerifyCS.VerifyAnalyzerAsync(@" 268return VerifyCS.VerifyAnalyzerAsync(@" 285return VerifyCS.VerifyAnalyzerAsync(@" 386return VerifyCS.VerifyAnalyzerAsync(@" 414return VerifyCS.VerifyAnalyzerAsync(@" 441return VerifyCS.VerifyAnalyzerAsync(@" 485return VerifyCS.VerifyAnalyzerAsync(@" 527return VerifyCS.VerifyAnalyzerAsync(originalCode);
Microsoft.NetCore.Analyzers\Runtime\InitializeStaticFieldsInlineTests.cs (15)
23await VerifyCS.VerifyAnalyzerAsync(@" 44await VerifyCS.VerifyAnalyzerAsync(@" 65await VerifyCS.VerifyAnalyzerAsync(@" 96await VerifyCS.VerifyAnalyzerAsync(@" 129await VerifyCS.VerifyAnalyzerAsync(@" 161await VerifyCS.VerifyAnalyzerAsync(@" 198await VerifyCS.VerifyAnalyzerAsync(@" 215await VerifyCS.VerifyAnalyzerAsync(@" 256await VerifyCS.VerifyAnalyzerAsync(@" 303await VerifyCS.VerifyAnalyzerAsync(@" 380await VerifyCS.VerifyAnalyzerAsync(@" 407await VerifyCS.VerifyAnalyzerAsync(@" 434await VerifyCS.VerifyAnalyzerAsync(@" 462await VerifyCS.VerifyAnalyzerAsync(@" 490await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.NetCore.Analyzers\Runtime\InstantiateArgumentExceptionsCorrectlyTests.cs (35)
21await VerifyCS.VerifyAnalyzerAsync(@" 43await VerifyCS.VerifyAnalyzerAsync(@" 65await VerifyCS.VerifyAnalyzerAsync(@" 87await VerifyCS.VerifyAnalyzerAsync(@" 256await VerifyCS.VerifyAnalyzerAsync(@" 278await VerifyCS.VerifyAnalyzerAsync(@" 326await VerifyCS.VerifyAnalyzerAsync(@" 348await VerifyCS.VerifyAnalyzerAsync(@" 442await VerifyCS.VerifyAnalyzerAsync(@" 464await VerifyCS.VerifyAnalyzerAsync(@" 520await VerifyCS.VerifyAnalyzerAsync(@" 533await VerifyCS.VerifyAnalyzerAsync(@" 546await VerifyCS.VerifyAnalyzerAsync(@" 559await VerifyCS.VerifyAnalyzerAsync(@" 579await VerifyCS.VerifyAnalyzerAsync(@" 599await VerifyCS.VerifyAnalyzerAsync(@" 628await VerifyCS.VerifyAnalyzerAsync(@" 786await VerifyCS.VerifyAnalyzerAsync(@" 806await VerifyCS.VerifyAnalyzerAsync(@" 826await VerifyCS.VerifyAnalyzerAsync(@" 855await VerifyCS.VerifyAnalyzerAsync(@" 877await VerifyCS.VerifyAnalyzerAsync(@" 892await VerifyCS.VerifyAnalyzerAsync(@" 912await VerifyCS.VerifyAnalyzerAsync(@" 932await VerifyCS.VerifyAnalyzerAsync(@" 952await VerifyCS.VerifyAnalyzerAsync(@" 972await VerifyCS.VerifyAnalyzerAsync(@" 992await VerifyCS.VerifyAnalyzerAsync(@" 1012await VerifyCS.VerifyAnalyzerAsync(@" 1032await VerifyCS.VerifyAnalyzerAsync(@" 1052await VerifyCS.VerifyAnalyzerAsync(@" 1068await VerifyCS.VerifyAnalyzerAsync(@" 1087await VerifyCS.VerifyAnalyzerAsync(@" 1103await VerifyCS.VerifyAnalyzerAsync(@" 1128await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.NetCore.Analyzers\Runtime\MarkAllNonSerializableFieldsTests.cs (16)
22await VerifyCS.VerifyAnalyzerAsync(@" 64await VerifyCS.VerifyAnalyzerAsync(@" 90await VerifyCS.VerifyAnalyzerAsync(@" 135await VerifyCS.VerifyAnalyzerAsync(@" 165await VerifyCS.VerifyAnalyzerAsync(@" 188await VerifyCS.VerifyAnalyzerAsync(@" 219await VerifyCS.VerifyAnalyzerAsync(@" 257await VerifyCS.VerifyAnalyzerAsync(@" 310await VerifyCS.VerifyAnalyzerAsync(@" 348await VerifyCS.VerifyAnalyzerAsync(@" 432await VerifyCS.VerifyAnalyzerAsync(@" 471await VerifyCS.VerifyAnalyzerAsync(@" 492await VerifyCS.VerifyAnalyzerAsync(@" 514await VerifyCS.VerifyAnalyzerAsync(@" 544await VerifyCS.VerifyAnalyzerAsync(@" 570await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.NetCore.Analyzers\Runtime\MarkISerializableTypesWithSerializableTests.cs (6)
21await VerifyCS.VerifyAnalyzerAsync(@" 52await VerifyCS.VerifyAnalyzerAsync(@" 81await VerifyCS.VerifyAnalyzerAsync(@" 114await VerifyCS.VerifyAnalyzerAsync(@" 151await VerifyCS.VerifyAnalyzerAsync(@" 184await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.NetCore.Analyzers\Runtime\NormalizeStringsToUppercaseTests.cs (5)
22await VerifyCS.VerifyAnalyzerAsync(@" 88await VerifyCS.VerifyAnalyzerAsync(@" 154await VerifyCS.VerifyAnalyzerAsync(@" 186await VerifyCS.VerifyAnalyzerAsync(@" 216await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.NetCore.Analyzers\Runtime\PreferConstCharOverConstUnitStringTests.cs (7)
175await VerifyCS.VerifyAnalyzerAsync(nullInitializer_cs); 211await VerifyCS.VerifyAnalyzerAsync(nonUnitString_cs); 246await VerifyCS.VerifyAnalyzerAsync(noCallToStringAppend_cs); 282await VerifyCS.VerifyAnalyzerAsync(nonConstUnitString_cs); 383await VerifyCS.VerifyAnalyzerAsync(methodCallInAppend_cs); 422await VerifyCS.VerifyAnalyzerAsync(methodParameterInAppend); 460await VerifyCS.VerifyAnalyzerAsync(methodParameterInAppend);
Microsoft.NetCore.Analyzers\Runtime\PreferDictionaryContainsMethodsTests.cs (1)
372await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.NetCore.Analyzers\Runtime\PreferJsonElementParseTests.cs (4)
40await VerifyCS.VerifyAnalyzerAsync(source); 195await VerifyCS.VerifyAnalyzerAsync(source); 436await VerifyCS.VerifyAnalyzerAsync(source); 536await VerifyCS.VerifyAnalyzerAsync(source);
Microsoft.NetCore.Analyzers\Runtime\PreferTypedStringBuilderAppendOverloadsTests.cs (4)
193await VerifyCS.VerifyAnalyzerAsync(@" 210await VerifyCS.VerifyAnalyzerAsync(@" 242await VerifyCS.VerifyAnalyzerAsync(@" 327await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.NetCore.Analyzers\Runtime\ProvideCorrectArgumentsToFormattingMethodsTests.cs (7)
24await VerifyCS.VerifyAnalyzerAsync(@" 60await VerifyCS.VerifyAnalyzerAsync(@" 85await VerifyCS.VerifyAnalyzerAsync(@" 110await VerifyCS.VerifyAnalyzerAsync(@" 147await VerifyCS.VerifyAnalyzerAsync(@" 185await VerifyCS.VerifyAnalyzerAsync(@" 368await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.NetCore.Analyzers\Runtime\SpecifyCultureForToLowerAndToUpperTests.cs (4)
21await VerifyCS.VerifyAnalyzerAsync(@" 51await VerifyCS.VerifyAnalyzerAsync(@" 82await VerifyCS.VerifyAnalyzerAsync(@" 119await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.NetCore.Analyzers\Runtime\SpecifyCultureInfoTests.cs (13)
47await VerifyCS.VerifyAnalyzerAsync(@" 64await VerifyCS.VerifyAnalyzerAsync(@" 107await VerifyCS.VerifyAnalyzerAsync(@" 134await VerifyCS.VerifyAnalyzerAsync(@" 161await VerifyCS.VerifyAnalyzerAsync(@" 188await VerifyCS.VerifyAnalyzerAsync(@" 220await VerifyCS.VerifyAnalyzerAsync(@" 248await VerifyCS.VerifyAnalyzerAsync(@" 275await VerifyCS.VerifyAnalyzerAsync(@" 302await VerifyCS.VerifyAnalyzerAsync(@" 336await VerifyCS.VerifyAnalyzerAsync(@" 366await VerifyCS.VerifyAnalyzerAsync(@" 393await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.NetCore.Analyzers\Runtime\SpecifyIFormatProviderTests.cs (20)
22await VerifyCS.VerifyAnalyzerAsync(@" 66await VerifyCS.VerifyAnalyzerAsync(@" 132await VerifyCS.VerifyAnalyzerAsync(@" 206await VerifyCS.VerifyAnalyzerAsync(@" 260await VerifyCS.VerifyAnalyzerAsync(@" 298await VerifyCS.VerifyAnalyzerAsync(@" 355await VerifyCS.VerifyAnalyzerAsync(@" 410await VerifyCS.VerifyAnalyzerAsync(@" 435await VerifyCS.VerifyAnalyzerAsync(@" 466await VerifyCS.VerifyAnalyzerAsync(@" 863await VerifyCS.VerifyAnalyzerAsync(@" 885await VerifyCS.VerifyAnalyzerAsync(@" 907await VerifyCS.VerifyAnalyzerAsync(@" 929await VerifyCS.VerifyAnalyzerAsync(@" 974await VerifyCS.VerifyAnalyzerAsync(@" 1006await VerifyCS.VerifyAnalyzerAsync($@" 1027await VerifyCS.VerifyAnalyzerAsync($@" 1046await VerifyCS.VerifyAnalyzerAsync(@" 1059await VerifyCS.VerifyAnalyzerAsync(@" 1772return VerifyCS.VerifyAnalyzerAsync(source);
Microsoft.NetCore.Analyzers\Runtime\SpecifyStringComparisonTests.cs (22)
27await VerifyCS.VerifyAnalyzerAsync(@" 61await VerifyCS.VerifyAnalyzerAsync(@" 87await VerifyCS.VerifyAnalyzerAsync(@" 107await VerifyCS.VerifyAnalyzerAsync($@" 135await VerifyCS.VerifyAnalyzerAsync(@" 159await VerifyCS.VerifyAnalyzerAsync(@" 180await VerifyCS.VerifyAnalyzerAsync($@" 200await VerifyCS.VerifyAnalyzerAsync(@" 230await VerifyCS.VerifyAnalyzerAsync(@" 255await VerifyCS.VerifyAnalyzerAsync(@" 291await VerifyCS.VerifyAnalyzerAsync($@" 318await VerifyCS.VerifyAnalyzerAsync(@" 484await VerifyCS.VerifyAnalyzerAsync(@" 506await VerifyCS.VerifyAnalyzerAsync(@" 537await VerifyCS.VerifyAnalyzerAsync(@" 568await VerifyCS.VerifyAnalyzerAsync(@" 593await VerifyCS.VerifyAnalyzerAsync(@" 631await VerifyCS.VerifyAnalyzerAsync(@" 669await VerifyCS.VerifyAnalyzerAsync(@" 715await VerifyCS.VerifyAnalyzerAsync(@" 755await VerifyCS.VerifyAnalyzerAsync(@" 801await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.NetCore.Analyzers\Runtime\TestForEmptyStringsUsingStringLengthTests.cs (4)
30await VerifyCS.VerifyAnalyzerAsync(@" 62await VerifyCS.VerifyAnalyzerAsync(@" 90await VerifyCS.VerifyAnalyzerAsync(@" 116await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.NetCore.Analyzers\Runtime\TestForNaNCorrectlyTests.cs (22)
29await VerifyCS.VerifyAnalyzerAsync(code, GetCSharpResultAt(6, 16)); 57await VerifyCS.VerifyAnalyzerAsync(code, GetCSharpResultAt(6, 16)); 85await VerifyCS.VerifyAnalyzerAsync(code, GetCSharpResultAt(6, 16)); 113await VerifyCS.VerifyAnalyzerAsync(code, GetCSharpResultAt(6, 16)); 141await VerifyCS.VerifyAnalyzerAsync(code, GetCSharpResultAt(6, 16)); 169await VerifyCS.VerifyAnalyzerAsync(code, GetCSharpResultAt(6, 16)); 197await VerifyCS.VerifyAnalyzerAsync(code, GetCSharpResultAt(6, 16)); 225await VerifyCS.VerifyAnalyzerAsync(code, GetCSharpResultAt(6, 16)); 253await VerifyCS.VerifyAnalyzerAsync(code); 286await VerifyCS.VerifyAnalyzerAsync(code); 318await VerifyCS.VerifyAnalyzerAsync(code); 346await VerifyCS.VerifyAnalyzerAsync(code); 374await VerifyCS.VerifyAnalyzerAsync(code, GetCSharpResultAt(6, 16)); 413await VerifyCS.VerifyAnalyzerAsync(code, GetCSharpResultAt(8, 11)); 448await VerifyCS.VerifyAnalyzerAsync(code, GetCSharpResultAt(8, 16)); 481await VerifyCS.VerifyAnalyzerAsync(code, GetCSharpResultAt(8, 15)); 505await VerifyCS.VerifyAnalyzerAsync(code, GetCSharpResultAt(13, 36)); 524await VerifyCS.VerifyAnalyzerAsync(code, GetCSharpResultAt(10, 22)); 545await VerifyCS.VerifyAnalyzerAsync(code, GetCSharpResultAt(8, 17)); 565await VerifyCS.VerifyAnalyzerAsync(code, GetCSharpResultAt(8, 16)); 584await VerifyCS.VerifyAnalyzerAsync(code, GetCSharpResultAt(8, 16)); 604await VerifyCS.VerifyAnalyzerAsync(code, GetCSharpResultAt(11, 16));
Microsoft.NetCore.Analyzers\Runtime\UseAsyncMethodInAsyncContextTests.cs (10)
1343return VerifyCS.VerifyAnalyzerAsync(code); 1364return VerifyCS.VerifyAnalyzerAsync(code); 1385return VerifyCS.VerifyAnalyzerAsync(code); 1406return VerifyCS.VerifyAnalyzerAsync(code); 1427return VerifyCS.VerifyAnalyzerAsync(code); 1453return VerifyCS.VerifyAnalyzerAsync(code, result); 1479return VerifyCS.VerifyAnalyzerAsync(code, result); 1505return VerifyCS.VerifyAnalyzerAsync(code, result); 1531return VerifyCS.VerifyAnalyzerAsync(code, result); 1555return VerifyCS.VerifyAnalyzerAsync(code, result);
Microsoft.NetCore.Analyzers\Runtime\UseEnvironmentMembersTests.cs (2)
19await VerifyCS.VerifyAnalyzerAsync(@" 35await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.NetCore.Analyzers\Runtime\UseExceptionThrowHelpersTests.cs (4)
20await VerifyCS.VerifyAnalyzerAsync(@" 388await VerifyCS.VerifyAnalyzerAsync(@" 638await VerifyCS.VerifyAnalyzerAsync(@" 962await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.NetCore.Analyzers\Runtime\UseOrdinalStringComparisonTests.cs (5)
38await VerifyCS.VerifyAnalyzerAsync(@" 131await VerifyCS.VerifyAnalyzerAsync(@" 181await VerifyCS.VerifyAnalyzerAsync(@" 231await VerifyCS.VerifyAnalyzerAsync(@" 275await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.NetCore.Analyzers\Runtime\UseStringEqualsOverStringCompareTests.cs (3)
213return VerifyCS.VerifyAnalyzerAsync(code); 255return VerifyCS.VerifyAnalyzerAsync(code); 295return VerifyCS.VerifyAnalyzerAsync(code);
Microsoft.NetCore.Analyzers\Runtime\UseThreadStaticCorrectlyTests.cs (2)
29await VerifyCS.VerifyAnalyzerAsync( 130await VerifyCS.VerifyAnalyzerAsync(
Microsoft.NetCore.Analyzers\Tasks\DoNotCreateTaskCompletionSourceWithWrongArgumentsTests.cs (1)
19await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.NetCore.Analyzers\Tasks\DoNotCreateTasksWithoutPassingATaskSchedulerTests.cs (2)
20await VerifyCS.VerifyAnalyzerAsync(@" 97await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.NetCore.Analyzers\Tasks\DoNotUseConfigureAwaitWithSuppressThrowingTests.cs (1)
16await VerifyCS.VerifyAnalyzerAsync("""
Microsoft.NetCore.Analyzers\Tasks\DoNotUseNonCancelableTaskDelayWithWhenAnyTests.cs (10)
17await VerifyCS.VerifyAnalyzerAsync(""" 67await VerifyCS.VerifyAnalyzerAsync(""" 90await VerifyCS.VerifyAnalyzerAsync(""" 138await VerifyCS.VerifyAnalyzerAsync(""" 162await VerifyCS.VerifyAnalyzerAsync(""" 187await VerifyCS.VerifyAnalyzerAsync(""" 208await VerifyCS.VerifyAnalyzerAsync(""" 241await VerifyCS.VerifyAnalyzerAsync(""" 262await VerifyCS.VerifyAnalyzerAsync(""" 279await VerifyCS.VerifyAnalyzerAsync("""
Microsoft.NetCore.Analyzers\Tasks\DoNotUseWhenAllOrWaitAllWithSingleArgumentTests.cs (1)
20await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.NetCore.Analyzers\Tasks\UseValueTaskCorrectlyTests.cs (38)
93await VerifyCS.VerifyAnalyzerAsync(CSBoilerplate(@" 136await VerifyCS.VerifyAnalyzerAsync(CSBoilerplate(@" 160await VerifyCS.VerifyAnalyzerAsync(CSBoilerplate(@" 236await VerifyCS.VerifyAnalyzerAsync(CSBoilerplate(@" 260await VerifyCS.VerifyAnalyzerAsync(CSBoilerplate(@" 283await VerifyCS.VerifyAnalyzerAsync(CSBoilerplate(@" 307await VerifyCS.VerifyAnalyzerAsync(CSBoilerplate(@" 331await VerifyCS.VerifyAnalyzerAsync(CSBoilerplate(@" 374await VerifyCS.VerifyAnalyzerAsync(CSBoilerplate(@" 412await VerifyCS.VerifyAnalyzerAsync(CSBoilerplate(@" 438await VerifyCS.VerifyAnalyzerAsync(CSBoilerplate(@" 464await VerifyCS.VerifyAnalyzerAsync(CSBoilerplate(@" 498await VerifyCS.VerifyAnalyzerAsync(CSBoilerplate(@" 538await VerifyCS.VerifyAnalyzerAsync(CSBoilerplate(@" 593await VerifyCS.VerifyAnalyzerAsync(CSBoilerplate(@" 622await VerifyCS.VerifyAnalyzerAsync(CSBoilerplate(@" 651await VerifyCS.VerifyAnalyzerAsync(CSBoilerplate(@" 678await VerifyCS.VerifyAnalyzerAsync(CSBoilerplate(@" 704await VerifyCS.VerifyAnalyzerAsync(CSBoilerplate(@" 729await VerifyCS.VerifyAnalyzerAsync(CSBoilerplate(@" 754await VerifyCS.VerifyAnalyzerAsync(CSBoilerplate(@" 770await VerifyCS.VerifyAnalyzerAsync(CSBoilerplate(@" 811await VerifyCS.VerifyAnalyzerAsync(CSBoilerplate(@" 844await VerifyCS.VerifyAnalyzerAsync(CSBoilerplate(@" 903await VerifyCS.VerifyAnalyzerAsync(CSBoilerplate(@" 925await VerifyCS.VerifyAnalyzerAsync(CSBoilerplate(@" 945await VerifyCS.VerifyAnalyzerAsync(CSBoilerplate(@" 967await VerifyCS.VerifyAnalyzerAsync(CSBoilerplate(@" 994await VerifyCS.VerifyAnalyzerAsync(CSBoilerplate(@" 1025await VerifyCS.VerifyAnalyzerAsync(CSBoilerplate(@" 1056await VerifyCS.VerifyAnalyzerAsync(CSBoilerplate(@" 1087await VerifyCS.VerifyAnalyzerAsync(CSBoilerplate(@" 1113await VerifyCS.VerifyAnalyzerAsync(CSBoilerplate(@" 1144await VerifyCS.VerifyAnalyzerAsync(CSBoilerplate(@" 1182await VerifyCS.VerifyAnalyzerAsync(CSBoilerplate(@" 1220await VerifyCS.VerifyAnalyzerAsync(CSBoilerplate(@" 1279await VerifyCS.VerifyAnalyzerAsync(CSBoilerplate(@" 1337await VerifyCS.VerifyAnalyzerAsync(CSBoilerplate(@"
Microsoft.NetCore.Analyzers\Usage\DoNotCompareSpanToNullTests.cs (2)
186await VerifyCS.VerifyAnalyzerAsync(spanCode); 187await VerifyCS.VerifyAnalyzerAsync(rosCode);
Microsoft.NetCore.Analyzers\Usage\ProvideCorrectArgumentToEnumHasFlagTests.cs (7)
20await VerifyCS.VerifyAnalyzerAsync(@" 64await VerifyCS.VerifyAnalyzerAsync(@" 98await VerifyCS.VerifyAnalyzerAsync(@" 130await VerifyCS.VerifyAnalyzerAsync(@" 170await VerifyCS.VerifyAnalyzerAsync(@" 214await VerifyCS.VerifyAnalyzerAsync(@" 237await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.NetCore.Analyzers\Usage\ProvideHttpClientHandlerMaxResponseHeaderLengthValueCorrectlyTests.cs (1)
19await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.NetFramework.Analyzers\DoNotCatchCorruptedStateExceptionsTests.cs (29)
20await VerifyCS.VerifyAnalyzerAsync(@" 84await VerifyCS.VerifyAnalyzerAsync(@" 152await VerifyCS.VerifyAnalyzerAsync(@" 223await VerifyCS.VerifyAnalyzerAsync(@" 320await VerifyCS.VerifyAnalyzerAsync(@" 394await VerifyCS.VerifyAnalyzerAsync(@" 468await VerifyCS.VerifyAnalyzerAsync(@" 514await VerifyCS.VerifyAnalyzerAsync(@" 558await VerifyCS.VerifyAnalyzerAsync(@" 610await VerifyCS.VerifyAnalyzerAsync(@" 641await VerifyCS.VerifyAnalyzerAsync(@" 672await VerifyCS.VerifyAnalyzerAsync(@" 704await VerifyCS.VerifyAnalyzerAsync(@" 736await VerifyCS.VerifyAnalyzerAsync(@" 770await VerifyCS.VerifyAnalyzerAsync(@" 804await VerifyCS.VerifyAnalyzerAsync(@" 838await VerifyCS.VerifyAnalyzerAsync(@" 902await VerifyCS.VerifyAnalyzerAsync(@" 941await VerifyCS.VerifyAnalyzerAsync(@" 980await VerifyCS.VerifyAnalyzerAsync(@" 1018await VerifyCS.VerifyAnalyzerAsync(@" 1083await VerifyCS.VerifyAnalyzerAsync(@" 1120await VerifyCS.VerifyAnalyzerAsync(@" 1157await VerifyCS.VerifyAnalyzerAsync(@" 1192await VerifyCS.VerifyAnalyzerAsync(@" 1232await VerifyCS.VerifyAnalyzerAsync(@" 1305await VerifyCS.VerifyAnalyzerAsync(@" 1400await VerifyCS.VerifyAnalyzerAsync(@" 1468await VerifyCS.VerifyAnalyzerAsync(@"
Microsoft.NetFramework.Analyzers\Security\MarkVerbHandlersWithValidateAntiforgeryTokenTests.cs (24)
227await VerifyCS.VerifyAnalyzerAsync(SystemWebMvcNamespaceCSharp + @" 266await VerifyCS.VerifyAnalyzerAsync(SystemWebMvcNamespaceCSharp + @" 285await VerifyCS.VerifyAnalyzerAsync(SystemWebMvcNamespaceCSharp + @" 321await VerifyCS.VerifyAnalyzerAsync(SystemWebMvcNamespaceCSharp + @" 360await VerifyCS.VerifyAnalyzerAsync(SystemWebMvcNamespaceCSharp + @" 393await VerifyCS.VerifyAnalyzerAsync(SystemWebMvcNamespaceCSharp + @" 430await VerifyCS.VerifyAnalyzerAsync(SystemWebMvcNamespaceCSharp + @" 469await VerifyCS.VerifyAnalyzerAsync(SystemWebMvcNamespaceCSharp + @" 489await VerifyCS.VerifyAnalyzerAsync(@" 527await VerifyCS.VerifyAnalyzerAsync(SystemWebMvcNamespaceCSharp + @" 567await VerifyCS.VerifyAnalyzerAsync(SystemWebMvcNamespaceCSharp + @" 608await VerifyCS.VerifyAnalyzerAsync(SystemWebMvcNamespaceCSharp + @" 652await VerifyCS.VerifyAnalyzerAsync(SystemWebMvcNamespaceCSharp + @" 690await VerifyCS.VerifyAnalyzerAsync(SystemWebMvcNamespaceCSharp + @" 732await VerifyCS.VerifyAnalyzerAsync(SystemWebMvcNamespaceCSharp + @" 753await VerifyCS.VerifyAnalyzerAsync(SystemWebMvcNamespaceCSharp + @" 774await VerifyCS.VerifyAnalyzerAsync(SystemWebMvcNamespaceCSharp + @" 794await VerifyCS.VerifyAnalyzerAsync(SystemWebMvcNamespaceCSharp + @" 814await VerifyCS.VerifyAnalyzerAsync(SystemWebMvcNamespaceCSharp + @" 835await VerifyCS.VerifyAnalyzerAsync(SystemWebMvcNamespaceCSharp + @" 859await VerifyCS.VerifyAnalyzerAsync(SystemWebMvcNamespaceCSharp + @" 881await VerifyCS.VerifyAnalyzerAsync(SystemWebMvcNamespaceCSharp + @" 902await VerifyCS.VerifyAnalyzerAsync(SystemWebMvcNamespaceCSharp + @" 926await VerifyCS.VerifyAnalyzerAsync(SystemWebMvcNamespaceCSharp + @"
Microsoft.NetFramework.Analyzers\TypesShouldNotExtendCertainBaseTypesTests.cs (7)
22await VerifyCS.VerifyAnalyzerAsync(@" 46await VerifyCS.VerifyAnalyzerAsync(source, expected); 60await VerifyCS.VerifyAnalyzerAsync(source); 78await VerifyCS.VerifyAnalyzerAsync(source, expected); 92await VerifyCS.VerifyAnalyzerAsync(source); 134await VerifyCS.VerifyAnalyzerAsync(source, expected); 170await VerifyCS.VerifyAnalyzerAsync(source);
Roslyn.Diagnostics.Analyzers.UnitTests (17)
DoNotMixAttributesFromDifferentVersionsOfMEFTests.cs (8)
168await VerifyCS.VerifyAnalyzerAsync(""" 202await VerifyCS.VerifyAnalyzerAsync(""" 240await VerifyCS.VerifyAnalyzerAsync(""" 290await VerifyCS.VerifyAnalyzerAsync(""" 401await VerifyCS.VerifyAnalyzerAsync(""" 445await VerifyCS.VerifyAnalyzerAsync(""" 491await VerifyCS.VerifyAnalyzerAsync(""" 568await VerifyCS.VerifyAnalyzerAsync("""
PartsExportedWithMEFv2MustBeMarkedAsSharedTests.cs (1)
56await VerifyCS.VerifyAnalyzerAsync("""
SpecializedEnumerableCreationAnalyzerTests.cs (8)
58=> VerifyCS.VerifyAnalyzerAsync(""" 75=> VerifyCS.VerifyAnalyzerAsync(""" 94=> VerifyCS.VerifyAnalyzerAsync(""" 109=> VerifyCS.VerifyAnalyzerAsync(""" 126=> VerifyCS.VerifyAnalyzerAsync(""" 143=> VerifyCS.VerifyAnalyzerAsync(""" 159=> VerifyCS.VerifyAnalyzerAsync(""" 175=> VerifyCS.VerifyAnalyzerAsync("""
Text.Analyzers.UnitTests (16)
EnumsShouldHavePluralNamesTests.cs (16)
24await VerifyCS.VerifyAnalyzerAsync(""" 56await VerifyCS.VerifyAnalyzerAsync(""" 89await VerifyCS.VerifyAnalyzerAsync(""" 158await VerifyCS.VerifyAnalyzerAsync(""" 191await VerifyCS.VerifyAnalyzerAsync(""" 224await VerifyCS.VerifyAnalyzerAsync(""" 299await VerifyCS.VerifyAnalyzerAsync(""" 330await VerifyCS.VerifyAnalyzerAsync(""" 361await VerifyCS.VerifyAnalyzerAsync(""" 394await VerifyCS.VerifyAnalyzerAsync(""" 425await VerifyCS.VerifyAnalyzerAsync(""" 456await VerifyCS.VerifyAnalyzerAsync(""" 488await VerifyCS.VerifyAnalyzerAsync(""" 520await VerifyCS.VerifyAnalyzerAsync(""" 552await VerifyCS.VerifyAnalyzerAsync(""" 591await VerifyCS.VerifyAnalyzerAsync("""