7115 references to VerifyDiagnostics
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (804)
BreakingChanges.cs (10)
93comp.VerifyDiagnostics(); 163compilation.VerifyDiagnostics(); 473CreateCompilation(text).VerifyDiagnostics(); 640CreateCompilation(source).VerifyDiagnostics(); 759CreateCompilation(text).VerifyDiagnostics(); 776CreateCompilation(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 913CreateCompilation(source).VerifyDiagnostics(); 986comp.VerifyDiagnostics(); 1082CreateCompilation(source).VerifyDiagnostics(); 1438cs4Compilation.VerifyDiagnostics();
CodeGen\CodeGenAsyncIteratorTests.cs (82)
947comp.VerifyDiagnostics(); 1135comp.VerifyDiagnostics(); 1163comp.VerifyDiagnostics(); 1856comp.VerifyDiagnostics(); 1921comp.VerifyDiagnostics(); 1960comp.VerifyDiagnostics(); 2110comp.VerifyDiagnostics(); 2209comp.VerifyDiagnostics(expected); 2355comp.VerifyDiagnostics(); 2396comp.VerifyDiagnostics(); 2474comp.VerifyDiagnostics(); 2523comp.VerifyDiagnostics(); 2568comp.VerifyDiagnostics(); 2611comp.VerifyDiagnostics(); 2643comp.VerifyDiagnostics(); 3200comp.VerifyDiagnostics(); 3468comp.VerifyDiagnostics(); 3737comp.VerifyDiagnostics(); 4001comp.VerifyDiagnostics(); 4241comp.VerifyDiagnostics(); 4274comp.VerifyDiagnostics(); 4306comp.VerifyDiagnostics(); 4339comp.VerifyDiagnostics(); 4390comp.VerifyDiagnostics(); 4421comp.VerifyDiagnostics(); 4450comp.VerifyDiagnostics(); 4473comp.VerifyDiagnostics(); 4507comp.VerifyDiagnostics(); 4551comp.VerifyDiagnostics(); 4579comp.VerifyDiagnostics(); 4652comp.VerifyDiagnostics(); 4687comp.VerifyDiagnostics(); 4735comp.VerifyDiagnostics(); 4776comp.VerifyDiagnostics(); 4822comp.VerifyDiagnostics(); 4871comp.VerifyDiagnostics(); 4915comp.VerifyDiagnostics(); 4969comp.VerifyDiagnostics(); 5013comp.VerifyDiagnostics(); 5059comp.VerifyDiagnostics(); 5112comp.VerifyDiagnostics(); 5145comp.VerifyDiagnostics(); 5176comp.VerifyDiagnostics(); 5241comp.VerifyDiagnostics(); 5275comp.VerifyDiagnostics(); 5306comp.VerifyDiagnostics(); 5338comp.VerifyDiagnostics(); 5373comp.VerifyDiagnostics(); 5407comp.VerifyDiagnostics(); 5446comp.VerifyDiagnostics(); 5486comp.VerifyDiagnostics(); 5564comp.VerifyDiagnostics(); 5657comp.VerifyDiagnostics(); 5692comp.VerifyDiagnostics(); 5722comp.VerifyDiagnostics(); 5753comp.VerifyDiagnostics(); 5786comp.VerifyDiagnostics(); 6178comp.VerifyDiagnostics(); 6212comp.VerifyDiagnostics(); 6253comp.VerifyDiagnostics(); 6292comp.VerifyDiagnostics(); 6328comp.VerifyDiagnostics(); 6362comp.VerifyDiagnostics(); 6491comp.VerifyDiagnostics(); 6645comp.VerifyDiagnostics(); 6744comp.VerifyDiagnostics(); 6821comp.VerifyDiagnostics(); 6885comp.VerifyDiagnostics(); 6934comp.VerifyDiagnostics(); 6986comp.VerifyDiagnostics(); 7037comp.VerifyDiagnostics(); 7085comp.VerifyDiagnostics(); 7136comp.VerifyDiagnostics(); 7269comp.VerifyDiagnostics(); 7402comp.VerifyDiagnostics(); 7552comp.VerifyDiagnostics(); 7612comp.VerifyDiagnostics(); 7647comp.VerifyDiagnostics(); 7931comp.VerifyDiagnostics(); 8113comp.VerifyDiagnostics(); 8699comp.VerifyDiagnostics(); 8767comp.VerifyDiagnostics();
CodeGen\CodeGenAsyncMainTests.cs (14)
363corCompilation.VerifyDiagnostics(); 370taskCompilation.VerifyDiagnostics(); 403corCompilation.VerifyDiagnostics(); 410taskCompilation.VerifyDiagnostics(); 602compilation.VerifyDiagnostics(); 624compilation.VerifyDiagnostics(); 713compilation.VerifyDiagnostics(); 790compilation.VerifyDiagnostics(); 884compilation.VerifyDiagnostics(); 904compilation.VerifyDiagnostics(); 968compilation.VerifyDiagnostics(); 988compilation.VerifyDiagnostics(); 1142var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7)).VerifyDiagnostics(); 1368var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithMainTypeName("A")).VerifyDiagnostics();
CodeGen\CodeGenAsyncMethodBuilderOverrideTests.cs (6)
984compilation.VerifyDiagnostics(); 1028compilation.VerifyDiagnostics(); 1111compilation.VerifyDiagnostics(); 1152compilation.VerifyDiagnostics(); 1193compilation.VerifyDiagnostics(); 1242compilation.VerifyDiagnostics();
CodeGen\CodeGenAsyncSpillTests.cs (7)
3709comp.VerifyDiagnostics(); 3716comp.VerifyDiagnostics(); 3751comp.VerifyDiagnostics(); 3758comp.VerifyDiagnostics(); 3790comp.VerifyDiagnostics(); 3910CreateCompilation(source, options: TestOptions.DebugDll).VerifyDiagnostics().VerifyEmitDiagnostics(expectedDiagnostics); 3911CreateCompilation(source, options: TestOptions.ReleaseDll).VerifyDiagnostics().VerifyEmitDiagnostics(expectedDiagnostics);
CodeGen\CodeGenAsyncTests.cs (5)
4505compilation.VerifyDiagnostics(); 4514compilation.VerifyDiagnostics(); 4524compilation.VerifyDiagnostics(); 4540s1.VerifyDiagnostics(); 4550s0.VerifyDiagnostics();
CodeGen\CodeGenAwaitForeachTests.cs (103)
46comp.VerifyDiagnostics(); 76comp.VerifyDiagnostics(); 91lib.VerifyDiagnostics(); 177comp_checked.VerifyDiagnostics(); 181comp_unchecked.VerifyDiagnostics(); 817comp.VerifyDiagnostics(); 852comp.VerifyDiagnostics(); 1039comp.VerifyDiagnostics(); 1083comp.VerifyDiagnostics(); 1140comp.VerifyDiagnostics(); 1180comp.VerifyDiagnostics(); 1223comp.VerifyDiagnostics(); 1270comp.VerifyDiagnostics(); 1313comp.VerifyDiagnostics(); 1595comp.VerifyDiagnostics(); 1657comp.VerifyDiagnostics(); 2060comp.VerifyDiagnostics(); 2562comp.VerifyDiagnostics(); 2913comp.VerifyDiagnostics(); 2964comp.VerifyDiagnostics(); 3029comp.VerifyDiagnostics(); 3288comp.VerifyDiagnostics(); 3346comp.VerifyDiagnostics(); 3542comp.VerifyDiagnostics(); 3586lib.VerifyDiagnostics(); 3590comp.VerifyDiagnostics(); 3709comp.VerifyDiagnostics(); 3782comp.VerifyDiagnostics(); 4052comp.VerifyDiagnostics(); 4106comp.VerifyDiagnostics(); 4162comp.VerifyDiagnostics(); 4217comp.VerifyDiagnostics(); 4235comp.VerifyDiagnostics(); 4308comp.VerifyDiagnostics(); 4368comp.VerifyDiagnostics(); 4399comp.VerifyDiagnostics(); 4457comp.VerifyDiagnostics(); 4530comp.VerifyDiagnostics(); 4586comp.VerifyDiagnostics(); 4640comp.VerifyDiagnostics(); 4740comp.VerifyDiagnostics(); 4819comp.VerifyDiagnostics(); 5043comp.VerifyDiagnostics(); 5124comp.VerifyDiagnostics(); 5350comp.VerifyDiagnostics(); 5589comp.VerifyDiagnostics(); 5624comp.VerifyDiagnostics(); 5720comp.VerifyDiagnostics(); 5765comp.VerifyDiagnostics(); 5808comp.VerifyDiagnostics(); 5856comp.VerifyDiagnostics(); 5900comp.VerifyDiagnostics(); 6034comp.VerifyDiagnostics(); 6078comp.VerifyDiagnostics(); 6124comp.VerifyDiagnostics(); 6169comp.VerifyDiagnostics(); 6323comp.VerifyDiagnostics(); 6347comp.VerifyDiagnostics(); 6434comp.VerifyDiagnostics(); 6477comp.VerifyDiagnostics(); 6507comp.VerifyDiagnostics(); 6537comp.VerifyDiagnostics(); 6755comp.VerifyDiagnostics(); 6790comp.VerifyDiagnostics(); 6821comp.VerifyDiagnostics(); 6853comp.VerifyDiagnostics(); 6952comp.VerifyDiagnostics(); 6983comp.VerifyDiagnostics(); 7013comp.VerifyDiagnostics(); 7044comp.VerifyDiagnostics(); 7074comp.VerifyDiagnostics(); 7104comp.VerifyDiagnostics(); 7134comp.VerifyDiagnostics(); 7170comp.VerifyDiagnostics(); 7202comp.VerifyDiagnostics(); 7238comp.VerifyDiagnostics(); 7353comp.VerifyDiagnostics(); 7440comp.VerifyDiagnostics(); 7630comp.VerifyDiagnostics(); 7750comp.VerifyDiagnostics(); 7826comp.VerifyDiagnostics(); 7897comp.VerifyDiagnostics(); 7964comp.VerifyDiagnostics(); 8100comp.VerifyDiagnostics(); 8133comp.VerifyDiagnostics(); 8196comp.VerifyDiagnostics(); 8226comp.VerifyDiagnostics(); 8375comp.VerifyDiagnostics(); 8408comp.VerifyDiagnostics(); 8441comp.VerifyDiagnostics(); 8475comp.VerifyDiagnostics(); 8508comp.VerifyDiagnostics(); 8538comp.VerifyDiagnostics(); 8621comp.VerifyDiagnostics(); 8739comp.VerifyDiagnostics(); 8933comp.VerifyDiagnostics(); 8968comp.VerifyDiagnostics(); 9038comp.VerifyDiagnostics(); 9093comp.VerifyDiagnostics(); 9169comp.VerifyDiagnostics(); 9247comp.VerifyDiagnostics(); 9317comp.VerifyDiagnostics(); 9379comp.VerifyDiagnostics();
CodeGen\CodeGenAwaitUsingTests.cs (38)
214comp.VerifyDiagnostics(); 298comp.VerifyDiagnostics(); 368comp.VerifyDiagnostics(); 402comp.VerifyDiagnostics(); 517comp.VerifyDiagnostics(); 553comp.VerifyDiagnostics(); 580comp.VerifyDiagnostics(); 703comp.VerifyDiagnostics(); 768comp.VerifyDiagnostics(); 910comp.VerifyDiagnostics(); 990comp.VerifyDiagnostics(); 1067comp.VerifyDiagnostics(); 1094comp.VerifyDiagnostics(); 1120comp.VerifyDiagnostics(); 1294comp.VerifyDiagnostics(); 1469comp.VerifyDiagnostics(); 1639comp.VerifyDiagnostics(); 1688comp.VerifyDiagnostics(); 1714comp.VerifyDiagnostics(); 1883comp.VerifyDiagnostics(); 2061comp.VerifyDiagnostics(); 2088comp.VerifyDiagnostics(); 2115comp.VerifyDiagnostics(); 2187comp.VerifyDiagnostics(); 2226comp.VerifyDiagnostics(); 2271comp.VerifyDiagnostics(); 2401comp.VerifyDiagnostics(); 2462comp.VerifyDiagnostics(); 2492comp.VerifyDiagnostics(); 2525comp.VerifyDiagnostics(); 2555comp.VerifyDiagnostics(); 2585comp.VerifyDiagnostics(); 2698comp.VerifyDiagnostics(); 2907comp.VerifyDiagnostics(); 2936comp.VerifyDiagnostics(); 2967comp.VerifyDiagnostics(); 3058comp.VerifyDiagnostics(); 3100comp.VerifyDiagnostics();
CodeGen\CodeGenConditionalOperatorTests.cs (1)
714comp.VerifyDiagnostics();
CodeGen\CodeGenConversionTests.cs (1)
681CreateCompilation(text).VerifyDiagnostics();
CodeGen\CodeGenDeconstructTests.cs (44)
1608comp.VerifyDiagnostics(); 5048comp.VerifyDiagnostics(); 5121comp.VerifyDiagnostics(); 5139comp.VerifyDiagnostics(); 5153comp.VerifyDiagnostics(); 5199comp.VerifyDiagnostics(); 5214comp.VerifyDiagnostics(); 5323comp.VerifyDiagnostics(); 5359comp.VerifyDiagnostics(); 5558comp.VerifyDiagnostics(); 5798comp.VerifyDiagnostics(); 5848comp.VerifyDiagnostics(); 5902comp.VerifyDiagnostics(); 5973comp.VerifyDiagnostics(); 5993comp.VerifyDiagnostics(); 6026comp.VerifyDiagnostics(); 6079comp.VerifyDiagnostics(); 6128comp.VerifyDiagnostics(); 6232comp.VerifyDiagnostics(); 6278comp.VerifyDiagnostics(); 6299comp.VerifyDiagnostics(); 6331comp.VerifyDiagnostics(); 6361comp.VerifyDiagnostics(); 6388comp.VerifyDiagnostics(); 6504comp.VerifyDiagnostics(); 6556comp.VerifyDiagnostics(); 6728comp.VerifyDiagnostics(); 6817comp.VerifyDiagnostics(); 6879comp.VerifyDiagnostics(); 6898comp.VerifyDiagnostics(); 6912comp.VerifyDiagnostics(); 6948comp.VerifyDiagnostics(); 6969comp.VerifyDiagnostics(); 7035comp.VerifyDiagnostics(); 7148compilation.VerifyDiagnostics(); 7199compilation.VerifyDiagnostics(); 7502compilation.VerifyDiagnostics(); 7662compilation.VerifyDiagnostics(); 7704compilation.VerifyDiagnostics(); 8208comp.VerifyDiagnostics(); 8354comp.VerifyDiagnostics( 8709comp.VerifyDiagnostics(); 8731comp.VerifyDiagnostics(); 8756comp.VerifyDiagnostics();
CodeGen\CodeGenExplicitImplementationTests.cs (4)
994libComp.VerifyDiagnostics(); 997comp.VerifyDiagnostics(); 1039libComp1.VerifyDiagnostics(); 1042libComp2.VerifyDiagnostics();
CodeGen\CodeGenExprLambdaTests.cs (7)
5379compilation.VerifyDiagnostics(); 5441compilation.VerifyDiagnostics(); 5514compilation.VerifyDiagnostics(); 6019compilation1.VerifyDiagnostics(); 6030compilation2.VerifyDiagnostics(); 6066compilation1.VerifyDiagnostics(); 6077compilation2.VerifyDiagnostics();
CodeGen\CodeGenForEachTests.cs (3)
3299comp.VerifyDiagnostics(); 3330comp.VerifyDiagnostics(); 3685.VerifyDiagnostics();
CodeGen\CodeGenFunctionPointersTests.cs (15)
2671cComp.VerifyDiagnostics(); 5241comp.VerifyDiagnostics(); 5396comp.VerifyDiagnostics(); 6461comp.VerifyDiagnostics( 6514comp.VerifyDiagnostics( 7581coreLib.VerifyDiagnostics(); 7650coreLib.VerifyDiagnostics(); 7868comp.VerifyDiagnostics(); 8239comp.VerifyDiagnostics(); 8515comp.VerifyDiagnostics(); 9778comp.VerifyDiagnostics(); 9946comp.VerifyDiagnostics(); 10171comp.VerifyDiagnostics(); 10656comp.VerifyDiagnostics(diagnostics.ToArray()); 11038comp.VerifyDiagnostics();
CodeGen\CodeGenImplicitImplementationTests.cs (2)
2294libComp.VerifyDiagnostics(); 2297exeComp.VerifyDiagnostics();
CodeGen\CodeGenImplicitlyTypeArraysTests.cs (3)
481compilation.VerifyDiagnostics(); 523compilation.VerifyDiagnostics(); 556compilation.VerifyDiagnostics();
CodeGen\CodeGenLocalFunctionTests.cs (5)
1162comp.VerifyDiagnostics(); 5565CreateCompilation(source, parseOptions: TestOptions.Regular9).VerifyDiagnostics(); 5567CreateCompilation(source, parseOptions: TestOptions.Regular9.WithPreprocessorSymbols("DEBUG")).VerifyDiagnostics(); 5595CreateCompilation(source, parseOptions: TestOptions.Regular9.WithPreprocessorSymbols("DEBUG")).VerifyDiagnostics(); 6158comp.VerifyDiagnostics();
CodeGen\CodeGenMscorlib.cs (10)
178CreateCompilationWithMscorlib40(text).VerifyDiagnostics(); 207.VerifyDiagnostics(); 262compilation2.VerifyDiagnostics(); 491compilation2.VerifyDiagnostics(); 550.VerifyDiagnostics(); 616.VerifyDiagnostics(); 754.VerifyDiagnostics(); 880var comp = CreateEmptyCompilation(text, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1039comp.VerifyDiagnostics(); 1165comp.VerifyDiagnostics();
CodeGen\CodeGenNullCoalescingAssignmentTests.cs (1)
1543compilation.VerifyDiagnostics();
CodeGen\CodeGenOperators.cs (2)
6302comp.VerifyDiagnostics( 6326comp.VerifyDiagnostics(
CodeGen\CodeGenOverridingAndHiding.cs (16)
1200compilation.VerifyDiagnostics(); 2545outerCompilation.VerifyDiagnostics(); // No errors 3163comp1.VerifyDiagnostics(); // No Errors 3174comp.VerifyDiagnostics(); // No Errors 3387comp.VerifyDiagnostics(); 3597comp.VerifyDiagnostics(); 3939compilation.VerifyDiagnostics(); 4192vb1Compilation.VerifyDiagnostics(); 4217vb2Compilation.VerifyDiagnostics(); 4260vb1Compilation.VerifyDiagnostics(); 4286vb2Compilation.VerifyDiagnostics(); 4391A.VerifyDiagnostics(); 4392B.VerifyDiagnostics(); 4393C.VerifyDiagnostics(); 4410vb1Compilation.VerifyDiagnostics(); 4432vb2Compilation.VerifyDiagnostics();
CodeGen\CodeGenReadonlyStructTests.cs (1)
1558externalComp.VerifyDiagnostics();
CodeGen\CodeGenRefLocalTests.cs (2)
4028comp.VerifyDiagnostics(); 4099comp.VerifyDiagnostics();
CodeGen\CodeGenRefReturnTests.cs (2)
2522comp.VerifyDiagnostics( 2555comp.VerifyDiagnostics(
CodeGen\CodeGenScriptTests.cs (2)
217s2.VerifyDiagnostics(); 242s1.VerifyDiagnostics();
CodeGen\CodeGenTests.cs (8)
9472").VerifyDiagnostics(); 10535CreateCompilationWithMscorlib40AndSystemCore(source).VerifyDiagnostics(); 10841CreateCompilation(source).VerifyDiagnostics(); 14565compilation.VerifyDiagnostics(); 14599compilation.VerifyDiagnostics(); 14635compilation.VerifyDiagnostics(); 14657compilation.VerifyDiagnostics(); 17312comp.VerifyDiagnostics();
CodeGen\CodeGenTryFinally.cs (1)
3108CreateCompilation(text).VerifyDiagnostics();
CodeGen\CodeGenTupleEqualityTests.cs (66)
67comp.VerifyDiagnostics(); 786comp.VerifyDiagnostics(); 831comp.VerifyDiagnostics(); 848comp.VerifyDiagnostics(); 896comp.VerifyDiagnostics(); 945comp.VerifyDiagnostics(); 995comp.VerifyDiagnostics(); 1049comp.VerifyDiagnostics(); 1083comp.VerifyDiagnostics(); 1115comp.VerifyDiagnostics(); 1146comp.VerifyDiagnostics(); 1206comp.VerifyDiagnostics(); 1306comp.VerifyDiagnostics(); 1490comp.VerifyDiagnostics(); 1551comp.VerifyDiagnostics(); 1588comp.VerifyDiagnostics(); 1613comp.VerifyDiagnostics(); 1807comp.VerifyDiagnostics(); 1823comp.VerifyDiagnostics(); 1861comp.VerifyDiagnostics(); 1894comp.VerifyDiagnostics(); 1912comp.VerifyDiagnostics(); 2059comp.VerifyDiagnostics(); 2099comp.VerifyDiagnostics(); 2155comp.VerifyDiagnostics(); 2176comp.VerifyDiagnostics(); 2220comp.VerifyDiagnostics(); 2267comp.VerifyDiagnostics(); 2298comp.VerifyDiagnostics(); 2415comp.VerifyDiagnostics(); 2503comp.VerifyDiagnostics(); 2733comp.VerifyDiagnostics(); 2820comp.VerifyDiagnostics(); 2984comp.VerifyDiagnostics(); 3014comp.VerifyDiagnostics(); 3272comp.VerifyDiagnostics(); 3357comp.VerifyDiagnostics(); 3392comp.VerifyDiagnostics(); 3427comp.VerifyDiagnostics(); 3643comp.VerifyDiagnostics(); 3678comp.VerifyDiagnostics(); 3777comp.VerifyDiagnostics(); 3802comp.VerifyDiagnostics(); 3905comp.VerifyDiagnostics(); 3998comp.VerifyDiagnostics(); 4076comp.VerifyDiagnostics(); 4117comp.VerifyDiagnostics(); 4178comp.VerifyDiagnostics(); 4232comp.VerifyDiagnostics(); 4334comp.VerifyDiagnostics(); 4382comp.VerifyDiagnostics(); 4480comp.VerifyDiagnostics(); 4584comp.VerifyDiagnostics(); 4673comp.VerifyDiagnostics(); 4742comp.VerifyDiagnostics(expected); 4934comp.VerifyDiagnostics(diagnostics); 4979comp.VerifyDiagnostics(); 5046comp.VerifyDiagnostics(); 5086comp.VerifyDiagnostics(); 5151comp.VerifyDiagnostics(); 5297comp.VerifyDiagnostics(); 5344comp.VerifyDiagnostics(); 5372comp.VerifyDiagnostics(); 5393comp.VerifyDiagnostics(); 5419comp.VerifyDiagnostics(); 5503comp.VerifyDiagnostics();
CodeGen\CodeGenTupleTest.cs (144)
332comp.VerifyDiagnostics(); 350comp1.VerifyDiagnostics(); 354comp2.VerifyDiagnostics(); 358comp3.VerifyDiagnostics(); 405comp1.VerifyDiagnostics(); 409comp2.VerifyDiagnostics(); 413comp3.VerifyDiagnostics(); 1684comp1.VerifyDiagnostics(); 1689compLib.VerifyDiagnostics(); 1693comp2.VerifyDiagnostics(); 1698comp3.VerifyDiagnostics(); 3766missingComp.VerifyDiagnostics(); 3770libComp.VerifyDiagnostics(); 4226comp1.VerifyDiagnostics(); 4228comp2.VerifyDiagnostics(); 4273comp1.VerifyDiagnostics(); 4275comp2.VerifyDiagnostics(); 4423comp1.VerifyDiagnostics(); 4425comp2.VerifyDiagnostics(); 5508comp1.VerifyDiagnostics(); 5510comp2.VerifyDiagnostics(); 5535comp.VerifyDiagnostics(); 6310vbComp.VerifyDiagnostics(); 6327vbComp.VerifyDiagnostics(); 6580vbComp.VerifyDiagnostics(); 9010comp.VerifyDiagnostics(); 9139comp.VerifyDiagnostics(); 9220comp.VerifyDiagnostics(); 9303comp.VerifyDiagnostics(); 9901comp.VerifyDiagnostics(); 9943comp.VerifyDiagnostics(); 9989comp.VerifyDiagnostics(); 10055comp.VerifyDiagnostics(); 10094comp.VerifyDiagnostics(); 10128comp.VerifyDiagnostics(); 12999libComp.VerifyDiagnostics(); 13520comp.VerifyDiagnostics(); 13585comp.VerifyDiagnostics(); 14502comp1.VerifyDiagnostics(); 14770lib.VerifyDiagnostics(); 15031lib.VerifyDiagnostics(); 15417lib.VerifyDiagnostics(); 15678lib.VerifyDiagnostics(); 16765libComp.VerifyDiagnostics(); 16768comp1.VerifyDiagnostics(); 16771comp2.VerifyDiagnostics(); 16818comp.VerifyDiagnostics(); 16839comp1.VerifyDiagnostics(); 16841comp2.VerifyDiagnostics(); 16869comp.VerifyDiagnostics(); 16890comp.VerifyDiagnostics(); 16911comp1.VerifyDiagnostics(); 16913comp2.VerifyDiagnostics(); 16944comp.VerifyDiagnostics(); 16965comp.VerifyDiagnostics(); 17002comp1.VerifyDiagnostics(); 17006comp2.VerifyDiagnostics(); 17050comp.VerifyDiagnostics(); 17077comp.VerifyDiagnostics(); 17106comp1.VerifyDiagnostics(); 17108comp2.VerifyDiagnostics(); 17128comp.VerifyDiagnostics(); 17161comp1.VerifyDiagnostics(); 17163comp2.VerifyDiagnostics(); 17327comp.VerifyDiagnostics(); 17398comp.VerifyDiagnostics(); 17431comp.VerifyDiagnostics(); 17467tupleComp.VerifyDiagnostics(); 19337comp.VerifyDiagnostics(); 19731comp.VerifyDiagnostics(); 19766comp1.VerifyDiagnostics(); 19769comp2.VerifyDiagnostics(); 19773comp3.VerifyDiagnostics(); 19777comp4.VerifyDiagnostics(); 20255comp.VerifyDiagnostics(); 20542comp.VerifyDiagnostics(); 21156comp.VerifyDiagnostics(); 21326compDifferent2.VerifyDiagnostics(); 21346comp.VerifyDiagnostics(); 22272lib.VerifyDiagnostics(); 22312lib.VerifyDiagnostics(); 22808libComp.VerifyDiagnostics(); 23173comp0.VerifyDiagnostics(); 23191comp1.VerifyDiagnostics(); 23221comp0v1.VerifyDiagnostics(); 23229comp0v2.VerifyDiagnostics(); 23236comp1.VerifyDiagnostics(); 23247comp2.VerifyDiagnostics(); 23398comp1.VerifyDiagnostics(); 23420libComp.VerifyDiagnostics(); 23474libComp.VerifyDiagnostics(); 23876libComp.VerifyDiagnostics(); 24176compilation.VerifyDiagnostics(); 24255comp.VerifyDiagnostics(); 24318comp.VerifyDiagnostics(); 24383comp.VerifyDiagnostics(); 24455comp.VerifyDiagnostics(); 24528comp.VerifyDiagnostics(); 24639comp.VerifyDiagnostics(); 24655comp.VerifyDiagnostics(); 24678comp.VerifyDiagnostics(); 24728comp.VerifyDiagnostics(); 24987comp.VerifyDiagnostics(); 25019comp.VerifyDiagnostics(); 25277comp.VerifyDiagnostics(); 25317corlibWithoutVT.VerifyDiagnostics(); 25321corlibWithVT.VerifyDiagnostics(); 25325libWithVT.VerifyDiagnostics(); 25425comp.VerifyDiagnostics(); 26217comp.VerifyDiagnostics(); 26291comp.VerifyDiagnostics(); 26324comp.VerifyDiagnostics(); 26357comp.VerifyDiagnostics(); 26390comp.VerifyDiagnostics(); 26421lib.VerifyDiagnostics(); 26465missingContainer.VerifyDiagnostics(); 26483lib.VerifyDiagnostics(); 26528missingContainer.VerifyDiagnostics(); 26542lib.VerifyDiagnostics(); 26589missing.VerifyDiagnostics(); 26607lib.VerifyDiagnostics(); 26682lib.VerifyDiagnostics(); 26693comp.VerifyDiagnostics(); 26697compWithMetadataReference.VerifyDiagnostics(); 26702compWithFakeVt.VerifyDiagnostics(); 26784lib.VerifyDiagnostics(); 26848lib.VerifyDiagnostics(); 26859comp.VerifyDiagnostics(); 26863compWithMetadataReference.VerifyDiagnostics(); 26868compWithFakeContainer.VerifyDiagnostics(); 26923lib.VerifyDiagnostics(); 26934comp.VerifyDiagnostics(); 26938compWithMetadataReference.VerifyDiagnostics(); 26943compWithFakeContainer.VerifyDiagnostics(); 27395comp.VerifyDiagnostics(); 27417comp.VerifyDiagnostics(); 27950comp.VerifyDiagnostics(); 28026comp.VerifyDiagnostics(); 28093comp.VerifyDiagnostics(); 28156comp.VerifyDiagnostics(); 28389comp.VerifyDiagnostics(); 28484comp.VerifyDiagnostics(); 28532comp.VerifyDiagnostics(); 28550comp.VerifyDiagnostics();
CodeGen\CodeGenUsingDeclarationTests.cs (6)
681var compilation = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe).VerifyDiagnostics(); 1162var compilation = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe).VerifyDiagnostics(); 1189var compilation = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe).VerifyDiagnostics(); 1234var compilation = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe).VerifyDiagnostics(); 1281var compilation = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe).VerifyDiagnostics(); 1317var compilation = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe).VerifyDiagnostics();
CodeGen\CodeGenUsingStatementTests.cs (2)
2690CreateCompilation(source).VerifyDiagnostics(); 2854CreateCompilationWithMscorlib40AndSystemCore(source).VerifyDiagnostics();
CodeGen\FixedSizeBufferTests.cs (1)
1153comp.VerifyDiagnostics();
CodeGen\ForeachTest.cs (1)
1692comp.VerifyDiagnostics();
CodeGen\GotoTest.cs (3)
1001s0.VerifyDiagnostics(); 1112s0.VerifyDiagnostics(); 1114s1.VerifyDiagnostics();
CodeGen\IndexAndRangeTests.cs (5)
1958comp.VerifyDiagnostics(); 2587}" + PrintIndexesAndRangesCode, options: TestOptions.ReleaseExe).VerifyDiagnostics(); 3745comp.VerifyDiagnostics(); 3854comp.VerifyDiagnostics(); 4236comp.VerifyDiagnostics();
CodeGen\ITuplePatternTests.cs (2)
54compilation.VerifyDiagnostics(); 138compilation.VerifyDiagnostics();
CodeGen\PatternTests.cs (83)
236compilation.VerifyDiagnostics(); 270compilation.VerifyDiagnostics(); 334compilation.VerifyDiagnostics(); 402compilation.VerifyDiagnostics(); 503compilation.VerifyDiagnostics(); 635compilation.VerifyDiagnostics(); 696compilation.VerifyDiagnostics(); 772compilation.VerifyDiagnostics(); 833compilation.VerifyDiagnostics(); 858compilation.VerifyDiagnostics(); 894compilation.VerifyDiagnostics(); 933compilation.VerifyDiagnostics(); 969compilation.VerifyDiagnostics(); 1009compilation.VerifyDiagnostics(); 1056compilation.VerifyDiagnostics(); 1107compilation.VerifyDiagnostics(); 1142compilation.VerifyDiagnostics(); 1180compilation.VerifyDiagnostics(); 1224compilation.VerifyDiagnostics(); 1283compilation.VerifyDiagnostics(); 1340compilation.VerifyDiagnostics(); 1400compilation.VerifyDiagnostics(); 1472compilation.VerifyDiagnostics(); 1536compilation.VerifyDiagnostics(); 1599compilation.VerifyDiagnostics(); 1658compilation.VerifyDiagnostics(); 1713compilation.VerifyDiagnostics(); 1774compilation.VerifyDiagnostics(); 1841compilation.VerifyDiagnostics(); 1905compilation.VerifyDiagnostics(); 2039compilation.VerifyDiagnostics(); 2174compilation.VerifyDiagnostics(); 2268compilation.VerifyDiagnostics(); 2405compilation.VerifyDiagnostics(); 2539compilation.VerifyDiagnostics(); 2613compilation.VerifyDiagnostics(); 2647compilation.VerifyDiagnostics(); 2668compilation.VerifyDiagnostics(); 2714compilation.VerifyDiagnostics(); 2794compilation.VerifyDiagnostics(); 2840compilation.VerifyDiagnostics(); 2903compilation.VerifyDiagnostics(); 3000compilation.VerifyDiagnostics(); 3056compilation.VerifyDiagnostics(); 3097compilation.VerifyDiagnostics(); 3129compilation.VerifyDiagnostics(); 3238compilation.VerifyDiagnostics(); 3266compilation.VerifyDiagnostics(); 3296compilation.VerifyDiagnostics(); 3385compilation.VerifyDiagnostics(); 3551compilation.VerifyDiagnostics(); 3634compilation.VerifyDiagnostics(); 3706compilation.VerifyDiagnostics(); 3782compilation.VerifyDiagnostics(); 3993compilation.VerifyDiagnostics(); 3996compilation.VerifyDiagnostics(); 4031compilation.VerifyDiagnostics(); 4034compilation.VerifyDiagnostics(); 4059compilation.VerifyDiagnostics(); 4095compilation.VerifyDiagnostics(); 4122compilation.VerifyDiagnostics(); 4174compilation.VerifyDiagnostics(); 4214compilation.VerifyDiagnostics(); 4249compilation.VerifyDiagnostics(); 4330compilation.VerifyDiagnostics(); 4509compilation.VerifyDiagnostics(); 4774compilation.VerifyDiagnostics(); 4807compilation.VerifyDiagnostics(); 4881compilation.VerifyDiagnostics(); 4915compilation.VerifyDiagnostics(); 4952compilation.VerifyDiagnostics(); 5454compilation.VerifyDiagnostics(); 5482compilation.VerifyDiagnostics(); 5508compilation.VerifyDiagnostics(); 5550compilation.VerifyDiagnostics(); 5608compilation.VerifyDiagnostics(); 5654compilation.VerifyDiagnostics(); 5716compilation.VerifyDiagnostics(); 5790compilation.VerifyDiagnostics(); 5880compilation.VerifyDiagnostics(); 5939compilation.VerifyDiagnostics(); 6024compilation.VerifyDiagnostics(); 6108compilation.VerifyDiagnostics();
CodeGen\SwitchTests.cs (10)
278CreateCompilation(source).VerifyDiagnostics(); 9884.VerifyDiagnostics(); 9936.VerifyDiagnostics(); 10028.VerifyDiagnostics(); 10120.VerifyDiagnostics(); 10521.VerifyDiagnostics(); 10608.VerifyDiagnostics(); 10696.VerifyDiagnostics(); 10803.VerifyDiagnostics(); 10868.VerifyDiagnostics();
CodeGen\UnsafeTests.cs (3)
10524comp.VerifyDiagnostics(); 11358comp.VerifyDiagnostics(); 11808compilation.VerifyDiagnostics();
Emit\CompilationEmitTests.cs (39)
81compilation.VerifyDiagnostics(); 100compilation.VerifyDiagnostics(); 1430comp => comp.VerifyDiagnostics()); 1450comp => comp.VerifyDiagnostics()); 1468comp => comp.VerifyDiagnostics()); 1486comp => comp.VerifyDiagnostics()); 1504comp => comp.VerifyDiagnostics()); 1546comp => comp.VerifyDiagnostics()); 1565comp => comp.VerifyDiagnostics()); 1609comp.VerifyDiagnostics(); 1645comp => comp.VerifyDiagnostics()); 1665comp => comp.VerifyDiagnostics()); 1686comp.VerifyDiagnostics(); 1717comp => comp.VerifyDiagnostics()); 1736comp => comp.VerifyDiagnostics()); 1755comp => comp.VerifyDiagnostics()); 1771comp => comp.VerifyDiagnostics()); 1807comp1.VerifyDiagnostics(); 1826comp3.VerifyDiagnostics(); 1889libComp.VerifyDiagnostics(); 2001comp.VerifyDiagnostics(); 2019comp.VerifyDiagnostics(); 2039comp.VerifyDiagnostics(); 2058comp.VerifyDiagnostics(); 4014compilation.VerifyDiagnostics(); 4050compilation.VerifyDiagnostics(); 4080compilation.VerifyDiagnostics(); 4111compilation.VerifyDiagnostics(); 4142compilation.VerifyDiagnostics(); 4173compilation.VerifyDiagnostics(); 4211compilation.VerifyDiagnostics(); 4231compilation.VerifyDiagnostics(); 4289compilation.VerifyDiagnostics(); 5263comp1.VerifyDiagnostics(); 5267comp2.VerifyDiagnostics(); 5272comp3.VerifyDiagnostics( 5310comp1.VerifyDiagnostics(); 5314comp2.VerifyDiagnostics(); 5318comp3.VerifyDiagnostics();
Emit\CovariantReturnTests.cs (7)
230compilation.VerifyDiagnostics(); 279compilation.VerifyDiagnostics(); 314compilation.VerifyDiagnostics(); 336var csharpCompilation = CreateCovariantCompilation(cSharpSource).VerifyDiagnostics(); 392var csharpCompilation = CreateCovariantCompilation(cSharpSource).VerifyDiagnostics(); 430.VerifyDiagnostics( 547compilation.VerifyDiagnostics();
Emit\DeterministicTests.cs (1)
486comp.VerifyDiagnostics();
Emit\DynamicAnalysis\DynamicInstrumentationTests.cs (2)
2959c.VerifyDiagnostics(); 2995c.VerifyDiagnostics();
Emit\EmitCustomModifiers.cs (2)
708compilation.VerifyDiagnostics(); 742compilation.VerifyDiagnostics();
Emit\EmitErrorTests.cs (1)
238compilation2.VerifyDiagnostics(expectedDiagnostics);
Emit\EntryPointTests.cs (14)
146compilation.VerifyDiagnostics(); 240compilation.VerifyDiagnostics(); 243compilation2.VerifyDiagnostics(); 378compilation.VerifyDiagnostics(); 399compilation.VerifyDiagnostics(); 447compilation.VerifyDiagnostics(); 603compilation.VerifyDiagnostics(); 676compilation.VerifyDiagnostics(); 1040CompileConsoleApp(source).VerifyDiagnostics(); 1108CompileConsoleApp(source).VerifyDiagnostics(); 1305CompileConsoleApp(source).VerifyDiagnostics(); 1319CompileConsoleApp(source).VerifyDiagnostics(); 1533CreateCompilation(source, options: TestOptions.ReleaseExe.WithMainTypeName("Program")).VerifyDiagnostics(); 1571compilation.VerifyDiagnostics();
Emit\InAttributeModifierTests.cs (1)
4423var comp = CreateCompilation(user, references: new[] { ref1, ref2 }).VerifyDiagnostics();
Emit\OptionalArgumentsTests.cs (5)
109compilation.VerifyDiagnostics(); 145comp1.VerifyDiagnostics(); 177comp2a.VerifyDiagnostics(); 186comp2b.VerifyDiagnostics(); 208comp.VerifyDiagnostics();
PrivateProtected.cs (11)
78.VerifyDiagnostics( 244.VerifyDiagnostics( 250.VerifyDiagnostics( 387.VerifyDiagnostics( 452.VerifyDiagnostics( 580.VerifyDiagnostics( 626.VerifyDiagnostics( 682.VerifyDiagnostics( 696compilation1.VerifyDiagnostics(); 723compilation1.VerifyDiagnostics(); 749compilation1.VerifyDiagnostics();
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (189)
CodeGen\CodeGenLengthBasedSwitchTests.cs (37)
78comp.VerifyDiagnostics(); 268comp.VerifyDiagnostics(); 506comp.VerifyDiagnostics(); 830comp.VerifyDiagnostics(); 1035comp.VerifyDiagnostics(); 1367comp.VerifyDiagnostics(); 1473comp.VerifyDiagnostics(); 1648comp.VerifyDiagnostics(); 2319comp.VerifyDiagnostics(); 2431comp.VerifyDiagnostics(); 2635comp.VerifyDiagnostics(); 2865comp.VerifyDiagnostics(); 3169comp.VerifyDiagnostics(); 4385comp.VerifyDiagnostics(); 6751comp.VerifyDiagnostics(); 7762comp.VerifyDiagnostics(); 9055comp.VerifyDiagnostics(); 9185comp.VerifyDiagnostics(); 9367comp.VerifyDiagnostics(); 9582comp.VerifyDiagnostics(); 9826comp.VerifyDiagnostics(); 9963comp.VerifyDiagnostics(); 10343comp.VerifyDiagnostics(); 10804comp.VerifyDiagnostics(); 11086comp.VerifyDiagnostics(); 11135comp.VerifyDiagnostics(); 11334comp.VerifyDiagnostics(); 11644comp.VerifyDiagnostics(); 11991comp.VerifyDiagnostics(); 12335comp.VerifyDiagnostics(); 12648comp.VerifyDiagnostics(); 12986comp.VerifyDiagnostics(); 13109comp.VerifyDiagnostics(); 13303comp.VerifyDiagnostics(); 13586comp.VerifyDiagnostics(); 13911comp.VerifyDiagnostics(); 14021comp.VerifyDiagnostics();
CodeGen\CodeGenMethodGroupConversionCachingTests.cs (1)
6027comp.VerifyDiagnostics();
CodeGen\CodeGenSpanBasedStringConcatTests.cs (9)
649comp.VerifyDiagnostics(); 724comp.VerifyDiagnostics(); 798comp.VerifyDiagnostics(); 2190comp.VerifyDiagnostics(); 2268comp.VerifyDiagnostics(); 2345comp.VerifyDiagnostics(); 4843comp.VerifyDiagnostics(); 4924comp.VerifyDiagnostics(); 5004comp.VerifyDiagnostics();
CodeGen\IndexAndRangeTests.cs (1)
2198comp.VerifyDiagnostics();
Emit\EditAndContinue\AssemblyReferencesTests.cs (13)
203lib0.VerifyDiagnostics(); 206lib1.VerifyDiagnostics(); 209lib2.VerifyDiagnostics(); 304lib0.VerifyDiagnostics(); 308lib1.VerifyDiagnostics(); 313lib2.VerifyDiagnostics(); 388lib0.VerifyDiagnostics(); 392lib1.VerifyDiagnostics(); 396lib2.VerifyDiagnostics(); 470var lib01 = CreateCompilation(srcLib01, assemblyName: "Lib", options: s_signedDll).VerifyDiagnostics(); 473var lib02 = CreateCompilation(srcLib02, assemblyName: "Lib", options: s_signedDll).VerifyDiagnostics(); 476var lib11 = CreateCompilation(srcLib11, assemblyName: "Lib", options: s_signedDll).VerifyDiagnostics(); 479var lib12 = CreateCompilation(srcLib12, assemblyName: "Lib", options: s_signedDll).VerifyDiagnostics();
Emit\EditAndContinue\EditAndContinuePdbTests.cs (3)
125compilation0.VerifyDiagnostics(); 126compilation1.VerifyDiagnostics(); 127compilation2.VerifyDiagnostics();
Emit\NumericIntPtrTests.cs (75)
124comp.VerifyDiagnostics(); 174comp.VerifyDiagnostics(); 234comp.VerifyDiagnostics(); 267comp.VerifyDiagnostics(); 329comp.VerifyDiagnostics(); 366comp.VerifyDiagnostics(); 486comp.VerifyDiagnostics(); 541comp.VerifyDiagnostics(); 561comp.VerifyDiagnostics(); 626comp.VerifyDiagnostics(); 768comp.VerifyDiagnostics(); 810comp.VerifyDiagnostics(); 934comp.VerifyDiagnostics(); 937comp.VerifyDiagnostics(); 942comp.VerifyDiagnostics(); 945comp.VerifyDiagnostics(); 999comp.VerifyDiagnostics(); 1022comp.VerifyDiagnostics(); 1025comp.VerifyDiagnostics(); 1047comp.VerifyDiagnostics(); 1095comp.VerifyDiagnostics(); 1109comp.VerifyDiagnostics(); 1133comp.VerifyDiagnostics(); 1148comp.VerifyDiagnostics(); 1189comp.VerifyDiagnostics(); 1192comp.VerifyDiagnostics(); 1197comp.VerifyDiagnostics(); 1200comp.VerifyDiagnostics(); 1276comp.VerifyDiagnostics(); 1279comp.VerifyDiagnostics(); 1522comp.VerifyDiagnostics(); 1626comp.VerifyDiagnostics(); 1647comp.VerifyDiagnostics(); 1739comp.VerifyDiagnostics(); 1758comp.VerifyDiagnostics(); 1866comp.VerifyDiagnostics(); 1869comp.VerifyDiagnostics(); 1890comp.VerifyDiagnostics(); 1893comp.VerifyDiagnostics(); 2293comp.VerifyDiagnostics(); 2409comp.VerifyDiagnostics(expectedError is null ? Array.Empty<DiagnosticDescription>() : new[] { expectedError }); 2777comp.VerifyDiagnostics(); 2798comp.VerifyDiagnostics(); 2879comp.VerifyDiagnostics(); 6241comp.VerifyDiagnostics(expectedDiagnostics); 6614comp.VerifyDiagnostics(expectedDiagnostics); 6848comp.VerifyDiagnostics(expectedDiagnostics); 6898comp.VerifyDiagnostics(); 7021comp.VerifyDiagnostics(expected); 8122comp.VerifyDiagnostics(expectedDiagnostics); 9015comp.VerifyDiagnostics(expectedDiagnostics); 9064comp.VerifyDiagnostics(expectedDiagnostics); 9905comp.VerifyDiagnostics(); 10296comp.VerifyDiagnostics(); 10331corlib.VerifyDiagnostics(); 10341comp.VerifyDiagnostics(); 10502comp.VerifyDiagnostics(); 10544comp.VerifyDiagnostics(); 10577comp.VerifyDiagnostics(); 10589comp.VerifyDiagnostics(); 10669comp.VerifyDiagnostics(); 10682comp.VerifyDiagnostics(); 10913libComp.VerifyDiagnostics(); 10922comp.VerifyDiagnostics(); 10944libComp.VerifyDiagnostics(); 10986comp.VerifyDiagnostics(); 11048comp.VerifyDiagnostics(); 11052comp.VerifyDiagnostics(); 11154comp.VerifyDiagnostics(); 11169comp.VerifyDiagnostics(); 11192comp.VerifyDiagnostics(); 11220comp.VerifyDiagnostics(); 11245comp.VerifyDiagnostics(); 11290comp.VerifyDiagnostics(); 11705comp.VerifyDiagnostics();
Emit\UnmanagedTypeModifierTests.cs (2)
344CreateCompilation(code, references: new[] { reference }).VerifyDiagnostics( 1116CreateCompilation(user, references: new[] { ref1, ref2 }).VerifyDiagnostics();
PDB\CheckSumTest.cs (2)
411comp.VerifyDiagnostics(); 468comp.VerifyDiagnostics();
PDB\PDBAsyncTests.cs (3)
70var compilation = CreateCompilationWithMscorlib461(text, options: TestOptions.DebugDll).VerifyDiagnostics(); 386var compilation = CreateCompilationWithMscorlib461(text, options: TestOptions.DebugDll).VerifyDiagnostics(); 547.VerifyDiagnostics();
PDB\PDBIteratorTests.cs (1)
1625compilation.VerifyDiagnostics();
PDB\PDBLambdaTests.cs (12)
320c.VerifyDiagnostics(); 440c.VerifyDiagnostics(); 554c.VerifyDiagnostics(); 639c.VerifyDiagnostics(); 749c.VerifyDiagnostics(); 828c.VerifyDiagnostics(); 913c.VerifyDiagnostics(); 993c.VerifyDiagnostics(); 1069c.VerifyDiagnostics(); 1157c.VerifyDiagnostics(); 1676c.VerifyDiagnostics(); 2025compilation.VerifyDiagnostics();
PDB\PDBLocalFunctionTests.cs (5)
43c.VerifyDiagnostics(); 158c.VerifyDiagnostics(); 236c.VerifyDiagnostics(); 327c.VerifyDiagnostics(); 408c.VerifyDiagnostics();
PDB\PDBTests.cs (15)
95compilation.VerifyDiagnostics(); 3720c.VerifyDiagnostics(); 3774c.VerifyDiagnostics(); 3842c.VerifyDiagnostics(); 3936c.VerifyDiagnostics(); 4008c.VerifyDiagnostics(); 4040c.VerifyDiagnostics(); 8075comp.VerifyDiagnostics(); 8118comp.VerifyDiagnostics(); 8161comp.VerifyDiagnostics(); 8194comp.VerifyDiagnostics(); 8226comp.VerifyDiagnostics(); 8263comp.VerifyDiagnostics(); 8298comp.VerifyDiagnostics(); 8340comp.VerifyDiagnostics();
PDB\PDBUsingTests.cs (6)
796compilation.VerifyDiagnostics(); 819comp.VerifyDiagnostics(); 883comp.VerifyDiagnostics(); 969comp.VerifyDiagnostics(); 1721compilation2.VerifyDiagnostics(); 1789compilation2.VerifyDiagnostics();
PDB\PDBWinMdExpTests.cs (4)
30sourceFileName: "source.cs").VerifyDiagnostics(); 111sourceFileName: "source.cs").VerifyDiagnostics(); 158sourceFileName: "source.cs").VerifyDiagnostics(); 273sourceFileName: "source.cs").VerifyDiagnostics();
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1089)
Attributes\AttributeTests.cs (96)
114origLibComp.VerifyDiagnostics(); 117compWithReferenceToLib.VerifyDiagnostics(); 120newLibComp.VerifyDiagnostics(); 123newLibComp2.VerifyDiagnostics(); 147origLibComp.VerifyDiagnostics(); 150compWithReferenceToLib.VerifyDiagnostics(); 187origLibComp.VerifyDiagnostics(); 190compWithReferenceToLib.VerifyDiagnostics(); 236origLibComp.VerifyDiagnostics(); 239compWithReferenceToLib.VerifyDiagnostics(); 242newLibComp.VerifyDiagnostics(); 245newLibComp2.VerifyDiagnostics(); 269origLibComp.VerifyDiagnostics(); 272newComp.VerifyDiagnostics(); 275compWithReferenceToLib.VerifyDiagnostics(); 279newLibComp.VerifyDiagnostics(); 283newLibComp2.VerifyDiagnostics(); 306origLibComp.VerifyDiagnostics(); 309newComp.VerifyDiagnostics(); 312compWithReferenceToLib.VerifyDiagnostics(); 315newLibComp.VerifyDiagnostics(); 318newLibComp2.VerifyDiagnostics(); 322newLibComp3.VerifyDiagnostics(); 340origLibComp.VerifyDiagnostics(); 343compWithDerivedAndReferenceToLib.VerifyDiagnostics(); 346compWithC.VerifyDiagnostics(); 379origLibComp.VerifyDiagnostics(); 382newComp.VerifyDiagnostics(); 385compWithReferenceToLib.VerifyDiagnostics(); 389newLibComp.VerifyDiagnostics(); 393newLibComp2.VerifyDiagnostics(); 417origLibComp.VerifyDiagnostics(); 420newComp.VerifyDiagnostics(); 423compWithReferenceToLib.VerifyDiagnostics(); 426newLibComp.VerifyDiagnostics(); 429newLibComp2.VerifyDiagnostics(); 452origLibComp.VerifyDiagnostics(); 455newComp.VerifyDiagnostics(); 458compWithReferenceToLib.VerifyDiagnostics(); 461newLibComp.VerifyDiagnostics(); 464newLibComp2.VerifyDiagnostics(); 553comp.VerifyDiagnostics( 583comp.VerifyDiagnostics(); 616comp.VerifyDiagnostics(); 703comp.VerifyDiagnostics(); 744comp.VerifyDiagnostics(); 808comp.VerifyDiagnostics(); 850comp.VerifyDiagnostics(); 891comp.VerifyDiagnostics(); 930comp.VerifyDiagnostics(); 990.VerifyDiagnostics(); 995.VerifyDiagnostics(); 998.VerifyDiagnostics(); 1019comp.VerifyDiagnostics(); 1117comp.VerifyDiagnostics(); 1181comp.VerifyDiagnostics(); 1220comp.VerifyDiagnostics(); 1259comp.VerifyDiagnostics(); 1297comp.VerifyDiagnostics(); 1337comp.VerifyDiagnostics(); 5713cm.VerifyDiagnostics(); 6147compilation.VerifyDiagnostics(); 6187compilation.VerifyDiagnostics(/*CS0657, CS0246*/); 6940compilation.VerifyDiagnostics(); 7763CreateCompilation(source).VerifyDiagnostics(); 7844CreateCompilation(source).VerifyDiagnostics(); 8678compilation.VerifyDiagnostics(); 8720compilation.VerifyDiagnostics(); // we now recognize the extension method even without the assembly-level attribute 8810compilation.VerifyDiagnostics(); 9173comp.VerifyDiagnostics(); 9200comp.VerifyDiagnostics(); 9642comp.VerifyDiagnostics(); 9714comp.VerifyDiagnostics(); 9795comp.VerifyDiagnostics(); 9865comp.VerifyDiagnostics(); 9909comp.VerifyDiagnostics(); 10034compilation2.VerifyDiagnostics(); 10239comp.VerifyDiagnostics(); 10243comp.VerifyDiagnostics(); 10260comp.VerifyDiagnostics(); 10289comp.VerifyDiagnostics(); 10293comp.VerifyDiagnostics(); 10315comp.VerifyDiagnostics(); 10319comp.VerifyDiagnostics(); 10341comp.VerifyDiagnostics(); 10345comp.VerifyDiagnostics(); 10361comp.VerifyDiagnostics(); 10467comp2.VerifyDiagnostics(); 10470comp2.VerifyDiagnostics(); 10509comp.VerifyDiagnostics(); 10512comp.VerifyDiagnostics(); 10538comp2.VerifyDiagnostics(); 10541comp2.VerifyDiagnostics(); 10909comp.VerifyDiagnostics(); 10923comp.VerifyDiagnostics(); 10940comp.VerifyDiagnostics();
Attributes\AttributeTests_Assembly.cs (8)
246other.VerifyDiagnostics(); 1433compilation.VerifyDiagnostics(); 1525compilation.VerifyDiagnostics(); 1535compilation.VerifyDiagnostics(); 1876CreateCompilation(source).VerifyDiagnostics(); 1947assembly.VerifyDiagnostics(); 2079assembly.VerifyDiagnostics(); 2102assembly.VerifyDiagnostics();
Attributes\AttributeTests_CallerInfoAttributes.cs (3)
680comp1.VerifyDiagnostics(); 1566comp1.VerifyDiagnostics(); 2529CreateCompilationWithMscorlib461(source).VerifyDiagnostics();
Attributes\AttributeTests_Dynamic.cs (4)
1190comp.VerifyDiagnostics(); 1193comp.VerifyDiagnostics(); 1227comp.VerifyDiagnostics(); 1230comp.VerifyDiagnostics();
Attributes\AttributeTests_Experimental.cs (2)
349comp.VerifyDiagnostics(); 534comp1.VerifyDiagnostics();
Attributes\AttributeTests_IsByRefLike.cs (7)
137var referenceA = CreateCompilation(new[] { codeA, GetCompilerFeatureRequiredAttributeText(includeCompilerFeatureRequired) }).VerifyDiagnostics().ToMetadataReference(); 164var referenceA = CreateCompilation(codeA).VerifyDiagnostics().ToMetadataReference(); 191var referenceA = CreateCompilation(codeA).VerifyDiagnostics().ToMetadataReference(); 217var referenceA = CreateCompilation(codeA).VerifyDiagnostics().ToMetadataReference(); 246var referenceA = CreateCompilation(codeA).VerifyDiagnostics().ToMetadataReference(); 275var referenceA = CreateCompilation(codeA).VerifyDiagnostics().ToMetadataReference(); 312var referenceA = CreateCompilation(codeA).VerifyDiagnostics().ToMetadataReference();
Attributes\AttributeTests_LifetimeAnnotation.cs (2)
55comp.VerifyDiagnostics(); 324comp.VerifyDiagnostics();
Attributes\AttributeTests_Locations.cs (1)
32CreateCompilation(new[] { source1, source2 }).VerifyDiagnostics();
Attributes\AttributeTests_MarshalAs.cs (1)
705.VerifyDiagnostics();
Attributes\AttributeTests_NativeInteger.cs (7)
62comp.VerifyDiagnostics(); 343comp.VerifyDiagnostics(); 347comp.VerifyDiagnostics(); 430comp.VerifyDiagnostics(); 503comp.VerifyDiagnostics(); 507comp.VerifyDiagnostics(); 1398comp.VerifyDiagnostics();
Attributes\AttributeTests_Nullable.cs (13)
59lib1_comp.VerifyDiagnostics(); 67lib2_comp.VerifyDiagnostics(); 87client_comp.VerifyDiagnostics(); 122lib1_comp.VerifyDiagnostics(); 131lib2_comp.VerifyDiagnostics(); 166lib3_comp.VerifyDiagnostics(); 230valueTuple_comp.VerifyDiagnostics(); 242tupleElementNamesAttribute_comp.VerifyDiagnostics(); 257lib1_comp.VerifyDiagnostics(); 1435comp2.VerifyDiagnostics(); 4261comp.VerifyDiagnostics(); 4307comp.VerifyDiagnostics(); 4377comp.VerifyDiagnostics();
Attributes\AttributeTests_NullableContext.cs (1)
52comp.VerifyDiagnostics();
Attributes\AttributeTests_NullablePublicOnly.cs (3)
53comp.VerifyDiagnostics(); 238comp.VerifyDiagnostics(); 441comp.VerifyDiagnostics();
Attributes\AttributeTests_ReadOnlyStruct.cs (7)
127var referenceA = CreateCompilation(codeA).VerifyDiagnostics().ToMetadataReference(); 154var referenceA = CreateCompilation(codeA).VerifyDiagnostics().ToMetadataReference(); 181var referenceA = CreateCompilation(codeA).VerifyDiagnostics().ToMetadataReference(); 207var referenceA = CreateCompilation(codeA).VerifyDiagnostics().ToMetadataReference(); 236var referenceA = CreateCompilation(codeA).VerifyDiagnostics().ToMetadataReference(); 265var referenceA = CreateCompilation(codeA).VerifyDiagnostics().ToMetadataReference(); 302var referenceA = CreateCompilation(codeA).VerifyDiagnostics().ToMetadataReference();
Attributes\AttributeTests_RefReadOnly.cs (14)
108var referenceA = CreateCompilation(codeA).VerifyDiagnostics().ToMetadataReference(); 191var referenceA = CreateCompilation(codeA).VerifyDiagnostics().ToMetadataReference(); 264var referenceA = CreateCompilation(codeA).VerifyDiagnostics().ToMetadataReference(); 356var referenceA = CreateCompilation(codeA).VerifyDiagnostics().ToMetadataReference(); 462var referenceA = CreateCompilation(codeA).VerifyDiagnostics().ToMetadataReference(); 552var referenceA = CreateCompilation(codeA).VerifyDiagnostics().ToMetadataReference(); 668var referenceA = CreateCompilation(codeA).VerifyDiagnostics().ToMetadataReference(); 799var referenceA = CreateCompilation(codeA).VerifyDiagnostics().ToMetadataReference(); 841var referenceA = CreateCompilation(codeA).VerifyDiagnostics().ToMetadataReference(); 868var referenceA = CreateCompilation(codeA).VerifyDiagnostics().ToMetadataReference(); 894var referenceA = CreateCompilation(codeA).VerifyDiagnostics().ToMetadataReference(); 923var referenceA = CreateCompilation(codeA).VerifyDiagnostics().ToMetadataReference(); 952var referenceA = CreateCompilation(codeA).VerifyDiagnostics().ToMetadataReference(); 989var referenceA = CreateCompilation(codeA).VerifyDiagnostics().ToMetadataReference();
Attributes\AttributeTests_RefSafetyRules.cs (1)
86comp.VerifyDiagnostics();
Attributes\AttributeTests_StructLayout.cs (1)
605CreateCompilation(source).VerifyDiagnostics();
Attributes\AttributeTests_Synthesized.cs (3)
1934var mslibComp = CreateEmptyCompilation(new string[] { mslib }, parseOptions: parseOptions).VerifyDiagnostics(); 1938var mslibNoStringComp = CreateEmptyCompilation(new string[] { mslibNoString }, parseOptions: parseOptions).VerifyDiagnostics(); 1955var diagLibComp = CreateEmptyCompilation(new string[] { diagLibSource }, parseOptions: parseOptions, references: new[] { mslibRef }).VerifyDiagnostics();
Attributes\AttributeTests_Tuples.cs (3)
144comp.VerifyDiagnostics(); 177comp.VerifyDiagnostics(); 215comp.VerifyDiagnostics();
Attributes\AttributeTests_WellKnownAttributes.cs (33)
980c2.VerifyDiagnostics(); 2199}").VerifyDiagnostics(); 2224}").VerifyDiagnostics(); 2249}").VerifyDiagnostics(); 2274}").VerifyDiagnostics(); 3140compilation.VerifyDiagnostics(); 4378compilation.VerifyDiagnostics(); 4967lib.VerifyDiagnostics(); 4969comp.VerifyDiagnostics(); 5277comp3.VerifyDiagnostics(); 5280comp3.VerifyDiagnostics(); 5504CreateCompilationWithMscorlib40(source).VerifyDiagnostics(); 5519CreateCompilationWithMscorlib40(source).VerifyDiagnostics(); 5565CreateCompilation(source).VerifyDiagnostics(); 6734CreateCompilation(source).VerifyDiagnostics(); 8599comp1.VerifyDiagnostics(); 8654comp1.VerifyDiagnostics(); 8698comp1.VerifyDiagnostics(); 8741comp1.VerifyDiagnostics(); 8784comp1.VerifyDiagnostics(); 8893comp1.VerifyDiagnostics(); 8941comp1.VerifyDiagnostics(); 9020comp1.VerifyDiagnostics(); 9074comp1.VerifyDiagnostics(); 9123comp1.VerifyDiagnostics(); 9175comp1.VerifyDiagnostics(); 9504comp1.VerifyDiagnostics(); 9556comp.VerifyDiagnostics(); 9648comp1.VerifyDiagnostics(); 9781compilation1.VerifyDiagnostics(); 13459CreateCompilation(code).VerifyDiagnostics().VerifyEmitDiagnostics( 13528CreateCompilation(code).VerifyDiagnostics().VerifyEmitDiagnostics( 13619CreateCompilation(code).VerifyDiagnostics().VerifyEmitDiagnostics();
Attributes\InternalsVisibleToAndStrongNameTests.cs (38)
110other.VerifyDiagnostics(); 154comp.VerifyDiagnostics(); 256other.VerifyDiagnostics(); 283other.VerifyDiagnostics(); 325other.VerifyDiagnostics(); 455other.VerifyDiagnostics(); 466other.VerifyDiagnostics(); 478c.VerifyDiagnostics(); 614comp.VerifyDiagnostics(); 636comp.VerifyDiagnostics(); 745comp.VerifyDiagnostics(); 903other.VerifyDiagnostics(); 932other.VerifyDiagnostics(); 955requestor.VerifyDiagnostics(); 1057other.VerifyDiagnostics(); 1080requestor.VerifyDiagnostics(); 1095other.VerifyDiagnostics(); 1125other.VerifyDiagnostics(); 1139requestor.VerifyDiagnostics(); 1154other.VerifyDiagnostics(); 1185other.VerifyDiagnostics(); 1220other.VerifyDiagnostics(); 1260other.VerifyDiagnostics(); 1291other.VerifyDiagnostics(); 1327other.VerifyDiagnostics(); 1369giver.VerifyDiagnostics(); 1852comp.VerifyDiagnostics(); 1946other.VerifyDiagnostics(); 2086comp1.VerifyDiagnostics(); 2090comp2.VerifyDiagnostics(); 2095comp3.VerifyDiagnostics(); 2205comp1.VerifyDiagnostics(); 2209comp2.VerifyDiagnostics(); 2213comp3.VerifyDiagnostics(); 2218comp4.VerifyDiagnostics(); 2372comp1.VerifyDiagnostics(); 2815var compilation = CreateCompilation(string.Empty, options: options, parseOptions: parseOptions).VerifyDiagnostics(); 2826var compilation = CreateCompilation(string.Empty, options: options, parseOptions: parseOptions).VerifyDiagnostics();
Diagnostics\DiagnosticAnalyzerTests.cs (68)
289.VerifyDiagnostics() 558.VerifyDiagnostics() 578.VerifyDiagnostics() 598.VerifyDiagnostics() 621.VerifyDiagnostics() 641.VerifyDiagnostics() 684.VerifyDiagnostics() 702.VerifyDiagnostics() 863.VerifyDiagnostics() 935.VerifyDiagnostics() 971.VerifyDiagnostics() 989.VerifyDiagnostics() 1000.VerifyDiagnostics() 1017compilation.VerifyDiagnostics(); 1117compilation.VerifyDiagnostics(); 1136.VerifyDiagnostics() 1145.VerifyDiagnostics() 1154.VerifyDiagnostics() 1170.VerifyDiagnostics() 1189.VerifyDiagnostics() 1271.VerifyDiagnostics() 1366.VerifyDiagnostics() 1399compilation.VerifyDiagnostics(); 1424compilation.VerifyDiagnostics(); 1537compilation.VerifyDiagnostics(); 1572compilation.VerifyDiagnostics(); 1615compilation.VerifyDiagnostics(); 1686.VerifyDiagnostics() 1886compilation.VerifyDiagnostics(); 1912compilation.VerifyDiagnostics(); 1945compilation.VerifyDiagnostics(); 1966compilation.VerifyDiagnostics(); 1989compilation.VerifyDiagnostics(); 2010compilation.VerifyDiagnostics(); 2035compilation.VerifyDiagnostics(); 2055compilation.VerifyDiagnostics(); 2074compilation.VerifyDiagnostics(); 2097compilation.VerifyDiagnostics(); 2118compilation.VerifyDiagnostics(); 2144compilation.VerifyDiagnostics(); 2177compilation.VerifyDiagnostics(); 2242compilation.VerifyDiagnostics(); 2534compilation.VerifyDiagnostics(); 2563compilation.VerifyDiagnostics(); 2591compilation.VerifyDiagnostics(); 2609compilation.VerifyDiagnostics(); 2655compilation.VerifyDiagnostics(); 2851compilation.VerifyDiagnostics(); 3141compilation.VerifyDiagnostics(); 3189compilation.VerifyDiagnostics(); 3221compilation.VerifyDiagnostics(); 3372compilation.VerifyDiagnostics(); 3388compilation.VerifyDiagnostics(); 3415compilation.VerifyDiagnostics(); 3432compilation.VerifyDiagnostics(); 3468compilation.VerifyDiagnostics(); 3484compilation.VerifyDiagnostics(); 3519compilation.VerifyDiagnostics(); 3535compilation.VerifyDiagnostics(); 3556compilation.VerifyDiagnostics(); 3593compilation.VerifyDiagnostics(); 3623compilation.VerifyDiagnostics(); 3808.VerifyDiagnostics(); 3881compilation.VerifyDiagnostics(); 3916compilation.VerifyDiagnostics(); 4100.VerifyDiagnostics() 4157.VerifyDiagnostics() 4204compilation.VerifyDiagnostics()
Diagnostics\DiagnosticSuppressorTests.cs (12)
231compilation.VerifyDiagnostics(); 254compilation.VerifyDiagnostics(); 302compilation.VerifyDiagnostics(); 324compilation.VerifyDiagnostics(); 388compilation.VerifyDiagnostics(); 430compilation.VerifyDiagnostics(); 475compilation.VerifyDiagnostics(); 529compilation.VerifyDiagnostics(); 582compilation.VerifyDiagnostics(); 632compilation.VerifyDiagnostics(); 672compilation.VerifyDiagnostics(); 689compilation.VerifyDiagnostics();
Diagnostics\GetDiagnosticsTests.cs (2)
585compilation.VerifyDiagnostics(); 1694compilation.VerifyDiagnostics();
Diagnostics\OperationAnalyzerTests.cs (27)
47.VerifyDiagnostics() 109.VerifyDiagnostics() 188.VerifyDiagnostics() 216.VerifyDiagnostics() 346.VerifyDiagnostics() 423.VerifyDiagnostics() 495.VerifyDiagnostics() 550.VerifyDiagnostics() 721.VerifyDiagnostics() 786.VerifyDiagnostics() 826.VerifyDiagnostics() 929.VerifyDiagnostics() 978.VerifyDiagnostics() 1119.VerifyDiagnostics() 1155.VerifyDiagnostics() 1218.VerifyDiagnostics() 1243.VerifyDiagnostics() 1274.VerifyDiagnostics() 1298.VerifyDiagnostics() 1338.VerifyDiagnostics() 1431.VerifyDiagnostics() 1506.VerifyDiagnostics() 1565.VerifyDiagnostics() 1639.VerifyDiagnostics() 1781.VerifyDiagnostics() 1872.VerifyDiagnostics() 1898.VerifyDiagnostics()
FirstClassSpanTests.cs (31)
305CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.Regular13).VerifyDiagnostics(); 1454comp.VerifyDiagnostics(); 1494comp.VerifyDiagnostics(); 1509var comp1 = CreateCompilation(source1).VerifyDiagnostics().EmitToImageReference(); 1554comp.VerifyDiagnostics(); 1805comp.VerifyDiagnostics(); 1902.VerifyDiagnostics() 1956.VerifyDiagnostics() 2011.VerifyDiagnostics() 2055.VerifyDiagnostics() 2103.VerifyDiagnostics() 2156.VerifyDiagnostics() 2171.VerifyDiagnostics() 2232.VerifyDiagnostics() 2246.VerifyDiagnostics() 2293.VerifyDiagnostics() 2340.VerifyDiagnostics() 2391.VerifyDiagnostics() 2405.VerifyDiagnostics() 2448.VerifyDiagnostics() 2462.VerifyDiagnostics() 2526.VerifyDiagnostics() 2574.VerifyDiagnostics() 2624.VerifyDiagnostics() 2639.VerifyDiagnostics() 2684.VerifyDiagnostics() 2934CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.Regular.WithLanguageVersion(langVersion)).VerifyDiagnostics(); 3015CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.Regular.WithLanguageVersion(langVersion)).VerifyDiagnostics(); 3630CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.Regular.WithLanguageVersion(langVersion)).VerifyDiagnostics(); 4054CreateCompilationWithSpanAndMemoryExtensions(source, targetFramework: TargetFramework.Net90).VerifyDiagnostics(); 5819CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.Regular13).VerifyDiagnostics();
FlowAnalysis\FlowDiagnosticTests.cs (22)
679CreateCompilation(program).VerifyDiagnostics(); 743CreateCompilation(program).VerifyDiagnostics(); 765CreateCompilation(program).VerifyDiagnostics(); 1113.VerifyDiagnostics( 1193.VerifyDiagnostics( 1207.VerifyDiagnostics( 1325comp.VerifyDiagnostics(); 1350comp.VerifyDiagnostics(); 1705comp.VerifyDiagnostics( 1818.VerifyDiagnostics( 1901.VerifyDiagnostics( 1934.VerifyDiagnostics( 1957CreateCompilation(source).VerifyDiagnostics(); 1977CreateCompilation(program).VerifyDiagnostics(); 2021CreateCompilation(source).VerifyDiagnostics(); 2164CreateCompilation(text).VerifyDiagnostics(); 2181CreateCompilation(program).VerifyDiagnostics(); 2208CreateCompilation(source).VerifyDiagnostics(); 2273CreateCompilation(source).VerifyDiagnostics(); 2495comp.VerifyDiagnostics(); 2517comp.VerifyDiagnostics(); 2657comp.VerifyDiagnostics(
FlowAnalysis\FlowTestBase.cs (1)
170comp.VerifyDiagnostics();
FlowAnalysis\FlowTests.cs (26)
863CreateCompilation(source).VerifyDiagnostics(); 1688CreateCompilation(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 2036CreateCompilation(source).VerifyDiagnostics(); 2509CreateCompilation(source).VerifyDiagnostics(); 2528CreateCompilation(source).VerifyDiagnostics(); 2555CreateCompilation(source).VerifyDiagnostics(); 2578CreateCompilation(source).VerifyDiagnostics(); 2601CreateCompilation(source).VerifyDiagnostics(); 2624CreateCompilation(source).VerifyDiagnostics(); 2649CreateCompilation(source).VerifyDiagnostics(); 2737CreateCompilation(source).VerifyDiagnostics(); 2762CreateCompilation(source).VerifyDiagnostics(); 2813CreateCompilation(source).VerifyDiagnostics(); 4049CreateCompilation(source).VerifyDiagnostics( 5180CreateCompilation(source).VerifyDiagnostics(); 5229CreateCompilation(source).VerifyDiagnostics(); 5371CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 5400CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 5429CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 5456CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 5477comp.VerifyDiagnostics(); 5493comp.VerifyDiagnostics(); 5838var compilation = CreateCompilation(source).VerifyDiagnostics(); 5870CreateCompilation(source).VerifyDiagnostics(); 5891CreateCompilation(source).VerifyDiagnostics(); 5913CreateCompilation(source).VerifyDiagnostics();
FlowAnalysis\LocalFunctions.cs (14)
220comp.VerifyDiagnostics(); 271comp.VerifyDiagnostics(); 327comp.VerifyDiagnostics(); 503comp.VerifyDiagnostics(); 520comp.VerifyDiagnostics(); 583comp.VerifyDiagnostics(); 609comp.VerifyDiagnostics(); 643comp.VerifyDiagnostics(); 1144comp.VerifyDiagnostics(); 1284comp.VerifyDiagnostics(); 1364comp.VerifyDiagnostics(); 1390comp.VerifyDiagnostics(); 1621}").VerifyDiagnostics(); 1641}").VerifyDiagnostics();
FlowAnalysis\RegionAnalysisTests.cs (1)
6474compilation.VerifyDiagnostics();
FlowAnalysis\StructTests.cs (9)
71comp.VerifyDiagnostics(); 105comp.VerifyDiagnostics(); 177comp.VerifyDiagnostics(); 204comp.VerifyDiagnostics(); 339CreateCompilation(source2, references: new MetadataReference[] { sourceReference }, options: TestOptions.ReleaseDll.WithWarningLevel(CodeAnalysis.Diagnostic.DefaultWarningLevel)).VerifyDiagnostics( 341CreateCompilation(source2, references: new MetadataReference[] { metadataReference }, options: TestOptions.ReleaseDll.WithWarningLevel(CodeAnalysis.Diagnostic.DefaultWarningLevel)).VerifyDiagnostics( 384CreateCompilation(source2, references: new MetadataReference[] { sourceReference }, options: TestOptions.ReleaseDll.WithWarningLevel(CodeAnalysis.Diagnostic.DefaultWarningLevel)).VerifyDiagnostics( 386CreateCompilation(source2, references: new MetadataReference[] { metadataReference }, options: TestOptions.ReleaseDll.WithWarningLevel(CodeAnalysis.Diagnostic.DefaultWarningLevel)).VerifyDiagnostics( 504CreateCompilation(source2, references: new MetadataReference[] { moduleReference }, options: TestOptions.ReleaseDll.WithWarningLevel(CodeAnalysis.Diagnostic.DefaultWarningLevel)).VerifyDiagnostics(
OverloadResolutionPriorityTests.cs (6)
690comp3.VerifyDiagnostics(); 750comp3.VerifyDiagnostics(); 798comp3.VerifyDiagnostics(); 2216comp.VerifyDiagnostics(); 2314comp.VerifyDiagnostics(); 2486comp.VerifyDiagnostics();
RefReadonlyParameterTests.cs (45)
439var comp = CreateCompilationWithIL("", ilSource).VerifyDiagnostics(); 480var comp = CreateCompilationWithIL("", ilSource).VerifyDiagnostics(); 527var comp = CreateCompilationWithIL("", ilSource).VerifyDiagnostics(); 1304var comp1 = CreateCompilation(source1, assemblyName: "Assembly1").VerifyDiagnostics(); 1329var comp1b = CreateCompilation(new[] { source1, RequiresLocationAttributeDefinition }, assemblyName: "Assembly1").VerifyDiagnostics(); 1332comp2b.VerifyDiagnostics(); 1370comp1v1.VerifyDiagnostics(); 1385var comp2 = CreateCompilation(source2, new[] { comp1v1Ref }, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1412var comp4 = CreateCompilation(source4, assemblyName: "Assembly4").VerifyDiagnostics(); 1417comp1v2.VerifyDiagnostics(); 1431comp1v3.VerifyDiagnostics(); 1438comp1v4.VerifyDiagnostics(); 1466var comp1 = CreateCompilation(source1, assemblyName: "Assembly1").VerifyDiagnostics(); 1522var comp = CreateCompilation(new[] { source, RequiresLocationAttributeDefinition }, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(); 1559comp1.VerifyDiagnostics(); 1643CreateCompilation(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(); 1644var comp = CreateCompilation(source).VerifyDiagnostics(); 2053CreateCompilation(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(); 2054CreateCompilation(source).VerifyDiagnostics(); 2092CreateCompilation(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(); 2093CreateCompilation(source).VerifyDiagnostics(); 2110CreateCompilation(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(); 2111CreateCompilation(source).VerifyDiagnostics(); 2218CreateCompilation(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(); 2219CreateCompilation(source).VerifyDiagnostics(); 2851CreateCompilation(source).VerifyDiagnostics(); 5250var comp1 = CreateCompilation(source1).VerifyDiagnostics(); 5787var comp1 = CreateCompilation(source1, targetFramework: TargetFramework.Mscorlib40).VerifyDiagnostics(); 5813var comp1 = CreateCompilation(source1, targetFramework: TargetFramework.Mscorlib40).VerifyDiagnostics(); 5838var comp1 = CreateCompilation(source1, targetFramework: TargetFramework.Mscorlib40).VerifyDiagnostics(); 7012CreateCompilation(source, parseOptions: TestOptions.Regular13).VerifyDiagnostics(); 7037CreateCompilation(source, parseOptions: TestOptions.Regular13).VerifyDiagnostics(); 7153var comp1 = CreateCompilationWithMscorlib40(source1).VerifyDiagnostics(); 7705var comp1 = CreateCompilation(source1).VerifyDiagnostics(); 7739CreateCompilation(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics); 7740CreateCompilation(source2, new[] { comp1Ref }).VerifyDiagnostics(expectedDiagnostics); 7807var comp1 = CreateCompilation(source1).VerifyDiagnostics(); 7972comp1.VerifyDiagnostics(); 8047comp1.VerifyDiagnostics(); 8213comp1.VerifyDiagnostics(); 8251CreateCompilation(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(expectedDiagnostics); 8252CreateCompilation(source2, new[] { comp1Ref }, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(expectedDiagnostics); 8328comp1.VerifyDiagnostics(); 8540comp1.VerifyDiagnostics(); 8634comp1.VerifyDiagnostics();
RefStructInterfacesTests.cs (45)
45CreateCompilation(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics(); 78CreateCompilation(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics(); 160CreateCompilation(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics(); 192CreateCompilation(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics(); 277CreateCompilation(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics(); 315CreateCompilation(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics(); 407CreateCompilation(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics(); 439CreateCompilation(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics(); 525CreateCompilation(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics(); 563CreateCompilation(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics(); 809CreateCompilation(src7, references: [comp1Ref], targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics(); 843CreateCompilation(src8, references: [comp1Ref], targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics(); 1351CreateCompilation(src7, references: [comp1Ref], targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics(); 1404CreateCompilation(src8, references: [comp1Ref], targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics(); 1927CreateCompilation(src7, references: [comp1Ref], targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics(); 1980CreateCompilation(src8, references: [comp1Ref], targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics(); 2217comp.VerifyDiagnostics(); 2281comp.VerifyDiagnostics(); 2443comp.VerifyDiagnostics(); 2705comp.VerifyDiagnostics(); 3179comp.VerifyDiagnostics(); 3341comp.VerifyDiagnostics(); 3473comp.VerifyDiagnostics(); 3564comp.VerifyDiagnostics(); 3600CreateCompilationWithMscorlibAndSpan(new[] { text, UnscopedRefAttributeDefinition }).VerifyDiagnostics(); 3676CreateCompilationWithMscorlibAndSpan(new[] { text, UnscopedRefAttributeDefinition }).VerifyDiagnostics(); 4386comp = CreateCompilation(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13).VerifyDiagnostics(); 4437CreateCompilation(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13).VerifyDiagnostics(); 4564comp.VerifyDiagnostics(); 4869comp.VerifyDiagnostics(); 4920comp.VerifyDiagnostics(); 4975comp.VerifyDiagnostics(); 5060comp.VerifyDiagnostics(); 5113comp.VerifyDiagnostics(); 5140comp.VerifyDiagnostics(); 5161comp.VerifyDiagnostics(); 5182comp.VerifyDiagnostics(); 5257comp.VerifyDiagnostics(); 5466CreateCompilation(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13).VerifyDiagnostics(); 5511comp.VerifyDiagnostics(); 5599CreateCompilation(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13).VerifyDiagnostics(); 5640comp.VerifyDiagnostics(); 5676comp.VerifyDiagnostics(); 21113comp.VerifyDiagnostics( 21747comp.VerifyDiagnostics();
Semantics\CollectionExpressionTests.cs (7)
13769var reference = CreateEmptyCompilation(runtime, assemblyName: "System.Runtime").VerifyDiagnostics().EmitToImageReference(); 14284comp.VerifyDiagnostics(); 14354comp.VerifyDiagnostics(); 14495comp.VerifyDiagnostics(); 14609comp.VerifyDiagnostics(); 14667comp.VerifyDiagnostics(); 14769comp.VerifyDiagnostics();
Semantics\ExperimentalAttributeTests.cs (31)
84comp.VerifyDiagnostics(); 145comp.VerifyDiagnostics(); 250comp.VerifyDiagnostics(); 402comp.VerifyDiagnostics(); 469comp.VerifyDiagnostics(); 534moduleComp.VerifyDiagnostics(); 547assemblyComp.VerifyDiagnostics(); 558comp.VerifyDiagnostics(); 589comp.VerifyDiagnostics(); 664comp.VerifyDiagnostics(); 804comp.VerifyDiagnostics(); 857comp.VerifyDiagnostics(); 882comp.VerifyDiagnostics(); 934derivedComp.VerifyDiagnostics(); 969derivedComp.VerifyDiagnostics(); 972comp.VerifyDiagnostics(); 999derivedComp.VerifyDiagnostics(); 1034derivedComp.VerifyDiagnostics(); 1037comp.VerifyDiagnostics(); 1325comp.VerifyDiagnostics(); 1348comp.VerifyDiagnostics(); 1368comp.VerifyDiagnostics(); 1745comp.VerifyDiagnostics(); 1773comp.VerifyDiagnostics(); 2051comp.VerifyDiagnostics(); 2115comp.VerifyDiagnostics(); 2145comp.VerifyDiagnostics(); 2178comp.VerifyDiagnostics(); 2208comp.VerifyDiagnostics(); 2238comp.VerifyDiagnostics(); 2339comp.VerifyDiagnostics(getExpectedDiagnostic(getImportantObsoleteKind(one, other)));
Semantics\InlineArrayTests.cs (25)
2354comp.VerifyDiagnostics(); 2389comp.VerifyDiagnostics(); 2423comp.VerifyDiagnostics(); 2493comp.VerifyDiagnostics(); 6018comp.VerifyDiagnostics(); 6184comp.VerifyDiagnostics(); 8338comp.VerifyDiagnostics(); 11701comp.VerifyDiagnostics(); 11724comp.VerifyDiagnostics(); 11747comp.VerifyDiagnostics(); 11770comp.VerifyDiagnostics(); 11791comp.VerifyDiagnostics(); 11812comp.VerifyDiagnostics(); 11885comp.VerifyDiagnostics(); 12142comp.VerifyDiagnostics(); 12172comp.VerifyDiagnostics(); 12475comp.VerifyDiagnostics(); 12587comp.VerifyDiagnostics(); 12869comp.VerifyDiagnostics(); 12894comp.VerifyDiagnostics(); 13397comp.VerifyDiagnostics(); 15193comp.VerifyDiagnostics(); 16974comp.VerifyDiagnostics(); 18819comp.VerifyDiagnostics(); 18822comp.VerifyDiagnostics();
Semantics\LockTests.cs (3)
1512.VerifyDiagnostics() 1555.VerifyDiagnostics() 1586.VerifyDiagnostics()
Semantics\OutVarTests.cs (14)
655compilation.VerifyDiagnostics( 731compilation.VerifyDiagnostics(); 772compilation.VerifyDiagnostics( 12848compilation.VerifyDiagnostics(); 20255compilation.VerifyDiagnostics(); 32897compilation.VerifyDiagnostics(); 33009comp.VerifyDiagnostics(); 33123comp.VerifyDiagnostics(); 33258comp.VerifyDiagnostics(); 33325comp.VerifyDiagnostics(); 33375comp.VerifyDiagnostics(); 35592comp.VerifyDiagnostics(); 35645comp.VerifyDiagnostics(); 35687compilation.VerifyDiagnostics(
Semantics\ParamsCollectionTests.cs (30)
1011myCollection_v0.VerifyDiagnostics(); 1023builder.VerifyDiagnostics(); 1038myCollection.VerifyDiagnostics(); 3977comp.VerifyDiagnostics(); 3980comp.VerifyDiagnostics(); 4024comp2.VerifyDiagnostics(); 4027comp2.VerifyDiagnostics(); 4071comp.VerifyDiagnostics(); 4074comp.VerifyDiagnostics(); 4091comp2.VerifyDiagnostics(); 4094comp2.VerifyDiagnostics(); 4139comp.VerifyDiagnostics(); 4142comp.VerifyDiagnostics(); 4186comp.VerifyDiagnostics(); 4189comp.VerifyDiagnostics(); 4310comp.VerifyDiagnostics(); 4313comp.VerifyDiagnostics(); 4330comp2.VerifyDiagnostics(); 4333comp2.VerifyDiagnostics(); 4454comp5.VerifyDiagnostics(); 9286comp.VerifyDiagnostics(); 9766comp.VerifyDiagnostics(); 10184comp.VerifyDiagnostics(); 10226comp.VerifyDiagnostics(); 10268comp.VerifyDiagnostics(); 12725CreateCompilationWithIL(source, il).VerifyDiagnostics(); 15271comp.VerifyDiagnostics(); 15295comp.VerifyDiagnostics(); 15531comp.VerifyDiagnostics(); 15589comp.VerifyDiagnostics();
Semantics\PatternMatchingTests.cs (59)
176compilation.VerifyDiagnostics( 253compilation.VerifyDiagnostics( 293compilation.VerifyDiagnostics(); 328compilation.VerifyDiagnostics(); 364compilation.VerifyDiagnostics(); 400compilation.VerifyDiagnostics(); 438compilation.VerifyDiagnostics(); 512compilation.VerifyDiagnostics(); 565compilation.VerifyDiagnostics(); 641compilation.VerifyDiagnostics( 825compilation.VerifyDiagnostics(); 3330compilation.VerifyDiagnostics(); 3413compilation.VerifyDiagnostics( 3439compilation.VerifyDiagnostics( 3715compilation.VerifyDiagnostics(); 3737compilation.VerifyDiagnostics(); 3774compilation.VerifyDiagnostics(); 3796compilation.VerifyDiagnostics(); 3845compilation.VerifyDiagnostics( 3878compilation.VerifyDiagnostics( 3911compilation.VerifyDiagnostics( 3960compilation.VerifyDiagnostics( 3990compilation.VerifyDiagnostics( 4027compilation.VerifyDiagnostics( 4139compilation.VerifyDiagnostics(); 4170compilation.VerifyDiagnostics(); 4221compilation.VerifyDiagnostics(); 4246compilation.VerifyDiagnostics(); 4285compilation.VerifyDiagnostics( 4537compilation.VerifyDiagnostics(); 4564compilation.VerifyDiagnostics(); 4594compilation.VerifyDiagnostics(); 4848var compilation = CreateCompilation(program, parseOptions: TestOptions.RegularWithPatternCombinators).VerifyDiagnostics( 5100var compilation = CreateCompilation(program, options: TestOptions.DebugExe).VerifyDiagnostics( 5222compilation.VerifyDiagnostics( 5298compilation.VerifyDiagnostics( 5597compilation.VerifyDiagnostics( 5648compilation.VerifyDiagnostics( 5820compilation.VerifyDiagnostics(); 5863compilation.VerifyDiagnostics(); 5906compilation.VerifyDiagnostics(); 5952compilation.VerifyDiagnostics(); 5998compilation.VerifyDiagnostics(); 6073compilation.VerifyDiagnostics( 6106compilation.VerifyDiagnostics( 6134compilation.VerifyDiagnostics( 6225compilation.VerifyDiagnostics( 6478compilation.VerifyDiagnostics( 6522compilation.VerifyDiagnostics(); 6660compilation.VerifyDiagnostics( 6712compilation.VerifyDiagnostics( 7292").VerifyDiagnostics( 7368comp.VerifyDiagnostics( 11524comp.VerifyDiagnostics(); 11590comp.VerifyDiagnostics(); 11859comp.VerifyDiagnostics(); 11899comp.VerifyDiagnostics(); 11942comp.VerifyDiagnostics(); 12340.VerifyDiagnostics(); // Allowed due to built in conversion
Semantics\PatternMatchingTests_ListPatterns.cs (14)
3429missingComp.VerifyDiagnostics(); 3432rangeComp.VerifyDiagnostics(); 3436libComp.VerifyDiagnostics(); 3451comp.VerifyDiagnostics(); 3550missingComp.VerifyDiagnostics(); 3553libComp.VerifyDiagnostics(); 3616compilation.VerifyDiagnostics(); 3673compilation.VerifyDiagnostics(); 3812comp.VerifyDiagnostics(); 3961compilation.VerifyDiagnostics(); 7453comp.VerifyDiagnostics(); 7610comp.VerifyDiagnostics(); 8058compilation.VerifyDiagnostics(); 8129compilation.VerifyDiagnostics();
Semantics\PatternMatchingTests2.cs (32)
34compilation.VerifyDiagnostics( 76compilation.VerifyDiagnostics( 122compilation.VerifyDiagnostics( 195compilation.VerifyDiagnostics( 237compilation.VerifyDiagnostics( 276compilation.VerifyDiagnostics( 328compilation.VerifyDiagnostics( 492CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular8).VerifyDiagnostics(); 567CreatePatternCompilation(source).VerifyDiagnostics( 583CreatePatternCompilation(source).VerifyDiagnostics( 644CreatePatternCompilation(source).VerifyDiagnostics( 819compilation.VerifyDiagnostics( 920compilation.VerifyDiagnostics( 1016compilation.VerifyDiagnostics( 1065compilation.VerifyDiagnostics( 1128compilation.VerifyDiagnostics( 1232compilation.VerifyDiagnostics( 1256compilation.VerifyDiagnostics( 1297compilation.VerifyDiagnostics( 1446compilation.VerifyDiagnostics(); 1535compilation.VerifyDiagnostics( 1612compilation.VerifyDiagnostics( 1781compilation.VerifyDiagnostics( 1817compilation.VerifyDiagnostics( 2016compilation.VerifyDiagnostics( 2057compilation.VerifyDiagnostics( 2248compilation.VerifyDiagnostics(); 2292compilation.VerifyDiagnostics(); 2399CreateCompilation(source, options: TestOptions.ReleaseDll).VerifyDiagnostics(); 2434CreateCompilation(source, options: TestOptions.ReleaseDll).VerifyDiagnostics(); 2435CreateCompilation(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(); 3614comp.VerifyDiagnostics();
Semantics\PatternMatchingTests3.cs (63)
44compilation.VerifyDiagnostics( 200compilation.VerifyDiagnostics( 294compilation.VerifyDiagnostics( 386compilation.VerifyDiagnostics( 421compilation.VerifyDiagnostics( 471compilation.VerifyDiagnostics( 594compilation.VerifyDiagnostics( 637compilation.VerifyDiagnostics( 680compilation.VerifyDiagnostics( 723compilation.VerifyDiagnostics( 747compilation.VerifyDiagnostics( 770compilation.VerifyDiagnostics( 813compilation.VerifyDiagnostics( 855compilation.VerifyDiagnostics( 1037compilation.VerifyDiagnostics( 1090compilation.VerifyDiagnostics( 1143compilation.VerifyDiagnostics( 1196compilation.VerifyDiagnostics( 1243CreateCompilation(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular8).VerifyDiagnostics(); 1263CreateCompilation(source).VerifyDiagnostics( 1281CreateCompilation(source).VerifyDiagnostics( 1305CreateCompilation(source).VerifyDiagnostics( 1355CompileAndVerify(CreateCompilation(source, options: TestOptions.ReleaseExe).VerifyDiagnostics(), expectedOutput: "0"); 1379CompileAndVerify(CreateCompilation(source, options: TestOptions.ReleaseExe).VerifyDiagnostics(), expectedOutput: "null"); 1609compilation.VerifyDiagnostics(expectedDiagnostics); 1697compilation.VerifyDiagnostics( 2094compilation.VerifyDiagnostics( 2166compilation.VerifyDiagnostics( 2238compilation.VerifyDiagnostics( 2287compilation.VerifyDiagnostics( 2336compilation.VerifyDiagnostics( 2367compilation.VerifyDiagnostics( 2425compilation.VerifyDiagnostics( 2542compilation.VerifyDiagnostics( 2580compilation.VerifyDiagnostics( 2651compilation.VerifyDiagnostics( 2815compilation.VerifyDiagnostics( 2874compilation.VerifyDiagnostics( 2917compilation.VerifyDiagnostics( 3141compilation.VerifyDiagnostics( 3279compilation.VerifyDiagnostics( 3367compilation.VerifyDiagnostics( 3442compilation.VerifyDiagnostics( 3489compilation.VerifyDiagnostics( 3580compilation.VerifyDiagnostics( 3674compilation.VerifyDiagnostics( 3708compilation.VerifyDiagnostics( 3761compilation.VerifyDiagnostics( 3957compilation.VerifyDiagnostics( 4059compilation.VerifyDiagnostics( 4102compilation.VerifyDiagnostics( 4329compilation.VerifyDiagnostics( 4618compilation.VerifyDiagnostics( 4784compilation.VerifyDiagnostics( 4876compilation.VerifyDiagnostics( 4970compilation.VerifyDiagnostics( 5047compilation.VerifyDiagnostics( 5254compilation.VerifyDiagnostics( 5323compilation.VerifyDiagnostics( 5609compilation.VerifyDiagnostics( 6015compilation.VerifyDiagnostics( 6036compilation.VerifyDiagnostics( 7336compilation.VerifyDiagnostics(
Semantics\PatternMatchingTests4.cs (77)
185compilation.VerifyDiagnostics(); 213compilation.VerifyDiagnostics(); 308compilation.VerifyDiagnostics(); 339compilation.VerifyDiagnostics(); 370compilation.VerifyDiagnostics(); 402compilation.VerifyDiagnostics(); 433compilation.VerifyDiagnostics(); 465compilation.VerifyDiagnostics(); 499compilation.VerifyDiagnostics(); 533compilation.VerifyDiagnostics(); 621compilation.VerifyDiagnostics(); 655compilation.VerifyDiagnostics(); 722compilation.VerifyDiagnostics(); 760compilation.VerifyDiagnostics(); 795compilation.VerifyDiagnostics(); 831compilation.VerifyDiagnostics(); 1006compilation.VerifyDiagnostics( 1059compilation.VerifyDiagnostics(); 1094compilation.VerifyDiagnostics(); 1159compilation.VerifyDiagnostics(); 1225compilation.VerifyDiagnostics(); 1276compilation.VerifyDiagnostics(); 1316compilation.VerifyDiagnostics(); 1458compilation.VerifyDiagnostics( 1484compilation.VerifyDiagnostics( 1542compilation.VerifyDiagnostics( 1625compilation.VerifyDiagnostics( 1652compilation.VerifyDiagnostics( 1750compilation.VerifyDiagnostics( 1778compilation.VerifyDiagnostics( 1828compilation.VerifyDiagnostics( 1853compilation.VerifyDiagnostics( 1918compilation.VerifyDiagnostics( 1955compilation.VerifyDiagnostics( 2661compilation.VerifyDiagnostics( 2697compilation.VerifyDiagnostics( 2738compilation.VerifyDiagnostics( 2781compilation.VerifyDiagnostics( 2811compilation.VerifyDiagnostics( 2844compilation.VerifyDiagnostics( 2874compilation.VerifyDiagnostics( 2907compilation.VerifyDiagnostics( 2940compilation.VerifyDiagnostics( 2975compilation.VerifyDiagnostics( 3010compilation.VerifyDiagnostics( 3143compilation.VerifyDiagnostics(); 3176compilation.VerifyDiagnostics(); 3195compilation.VerifyDiagnostics(); 3357compilation.VerifyDiagnostics( 3384compilation.VerifyDiagnostics( 3410compilation.VerifyDiagnostics( 3633compilation.VerifyDiagnostics( 3728compilation.VerifyDiagnostics( 3748compilation.VerifyDiagnostics(); 3859CreateCompilation(source, parseOptions: TestOptions.Regular7, options: TestOptions.ReleaseDll).VerifyDiagnostics( 3861CreatePatternCompilation(source, options: TestOptions.ReleaseDll).VerifyDiagnostics(); 3880CreateCompilation(source, parseOptions: TestOptions.Regular7, options: TestOptions.ReleaseDll).VerifyDiagnostics( 3882CreatePatternCompilation(source, options: TestOptions.ReleaseDll).VerifyDiagnostics( 3902CreateCompilation(source, parseOptions: TestOptions.Regular7, options: TestOptions.ReleaseDll).VerifyDiagnostics( 3904CreatePatternCompilation(source, options: TestOptions.ReleaseDll).VerifyDiagnostics( 3924CreateCompilation(source, parseOptions: TestOptions.Regular7, options: TestOptions.ReleaseDll).VerifyDiagnostics( 3926CreatePatternCompilation(source, options: TestOptions.ReleaseDll).VerifyDiagnostics( 3948CreateCompilation(source, parseOptions: TestOptions.Regular7, options: TestOptions.ReleaseDll).VerifyDiagnostics( 3950CreatePatternCompilation(source, options: TestOptions.ReleaseDll).VerifyDiagnostics( 3975CreateCompilation(source, parseOptions: TestOptions.Regular7, options: TestOptions.ReleaseDll).VerifyDiagnostics( 3977CreatePatternCompilation(source, options: TestOptions.ReleaseDll).VerifyDiagnostics( 4014comp.VerifyDiagnostics(); 4156comp.VerifyDiagnostics(); 4228comp.VerifyDiagnostics(); 4272comp.VerifyDiagnostics(); 4318comp.VerifyDiagnostics(); 4400comp.VerifyDiagnostics(); 4482comp.VerifyDiagnostics(); 4564comp.VerifyDiagnostics(); 4646comp.VerifyDiagnostics(); 4730comp.VerifyDiagnostics(); 4823comp.VerifyDiagnostics();
Semantics\PatternMatchingTests5.cs (10)
66compilation.VerifyDiagnostics(); 225compilation.VerifyDiagnostics(); 423comp.VerifyDiagnostics(); 2385comp.VerifyDiagnostics(); 2415comp.VerifyDiagnostics(); 2509comp.VerifyDiagnostics(); 2552comp.VerifyDiagnostics(); 2581comp.VerifyDiagnostics(); 2613comp.VerifyDiagnostics(); 2762comp.VerifyDiagnostics();
Semantics\PatternSwitchTests.cs (34)
328compilation.VerifyDiagnostics( 400compilation.VerifyDiagnostics(); 650compilation.VerifyDiagnostics( 670compilation.VerifyDiagnostics( 955compilation.VerifyDiagnostics( 1126compilation.VerifyDiagnostics(); 1218compilation.VerifyDiagnostics(); 1421compilation.VerifyDiagnostics(); 1479compilation.VerifyDiagnostics(); 1559compilation.VerifyDiagnostics(); 1624compilation.VerifyDiagnostics(); 1863compilation.VerifyDiagnostics(); 1967compilation.VerifyDiagnostics(); 2007compilation.VerifyDiagnostics(); 2050compilation.VerifyDiagnostics(); 2081compilation.VerifyDiagnostics(); 2110compilation.VerifyDiagnostics(); 2157compilation.VerifyDiagnostics(); 2219compilation.VerifyDiagnostics(); 2275compilation.VerifyDiagnostics(); 2333compilation.VerifyDiagnostics(); 2382compilation.VerifyDiagnostics(); 2446compilation.VerifyDiagnostics(); 2511compilation.VerifyDiagnostics(); 2571compilation.VerifyDiagnostics(); 2627compilation.VerifyDiagnostics(); 2707compilation.VerifyDiagnostics(); 2749compilation.VerifyDiagnostics(); 2810compilation.VerifyDiagnostics( 2838compilation.VerifyDiagnostics( 2866compilation.VerifyDiagnostics( 2957compilation.VerifyDiagnostics( 3177compilation.VerifyDiagnostics(); 3207compilation.VerifyDiagnostics();
Semantics\PrimaryConstructorTests.cs (46)
67comp.VerifyDiagnostics(); 70comp.VerifyDiagnostics(); 122comp.VerifyDiagnostics(); 164comp.VerifyDiagnostics(); 167comp.VerifyDiagnostics(); 225comp.VerifyDiagnostics(); 228comp.VerifyDiagnostics(); 321comp.VerifyDiagnostics(); 324comp.VerifyDiagnostics(); 335comp.VerifyDiagnostics(); 338comp.VerifyDiagnostics(); 341comp.VerifyDiagnostics(); 352comp.VerifyDiagnostics(); 355comp.VerifyDiagnostics(); 927comp.VerifyDiagnostics(); 2983comp.VerifyDiagnostics(); 3190comp.VerifyDiagnostics(); 3194comp.VerifyDiagnostics(); 3376comp.VerifyDiagnostics(); 3397comp.VerifyDiagnostics(); 3533comp.VerifyDiagnostics(); 6048comp.VerifyDiagnostics(); 6208comp.VerifyDiagnostics(); 6284comp.VerifyDiagnostics(); 6321comp.VerifyDiagnostics(); 6351comp.VerifyDiagnostics(); 6385comp.VerifyDiagnostics(); 6698comp.VerifyDiagnostics(); 6828comp.VerifyDiagnostics(); 6854comp.VerifyDiagnostics(); 12519comp.VerifyDiagnostics(); 12542comp.VerifyDiagnostics(); 12598comp.VerifyDiagnostics(); 12666comp.VerifyDiagnostics(); 12718comp.VerifyDiagnostics(); 12741comp.VerifyDiagnostics(); 12831comp.VerifyDiagnostics(); 14595System.Threading.Tasks.Parallel.For(0, 100, (int i) => comp.VerifyDiagnostics()); 16063comp.VerifyDiagnostics(); 16084comp.VerifyDiagnostics(); 16109comp.VerifyDiagnostics(); 20594comp.VerifyDiagnostics(); 20627comp.VerifyDiagnostics(); 20911comp.VerifyDiagnostics(); 20933comp.VerifyDiagnostics(); 20984comp.VerifyDiagnostics();
Semantics\RecordTests.cs (87)
105comp.VerifyDiagnostics(); 108comp.VerifyDiagnostics(); 111comp.VerifyDiagnostics(); 114comp.VerifyDiagnostics(); 188comp.VerifyDiagnostics(); 191comp.VerifyDiagnostics(); 236comp.VerifyDiagnostics(); 856comp.VerifyDiagnostics(); 1176comp.VerifyDiagnostics(); 1813comp.VerifyDiagnostics(); 1880comp.VerifyDiagnostics(); 1900comp.VerifyDiagnostics(); 1951comp.VerifyDiagnostics(); 2304comp.VerifyDiagnostics(); 2469comp.VerifyDiagnostics(); 2484comp.VerifyDiagnostics(); 2735comp.VerifyDiagnostics(); 2747comp.VerifyDiagnostics(); 2760comp.VerifyDiagnostics(); 2819comp.VerifyDiagnostics(); 2885comp.VerifyDiagnostics(); 2981comp.VerifyDiagnostics(); 3091comp.VerifyDiagnostics(); 3132comp.VerifyDiagnostics(); 3415comp.VerifyDiagnostics(); 7932comp.VerifyDiagnostics(); 7966comp.VerifyDiagnostics(); 8584comp.VerifyDiagnostics(); 8903comp.VerifyDiagnostics(); 8919comp.VerifyDiagnostics(); 8954comp.VerifyDiagnostics(); 8992comp.VerifyDiagnostics(); 9010comp.VerifyDiagnostics(); 9030comp.VerifyDiagnostics(); 9357comp.VerifyDiagnostics( 9442comp.VerifyDiagnostics(); 9467comp.VerifyDiagnostics(); 9705CreateCompilationWithMscorlibAndSpan(text).VerifyDiagnostics(); 10875comp.VerifyDiagnostics(); 10892comp.VerifyDiagnostics(); 10923comp.VerifyDiagnostics(); 10950compA.VerifyDiagnostics(); 11022compA.VerifyDiagnostics(); 11112compA.VerifyDiagnostics(); 12523comp.VerifyDiagnostics(); 12721comp.VerifyDiagnostics(); 13347compB.VerifyDiagnostics(); 13356compC.VerifyDiagnostics(); 13385comp.VerifyDiagnostics(); 13467comp.VerifyDiagnostics(); 16282comp.VerifyDiagnostics(); 17231comp.VerifyDiagnostics(); 17327comp.VerifyDiagnostics(); 17423comp.VerifyDiagnostics(); 20823comp.VerifyDiagnostics(); 20993comp.VerifyDiagnostics(); 23798comp.VerifyDiagnostics(); 23806comp.VerifyDiagnostics(); 24018comp.VerifyDiagnostics(); 24208comp.VerifyDiagnostics(); 24237comp.VerifyDiagnostics(); 24275comp.VerifyDiagnostics(); 24340comp.VerifyDiagnostics(); 24410comp.VerifyDiagnostics(); 24489comp.VerifyDiagnostics(); 24569comp.VerifyDiagnostics(); 24870comp.VerifyDiagnostics(); 24915comp.VerifyDiagnostics(); 24942comp.VerifyDiagnostics(); 25033comp.VerifyDiagnostics(); 27692.VerifyDiagnostics(); 28110comp.VerifyDiagnostics(); 28133comp.VerifyDiagnostics(); 28285comp.VerifyDiagnostics(); 28430comp.VerifyDiagnostics(); 28495comp.VerifyDiagnostics(); 28540comp.VerifyDiagnostics(); 28578comp.VerifyDiagnostics(); 28625comp.VerifyDiagnostics(); 29038comp.VerifyDiagnostics(); 29249comp.VerifyDiagnostics(); 29281comp.VerifyDiagnostics(); 29316comp.VerifyDiagnostics(); 29445comp.VerifyDiagnostics(); 30232comp.VerifyDiagnostics(); 30367comp.VerifyDiagnostics(); 30391comp.VerifyDiagnostics();
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (5)
EndToEndTests.cs (5)
169compilation.VerifyDiagnostics(); 324compilation.VerifyDiagnostics(); 406CreateVisualBasicCompilation(source, compilationOptions: options).VerifyDiagnostics(); 450comp.VerifyDiagnostics(); 763comp.VerifyDiagnostics();
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (154)
IOperation\IOperationTests.cs (6)
113comp.VerifyDiagnostics(); 179comp.VerifyDiagnostics(); 259comp.VerifyDiagnostics(); 351comp.VerifyDiagnostics(); 459compilation.VerifyDiagnostics(); 506compilation.VerifyDiagnostics();
IOperation\IOperationTests_IBinaryOperatorExpression.cs (9)
8036}").VerifyDiagnostics(); 8067}").VerifyDiagnostics(); 8097}").VerifyDiagnostics(); 8125}").VerifyDiagnostics(); 8153}").VerifyDiagnostics(); 8178}").VerifyDiagnostics(); 8209}").VerifyDiagnostics(); 8239}").VerifyDiagnostics(); 8267}").VerifyDiagnostics();
IOperation\IOperationTests_IBlock.cs (13)
37compilation.VerifyDiagnostics(); 87compilation.VerifyDiagnostics(); 122compilation.VerifyDiagnostics(); 195compilation.VerifyDiagnostics(); 256compilation.VerifyDiagnostics(); 293compilation.VerifyDiagnostics(); 366compilation.VerifyDiagnostics(); 414compilation.VerifyDiagnostics(); 459compilation.VerifyDiagnostics(); 540compilation.VerifyDiagnostics(); 618compilation.VerifyDiagnostics(); 687compilation.VerifyDiagnostics(); 806compilation.VerifyDiagnostics();
IOperation\IOperationTests_IBranchOperation.cs (7)
67compilation.VerifyDiagnostics(); 131compilation.VerifyDiagnostics(); 199compilation.VerifyDiagnostics(); 267compilation.VerifyDiagnostics(); 669compilation.VerifyDiagnostics(); 1158compilation.VerifyDiagnostics(); 1201compilation.VerifyDiagnostics();
IOperation\IOperationTests_ICoalesceOperation.cs (11)
33compilation.VerifyDiagnostics(); 144compilation.VerifyDiagnostics(); 259compilation.VerifyDiagnostics(); 374compilation.VerifyDiagnostics(); 603compilation.VerifyDiagnostics(); 718compilation.VerifyDiagnostics(); 948compilation.VerifyDiagnostics(); 1050compilation.VerifyDiagnostics(); 1165compilation.VerifyDiagnostics(); 1273compilation.VerifyDiagnostics(); 1429compilation.VerifyDiagnostics();
IOperation\IOperationTests_IConstructorBodyOperation.cs (9)
120compilation.VerifyDiagnostics(); 186compilation.VerifyDiagnostics(); 254compilation.VerifyDiagnostics(); 320compilation.VerifyDiagnostics(); 648compilation.VerifyDiagnostics(); 718compilation.VerifyDiagnostics(); 952compilation.VerifyDiagnostics(); 1087compilation.VerifyDiagnostics(); 1120compilation.VerifyDiagnostics();
IOperation\IOperationTests_IForEachLoopStatement.cs (6)
1726comp.VerifyDiagnostics(); 1781comp.VerifyDiagnostics(); 1895comp.VerifyDiagnostics(); 2780comp.VerifyDiagnostics(); 2912comp.VerifyDiagnostics(); 3004comp.VerifyDiagnostics();
IOperation\IOperationTests_IIsPatternExpression.cs (1)
713compilation.VerifyDiagnostics();
IOperation\IOperationTests_IMethodBodyOperation.cs (15)
30compilation.VerifyDiagnostics(); 53compilation.VerifyDiagnostics(); 106compilation.VerifyDiagnostics(); 240compilation.VerifyDiagnostics(); 282compilation.VerifyDiagnostics(); 441compilation.VerifyDiagnostics(); 578compilation.VerifyDiagnostics(); 610compilation.VerifyDiagnostics(); 720compilation.VerifyDiagnostics(); 752compilation.VerifyDiagnostics(); 862compilation.VerifyDiagnostics(); 894compilation.VerifyDiagnostics(); 973compilation.VerifyDiagnostics(); 997compilation.VerifyDiagnostics(); 1032compilation.VerifyDiagnostics();
IOperation\IOperationTests_IParameterReferenceExpression.cs (1)
983compilation0.VerifyDiagnostics();
IOperation\IOperationTests_IReturnStatement.cs (22)
158compilation.VerifyDiagnostics(); 186compilation.VerifyDiagnostics(); 314compilation.VerifyDiagnostics(); 398compilation.VerifyDiagnostics(); 450compilation.VerifyDiagnostics(); 506compilation.VerifyDiagnostics(); 570compilation.VerifyDiagnostics(); 716compilation.VerifyDiagnostics(); 784compilation.VerifyDiagnostics(); 860compilation.VerifyDiagnostics(); 929compilation.VerifyDiagnostics(); 1002compilation.VerifyDiagnostics(); 1048compilation.VerifyDiagnostics(); 1099compilation.VerifyDiagnostics(); 1152compilation.VerifyDiagnostics(); 1180compilation.VerifyDiagnostics(); 1262compilation.VerifyDiagnostics(); 1306compilation.VerifyDiagnostics(); 1393compilation.VerifyDiagnostics(); 1451compilation.VerifyDiagnostics(); 1507compilation.VerifyDiagnostics(); 1563compilation.VerifyDiagnostics();
IOperation\IOperationTests_IThrowOperation.cs (22)
129compilation.VerifyDiagnostics(); 525compilation.VerifyDiagnostics(); 597compilation.VerifyDiagnostics(); 687compilation.VerifyDiagnostics(); 968compilation.VerifyDiagnostics(); 1023compilation.VerifyDiagnostics(); 1087compilation.VerifyDiagnostics(); 1136compilation.VerifyDiagnostics(); 1199compilation.VerifyDiagnostics(); 1263compilation.VerifyDiagnostics(); 1500compilation.VerifyDiagnostics(); 1551compilation.VerifyDiagnostics(); 1617compilation.VerifyDiagnostics(); 1695compilation.VerifyDiagnostics(); 1774compilation.VerifyDiagnostics(); 1913compilation.VerifyDiagnostics(); 1969compilation.VerifyDiagnostics(); 2045compilation.VerifyDiagnostics(); 2109compilation.VerifyDiagnostics(); 2277compilation.VerifyDiagnostics(); 2377compilation.VerifyDiagnostics(); 2479compilation.VerifyDiagnostics();
IOperation\IOperationTests_IUnaryOperatorExpression.cs (3)
3630}").VerifyDiagnostics(); 3653}").VerifyDiagnostics(); 3676}").VerifyDiagnostics();
IOperation\IOperationTests_IUsingStatement.cs (1)
1759compilation.VerifyDiagnostics();
IOperation\IOperationTests_TryCatch.cs (28)
978compilation.VerifyDiagnostics(); 1028compilation.VerifyDiagnostics(); 1093compilation.VerifyDiagnostics(); 1333compilation.VerifyDiagnostics(); 1426compilation.VerifyDiagnostics(); 1484compilation.VerifyDiagnostics(); 1564compilation.VerifyDiagnostics(); 1679compilation.VerifyDiagnostics(); 1745compilation.VerifyDiagnostics(); 1842compilation.VerifyDiagnostics(); 1931compilation.VerifyDiagnostics(); 2022compilation.VerifyDiagnostics(); 2105compilation.VerifyDiagnostics(); 2196compilation.VerifyDiagnostics(); 2277compilation.VerifyDiagnostics(); 2342compilation.VerifyDiagnostics(); 2401compilation.VerifyDiagnostics(); 2492compilation.VerifyDiagnostics(); 2570compilation.VerifyDiagnostics(); 2632compilation.VerifyDiagnostics(); 2692compilation.VerifyDiagnostics(); 2746compilation.VerifyDiagnostics(); 2803compilation.VerifyDiagnostics(); 2878compilation.VerifyDiagnostics(); 2955compilation.VerifyDiagnostics(); 3147compilation.VerifyDiagnostics(); 3303compilation.VerifyDiagnostics(); 3375compilation.VerifyDiagnostics();
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (7)
InteractiveSessionTests.cs (6)
487compilation2.VerifyDiagnostics(); 498compilation3.VerifyDiagnostics(); 1246script.GetCompilation().VerifyDiagnostics(); 1266script.GetCompilation().VerifyDiagnostics(); 1705scriptCompilation.VerifyDiagnostics(); 1771scriptCompilation.VerifyDiagnostics();
ScriptTests.cs (1)
993compilation.VerifyDiagnostics();
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2938)
Semantics\AccessCheckTests.cs (12)
407c.VerifyDiagnostics(); 457c.VerifyDiagnostics(); 550c.VerifyDiagnostics(); 571c.VerifyDiagnostics(); 957c.VerifyDiagnostics(); 964c.VerifyDiagnostics(); 1086compilation1.VerifyDiagnostics(); 1112compilation2.VerifyDiagnostics(); 1159compilation1.VerifyDiagnostics(); 1170compilation2.VerifyDiagnostics(); 1183compilation3.VerifyDiagnostics(); 1498comp.VerifyDiagnostics();
Semantics\AccessibilityTests.cs (6)
86CreateCompilation(source).VerifyDiagnostics(); 103CreateCompilation(source).VerifyDiagnostics(); 117CreateCompilation(source).VerifyDiagnostics(); 134CreateCompilation(source).VerifyDiagnostics(); 148CreateCompilation(source).VerifyDiagnostics(); 165CreateCompilation(source).VerifyDiagnostics();
Semantics\AmbiguousOverrideTests.cs (4)
517compilation.VerifyDiagnostics(); 637compilation.VerifyDiagnostics(); 771compilation.VerifyDiagnostics(); 929compilation.VerifyDiagnostics();
Semantics\AnonymousFunctionTests.cs (1)
21=> CreateCompilation(source, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(expected);
Semantics\ArglistTests.cs (2)
325CreateCompilation(text).VerifyDiagnostics(); 872CreateCompilationWithMscorlib40AndSystemCore(text).VerifyDiagnostics();
Semantics\AwaitExpressionTests.cs (1)
156comp.VerifyDiagnostics(diagnostics);
Semantics\BetterCandidates.cs (20)
58var compilation = CreateCompilationWithBetterCandidates(source, options: TestOptions.ReleaseExe).VerifyDiagnostics(); 85var compilation = CreateCompilationWithBetterCandidates(source, options: TestOptions.ReleaseExe).VerifyDiagnostics(); 116var compilation = CreateCompilationWithBetterCandidates(source, options: TestOptions.ReleaseExe).VerifyDiagnostics(); 150var compilation = CreateCompilationWithBetterCandidates(source, options: TestOptions.ReleaseExe).VerifyDiagnostics(); 183var compilation = CreateCompilationWithBetterCandidates(source, options: TestOptions.ReleaseExe).VerifyDiagnostics(); 230var compilation = CreateCompilationWithBetterCandidates(source, options: TestOptions.ReleaseExe).VerifyDiagnostics(); 313var compilation = CreateCompilationWithBetterCandidates(source, options: TestOptions.ReleaseExe).VerifyDiagnostics( 454var compilation = CreateCompilationWithBetterCandidates(source, options: TestOptions.ReleaseExe).VerifyDiagnostics( 482var compilation = CreateCompilationWithBetterCandidates(source, options: TestOptions.ReleaseExe).VerifyDiagnostics( 511var compilation = CreateCompilationWithBetterCandidates(source, options: TestOptions.ReleaseExe).VerifyDiagnostics( 541var compilation = CreateCompilationWithBetterCandidates(source, options: TestOptions.ReleaseExe).VerifyDiagnostics( 692var compilation = CreateCompilationWithBetterCandidates(source, options: TestOptions.ReleaseExe).VerifyDiagnostics( 726var compilation = CreateCompilationWithBetterCandidates(source, options: TestOptions.ReleaseExe).VerifyDiagnostics( 760var compilation = CreateCompilationWithBetterCandidates(source, options: TestOptions.ReleaseExe).VerifyDiagnostics( 791var compilation = CreateCompilationWithBetterCandidates(source, options: TestOptions.ReleaseExe).VerifyDiagnostics( 822var compilation = CreateCompilationWithBetterCandidates(source, options: TestOptions.ReleaseExe).VerifyDiagnostics( 863var compilation = CreateCompilationWithBetterCandidates(source, options: TestOptions.ReleaseExe).VerifyDiagnostics(); 892var compilation = CreateCompilationWithBetterCandidates(source, options: TestOptions.ReleaseExe).VerifyDiagnostics( 921var compilation = CreateCompilationWithBetterCandidates(source, options: TestOptions.ReleaseExe).VerifyDiagnostics( 950var compilation = CreateCompilationWithBetterCandidates(source, options: TestOptions.ReleaseExe.WithAllowUnsafe(true)).VerifyDiagnostics(
Semantics\BindingAsyncTasklikeMoreTests.cs (2)
1589compilation.VerifyDiagnostics(); 1594compilation.VerifyDiagnostics();
Semantics\BindingAsyncTasklikeTests.cs (3)
34var compilation = CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 309var compilation = CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 372CreateCompilationWithMscorlib461(source3).VerifyDiagnostics();
Semantics\BindingAsyncTests.cs (18)
33var compilation = CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 54var compilation = CreateCompilationWithMscorlib461(new SyntaxTree[] { tree }).VerifyDiagnostics(); 83var compilation = CreateCompilationWithMscorlib461(new SyntaxTree[] { tree }).VerifyDiagnostics(); 449CreateCompilationWithMscorlib461(source, new MetadataReference[] { LinqAssemblyRef, SystemRef }).VerifyDiagnostics(); 625CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 993CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp6)).VerifyDiagnostics(); 1022CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp6)).VerifyDiagnostics(); 1167CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 1189CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 1297CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 1342CreateCompilationWithMscorlib461(source, new MetadataReference[] { SystemRef, LinqAssemblyRef }).VerifyDiagnostics(); 1371CreateCompilationWithMscorlib461(source, new MetadataReference[] { SystemRef, LinqAssemblyRef }).VerifyDiagnostics(); 2481CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 2855CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 2932CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 2975CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 3009CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 3710CreateCompilationWithMscorlib461(source).VerifyDiagnostics();
Semantics\BindingAwaitTests.cs (9)
582CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 655CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 821CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 992CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 1244CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 1302CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 1403CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 1896var compilation = CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 2763comp.VerifyDiagnostics();
Semantics\BindingTests.cs (29)
36CreateCompilation(text).VerifyDiagnostics(); 58CreateCompilation(source).VerifyDiagnostics(); 81CreateCompilation(source).VerifyDiagnostics(); 101CreateCompilation(source).VerifyDiagnostics(); 384CreateCompilation(source).VerifyDiagnostics(); 522CreateCompilation(source).VerifyDiagnostics(); 546CreateCompilation(source).VerifyDiagnostics(); 769", assemblyName: "BaseAssembly1").VerifyDiagnostics(); 778", assemblyName: "DerivedAssembly1", references: new List<MetadataReference>() { baseAssembly.EmitToImageReference() }).VerifyDiagnostics(); 792.VerifyDiagnostics(); 808", assemblyName: "BaseAssembly2").VerifyDiagnostics(); 817", assemblyName: "DerivedAssembly2", references: new List<MetadataReference>() { baseAssembly.EmitToImageReference() }).VerifyDiagnostics(); 831.VerifyDiagnostics(); 847", assemblyName: "BaseAssembly3").VerifyDiagnostics(); 856", assemblyName: "DerivedAssembly3", references: new List<MetadataReference>() { baseAssembly.EmitToImageReference() }).VerifyDiagnostics(); 1800CreateCompilation(source).VerifyDiagnostics(); 1853CreateCompilation(source).VerifyDiagnostics(); 1889CreateCompilation(source).VerifyDiagnostics(); 2251CreateCompilation(source).VerifyDiagnostics(); 2271CreateCompilation(source).VerifyDiagnostics(); 2414CreateCompilationWithMscorlib461(text).VerifyDiagnostics(); 2477CreateCompilationWithMscorlib461(text).VerifyDiagnostics(); 2554CreateCompilation(source).VerifyDiagnostics(); 2597comp.VerifyDiagnostics(); 2628comp.VerifyDiagnostics(); 2657comp.VerifyDiagnostics(); 2717compilation.VerifyDiagnostics(); 2773compilation.VerifyDiagnostics(); 2828compilation.VerifyDiagnostics();
Semantics\ColorColorTests.cs (11)
1006CreateCompilation(text).VerifyDiagnostics(); 1032CreateCompilation(text).VerifyDiagnostics(); 1464CreateCompilation(text).VerifyDiagnostics(); 1488CreateCompilation(text).VerifyDiagnostics(); 1739comp.VerifyDiagnostics(); 1810comp.VerifyDiagnostics(); 1840comp.VerifyDiagnostics(expectedDiagnostics); 2019compilation.VerifyDiagnostics(); 2273compilation.VerifyDiagnostics(); 2307compilation.VerifyDiagnostics(); 2368compilation.VerifyDiagnostics();
Semantics\ConditionalOperatorTests.cs (2)
226CreateCompilation(source).VerifyDiagnostics(); 1286comp.VerifyDiagnostics(expectedDiagnostics);
Semantics\ConstantTests.cs (8)
2846compilation2.VerifyDiagnostics(); 2847compilation1.VerifyDiagnostics(); 2892compilation4.VerifyDiagnostics(); 2893compilation3.VerifyDiagnostics(); 3264CreateCompilation(source).VerifyDiagnostics(); 3627comp.VerifyDiagnostics(); 3668comp.VerifyDiagnostics(); 4129comp.VerifyDiagnostics();
Semantics\DeconstructionTests.cs (10)
800comp.VerifyDiagnostics(); 1285comp.VerifyDiagnostics(); 1603var libMissingComp = CreateCompilation(new string[] { libMissingSource }, assemblyName: "libMissingComp").VerifyDiagnostics(); 1606var libComp = CreateCompilation(new string[] { libSource }, references: new[] { libMissingRef }, parseOptions: TestOptions.Regular).VerifyDiagnostics(); 1945comp.VerifyDiagnostics(); 3742comp.VerifyDiagnostics(); 3845comp.VerifyDiagnostics( 3866comp.VerifyDiagnostics(); 3939comp.VerifyDiagnostics(); 6550comp.VerifyDiagnostics();
Semantics\DelegateTypeTests.cs (80)
101comp.VerifyDiagnostics(); 191comp.VerifyDiagnostics(); 744comp.VerifyDiagnostics(expectedDiagnostics); 790comp.VerifyDiagnostics(expectedDiagnostics); 991comp.VerifyDiagnostics(); 1031comp.VerifyDiagnostics(); 1206comp.VerifyDiagnostics(expectedDiagnostics); 1327comp.VerifyDiagnostics(expectedDiagnostics); 1549comp.VerifyDiagnostics(expectedDiagnostics); 1629comp.VerifyDiagnostics(expectedDiagnostics); 2076comp.VerifyDiagnostics(); 2308comp.VerifyDiagnostics(); 2311comp.VerifyDiagnostics(); 2347comp.VerifyDiagnostics(); 2350comp.VerifyDiagnostics(); 2390comp.VerifyDiagnostics(); 2393comp.VerifyDiagnostics(); 2632comp.VerifyDiagnostics(); 2678comp.VerifyDiagnostics(); 2681comp.VerifyDiagnostics(); 2770comp.VerifyDiagnostics(); 2774comp.VerifyDiagnostics(); 3557comp.VerifyDiagnostics(); 3681comp.VerifyDiagnostics(); 9429comp.VerifyDiagnostics(); 9632comp.VerifyDiagnostics(); 10191comp.VerifyDiagnostics(); 10264comp.VerifyDiagnostics(); 10537comp.VerifyDiagnostics(); 10948comp.VerifyDiagnostics(); 10971comp.VerifyDiagnostics(); 11009comp.VerifyDiagnostics(); 11140comp.VerifyDiagnostics(); 11194comp.VerifyDiagnostics(); 11268comp.VerifyDiagnostics(); 11334comp.VerifyDiagnostics(); 11385comp.VerifyDiagnostics(); 11411comp.VerifyDiagnostics(); 11476comp.VerifyDiagnostics(); 11555comp.VerifyDiagnostics(); 11614comp.VerifyDiagnostics(); 11651comp.VerifyDiagnostics(); 11686comp.VerifyDiagnostics(); 11719comp.VerifyDiagnostics(); 11799comp.VerifyDiagnostics(); 11840comp.VerifyDiagnostics(); 11896comp.VerifyDiagnostics(); 13563var comp1a = CreateCompilation(source1a, assemblyName: "Lib1").VerifyDiagnostics(); 13572var comp2 = CreateCompilation(source2, [comp1aRef]).VerifyDiagnostics(); 13598var comp1b = CreateCompilation(source1b, assemblyName: "Lib1").VerifyDiagnostics(); 13680var comp1a = CreateCompilation(source1a, assemblyName: "Lib1").VerifyDiagnostics(); 13690var comp2 = CreateCompilation(source2, [comp1aRef]).VerifyDiagnostics(); 13699var comp1b = CreateCompilation(source1b, assemblyName: "Lib1").VerifyDiagnostics(); 13813var comp1a = CreateCompilation(source1a, assemblyName: "Lib1").VerifyDiagnostics(); 13823var comp2 = CreateCompilation(source2, [comp1aRef]).VerifyDiagnostics(); 13832var comp1b = CreateCompilation(source1b, assemblyName: "Lib1").VerifyDiagnostics(); 13929var comp1a = CreateCompilation(source1a, assemblyName: "Lib1").VerifyDiagnostics(); 13938var comp2 = CreateCompilation(source2, [comp1aRef]).VerifyDiagnostics(); 13974var comp1b = CreateCompilation(source1b, assemblyName: "Lib1").VerifyDiagnostics(); 14029var comp = CreateCompilationWithIL(source, ilSource).VerifyDiagnostics(); 14071var comp = CreateCompilationWithIL(source, ilSource).VerifyDiagnostics(); 14741comp.VerifyDiagnostics(); 15452comp.VerifyDiagnostics(); 15512comp.VerifyDiagnostics(); 15557comp.VerifyDiagnostics(); 16104CreateCompilation(source).VerifyDiagnostics(); 16810CreateCompilation(source).VerifyDiagnostics(); 17092CreateCompilation(source).VerifyDiagnostics(); 17239CreateCompilation(source).VerifyDiagnostics(); 17261CreateCompilation(source).VerifyDiagnostics(); 17770CreateCompilation(source).VerifyDiagnostics(); 18791var comp1 = CreateCompilation(source1).VerifyDiagnostics(); 18817var comp1 = CreateCompilation(source1).VerifyDiagnostics(); 18856comp.VerifyDiagnostics(); 18895var comp1 = CreateCompilation(source1).VerifyDiagnostics(); 19028var comp1 = CreateCompilation(source1).VerifyDiagnostics(); 19058var comp1 = CreateCompilation(source1).VerifyDiagnostics(); 19084var comp1 = CreateCompilation(source1).VerifyDiagnostics(); 19168var comp1 = CreateCompilation(source1).VerifyDiagnostics(); 19498CreateCompilation(source).VerifyDiagnostics();
Semantics\DynamicTests.cs (57)
225CreateCompilationWithMscorlib40AndSystemCore(source).VerifyDiagnostics(); 263CreateCompilation(source, new[] { CSharpRef }).VerifyDiagnostics(); 315CreateCompilationWithMscorlib40AndSystemCore(source).VerifyDiagnostics(); 339CreateCompilationWithMscorlib40AndSystemCore(source).VerifyDiagnostics(); 363CreateCompilationWithMscorlib40AndSystemCore(source).VerifyDiagnostics(); 392CreateCompilationWithMscorlib40AndSystemCore(source).VerifyDiagnostics(); 422CreateCompilationWithMscorlib40AndSystemCore(source).VerifyDiagnostics(); 455CreateCompilationWithMscorlib40AndSystemCore(source).VerifyDiagnostics(); 1783comp.VerifyDiagnostics(); 1891CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1907CreateCompilationWithMscorlib40AndSystemCore(source).VerifyDiagnostics(); 1929CreateCompilationWithMscorlib40AndSystemCore(source).VerifyDiagnostics(); 1953CreateCompilationWithMscorlib40AndSystemCore(source).VerifyDiagnostics(); 1999CreateCompilationWithMscorlib40AndSystemCore(source).VerifyDiagnostics(); 2088CreateCompilationWithMscorlib40AndSystemCore(source).VerifyDiagnostics(); 2153compilation.VerifyDiagnostics(); 2237CreateCompilationWithMscorlib40AndSystemCore(source).VerifyDiagnostics(); 2261CreateCompilationWithMscorlib40AndSystemCore(source).VerifyDiagnostics(); 2284CreateCompilationWithMscorlib40AndSystemCore(source).VerifyDiagnostics(); 3311CreateCompilationWithMscorlib40AndSystemCore(source).VerifyDiagnostics(); 3336CreateCompilationWithMscorlib40AndSystemCore(source).VerifyDiagnostics(); 3387CreateCompilationWithMscorlib40AndSystemCore(source).VerifyDiagnostics(); 3478comp.VerifyDiagnostics(); 3495comp.VerifyDiagnostics(); 3553comp.VerifyDiagnostics(); 3571comp.VerifyDiagnostics(); 3588comp.VerifyDiagnostics(); 3670comp.VerifyDiagnostics(); 3729CreateCompilationWithMscorlib40AndSystemCore(source).VerifyDiagnostics(); 3748comp.VerifyDiagnostics(); 3774CreateCompilationWithMscorlib40AndSystemCore(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp4)).VerifyDiagnostics(); 5179comp3.VerifyDiagnostics(); 5303comp3.VerifyDiagnostics(); 6101comp3.VerifyDiagnostics(); 6224comp3.VerifyDiagnostics(); 6344comp3.VerifyDiagnostics(); 6733comp3.VerifyDiagnostics(); 6842comp3.VerifyDiagnostics(); 6953comp3.VerifyDiagnostics(); 7115comp3.VerifyDiagnostics(); 7227comp3.VerifyDiagnostics(); 7343comp3.VerifyDiagnostics(); 7460comp3.VerifyDiagnostics(); 7639comp3.VerifyDiagnostics(); 7745comp3.VerifyDiagnostics(); 7851comp3.VerifyDiagnostics(); 8026comp3.VerifyDiagnostics(); 8132comp3.VerifyDiagnostics(); 8236comp3.VerifyDiagnostics(); 8345comp3.VerifyDiagnostics(); 8454comp3.VerifyDiagnostics(); 8563comp3.VerifyDiagnostics(); 8674comp3.VerifyDiagnostics(); 10089comp3.VerifyDiagnostics(); 10217comp3.VerifyDiagnostics(); 10345comp3.VerifyDiagnostics(); 10497comp3.VerifyDiagnostics();
Semantics\ExpressionBodiedMemberTests.cs (6)
72comp.VerifyDiagnostics(); 222comp.VerifyDiagnostics(); 255comp.VerifyDiagnostics(); 278comp.VerifyDiagnostics(); 311comp.VerifyDiagnostics(); 1043CreateCompilation(source, parseOptions: TestOptions.Regular).VerifyDiagnostics();
Semantics\ForEachTests.cs (10)
1793compilation.VerifyDiagnostics(); 2124comp.VerifyDiagnostics(); 2174comp.VerifyDiagnostics(); 3256comp.VerifyDiagnostics(diagnostics); 3322""", options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(); 3356""", options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(); 3443comp1.VerifyDiagnostics(); 3471comp2.VerifyDiagnostics(); 3486comp3.VerifyDiagnostics(); 3646var comp = CreateCompilationWithMscorlibAndSpan(source, options: TestOptions.ReleaseDebugExe).VerifyDiagnostics();
Semantics\FunctionPointerTests.cs (9)
48comp.VerifyDiagnostics(); 1610comp.VerifyDiagnostics(); 1770comp.VerifyDiagnostics(); 1931comp.VerifyDiagnostics(); 2004comp.VerifyDiagnostics(); 2050comp.VerifyDiagnostics(); 2083comp.VerifyDiagnostics(); 2121comp.VerifyDiagnostics(); 3639comp.VerifyDiagnostics();
Semantics\GenericConstraintsTests.cs (23)
1687CreateCompilation(code).VerifyDiagnostics(); 1927CreateCompilation("public class Test<T, U> where T : unmanaged, U { }").VerifyDiagnostics(); 1928CreateCompilation("public class Test<T, U> where U: class where T : unmanaged, U, System.IDisposable { }").VerifyDiagnostics(); 2873}", options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 3135compilation.VerifyDiagnostics(); 3165compilation.VerifyDiagnostics(); 3191compilation.VerifyDiagnostics(); 3220compilation.VerifyDiagnostics(); 3297.VerifyDiagnostics(); 3351.VerifyDiagnostics(); 3386.VerifyDiagnostics(); 3415.VerifyDiagnostics(); 3559compilation.VerifyDiagnostics(); 3579compilation.VerifyDiagnostics(); 3980compilation.VerifyDiagnostics(); 4008CreateCompilation(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 4040CreateCompilation(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 4064CreateCompilation(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 4087CreateCompilation(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 4110CreateCompilation(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 4134CreateCompilation(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 4161CreateCompilation(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 4194CreateCompilation(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
Semantics\GlobalUsingDirectiveTests.cs (11)
66CreateCompilation(source, parseOptions: TestOptions.Regular10).VerifyDiagnostics(); 86CreateCompilation(source, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(); 3354origLibComp.VerifyDiagnostics(); 3357newComp.VerifyDiagnostics(); 3360compWithReferenceToLib.VerifyDiagnostics(); 3365newLibComp.VerifyDiagnostics(); 3370newLibComp2.VerifyDiagnostics(); 3374newLibComp.VerifyDiagnostics(); 3378newLibComp2.VerifyDiagnostics(); 5006CreateCompilation(new[] { source1, source2 }, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(); 5101CreateCompilation(new[] { source1, source2 }, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics();
Semantics\HideByNameTests.cs (7)
317CreateCompilationWithILAndMscorlib40(csharp, il).VerifyDiagnostics(); 373CreateCompilationWithILAndMscorlib40(csharp, il).VerifyDiagnostics(); 679CreateCompilationWithILAndMscorlib40(csharp, il).VerifyDiagnostics(); 749CreateCompilationWithILAndMscorlib40(csharp, il).VerifyDiagnostics(); 778").VerifyDiagnostics(); 799").VerifyDiagnostics(); 834").VerifyDiagnostics();
Semantics\ImplicitlyTypeArraysTests.cs (1)
34compilation.VerifyDiagnostics();
Semantics\ImplicitlyTypedLocalsTests.cs (1)
152CreateCompilation(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp3)).VerifyDiagnostics();
Semantics\ImplicitObjectCreationTests.cs (56)
50comp.VerifyDiagnostics(); 172comp.VerifyDiagnostics(); 269comp.VerifyDiagnostics(); 297comp.VerifyDiagnostics(); 320comp.VerifyDiagnostics(); 353comp.VerifyDiagnostics(); 439comp.VerifyDiagnostics(); 598var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics(); 644comp.VerifyDiagnostics(); 699var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics(); 838comp.VerifyDiagnostics(); 879comp.VerifyDiagnostics(); 954comp.VerifyDiagnostics(); 986comp.VerifyDiagnostics(); 1011comp.VerifyDiagnostics(); 1052comp.VerifyDiagnostics(); 1122comp.VerifyDiagnostics(); 1204var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics(); 1229var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics(); 1252var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics(); 1273var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics(); 1298var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics(); 1405var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics(); 1457var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics( 1492comp.VerifyDiagnostics(); 1763comp.VerifyDiagnostics(); 1861comp.VerifyDiagnostics(); 1891comp.VerifyDiagnostics(); 1921comp.VerifyDiagnostics(); 1974comp.VerifyDiagnostics(); 2031comp.VerifyDiagnostics(); 2066comp.VerifyDiagnostics(); 2164comp.VerifyDiagnostics(); 2213comp.VerifyDiagnostics(); 2426comp.VerifyDiagnostics(); 2510comp.VerifyDiagnostics(); 2560comp.VerifyDiagnostics(); 2651comp.VerifyDiagnostics(); 2683comp.VerifyDiagnostics(); 2912comp.VerifyDiagnostics(); 2953comp.VerifyDiagnostics(); 3079comp.VerifyDiagnostics(); 3097comp.VerifyDiagnostics(); 3115comp.VerifyDiagnostics(); 3249comp.VerifyDiagnostics(); 3266comp.VerifyDiagnostics(); 3279comp.VerifyDiagnostics(); 3301comp.VerifyDiagnostics(); 3765comp.VerifyDiagnostics(); 4056comp.VerifyDiagnostics(); 4075comp.VerifyDiagnostics(); 4094comp.VerifyDiagnostics(); 4325libComp.VerifyDiagnostics(); 4357libComp.VerifyDiagnostics(); 4526compilation.VerifyDiagnostics(); 4569compilation.VerifyDiagnostics();
Semantics\IndexAndRangeTests.cs (17)
78comp.VerifyDiagnostics(); 224comp.VerifyDiagnostics(); 735comp.VerifyDiagnostics(); 751comp.VerifyDiagnostics(); 913}").VerifyDiagnostics(); 934}").VerifyDiagnostics(); 1000compilation = CreateCompilationWithIndex(source, parseOptions: TestOptions.Regular8).VerifyDiagnostics(); 1246}").VerifyDiagnostics(); 1279}").VerifyDiagnostics(); 1312}").VerifyDiagnostics(); 1336}").VerifyDiagnostics(); 1379}").VerifyDiagnostics(); 1483CreateCompilationWithIndexAndRange(source, parseOptions: TestOptions.Regular8).VerifyDiagnostics(); 1641}", options: TestOptions.ReleaseExe).VerifyDiagnostics(); 1661}", options: TestOptions.ReleaseExe).VerifyDiagnostics(); 1702}", options: TestOptions.ReleaseExe).VerifyDiagnostics(); 1722}", options: TestOptions.ReleaseExe).VerifyDiagnostics();
Semantics\InheritanceBindingTests.cs (36)
2997comp11.VerifyDiagnostics(); 3000comp12.VerifyDiagnostics(); 3008comp2.VerifyDiagnostics(); 4897CreateCompilation(text).VerifyDiagnostics(); 4922CreateCompilation(text).VerifyDiagnostics(); 4946CreateCompilation(text).VerifyDiagnostics(); 4970CreateCompilation(text).VerifyDiagnostics(); 5057compilation.VerifyDiagnostics( 6705comp.VerifyDiagnostics(DiagnosticDescription.None); 8169CreateCompilation(source).VerifyDiagnostics(); 8269CreateCompilation(source).VerifyDiagnostics(); 8439var comp = CreateCompilation(source).VerifyDiagnostics(); 8466var comp = CreateCompilation(source).VerifyDiagnostics(); 8493var comp = CreateCompilation(source).VerifyDiagnostics(); 8523var comp = CreateCompilation(source).VerifyDiagnostics(); 8550var comp = CreateCompilation(source).VerifyDiagnostics(); 8577var comp = CreateCompilation(source).VerifyDiagnostics(); 8602var comp = CreateCompilation(source).VerifyDiagnostics(); 8624var comp = CreateCompilation(source).VerifyDiagnostics(); 8646var comp = CreateCompilation(source).VerifyDiagnostics(); 8671var comp = CreateCompilation(source).VerifyDiagnostics(); 8693var comp = CreateCompilation(source).VerifyDiagnostics(); 8715var comp = CreateCompilation(source).VerifyDiagnostics(); 8744var comp = CreateCompilation(source).VerifyDiagnostics(); 8750CreateCompilation(source, parseOptions: TestOptions.Regular8).VerifyDiagnostics(); 8773var comp = CreateCompilation(source).VerifyDiagnostics(); 8794var comp = CreateCompilation(source).VerifyDiagnostics(); 8811var comp = CreateCompilation(source).VerifyDiagnostics(); 8813CreateCompilation(source, parseOptions: TestOptions.Regular8).VerifyDiagnostics(); 8916var comp = CreateCompilation(source).VerifyDiagnostics(); 8933var comp = CreateCompilation(source).VerifyDiagnostics(); 9667var comp = CreateCompilation(source).VerifyDiagnostics(); 9685var comp = CreateCompilation(source).VerifyDiagnostics(); 9794var comp = CreateCompilation(source).VerifyDiagnostics(); 9820CreateCompilation(source1 + source2).VerifyDiagnostics(); 9821CreateCompilation(source2 + source1).VerifyDiagnostics();
Semantics\InitOnlyMemberTests.cs (14)
972comp.VerifyDiagnostics(); 1004comp.VerifyDiagnostics(); 1444comp.VerifyDiagnostics(); 1524libComp.VerifyDiagnostics(); 1789libComp.VerifyDiagnostics(); 2066comp.VerifyDiagnostics(); 2214libComp.VerifyDiagnostics(); 2449comp.VerifyDiagnostics(); 2469comp.VerifyDiagnostics(); 2491comp.VerifyDiagnostics(); 2515comp.VerifyDiagnostics(); 2537comp.VerifyDiagnostics(); 2739comp.VerifyDiagnostics(); 2824comp.VerifyDiagnostics();
Semantics\InteractiveUsingTests.cs (22)
24sub.VerifyDiagnostics(); 33sub.VerifyDiagnostics(); 42sub.VerifyDiagnostics(); 54sub1.VerifyDiagnostics(); 60sub2.VerifyDiagnostics(); 67sub3.VerifyDiagnostics(); 81sub.VerifyDiagnostics(); 107CreateSubmission("using A1 = A;", previous: sub3).VerifyDiagnostics(); 108CreateSubmission("using B1 = B;", previous: sub3).VerifyDiagnostics(); 111sub4.VerifyDiagnostics(); 213sub.VerifyDiagnostics(); 226CreateSubmission("using static A;", previous: sub3).VerifyDiagnostics(); 227CreateSubmission("using static B;", previous: sub3).VerifyDiagnostics(); 230sub4.VerifyDiagnostics(); 286CreateSubmission("using System;", previous: CreateSubmission("using System;")).VerifyDiagnostics(); 292CreateSubmission("typeof(String)", options: TestOptions.DebugDll.WithUsings("System", "System")).VerifyDiagnostics(); 301sub1.VerifyDiagnostics(); 304sub2.VerifyDiagnostics(); 328sub1.VerifyDiagnostics(); 331sub2.VerifyDiagnostics(); 488compilation.VerifyDiagnostics(); 534curr.VerifyDiagnostics();
Semantics\InterpolationTests.cs (43)
1113var comp = CreateEmptyCompilation(text, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: Test.Utilities.TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1172comp.VerifyDiagnostics(); 1275comp.VerifyDiagnostics(); 1376comp.VerifyDiagnostics(); 1428comp.VerifyDiagnostics(); 3374comp.VerifyDiagnostics(); 3634comp.VerifyDiagnostics(); 6842vbComp.VerifyDiagnostics(); 6938vbComp.VerifyDiagnostics(); 7013vbComp.VerifyDiagnostics(); 7091vbComp.VerifyDiagnostics(); 7166vbComp.VerifyDiagnostics(); 7274vbComp.VerifyDiagnostics(); 7314vbComp.VerifyDiagnostics(); 7354vbComp.VerifyDiagnostics(); 7394vbComp.VerifyDiagnostics(); 7471vbComp.VerifyDiagnostics(); 7548vbComp.VerifyDiagnostics(); 7629vbComp.VerifyDiagnostics(); 7801vbComp.VerifyDiagnostics(); 8015comp.VerifyDiagnostics(expectedDiagnostics); 13216vbComp.VerifyDiagnostics(); 13809comp.VerifyDiagnostics(); 13837comp.VerifyDiagnostics(); 14661comp.VerifyDiagnostics(); 14836comp.VerifyDiagnostics(); 14839comp.VerifyDiagnostics(); 14870comp.VerifyDiagnostics(); 14873comp.VerifyDiagnostics(); 14904comp.VerifyDiagnostics(); 14907comp.VerifyDiagnostics(); 15034comp.VerifyDiagnostics(); 15123comp.VerifyDiagnostics(); 15256comp.VerifyDiagnostics(); 15296comp.VerifyDiagnostics(); 15520comp.VerifyDiagnostics(); 15563comp.VerifyDiagnostics(); 15602comp.VerifyDiagnostics(); 15641comp.VerifyDiagnostics(); 15681comp.VerifyDiagnostics(); 15720comp.VerifyDiagnostics(); 15854comp.VerifyDiagnostics(); 17506vbComp.VerifyDiagnostics();
Semantics\IteratorTests.cs (5)
41comp.VerifyDiagnostics(); 61comp.VerifyDiagnostics(); 237CreateCompilation(source).VerifyDiagnostics(); 552comp.Compilation.VerifyDiagnostics(); 606comp.VerifyDiagnostics();
Semantics\LambdaDiscardParametersTests.cs (8)
140comp.VerifyDiagnostics(); 285comp3.VerifyDiagnostics(); 307comp.VerifyDiagnostics(); 327comp.VerifyDiagnostics(); 379comp.VerifyDiagnostics(); 443comp.VerifyDiagnostics(); 477comp.VerifyDiagnostics(); 562comp.VerifyDiagnostics();
Semantics\LambdaTests.cs (53)
54comp.VerifyDiagnostics(); 262compilation.VerifyDiagnostics(); // no errors expected 338comp.VerifyDiagnostics(); 1267CreateCompilationWithMscorlib461(text).VerifyDiagnostics(); 1288CreateCompilationWithMscorlib461(text).VerifyDiagnostics(); 1316CreateCompilationWithMscorlib461(text).VerifyDiagnostics(); 1442comp.VerifyDiagnostics(); 1799var compilation = CreateCompilationWithMscorlib40AndSystemCore(text).VerifyDiagnostics(); 3097comp.VerifyDiagnostics(); 3100comp.VerifyDiagnostics(); 3138comp.VerifyDiagnostics(); 3179comp.VerifyDiagnostics(); 3217comp.VerifyDiagnostics(); 3255comp.VerifyDiagnostics(); 3258comp.VerifyDiagnostics(); 3292comp.VerifyDiagnostics(); 3329comp.VerifyDiagnostics(); 3371comp.VerifyDiagnostics(); 3395comp.VerifyDiagnostics(); 3446comp.VerifyDiagnostics(); 3476comp.VerifyDiagnostics(); 3511comp.VerifyDiagnostics(); 3556comp.VerifyDiagnostics(); 3696comp.VerifyDiagnostics(); 3762comp.VerifyDiagnostics(); 3973comp.VerifyDiagnostics(); 4181comp.VerifyDiagnostics(); 4208comp.VerifyDiagnostics(); 4950comp.VerifyDiagnostics(); 4978comp.VerifyDiagnostics(); 5061comp.VerifyDiagnostics(); 6171comp.VerifyDiagnostics(); 6192comp.VerifyDiagnostics(); 6815comp.VerifyDiagnostics(); 6844comp.VerifyDiagnostics(); 7139CreateCompilation(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(); 7462comp.VerifyDiagnostics(); 7506comp.VerifyDiagnostics(); 7544comp.VerifyDiagnostics(); 7560comp.VerifyDiagnostics(); 7576comp.VerifyDiagnostics(); 7611comp.VerifyDiagnostics(); 7711comp.VerifyDiagnostics(); 7730comp.VerifyDiagnostics(); 7772comp.VerifyDiagnostics(); 7974CreateCompilation(source).VerifyDiagnostics(); 8006var comp = CreateCompilation(source).VerifyDiagnostics(); 8054var comp = CreateCompilation(source).VerifyDiagnostics(); 8079var comp = CreateCompilation(source).VerifyDiagnostics(); 8151var comp = CreateCompilation(source).VerifyDiagnostics(); 8258CreateCompilation(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(); 8356var comp = CreateCompilation(source).VerifyDiagnostics(); 8515CreateCompilation(source).VerifyDiagnostics();
Semantics\LocalFunctionTests.cs (75)
28comp.VerifyDiagnostics(expected); 902comp.VerifyDiagnostics(); 1017comp.VerifyDiagnostics(); 1453compWithUnsafe.VerifyDiagnostics(); 1490compWithUnsafe.VerifyDiagnostics(); 1519compWithUnsafe.VerifyDiagnostics(); 1538comp.VerifyDiagnostics(); 2547comp.VerifyDiagnostics(); 2674comp.VerifyDiagnostics(); 3039comp.VerifyDiagnostics(); 3206comp.VerifyDiagnostics(); 4721compilation.VerifyDiagnostics(); 4750CreateCompilation(source).VerifyDiagnostics(); 5322comp.VerifyDiagnostics(); 5325comp.VerifyDiagnostics(); 5366comp.VerifyDiagnostics(); 5389comp.VerifyDiagnostics(); 5428comp.VerifyDiagnostics(); 5512comp.VerifyDiagnostics(); 5599comp.VerifyDiagnostics(); 5703comp.VerifyDiagnostics(); 5736comp.VerifyDiagnostics(); 5758comp.VerifyDiagnostics(); 5761comp.VerifyDiagnostics(); 6264comp.VerifyDiagnostics(); 6291comp.VerifyDiagnostics(); 6320comp.VerifyDiagnostics(); 6338comp.VerifyDiagnostics(); 6357comp.VerifyDiagnostics(); 6378comp.VerifyDiagnostics(); 6406comp.VerifyDiagnostics(); 6795comp.VerifyDiagnostics(); 7253comp.VerifyDiagnostics(); 7311comp.VerifyDiagnostics(); 7341comp.VerifyDiagnostics(); 7915comp.VerifyDiagnostics(); 8010comp.VerifyDiagnostics(); 8061comp.VerifyDiagnostics(); 8080comp.VerifyDiagnostics(); 8104comp.VerifyDiagnostics(); 8203comp.VerifyDiagnostics(); 8230comp.VerifyDiagnostics(); 8291comp.VerifyDiagnostics(); 8389comp.VerifyDiagnostics(); 8444comp.VerifyDiagnostics(); 8513comp.VerifyDiagnostics(); 8517comp.VerifyDiagnostics(); 8533comp.VerifyDiagnostics(); 8537comp.VerifyDiagnostics(); 8580comp.VerifyDiagnostics(); 8671comp.VerifyDiagnostics(); 8885comp.VerifyDiagnostics(); 8984comp.VerifyDiagnostics(); 9005comp.VerifyDiagnostics(); 9029comp.VerifyDiagnostics(); 9053comp.VerifyDiagnostics(); 9077comp.VerifyDiagnostics(); 9100comp.VerifyDiagnostics(); 9150comp.VerifyDiagnostics(); 9167comp.VerifyDiagnostics(); 9187comp.VerifyDiagnostics(); 9356comp.VerifyDiagnostics(); 9463comp.VerifyDiagnostics(); 9483comp.VerifyDiagnostics(); 9575comp.VerifyDiagnostics(); 9592comp.VerifyDiagnostics(); 9612comp.VerifyDiagnostics(); 9632comp.VerifyDiagnostics(); 9655comp.VerifyDiagnostics(); 9709comp.VerifyDiagnostics(); 9778comp.VerifyDiagnostics(); 10036comp.VerifyDiagnostics(); 10091comp.VerifyDiagnostics(); 10150comp.VerifyDiagnostics(); 10254CreateCompilation(text).VerifyDiagnostics();
Semantics\LockTests.cs (2)
40compilation.VerifyDiagnostics(); 116CreateCompilation(source).VerifyDiagnostics();
Semantics\LookupTests.cs (13)
1318CreateCompilation(testSrc).VerifyDiagnostics(); 1562compilation.VerifyDiagnostics(); 1594compilation.VerifyDiagnostics(); 1708comp.VerifyDiagnostics(); 1754comp.VerifyDiagnostics(); 1782comp.VerifyDiagnostics(); 1817comp.VerifyDiagnostics(); 1978comp.VerifyDiagnostics(); 2006comp.VerifyDiagnostics(); 2037comp.VerifyDiagnostics(); 2067comp.VerifyDiagnostics(); 2095comp.VerifyDiagnostics(); 2118comp.VerifyDiagnostics();
Semantics\MethodBodyModelTests.cs (18)
101comp.VerifyDiagnostics(); 164comp.VerifyDiagnostics(); 204comp.VerifyDiagnostics(); 244comp.VerifyDiagnostics(); 267comp.VerifyDiagnostics(); 295comp.VerifyDiagnostics(); 371comp.VerifyDiagnostics(); 395comp.VerifyDiagnostics(); 534comp.VerifyDiagnostics(); 668comp.VerifyDiagnostics(); 700comp.VerifyDiagnostics(); 727comp.VerifyDiagnostics(); 752comp.VerifyDiagnostics(); 834comp.VerifyDiagnostics(); 861comp.VerifyDiagnostics(); 886comp.VerifyDiagnostics(); 913comp.VerifyDiagnostics(); 934comp.VerifyDiagnostics();
Semantics\MethodTypeInferenceTests.cs (9)
574CreateCompilation(source).VerifyDiagnostics(); 697comp.VerifyDiagnostics(); 752comp.VerifyDiagnostics(); 798comp.VerifyDiagnostics(); 972CreateCompilationWithMscorlib40(source, references: new[] { Net40.References.SystemCore }).VerifyDiagnostics(); 993CreateCompilation(source).VerifyDiagnostics(); 1042comp.VerifyDiagnostics(); 1072comp.VerifyDiagnostics(); 1197var compilation = CreateCSharpCompilation(source).VerifyDiagnostics();
Semantics\NameCollisionTests.cs (10)
347CreateCompilation(source).VerifyDiagnostics(); 389CreateCompilation(source).VerifyDiagnostics(); 417CreateCompilation(source).VerifyDiagnostics(); 538CreateCompilation(source).VerifyDiagnostics(); 607CreateCompilation(source).VerifyDiagnostics(); 632CreateCompilation(source).VerifyDiagnostics(); 1173CreateCompilation(source).VerifyDiagnostics(); 1300CreateCompilationWithMscorlib40AndSystemCore(source).VerifyDiagnostics(); 1378CreateCompilation(source).VerifyDiagnostics(); 1919CreateCompilation(source).VerifyDiagnostics();
Semantics\NamedAndOptionalTests.cs (4)
127CreateCompilation(source).VerifyDiagnostics(); 889CreateCompilation(source).VerifyDiagnostics(); 1567vbCompilation.VerifyDiagnostics(); 1677libComp.VerifyDiagnostics();
Semantics\NameLengthTests.cs (12)
189comp.VerifyDiagnostics(); 222comp.VerifyDiagnostics(); 271comp.VerifyDiagnostics(); 314comp.VerifyDiagnostics(); 341comp.VerifyDiagnostics(); 375comp.VerifyDiagnostics(); 405comp.VerifyDiagnostics(); 430comp.VerifyDiagnostics(); 461comp.VerifyDiagnostics(); 484comp.VerifyDiagnostics(); 532comp.VerifyDiagnostics(); 556comp.VerifyDiagnostics();
Semantics\NameOfTests.cs (14)
975var comp = CreateCompilation(source).VerifyDiagnostics(); 1046var comp = CreateCompilation(source).VerifyDiagnostics(); 1129var comp = CreateCompilation(source).VerifyDiagnostics(); 1209var comp = CreateCompilation(source).VerifyDiagnostics(); 1323compilation.VerifyDiagnostics(); 1355compilation.VerifyDiagnostics(); 1426compilation.VerifyDiagnostics(); 1463var compilation = CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 1700compilation.VerifyDiagnostics( 1732CreateCompilation(source, options: option).VerifyDiagnostics(); 1745CreateCompilation(source, options: option).VerifyDiagnostics(); 1760CreateCompilation(source, options: option).VerifyDiagnostics(); 1799CreateCompilation(source, options: option).VerifyDiagnostics(); 2123CreateCompilation(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
Semantics\NativeIntegerTests.cs (110)
88comp.VerifyDiagnostics(); 104comp.VerifyDiagnostics(); 178comp.VerifyDiagnostics(); 184comp.VerifyDiagnostics(); 191comp.VerifyDiagnostics(); 197comp.VerifyDiagnostics(); 700comp.VerifyDiagnostics(); 857comp.VerifyDiagnostics(); 1081comp.VerifyDiagnostics(); 1150comp.VerifyDiagnostics(); 1294comp.VerifyDiagnostics(); 1507comp.VerifyDiagnostics(); 1511comp.VerifyDiagnostics(); 1516comp.VerifyDiagnostics(); 1520comp.VerifyDiagnostics(); 1533comp.VerifyDiagnostics(); 1571comp.VerifyDiagnostics(); 1591comp.VerifyDiagnostics(); 1598comp.VerifyDiagnostics(); 1602comp.VerifyDiagnostics(); 1644comp.VerifyDiagnostics(); 1651comp.VerifyDiagnostics(); 1655comp.VerifyDiagnostics(); 1726comp.VerifyDiagnostics(); 1894comp.VerifyDiagnostics(); 2207comp.VerifyDiagnostics(); 2227comp.VerifyDiagnostics(); 2299comp.VerifyDiagnostics(); 2431compA.VerifyDiagnostics(); 2462compB.VerifyDiagnostics(); 2598comp.VerifyDiagnostics(); 2702comp.VerifyDiagnostics(); 2872comp.VerifyDiagnostics(); 2935comp.VerifyDiagnostics(); 2982comp.VerifyDiagnostics(); 3113comp.VerifyDiagnostics(); 3116comp.VerifyDiagnostics(); 3121comp.VerifyDiagnostics(); 3124comp.VerifyDiagnostics(); 3160comp.VerifyDiagnostics(); 3165comp.VerifyDiagnostics(); 3168comp.VerifyDiagnostics(); 3195comp.VerifyDiagnostics(); 3200comp.VerifyDiagnostics(); 3203comp.VerifyDiagnostics(); 3257comp.VerifyDiagnostics(); 3300comp.VerifyDiagnostics(); 3359comp.VerifyDiagnostics(); 3460comp.VerifyDiagnostics(); 3474comp.VerifyDiagnostics(); 3490comp.VerifyDiagnostics(); 3528comp.VerifyDiagnostics(); 3531comp.VerifyDiagnostics(); 3536comp.VerifyDiagnostics(); 3539comp.VerifyDiagnostics(); 3564comp.VerifyDiagnostics(); 3569comp.VerifyDiagnostics(); 3572comp.VerifyDiagnostics(); 3597comp.VerifyDiagnostics(); 3602comp.VerifyDiagnostics(); 3605comp.VerifyDiagnostics(); 3628comp.VerifyDiagnostics(); 3710comp.VerifyDiagnostics(); 3744comp.VerifyDiagnostics(); 3794comp = CreateCompilation(source, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(); 3816comp.VerifyDiagnostics(); 3819comp.VerifyDiagnostics(); 3822comp.VerifyDiagnostics(); 3966comp.VerifyDiagnostics(); 3969comp.VerifyDiagnostics(); 4024comp.VerifyDiagnostics(); 4027comp.VerifyDiagnostics(); 4052comp.VerifyDiagnostics(); 4055comp.VerifyDiagnostics(); 4072comp.VerifyDiagnostics(); 4107comp.VerifyDiagnostics(); 4111comp.VerifyDiagnostics(); 4153comp.VerifyDiagnostics(); 4264comp.VerifyDiagnostics(); 4267comp.VerifyDiagnostics(); 4289comp.VerifyDiagnostics(); 4597comp.VerifyDiagnostics(); 4759comp.VerifyDiagnostics(); 4763comp.VerifyDiagnostics(); 4888comp.VerifyDiagnostics(); 4891comp.VerifyDiagnostics(); 5000comp.VerifyDiagnostics(); 5227comp.VerifyDiagnostics(); 5248comp.VerifyDiagnostics(); 5339comp.VerifyDiagnostics(); 5358comp.VerifyDiagnostics(); 6428comp.VerifyDiagnostics(); 6546comp.VerifyDiagnostics(expectedError is null ? Array.Empty<DiagnosticDescription>() : new[] { expectedError }); 7043comp.VerifyDiagnostics(); 9726comp.VerifyDiagnostics(expectedDiagnostics); 10100comp.VerifyDiagnostics(expectedDiagnostics); 10327comp.VerifyDiagnostics(expectedDiagnostics); 10377comp.VerifyDiagnostics(); 10494comp.VerifyDiagnostics(expected); 12377comp.VerifyDiagnostics(expectedDiagnostics); 13265comp.VerifyDiagnostics(expectedDiagnostics); 13312comp.VerifyDiagnostics(expectedDiagnostics); 14219comp.VerifyDiagnostics(); 14730comp.VerifyDiagnostics(); 15086comp.VerifyDiagnostics(); 15313comp.VerifyDiagnostics(); 15334comp.VerifyDiagnostics(); 15357comp.VerifyDiagnostics(); 15385comp.VerifyDiagnostics(); 15408comp.VerifyDiagnostics();
Semantics\NonTrailingNamedArgumentsTests.cs (3)
674comp.VerifyDiagnostics(); 875comp.VerifyDiagnostics( 907comp.VerifyDiagnostics(
Semantics\NullableContextTests.cs (14)
207comp.VerifyDiagnostics(); 256comp.VerifyDiagnostics(); 315comp.VerifyDiagnostics(); 572comp.VerifyDiagnostics(); 725comp.VerifyDiagnostics(expectedDiagnostics); 985comp.VerifyDiagnostics(expectedDiagnostics); 1066comp.VerifyDiagnostics(expectedDiagnostics); 1150comp.VerifyDiagnostics(expectedDiagnostics); 1209comp.VerifyDiagnostics(expectedDiagnostics); 1300comp.VerifyDiagnostics(expectedDiagnostics); 1357comp.VerifyDiagnostics(expectedDiagnostics); 1452comp.VerifyDiagnostics(expectedDiagnostics); 1587comp.VerifyDiagnostics(); 1739comp.VerifyDiagnostics(expectedDiagnostics);
Semantics\NullableReferenceTypesTests.cs (1130)
117CreateCompilation(source).VerifyDiagnostics(); 435comp.VerifyDiagnostics(); 527comp.VerifyDiagnostics(); 573comp.VerifyDiagnostics(); 928comp.VerifyDiagnostics(); 1109comp.VerifyDiagnostics(); 1340comp.VerifyDiagnostics(); 1447comp.VerifyDiagnostics(); 1510comp.VerifyDiagnostics(); 1635CreateCompilationWithIndexAndRange(text).VerifyDiagnostics(); 1748comp.VerifyDiagnostics(); 1782comp.VerifyDiagnostics(); 1835comp.VerifyDiagnostics(); 1863comp.VerifyDiagnostics(); 1888comp.VerifyDiagnostics(); 2158comp.VerifyDiagnostics(); 2220comp.VerifyDiagnostics(); 2776comp.VerifyDiagnostics(); 2797comp.VerifyDiagnostics(); 2843comp.VerifyDiagnostics(); 2860comp.VerifyDiagnostics(); 3213comp.VerifyDiagnostics(expected); 3255comp.VerifyDiagnostics(expected); 3727comp.VerifyDiagnostics(); 3742comp.VerifyDiagnostics(); 4481CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 4497CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 4522comp.VerifyDiagnostics(); 5167comp.VerifyDiagnostics(); 5557comp.VerifyDiagnostics(); 5599comp.VerifyDiagnostics(); 5903comp.VerifyDiagnostics(); 5921comp.VerifyDiagnostics(); 5939comp.VerifyDiagnostics(); 5955comp.VerifyDiagnostics(); 5973comp.VerifyDiagnostics(); 6016comp.VerifyDiagnostics(); 6036comp.VerifyDiagnostics(); 6056comp.VerifyDiagnostics(); 6075comp.VerifyDiagnostics(); 6094comp.VerifyDiagnostics(); 6160comp.VerifyDiagnostics(); 6341comp.VerifyDiagnostics(); 6365comp2.VerifyDiagnostics(); 6382comp.VerifyDiagnostics(); 6466comp.VerifyDiagnostics(); 6488comp.VerifyDiagnostics(); 6624comp.VerifyDiagnostics(); 6644comp.VerifyDiagnostics(); 6905comp.VerifyDiagnostics(); 6948comp.VerifyDiagnostics(); 7493comp.VerifyDiagnostics(); 7621c.VerifyDiagnostics(); 7797c.VerifyDiagnostics(); 7888c.VerifyDiagnostics( 7941c.VerifyDiagnostics(); 7944c.VerifyDiagnostics(); 7962c.VerifyDiagnostics(); 7965c.VerifyDiagnostics(); 8160c.VerifyDiagnostics(); 8177c.VerifyDiagnostics(); 8525c.VerifyDiagnostics(); 8583comp.VerifyDiagnostics(); 8602comp.VerifyDiagnostics(); 8605comp.VerifyDiagnostics(); 8608comp.VerifyDiagnostics(); 8611comp.VerifyDiagnostics(); 8614comp.VerifyDiagnostics(); 8617comp.VerifyDiagnostics(); 8620comp.VerifyDiagnostics(); 8623comp.VerifyDiagnostics(); 8626comp.VerifyDiagnostics(); 8629comp.VerifyDiagnostics(); 8689c.VerifyDiagnostics(); 8706comp0.VerifyDiagnostics(); 8812comp0.VerifyDiagnostics(); 8819comp1.VerifyDiagnostics(); 8822comp1.VerifyDiagnostics(); 8827comp1.VerifyDiagnostics(); 8830comp1.VerifyDiagnostics(); 8835comp0.VerifyDiagnostics(); 8842comp1.VerifyDiagnostics(); 8845comp1.VerifyDiagnostics(); 8850comp1.VerifyDiagnostics(); 8853comp1.VerifyDiagnostics(); 8857comp1.VerifyDiagnostics(); 8860comp1.VerifyDiagnostics(); 8865comp0.VerifyDiagnostics(); 8872comp1.VerifyDiagnostics(); 8875comp1.VerifyDiagnostics(); 8880comp1.VerifyDiagnostics(); 8883comp1.VerifyDiagnostics(); 8929comp0.VerifyDiagnostics(); 8933c.VerifyDiagnostics(); 8976comp0.VerifyDiagnostics(); 8987c.VerifyDiagnostics(); 9018comp.VerifyDiagnostics(); 9044comp.VerifyDiagnostics(); 9082comp0.VerifyDiagnostics(); 9156comp0.VerifyDiagnostics(); 9243comp0.VerifyDiagnostics(); 9247comp1.VerifyDiagnostics(); 9251comp2A.VerifyDiagnostics(); 9254comp2B.VerifyDiagnostics(); 9278comp2D.VerifyDiagnostics(); 9337comp1.VerifyDiagnostics(); 9369comp0.VerifyDiagnostics(); 9373comp1.VerifyDiagnostics(); 9425comp0.VerifyDiagnostics(); 9428comp1.VerifyDiagnostics(); 9431comp1.VerifyDiagnostics(); 9449comp.VerifyDiagnostics(); 9468comp.VerifyDiagnostics(); 9479comp.VerifyDiagnostics(); 9493comp.VerifyDiagnostics(); 9535comp.VerifyDiagnostics(); 10084obliviousComp.VerifyDiagnostics(); 10313obliviousComp.VerifyDiagnostics(); 10317compilation.VerifyDiagnostics(); 10331comp.VerifyDiagnostics(); 10350comp.VerifyDiagnostics(); 10380comp.VerifyDiagnostics(); 10383comp.VerifyDiagnostics(); 10405comp.VerifyDiagnostics(); 10414comp.VerifyDiagnostics(); 10445compilation.VerifyDiagnostics(); 11340compilation.VerifyDiagnostics(); 11362compilation.VerifyDiagnostics(); 11385CreateCompilation(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics(); 11406CreateCompilation(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics(); 11429CreateCompilation(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics(); 11451compilation.VerifyDiagnostics(); 11564compilation.VerifyDiagnostics( 11624compilation.VerifyDiagnostics(); 11729compilation.VerifyDiagnostics(); 12538comp.VerifyDiagnostics(); 12560comp.VerifyDiagnostics(); 13626compilation.VerifyDiagnostics(); 13894compilation.VerifyDiagnostics(); 13963compilation.VerifyDiagnostics(); 14128compilation.VerifyDiagnostics( 14225compilation.VerifyDiagnostics(); 14281compilation.VerifyDiagnostics(); 14334compilation1.VerifyDiagnostics(); 14340compilation2.VerifyDiagnostics(); 14386compilation1.VerifyDiagnostics(); 14394compilation2.VerifyDiagnostics(); 14400compilation3.VerifyDiagnostics(); 14404compilation4.VerifyDiagnostics(); 15247comp.VerifyDiagnostics(); 15320comp.VerifyDiagnostics(); 15341comp.VerifyDiagnostics(); 15362comp.VerifyDiagnostics(); 15383comp.VerifyDiagnostics(); 15470comp.VerifyDiagnostics(); 15538comp.VerifyDiagnostics(); 15559comp.VerifyDiagnostics(); 15580comp.VerifyDiagnostics(); 15601comp.VerifyDiagnostics(); 15928comp.VerifyDiagnostics(); 16039comp.VerifyDiagnostics(); 16494compilation.VerifyDiagnostics(); 16997comp.VerifyDiagnostics(); 17724compilation.VerifyDiagnostics(); 17833var compilation = CreateCompilation(source).VerifyDiagnostics(); 18130compilation.VerifyDiagnostics(); 19531c.VerifyDiagnostics(); 19906c.VerifyDiagnostics( 20290c.VerifyDiagnostics(); 23555libComp.VerifyDiagnostics(); 25195c.VerifyDiagnostics(); 25358c.VerifyDiagnostics(); 27132c.VerifyDiagnostics(); 27163c.VerifyDiagnostics(); 27192c.VerifyDiagnostics(); 27341comp.VerifyDiagnostics(); 27640c.VerifyDiagnostics( 27921c.VerifyDiagnostics(); 28023c.VerifyDiagnostics(); 28129c.VerifyDiagnostics(); 28359c.VerifyDiagnostics(); 28386c.VerifyDiagnostics(); 28436c.VerifyDiagnostics(); 28516comp.VerifyDiagnostics(); 28534comp.VerifyDiagnostics(); 29018c.VerifyDiagnostics(); 29066c.VerifyDiagnostics(); 29085c.VerifyDiagnostics(); 29172comp.VerifyDiagnostics(); 29189comp.VerifyDiagnostics(); 29209comp.VerifyDiagnostics(); 29274comp.VerifyDiagnostics( 29371comp.VerifyDiagnostics(); 29424comp.VerifyDiagnostics(); 29443comp.VerifyDiagnostics(); 29502comp.VerifyDiagnostics(); 29792c.VerifyDiagnostics(); 30101lib.VerifyDiagnostics(); 30267comp.VerifyDiagnostics(); 30343lib.VerifyDiagnostics(); 30697comp.VerifyDiagnostics(); 30904comp.VerifyDiagnostics(); 31179c.VerifyDiagnostics(); 31325c.VerifyDiagnostics(); 31450c.VerifyDiagnostics(); 31959c.VerifyDiagnostics(); 32743comp.VerifyDiagnostics(); 33112comp.VerifyDiagnostics(); 34805c.VerifyDiagnostics(); 34823c.VerifyDiagnostics(); 34842c.VerifyDiagnostics(); 34883c.VerifyDiagnostics(); 35058c.VerifyDiagnostics(); 35079c.VerifyDiagnostics(); 35100comp.VerifyDiagnostics(); 35147c.VerifyDiagnostics(); 35294c.VerifyDiagnostics(); 35318c.VerifyDiagnostics(); 35342c.VerifyDiagnostics(); 35371c.VerifyDiagnostics(); 35527c.VerifyDiagnostics(); 35655c.VerifyDiagnostics(); 35947c.VerifyDiagnostics(); 35967c.VerifyDiagnostics(); 36092c.VerifyDiagnostics(); 36182c.VerifyDiagnostics(); 36226c.VerifyDiagnostics(); 36318c.VerifyDiagnostics(); 36339c.VerifyDiagnostics(); 36411c.VerifyDiagnostics(); 36507c.VerifyDiagnostics(); 36552c.VerifyDiagnostics(); 36646c.VerifyDiagnostics(); 36667c.VerifyDiagnostics(); 36696comp.VerifyDiagnostics(); 36723comp.VerifyDiagnostics(); 36788comp.VerifyDiagnostics(); 37017comp.VerifyDiagnostics(); 37189comp.VerifyDiagnostics(); 37192comp2.VerifyDiagnostics(); 37302c.VerifyDiagnostics(); 37348c.VerifyDiagnostics(); 37395c.VerifyDiagnostics(); 37466c.VerifyDiagnostics(); 37514c.VerifyDiagnostics(); 37533c.VerifyDiagnostics(); 37654c.VerifyDiagnostics(); 37784comp.VerifyDiagnostics(); 37851c.VerifyDiagnostics(); 38170c.VerifyDiagnostics(); 38554c.VerifyDiagnostics(); 38579c.VerifyDiagnostics(); 38606c.VerifyDiagnostics(); 38635c.VerifyDiagnostics(); 38656c.VerifyDiagnostics(); 38677c.VerifyDiagnostics(); 38698c.VerifyDiagnostics(); 38724c.VerifyDiagnostics(); 38750c.VerifyDiagnostics(); 38840c.VerifyDiagnostics(); 38859c.VerifyDiagnostics(); 38878c.VerifyDiagnostics(); 38900c.VerifyDiagnostics(); 38992c.VerifyDiagnostics(); 39215c.VerifyDiagnostics(); 39363c.VerifyDiagnostics(); 39470c.VerifyDiagnostics(); 39514c.VerifyDiagnostics(); 39533c.VerifyDiagnostics(); 40292comp.VerifyDiagnostics(); 40306comp.VerifyDiagnostics(); 40477comp.VerifyDiagnostics(); 40498comp.VerifyDiagnostics(); 40512lib.VerifyDiagnostics( 40526comp.VerifyDiagnostics(); 40553comp.VerifyDiagnostics(); 40580comp.VerifyDiagnostics(); 40677comp.VerifyDiagnostics(); 40812comp.VerifyDiagnostics(); 41013comp.VerifyDiagnostics(); 41084comp.VerifyDiagnostics(); 41087comp2.VerifyDiagnostics(); 41302comp.VerifyDiagnostics(); 41330comp.VerifyDiagnostics(); 41825comp.VerifyDiagnostics(); 42124c.VerifyDiagnostics(); 42145c.VerifyDiagnostics(); 42262comp.VerifyDiagnostics(); 42306comp.VerifyDiagnostics(); 42449comp.VerifyDiagnostics(); 42512comp.VerifyDiagnostics(); 42791comp.VerifyDiagnostics(); 43239comp.VerifyDiagnostics(); 43265comp.VerifyDiagnostics(); 43291comp.VerifyDiagnostics(); 43317comp.VerifyDiagnostics(); 43343comp.VerifyDiagnostics(); 43437comp.VerifyDiagnostics(); 43489comp.VerifyDiagnostics(); 43778comp.VerifyDiagnostics(); 44288comp.VerifyDiagnostics(); 44396comp2.VerifyDiagnostics(); 44984comp.VerifyDiagnostics(); 45243comp.VerifyDiagnostics(); 45395comp.VerifyDiagnostics(); 45610comp.VerifyDiagnostics(); 45613comp2.VerifyDiagnostics(); 45645comp.VerifyDiagnostics(); 45648comp2.VerifyDiagnostics(); 45679comp.VerifyDiagnostics(); 45682comp2.VerifyDiagnostics(); 45703comp.VerifyDiagnostics(); 46236comp.VerifyDiagnostics(); 46286comp.VerifyDiagnostics(); 46793comp.VerifyDiagnostics(); 46849comp.VerifyDiagnostics(); 47215comp.VerifyDiagnostics(); 47244comp.VerifyDiagnostics(); 47421comp.VerifyDiagnostics(); 47440comp.VerifyDiagnostics(); 47454comp.VerifyDiagnostics(); 47634comp.VerifyDiagnostics(); 47684comp.VerifyDiagnostics(); 47687comp2.VerifyDiagnostics(); 47774comp.VerifyDiagnostics(); 47797comp.VerifyDiagnostics(); 47817comp.VerifyDiagnostics(); 47913comp.VerifyDiagnostics(); 47943lib.VerifyDiagnostics(); 47967comp.VerifyDiagnostics(); 47970comp2.VerifyDiagnostics(); 48077comp.VerifyDiagnostics(); 48080comp2.VerifyDiagnostics(); 48145comp.VerifyDiagnostics(); 48520comp.VerifyDiagnostics(); 51586CreateNullableCompilation(source).VerifyDiagnostics( 53703CreateNullableCompilation(source).VerifyDiagnostics(); 53752CreateNullableCompilation(source).VerifyDiagnostics(); 53775CreateNullableCompilation(source).VerifyDiagnostics(); 53798CreateNullableCompilation(source).VerifyDiagnostics(); 53821CreateNullableCompilation(source).VerifyDiagnostics(); 53846CreateNullableCompilation(source).VerifyDiagnostics(); 54092CreateNullableCompilation(source).VerifyDiagnostics(); 54117CreateNullableCompilation(source).VerifyDiagnostics(); 54205CreateNullableCompilation(source).VerifyDiagnostics(); 54455c.VerifyDiagnostics(); 54844comp.VerifyDiagnostics(); 55228comp.VerifyDiagnostics(); 55249comp.VerifyDiagnostics(); 55461comp.VerifyDiagnostics(); 55514comp.VerifyDiagnostics(); 55864comp.VerifyDiagnostics( 55883comp.VerifyDiagnostics(); 55991comp.VerifyDiagnostics(); 56006comp.VerifyDiagnostics(); 56115comp.VerifyDiagnostics(); 56185comp.VerifyDiagnostics(); 56249comp.VerifyDiagnostics(); 56280comp.VerifyDiagnostics(); 56381comp.VerifyDiagnostics(); 56412comp.VerifyDiagnostics(); 56445comp.VerifyDiagnostics(); 56516comp.VerifyDiagnostics(); 56594comp.VerifyDiagnostics( 56627comp.VerifyDiagnostics(); 56646comp.VerifyDiagnostics(); 56663comp0.VerifyDiagnostics(); 56712comp0.VerifyDiagnostics(); 56787comp0.VerifyDiagnostics(); 56851comp0.VerifyDiagnostics(); 56898comp0.VerifyDiagnostics(); 56944comp0.VerifyDiagnostics(); 57177CreateCompilation(source).VerifyDiagnostics(); 57215CreateCompilation(source).VerifyDiagnostics(); 57305comp0.VerifyDiagnostics(); 57535comp.VerifyDiagnostics( 57551comp0.VerifyDiagnostics(); 57566comp1.VerifyDiagnostics(); 57995comp.VerifyDiagnostics(); 58434comp0.VerifyDiagnostics(); 58449comp1.VerifyDiagnostics(); 58814c.VerifyDiagnostics( 58827comp0.VerifyDiagnostics(); 58886comp0.VerifyDiagnostics(); 59047comp.VerifyDiagnostics(); 59136comp.VerifyDiagnostics(); 59293comp.VerifyDiagnostics(); 59352comp.VerifyDiagnostics(); 60245comp.VerifyDiagnostics(); 60342comp0.VerifyDiagnostics(); 60467comp0.VerifyDiagnostics(); 60491comp.VerifyDiagnostics(); 60514comp.VerifyDiagnostics(); 60529comp0.VerifyDiagnostics(); 60584comp0.VerifyDiagnostics(); 60662comp0.VerifyDiagnostics(); 60751comp0.VerifyDiagnostics(); 60856comp0.VerifyDiagnostics(); 60976comp.VerifyDiagnostics(); 61001comp.VerifyDiagnostics(); 61143comp0.VerifyDiagnostics(); 61410comp.VerifyDiagnostics(); 61501comp.VerifyDiagnostics(); 62327c.VerifyDiagnostics( 62448comp.VerifyDiagnostics(); 62467comp.VerifyDiagnostics(); 62872c.VerifyDiagnostics( 63143c.VerifyDiagnostics( 63176c.VerifyDiagnostics( 63380c.VerifyDiagnostics( 63488c.VerifyDiagnostics( 63818c.VerifyDiagnostics( 64075comp.VerifyDiagnostics(); 64108comp.VerifyDiagnostics(); 64214comp.VerifyDiagnostics(); 64361comp.VerifyDiagnostics(); 64564comp.VerifyDiagnostics(); 64604comp0.VerifyDiagnostics(); 64662comp0.VerifyDiagnostics(); 64735comp0.VerifyDiagnostics(); 64962comp.VerifyDiagnostics(); 64991comp.VerifyDiagnostics(); 65119comp.VerifyDiagnostics(); 65152comp.VerifyDiagnostics(); 65244comp.VerifyDiagnostics(); 65274comp.VerifyDiagnostics(); 65300comp.VerifyDiagnostics(); 65496comp.VerifyDiagnostics(); 65547comp.VerifyDiagnostics(); 65789comp.VerifyDiagnostics(); 65815comp.VerifyDiagnostics(); 65886var comp1 = CreateCompilation(source1).VerifyDiagnostics(); 65939CreateCompilation(source).VerifyDiagnostics(); 65972CreateCompilation(source).VerifyDiagnostics(); 66006CreateCompilation(source).VerifyDiagnostics(); 66275CreateCompilation(source).VerifyDiagnostics(); 66460CreateCompilation(source).VerifyDiagnostics(); 66523CreateCompilation(source).VerifyDiagnostics(); 66552CreateCompilation(source).VerifyDiagnostics(); 66581CreateCompilation(source).VerifyDiagnostics(); 66610CreateCompilation(source).VerifyDiagnostics(); 66644CreateCompilation(source).VerifyDiagnostics(); 66681CreateCompilation(source).VerifyDiagnostics(); 66970c.VerifyDiagnostics( 66994comp.VerifyDiagnostics(); 67212c.VerifyDiagnostics( 67238comp.VerifyDiagnostics(); 67260comp.VerifyDiagnostics(); 67299c.VerifyDiagnostics(); 67338c.VerifyDiagnostics(); 67377c.VerifyDiagnostics(); 67416c.VerifyDiagnostics(); 67455c.VerifyDiagnostics( 67495c.VerifyDiagnostics( 67520c.VerifyDiagnostics( 67699c.VerifyDiagnostics( 67737c.VerifyDiagnostics(); 67774c.VerifyDiagnostics(); 67811c.VerifyDiagnostics(); 67848c.VerifyDiagnostics( 67886c.VerifyDiagnostics( 67911c.VerifyDiagnostics( 68046comp.VerifyDiagnostics(); 68084c.VerifyDiagnostics( 68107comp.VerifyDiagnostics(); 68132comp.VerifyDiagnostics(); 68158c.VerifyDiagnostics( 68184c.VerifyDiagnostics(); 68209c.VerifyDiagnostics(); 68235c.VerifyDiagnostics(); 68272c.VerifyDiagnostics(); 68381c.VerifyDiagnostics( 68438c.VerifyDiagnostics(); 68564comp.VerifyDiagnostics(); 68627comp.VerifyDiagnostics(); 68825comp.VerifyDiagnostics(); 68977comp.VerifyDiagnostics( 69005comp.VerifyDiagnostics( 69033comp.VerifyDiagnostics( 69060comp.VerifyDiagnostics(); 69120c.VerifyDiagnostics( 69300comp.VerifyDiagnostics(); 71094c.VerifyDiagnostics( 71109comp0.VerifyDiagnostics(); 71130comp0.VerifyDiagnostics(); 71162c.VerifyDiagnostics( 71747comp.VerifyDiagnostics(); 71776comp.VerifyDiagnostics(); 71825comp.VerifyDiagnostics(); 71850comp.VerifyDiagnostics(); 71871comp.VerifyDiagnostics(); 71957comp.VerifyDiagnostics(); 72031comp.VerifyDiagnostics(); 72057c.VerifyDiagnostics( 72083c.VerifyDiagnostics( 72413c.VerifyDiagnostics( 72494c.VerifyDiagnostics( 72593c.VerifyDiagnostics( 72779comp.VerifyDiagnostics(); 72799comp.VerifyDiagnostics(); 72871comp.VerifyDiagnostics(); 73213comp.VerifyDiagnostics(); 73761comp.VerifyDiagnostics(); 74945c.VerifyDiagnostics( 75475c.VerifyDiagnostics( 76236CreateCompilation(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics(); 76251CreateCompilation(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics(); 76388CreateCompilationWithMscorlib461(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics( 76508comp.VerifyDiagnostics(); 76931compilation.VerifyDiagnostics( 77348c1.VerifyDiagnostics(); 77498c1.VerifyDiagnostics(); 77669c1.VerifyDiagnostics(); 77810c1.VerifyDiagnostics(); 78624comp.VerifyDiagnostics(); 78648comp.VerifyDiagnostics(); 78720comp.VerifyDiagnostics(); 78806comp.VerifyDiagnostics(); 79223comp.VerifyDiagnostics(); 79247comp.VerifyDiagnostics(); 79274comp.VerifyDiagnostics(); 79301comp.VerifyDiagnostics(); 79414comp.VerifyDiagnostics(); 79480comp.VerifyDiagnostics(); 80351comp.VerifyDiagnostics(); 80589comp.VerifyDiagnostics(); 80621comp.VerifyDiagnostics(); 80627comp.VerifyDiagnostics(); 80657comp.VerifyDiagnostics(); 80677comp.VerifyDiagnostics(); 80696comp.VerifyDiagnostics(); 80716comp.VerifyDiagnostics(); 80720comp.VerifyDiagnostics(); 80840comp.VerifyDiagnostics(); 80862comp.VerifyDiagnostics(); 81045comp.VerifyDiagnostics(); 81434comp.VerifyDiagnostics(); 82419comp.VerifyDiagnostics(); 82617comp.VerifyDiagnostics(); 82638comp.VerifyDiagnostics(); 83080comp.VerifyDiagnostics(); 83327comp.VerifyDiagnostics(); 83343comp.VerifyDiagnostics(); 83366comp.VerifyDiagnostics(); 83434comp.VerifyDiagnostics(); 84806comp.VerifyDiagnostics(); 85800comp.VerifyDiagnostics(); 86355comp.VerifyDiagnostics(); 86384comp.VerifyDiagnostics(); 86640comp.VerifyDiagnostics(); 86896comp.VerifyDiagnostics(); 86975comp.VerifyDiagnostics(); 88066comp.VerifyDiagnostics(); 88180comp.VerifyDiagnostics(); 88677comp.VerifyDiagnostics(); 88944comp.VerifyDiagnostics(); 88947comp.VerifyDiagnostics(); 88971comp.VerifyDiagnostics(); 89016comp.VerifyDiagnostics(); 89033comp.VerifyDiagnostics(); 89044comp.VerifyDiagnostics(); 89046comp.VerifyDiagnostics(); 89057comp.VerifyDiagnostics(); 89059comp.VerifyDiagnostics(); 89071comp.VerifyDiagnostics(); 89215comp0.VerifyDiagnostics(); 89618comp.VerifyDiagnostics(); 90120comp.VerifyDiagnostics(); 91476comp.VerifyDiagnostics(); 91673comp.VerifyDiagnostics(); 91724comp.VerifyDiagnostics(); 91882comp.VerifyDiagnostics(); 92119comp.VerifyDiagnostics(); 92225comp.VerifyDiagnostics(); 92386comp.VerifyDiagnostics(); 92626comp.VerifyDiagnostics(); 92650comp.VerifyDiagnostics(); 92675comp.VerifyDiagnostics(); 92821comp0.VerifyDiagnostics(); 92844comp.VerifyDiagnostics(); 92866comp.VerifyDiagnostics(); 92879comp0.VerifyDiagnostics(); 92902comp.VerifyDiagnostics(); 92921comp0.VerifyDiagnostics(); 92992comp0.VerifyDiagnostics(); 93017comp.VerifyDiagnostics(); 93036comp0.VerifyDiagnostics(); 93109comp0.VerifyDiagnostics(); 93153comp0.VerifyDiagnostics(); 93254comp0.VerifyDiagnostics(); 93295comp0.VerifyDiagnostics(); 93342comp0.VerifyDiagnostics(); 93537comp0.VerifyDiagnostics(); 93593comp0.VerifyDiagnostics(); 93653comp.VerifyDiagnostics(); 93666comp0.VerifyDiagnostics(); 93689comp.VerifyDiagnostics(); 93710comp.VerifyDiagnostics(); 93794comp0.VerifyDiagnostics(); 93820comp.VerifyDiagnostics(); 93832comp0.VerifyDiagnostics(); 93918comp0.VerifyDiagnostics(); 94130comp0.VerifyDiagnostics(); 94144comp1.VerifyDiagnostics(); 94424comp.VerifyDiagnostics(); 94551comp.VerifyDiagnostics(); 94570comp.VerifyDiagnostics(); 94591comp.VerifyDiagnostics(); 95288comp.VerifyDiagnostics(/*...*/); 95728comp.VerifyDiagnostics(); 95779comp.VerifyDiagnostics(); 96731comp.VerifyDiagnostics(); 97139comp.VerifyDiagnostics(); 97388comp.VerifyDiagnostics(); 97632comp.VerifyDiagnostics( 97692comp.VerifyDiagnostics( 97749comp.VerifyDiagnostics( 97857comp.VerifyDiagnostics(); 97860comp.VerifyDiagnostics(); 98119comp.VerifyDiagnostics( 98411comp2.VerifyDiagnostics(); 98646comp2.VerifyDiagnostics( 98708comp.VerifyDiagnostics( 98847comp3.VerifyDiagnostics( 98916comp2.VerifyDiagnostics(); 99005comp.VerifyDiagnostics( 99038comp.VerifyDiagnostics( 99078comp.VerifyDiagnostics( 99334comp2.VerifyDiagnostics( 99457comp4.VerifyDiagnostics(); 99460comp5.VerifyDiagnostics(); 99476comp9.VerifyDiagnostics(); 100111comp2.VerifyDiagnostics( 100230comp2.VerifyDiagnostics( 100259comp5.VerifyDiagnostics( 100283comp.VerifyDiagnostics( 100321comp.VerifyDiagnostics( 100653comp.VerifyDiagnostics( 100748comp.VerifyDiagnostics( 100837comp.VerifyDiagnostics( 100936comp.VerifyDiagnostics(); 100962comp.VerifyDiagnostics(); 101023comp.VerifyDiagnostics( 101106comp.VerifyDiagnostics( 101319comp3.VerifyDiagnostics(); 101842compilation.VerifyDiagnostics( 101920comp1.VerifyDiagnostics(); 101943comp2.VerifyDiagnostics(); 101972comp1.VerifyDiagnostics(); 101999comp1.VerifyDiagnostics(); 102026comp1.VerifyDiagnostics(); 102053comp1.VerifyDiagnostics(); 102080comp1.VerifyDiagnostics(); 102180comp1.VerifyDiagnostics(); 102214comp2.VerifyDiagnostics(); 102254comp1.VerifyDiagnostics(); 102292comp1.VerifyDiagnostics(); 102330comp1.VerifyDiagnostics(); 102358comp1.VerifyDiagnostics(); 102386comp1.VerifyDiagnostics(); 102414comp1.VerifyDiagnostics(); 102453comp1.VerifyDiagnostics(); 102480comp1.VerifyDiagnostics(); 102502comp2.VerifyDiagnostics(); 102530comp1.VerifyDiagnostics(); 102556comp1.VerifyDiagnostics(); 102582comp1.VerifyDiagnostics(); 102608comp1.VerifyDiagnostics(); 102634comp1.VerifyDiagnostics(); 102731comp1.VerifyDiagnostics(); 102764comp2.VerifyDiagnostics(); 102803comp1.VerifyDiagnostics(); 102840comp1.VerifyDiagnostics(); 102877comp1.VerifyDiagnostics(); 102904comp1.VerifyDiagnostics(); 102931comp1.VerifyDiagnostics(); 102958comp1.VerifyDiagnostics(); 102995comp1.VerifyDiagnostics(); 103027comp1.VerifyDiagnostics(); 103058comp1.VerifyDiagnostics(); 103101comp1.VerifyDiagnostics(); 103145comp1.VerifyDiagnostics(); 103186comp1.VerifyDiagnostics(); 103260comp1.VerifyDiagnostics(); 103311comp1.VerifyDiagnostics(); 103389comp1.VerifyDiagnostics(); 104119comp1.VerifyDiagnostics(); 104139comp1.VerifyDiagnostics(); 104161comp1.VerifyDiagnostics(); 104183comp2.VerifyDiagnostics(); 104209comp1.VerifyDiagnostics(); 104230comp2.VerifyDiagnostics(); 104255comp1.VerifyDiagnostics(); 104306comp1.VerifyDiagnostics(); 104476comp1.VerifyDiagnostics(); 104496comp1.VerifyDiagnostics(); 104518comp1.VerifyDiagnostics(); 104545comp1.VerifyDiagnostics(); 104570comp1.VerifyDiagnostics(); 104621comp1.VerifyDiagnostics(); 104801comp.VerifyDiagnostics(); 105126comp1.VerifyDiagnostics(); 105211comp1.VerifyDiagnostics(); 105969comp1.VerifyDiagnostics(); 106152comp1.VerifyDiagnostics(); 106183comp1.VerifyDiagnostics(); 106214comp1.VerifyDiagnostics(); 106246comp1.VerifyDiagnostics(); 106279comp1.VerifyDiagnostics(); 106312comp1.VerifyDiagnostics(); 106344comp1.VerifyDiagnostics(); 106376comp1.VerifyDiagnostics(); 106409comp1.VerifyDiagnostics(); 106439comp1.VerifyDiagnostics(); 106470comp1.VerifyDiagnostics(); 106501comp1.VerifyDiagnostics(); 106533comp1.VerifyDiagnostics(); 106565comp1.VerifyDiagnostics(); 106598comp1.VerifyDiagnostics(); 106629comp1.VerifyDiagnostics(); 106661comp1.VerifyDiagnostics(); 106692comp1.VerifyDiagnostics(); 106724comp1.VerifyDiagnostics(); 106754comp1.VerifyDiagnostics(); 106784comp1.VerifyDiagnostics(); 106814comp1.VerifyDiagnostics(); 106844comp1.VerifyDiagnostics(); 107171comp1.VerifyDiagnostics(); 107208comp1.VerifyDiagnostics(); 107244comp1.VerifyDiagnostics(); 107281comp1.VerifyDiagnostics(); 107317comp1.VerifyDiagnostics(); 107355comp1.VerifyDiagnostics(); 107399comp1.VerifyDiagnostics(); 107402comp2.VerifyDiagnostics(); 107440comp1.VerifyDiagnostics(); 107481comp1.VerifyDiagnostics(); 107517comp1.VerifyDiagnostics(); 107554comp1.VerifyDiagnostics(); 107590comp1.VerifyDiagnostics(); 107626comp1.VerifyDiagnostics(); 107662comp1.VerifyDiagnostics(); 107698comp1.VerifyDiagnostics(); 107915comp1.VerifyDiagnostics( 107958comp1.VerifyDiagnostics( 108137comp1.VerifyDiagnostics(); 108181comp1.VerifyDiagnostics(); 108226comp1.VerifyDiagnostics( 108499comp1.VerifyDiagnostics(); 109410comp1.VerifyDiagnostics(); 109461comp1.VerifyDiagnostics(); 109737comp.VerifyDiagnostics(); 110539comp.VerifyDiagnostics(); 110619comp.VerifyDiagnostics(); 110873comp.VerifyDiagnostics(); 111000comp.VerifyDiagnostics(); 111109comp.VerifyDiagnostics(); 111111comp.VerifyDiagnostics(); 111330comp.VerifyDiagnostics(); 111353comp.VerifyDiagnostics(); 111371comp0.VerifyDiagnostics(); 111389comp.VerifyDiagnostics(); 111407comp0.VerifyDiagnostics(); 111425comp.VerifyDiagnostics(); 111440comp0.VerifyDiagnostics(); 111476comp0.VerifyDiagnostics(); 111509comp0.VerifyDiagnostics(); 111524comp.VerifyDiagnostics(); 111899comp.VerifyDiagnostics(); 111909comp0.VerifyDiagnostics(); 111983comp0.VerifyDiagnostics(); 112071comp0.VerifyDiagnostics(); 112126comp0.VerifyDiagnostics(); 112211comp0.VerifyDiagnostics(); 112279comp0.VerifyDiagnostics(); 112716comp.VerifyDiagnostics(); 112718comp.VerifyDiagnostics(); 112908comp.VerifyDiagnostics(); 112928comp.VerifyDiagnostics(); 113106comp.VerifyDiagnostics(); 113302comp.VerifyDiagnostics(); 113696comp.VerifyDiagnostics(); 114538comp.VerifyDiagnostics(); 114568comp.VerifyDiagnostics(); 114600comp.VerifyDiagnostics(); 114631comp.VerifyDiagnostics(); 114662comp.VerifyDiagnostics(); 114692comp.VerifyDiagnostics(); 114723comp.VerifyDiagnostics(); 114753comp.VerifyDiagnostics(); 114782comp.VerifyDiagnostics(); 114862comp.VerifyDiagnostics(); 114952comp.VerifyDiagnostics( 114977comp.VerifyDiagnostics( 115587comp.VerifyDiagnostics(); 115606comp.VerifyDiagnostics(); 115926comp.VerifyDiagnostics(); 115953CreateCompilation(text, options: WithNullableEnable()).VerifyDiagnostics(); 115981CreateCompilation(text, options: WithNullableEnable()).VerifyDiagnostics(); 116013CreateCompilation(text, options: WithNullableEnable()).VerifyDiagnostics(); 116045CreateCompilation(text, options: WithNullableEnable()).VerifyDiagnostics(); 116129CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 116149comp1.VerifyDiagnostics(); 116160comp2.VerifyDiagnostics(); 116163comp3.VerifyDiagnostics(); 116186comp1.VerifyDiagnostics(); 116198comp2.VerifyDiagnostics(); 116201comp3.VerifyDiagnostics(); 116224comp1.VerifyDiagnostics(); 116235comp2.VerifyDiagnostics(); 116238comp3.VerifyDiagnostics(); 116261comp1.VerifyDiagnostics(); 116272comp2.VerifyDiagnostics(); 116275comp3.VerifyDiagnostics(); 116298comp1.VerifyDiagnostics(); 116314comp2.VerifyDiagnostics(); 116317comp3.VerifyDiagnostics(); 116340comp1.VerifyDiagnostics(); 116356comp2.VerifyDiagnostics(); 116359comp3.VerifyDiagnostics(); 116379comp1.VerifyDiagnostics(); 116397comp2.VerifyDiagnostics(expected); 116400comp3.VerifyDiagnostics(expected); 116420comp1.VerifyDiagnostics(); 116441comp2.VerifyDiagnostics(expected); 116444comp3.VerifyDiagnostics(expected); 116467comp1.VerifyDiagnostics(); 116482comp2.VerifyDiagnostics(); 116485comp3.VerifyDiagnostics(); 116508comp1.VerifyDiagnostics(); 116525comp2.VerifyDiagnostics(); 116528comp3.VerifyDiagnostics(); 116859CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 116876CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 116894CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 116912CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 117019CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 117075CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 117777CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 118022CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 118060CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 118394CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 118437CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 118486CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 118506CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 118527CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 118545CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 118710CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 118848CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 118870CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 118888CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 118906CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 119228CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 119284CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 119306CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 119350CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics( 119421CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 119570CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics( 119731CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 119764CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 119780CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 119881CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 120020CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 120045CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 120071CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 120097CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 120122CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 120155CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 120188CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 120322comp.VerifyDiagnostics(); 120348comp.VerifyDiagnostics(); 120374comp.VerifyDiagnostics(); 120398comp.VerifyDiagnostics(); 120445comp.VerifyDiagnostics(); 120530CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 120579CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 120600comp.VerifyDiagnostics(); 120616comp.VerifyDiagnostics(); 120632comp.VerifyDiagnostics(); 120656comp.VerifyDiagnostics(); 120768CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 120791CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 120813CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 120887comp.VerifyDiagnostics(); 120944CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 121147CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 122185CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics( 122597CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics( 122636CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics( 122760CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics( 122803CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics( 122926CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics( 122944CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics( 122985CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics( 123003CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics( 123021CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics( 123062CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics( 123080CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics( 123381CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics( 123490CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 125075comp.VerifyDiagnostics(); 125108comp.VerifyDiagnostics(); 125113comp.VerifyDiagnostics(); 125116comp.VerifyDiagnostics(); 125291comp.VerifyDiagnostics(); 125296comp.VerifyDiagnostics(); 125299comp.VerifyDiagnostics(); 125312comp.VerifyDiagnostics(); 125315comp.VerifyDiagnostics(); 125318comp.VerifyDiagnostics(); 125323comp.VerifyDiagnostics(); 125326comp.VerifyDiagnostics(); 125331comp.VerifyDiagnostics(); 125335comp.VerifyDiagnostics(); 125339comp.VerifyDiagnostics(); 125344comp.VerifyDiagnostics(); 125348comp.VerifyDiagnostics(); 125351comp.VerifyDiagnostics(); 125356comp.VerifyDiagnostics(); 125360comp.VerifyDiagnostics(); 125365comp.VerifyDiagnostics(); 126076comp.VerifyDiagnostics(); 126081comp.VerifyDiagnostics(); 126084comp.VerifyDiagnostics(); 127144comp.VerifyDiagnostics(); 127180comp.VerifyDiagnostics(); 127243comp.VerifyDiagnostics(); 127289comp.VerifyDiagnostics(); 128232comp.VerifyDiagnostics(); 128447comp.VerifyDiagnostics(); 128907comp.VerifyDiagnostics(); 129259comp.VerifyDiagnostics(); 129400comp.VerifyDiagnostics(); 129698comp.VerifyDiagnostics(); 130187comp.VerifyDiagnostics(); 130266comp.VerifyDiagnostics( 130530comp.VerifyDiagnostics(); 130573comp.VerifyDiagnostics(); 131059comp.VerifyDiagnostics(); 131239comp.VerifyDiagnostics(); 131347comp.VerifyDiagnostics(); 131373comp.VerifyDiagnostics(); 131399comp.VerifyDiagnostics(); 131417comp.VerifyDiagnostics(); 131435comp.VerifyDiagnostics(); 131454comp.VerifyDiagnostics(); 131473comp.VerifyDiagnostics(); 131602comp.VerifyDiagnostics( 131955comp.VerifyDiagnostics(); 131983comp.VerifyDiagnostics(); 132202comp.VerifyDiagnostics(); 132272comp.VerifyDiagnostics(); 132337CreateCompilation(source, options: WithNullableEnable()).VerifyDiagnostics(); 132364comp.VerifyDiagnostics(); 132418comp.VerifyDiagnostics(); 133131comp.VerifyDiagnostics(); 133156comp.VerifyDiagnostics(); 133182comp.VerifyDiagnostics(); 134706comp.VerifyDiagnostics(); 135346comp.VerifyDiagnostics(); 135365comp.VerifyDiagnostics(); 136082comp.VerifyDiagnostics(); 136177comp.VerifyDiagnostics(); 136222comp.VerifyDiagnostics(); 136338comp.VerifyDiagnostics(); 136541comp.VerifyDiagnostics(); 136650.VerifyDiagnostics(); 136679.VerifyDiagnostics(); 136725comp.VerifyDiagnostics(); 136752comp.VerifyDiagnostics(); 136939comp.VerifyDiagnostics(); 136958comp.VerifyDiagnostics(); 136977comp.VerifyDiagnostics(); 136981comp.VerifyDiagnostics(); 137009comp.VerifyDiagnostics(); 137013comp.VerifyDiagnostics(); 137076comp.VerifyDiagnostics(); 137080comp.VerifyDiagnostics(); 137105comp.VerifyDiagnostics(); 137109comp.VerifyDiagnostics(); 137135comp.VerifyDiagnostics(); 137157comp.VerifyDiagnostics(); 137179comp.VerifyDiagnostics(); 137306comp.VerifyDiagnostics(); 137310comp.VerifyDiagnostics(); 137363comp1.VerifyDiagnostics(); 137369comp2.VerifyDiagnostics(); 137375comp3.VerifyDiagnostics(); 137381comp.VerifyDiagnostics(); 137385comp.VerifyDiagnostics(); 137389comp.VerifyDiagnostics(); 137393comp.VerifyDiagnostics(); 137397comp.VerifyDiagnostics(); 137401comp.VerifyDiagnostics(); 138718var comp1 = CreateCompilation(source1, assemblyName: nameof(source1)).VerifyDiagnostics().EmitToImageReference(); 138764comp.VerifyDiagnostics(); 138788comp.VerifyDiagnostics(); 139069var comp = CreateCompilation(source).VerifyDiagnostics(); 139095var comp = CreateCompilation(source).VerifyDiagnostics(); 139122var comp = CreateCompilation(source).VerifyDiagnostics(); 139270var comp = CreateCompilation(source).VerifyDiagnostics(); 139315var comp = CreateCompilation(source).VerifyDiagnostics(); 139417var comp = CreateCompilation(source).VerifyDiagnostics(); 139445var comp = CreateCompilation(source).VerifyDiagnostics(); 139473var comp = CreateCompilation(source).VerifyDiagnostics(); 139501var comp = CreateCompilation(source).VerifyDiagnostics(); 139533var comp = CreateCompilation(source).VerifyDiagnostics(); 139561var comp = CreateCompilation(source).VerifyDiagnostics(); 139589var comp = CreateCompilation(source).VerifyDiagnostics(); 139616var comp = CreateCompilation(source).VerifyDiagnostics(); 139639var comp = CreateCompilation(source).VerifyDiagnostics(); 139662var comp = CreateCompilation(source).VerifyDiagnostics(); 139689var comp = CreateCompilation(source).VerifyDiagnostics(); 139712var comp = CreateCompilation(source).VerifyDiagnostics(); 139735var comp = CreateCompilation(source).VerifyDiagnostics(); 139764var comp = CreateCompilation(source).VerifyDiagnostics(); 140193comp.VerifyDiagnostics(); 140447c.VerifyDiagnostics(); 140518comp.VerifyDiagnostics(); 140934CreateCompilation(new[] { source, DoesNotReturnIfAttributeDefinition }).VerifyDiagnostics(); 141567comp.VerifyDiagnostics(); 141964comp.VerifyDiagnostics(); 141994comp.VerifyDiagnostics(); 142029comp.VerifyDiagnostics(); 142093comp.VerifyDiagnostics(); 142115comp.VerifyDiagnostics(); 142201comp.VerifyDiagnostics(); 142562comp.VerifyDiagnostics(); 144305comp.VerifyDiagnostics(expectedDiagnostics); 144394comp.VerifyDiagnostics(expectedDiagnostics); 144635comp.VerifyDiagnostics(); 144664comp.VerifyDiagnostics(); 144815comp.VerifyDiagnostics( 145000defComp.VerifyDiagnostics(); 145020useComp.VerifyDiagnostics(); 145075comp.VerifyDiagnostics(); 145129comp.VerifyDiagnostics(); 145373comp.VerifyDiagnostics(); 145568comp.VerifyDiagnostics(); 145601comp.VerifyDiagnostics(); 145633comp.VerifyDiagnostics(); 145738comp.VerifyDiagnostics(); 145787comp.VerifyDiagnostics(); 145948comp.VerifyDiagnostics(); 145979comp.VerifyDiagnostics(); 146041comp.VerifyDiagnostics(); 146066comp.VerifyDiagnostics(); 146090comp.VerifyDiagnostics(); 146137comp.VerifyDiagnostics(); 147251comp.VerifyDiagnostics(); 148695comp.VerifyDiagnostics(); 148787comp.VerifyDiagnostics(); 148960comp.VerifyDiagnostics(); 149337comp.VerifyDiagnostics(); 149360comp.VerifyDiagnostics(); 149921comp.VerifyDiagnostics(); 149941comp.VerifyDiagnostics(); 149961comp.VerifyDiagnostics(); 150214comp.VerifyDiagnostics(); 150231comp.VerifyDiagnostics(); 150480comp.VerifyDiagnostics(); 150603comp.VerifyDiagnostics(); 151245comp.VerifyDiagnostics(); 151620comp.VerifyDiagnostics(); 151996comp.VerifyDiagnostics(); 152369comp.VerifyDiagnostics(); 152675comp.VerifyDiagnostics(); 152966comp.VerifyDiagnostics(); 153217comp.VerifyDiagnostics(); 153395comp.VerifyDiagnostics(); 153424comp.VerifyDiagnostics(); 153490comp.VerifyDiagnostics(); 153582comp.VerifyDiagnostics(); 153618comp.VerifyDiagnostics(); 154504comp.VerifyDiagnostics(); 154582comp.VerifyDiagnostics(); 154686comp.VerifyDiagnostics(); 154963comp.VerifyDiagnostics(); 155063comp.VerifyDiagnostics(); 155124comp.VerifyDiagnostics(); 155287comp.VerifyDiagnostics(); 155307comp.VerifyDiagnostics(); 155336comp.VerifyDiagnostics(); 155360comp.VerifyDiagnostics(); 155380comp.VerifyDiagnostics(); 155392comp.VerifyDiagnostics(); 155403comp.VerifyDiagnostics(); 155414comp.VerifyDiagnostics(); 155631comp.VerifyDiagnostics(); 155814nullableAttrComp.VerifyDiagnostics(); 155833lib.VerifyDiagnostics(); 155899comp.VerifyDiagnostics(); 155920comp.VerifyDiagnostics(); 155993comp.VerifyDiagnostics(); 156431comp.VerifyDiagnostics(); 157200comp.VerifyDiagnostics(); 157421comp.VerifyDiagnostics(); 157514comp.VerifyDiagnostics(); 157535comp.VerifyDiagnostics(); 157554comp.VerifyDiagnostics(); 157577comp.VerifyDiagnostics(); 157625comp.VerifyDiagnostics(); 158019comp.VerifyDiagnostics( 158052comp.VerifyDiagnostics(); 158093comp.VerifyDiagnostics(); 158128comp.VerifyDiagnostics(); 158161comp.VerifyDiagnostics(); 158188comp.VerifyDiagnostics(); 158221comp.VerifyDiagnostics(); 158262comp.VerifyDiagnostics(); 158302comp.VerifyDiagnostics(); 158341comp.VerifyDiagnostics(); 158378comp.VerifyDiagnostics(); 158413comp.VerifyDiagnostics(); 158446comp.VerifyDiagnostics(); 158473comp.VerifyDiagnostics(); 158671comp.VerifyDiagnostics(); 158811comp.VerifyDiagnostics(); 158878CreateCompilation(source).VerifyDiagnostics(); 158906CreateCompilation(source).VerifyDiagnostics(); 158952comp.VerifyDiagnostics(); 158978comp.VerifyDiagnostics(); 159205comp.VerifyDiagnostics(); 160607comp.VerifyDiagnostics(); 160687comp.VerifyDiagnostics(); 160939comp.VerifyDiagnostics(); 161092CreateCompilation(source).VerifyDiagnostics(); 161125CreateCompilation(source).VerifyDiagnostics(); 161382comp.VerifyDiagnostics(); 161407comp.VerifyDiagnostics();
Semantics\NullableReferenceTypesVsPatterns.cs (19)
50c.VerifyDiagnostics(); 394c.VerifyDiagnostics(); 410comp.VerifyDiagnostics(); 431comp.VerifyDiagnostics(); 1047comp.VerifyDiagnostics(); 1066comp.VerifyDiagnostics(); 1090comp.VerifyDiagnostics(); 1432comp.VerifyDiagnostics(); 1487comp.VerifyDiagnostics(); 1901comp.VerifyDiagnostics(); 2132c.VerifyDiagnostics(); 2312comp.VerifyDiagnostics(); 2366comp.VerifyDiagnostics(); 2458comp.VerifyDiagnostics(); 2476comp.VerifyDiagnostics(); 2604comp.VerifyDiagnostics(); 2619comp.VerifyDiagnostics(); 3017comp.VerifyDiagnostics(); 3097comp.VerifyDiagnostics();
Semantics\NullableTests.cs (1)
1832CreateCompilation(source).VerifyDiagnostics();
Semantics\NullCoalesceAssignmentTests.cs (5)
32comp.VerifyDiagnostics(); 69comp.VerifyDiagnostics(); 112comp.VerifyDiagnostics(); 153comp.VerifyDiagnostics(); 179comp.VerifyDiagnostics();
Semantics\ObjectAndCollectionInitializerTests.cs (4)
256CreateCompilation(source, references: new MetadataReference[] { CSharpRef }).VerifyDiagnostics(); 3811comp.VerifyDiagnostics(); 3834comp.VerifyDiagnostics(); 3858comp.VerifyDiagnostics();
Semantics\OperatorTests.cs (29)
1414CreateCompilationWithMscorlib40AndSystemCore(source).VerifyDiagnostics(); 1477CreateCompilationWithMscorlib40AndSystemCore(source).VerifyDiagnostics(); 1686CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 4767", options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 4828var compilation = CreateCompilation(source).VerifyDiagnostics(); 4841compilation.VerifyDiagnostics(); 4909compilation.VerifyDiagnostics(); 4946compilation.VerifyDiagnostics(); 4984compilation.VerifyDiagnostics(); 5282comp.VerifyDiagnostics(); 5432comp.VerifyDiagnostics(); 5591comp.VerifyDiagnostics(); 6191CreateCompilation(text).VerifyDiagnostics(); 6233CreateCompilation(text).VerifyDiagnostics(); 6506CreateCompilation(source).VerifyDiagnostics(); 6563CreateCompilation(source).VerifyDiagnostics(); 6580CreateCompilation(source).VerifyDiagnostics(); 6597CreateCompilation(source).VerifyDiagnostics(); 6654CreateCompilation(source).VerifyDiagnostics(); 6671CreateCompilation(source).VerifyDiagnostics(); 6931comp.VerifyDiagnostics(); 7051comp.VerifyDiagnostics(); 7206comp.VerifyDiagnostics(); 7275CreateCompilation(source).VerifyDiagnostics(); 7326comp.VerifyDiagnostics(); 8809compilation.VerifyDiagnostics(); 8847CreateCompilation(source1, options: TestOptions.ReleaseDll).VerifyDiagnostics( 8892verifier.Compilation.VerifyDiagnostics(); 11221compilation.VerifyDiagnostics();
Semantics\OverloadResolutionPerfTests.cs (17)
92comp.VerifyDiagnostics(); 115comp.VerifyDiagnostics(); 137comp.VerifyDiagnostics(); 159comp.VerifyDiagnostics(); 236comp.VerifyDiagnostics(); 288comp.VerifyDiagnostics(); 345comp.VerifyDiagnostics(); 384comp.VerifyDiagnostics(); 501comp.VerifyDiagnostics(); 531comp.VerifyDiagnostics(); 561comp.VerifyDiagnostics(); 592comp.VerifyDiagnostics(); 684comp.VerifyDiagnostics(); 717comp.VerifyDiagnostics(); 756comp.VerifyDiagnostics(); 887comp.VerifyDiagnostics(); 1057comp.VerifyDiagnostics();
Semantics\OverloadResolutionTests.cs (33)
44comp.VerifyDiagnostics(); 609compilation.VerifyDiagnostics(); 772compilation.VerifyDiagnostics(); 843compilation.VerifyDiagnostics(); 876compilation.VerifyDiagnostics(); 930compilation.VerifyDiagnostics(); 1021compilation.VerifyDiagnostics(); 1074compilation.VerifyDiagnostics(); 1119compilation.VerifyDiagnostics(); 2675CreateCompilation(source).VerifyDiagnostics(); 3197CreateCompilation(source).VerifyDiagnostics(); 6694comp.VerifyDiagnostics(); 6832CreateCompilationWithMscorlib40AndSystemCore(source, new[] { libRef }).VerifyDiagnostics(); 7002CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 7119CreateCompilationWithMscorlib40AndSystemCore(source).VerifyDiagnostics( 7144comp.VerifyDiagnostics(); 7254comp.VerifyDiagnostics(); 7300CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 7329CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 7366CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 7396CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 7428comp.VerifyDiagnostics(); 7469comp.VerifyDiagnostics(); 7917CreateCompilation(source1, options: TestOptions.DebugExe).VerifyDiagnostics( 7997CreateCompilation(source1, options: TestOptions.DebugExe).VerifyDiagnostics( 8039CreateCompilation(source1, options: TestOptions.DebugExe).VerifyDiagnostics( 8081CreateCompilation(source1, options: TestOptions.DebugExe).VerifyDiagnostics( 8121CreateCompilation(source1, options: TestOptions.DebugExe).VerifyDiagnostics( 8197compilation.VerifyDiagnostics(); 8233compilation.VerifyDiagnostics(); 8924compilation.VerifyDiagnostics(); 11501var libComp = CreateCompilationWithMscorlib40(librarySrc, references: new[] { Net40.References.SystemCore }).VerifyDiagnostics(); 11949CreateCompilation(source).VerifyDiagnostics();
Semantics\QueryTests.cs (15)
1450compilation.VerifyDiagnostics(); 1659compilation.VerifyDiagnostics(); 1719compilation.VerifyDiagnostics(); 1757compilation.VerifyDiagnostics(); 2231compilation.VerifyDiagnostics(); 2894compilation.VerifyDiagnostics(); 2927compilation.VerifyDiagnostics(); 3040compilation.VerifyDiagnostics(); 3417compilation.VerifyDiagnostics(); 3461compilation.VerifyDiagnostics(); 3508compilation.VerifyDiagnostics(); 3547compilation.VerifyDiagnostics(); 3953CreateCompilationWithMscorlib40AndSystemCore(csSource).VerifyDiagnostics(); 4024CreateCompilationWithMscorlib40AndSystemCore(csSource).VerifyDiagnostics(); 4547vb.VerifyDiagnostics();
Semantics\RawInterpolationTests.cs (4)
632CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 1111var comp = CreateEmptyCompilation(text, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: Test.Utilities.TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1146CreateCompilation(text).VerifyDiagnostics(); 1250CreateCompilationWithMscorlib40AndSystemCore(text).VerifyDiagnostics();
Semantics\RawInterpolationTests_Handler.cs (23)
1743comp.VerifyDiagnostics(); 1998comp.VerifyDiagnostics(); 5098vbComp.VerifyDiagnostics(); 5206vbComp.VerifyDiagnostics(); 5293vbComp.VerifyDiagnostics(); 5383vbComp.VerifyDiagnostics(); 5470vbComp.VerifyDiagnostics(); 5557vbComp.VerifyDiagnostics(); 5604vbComp.VerifyDiagnostics(); 5651vbComp.VerifyDiagnostics(); 5740vbComp.VerifyDiagnostics(); 5829vbComp.VerifyDiagnostics(); 5922vbComp.VerifyDiagnostics(); 5969vbComp.VerifyDiagnostics(); 6200comp.VerifyDiagnostics(expectedDiagnostics); 9809vbComp.VerifyDiagnostics(); 10410comp.VerifyDiagnostics(); 10442comp.VerifyDiagnostics(); 11165comp.VerifyDiagnostics(); 11198comp.VerifyDiagnostics(); 11231comp.VerifyDiagnostics(); 12911vbComp.VerifyDiagnostics(); 13449comp.VerifyDiagnostics();
Semantics\ReadOnlyStructsTests.cs (12)
829comp.VerifyDiagnostics(); 851verifier.VerifyDiagnostics(); 880verifier.VerifyDiagnostics(); 909verifier.VerifyDiagnostics(); 1107comp.VerifyDiagnostics(); 1151comp.VerifyDiagnostics(); 1480comp.VerifyDiagnostics(); 1538comp.VerifyDiagnostics(); 1552comp.VerifyDiagnostics(); 1696dllComp.VerifyDiagnostics(); 2269comp.VerifyDiagnostics(); 2364comp.VerifyDiagnostics();
Semantics\RecordStructTests.cs (53)
185comp.VerifyDiagnostics(); 189comp2.VerifyDiagnostics(); 290comp.VerifyDiagnostics(); 293comp.VerifyDiagnostics(); 365comp.VerifyDiagnostics(); 368comp.VerifyDiagnostics(); 371comp.VerifyDiagnostics(); 381comp.VerifyDiagnostics(); 472comp.VerifyDiagnostics(); 660comp.VerifyDiagnostics(); 761comp.VerifyDiagnostics(); 824comp.VerifyDiagnostics(); 862comp.VerifyDiagnostics(); 884comp.VerifyDiagnostics(); 1087comp.VerifyDiagnostics(); 1152comp.VerifyDiagnostics(); 1173comp.VerifyDiagnostics(); 1367comp.VerifyDiagnostics(); 2094comp.VerifyDiagnostics(); 2740comp.VerifyDiagnostics(); 2764comp.VerifyDiagnostics(); 2787comp.VerifyDiagnostics(); 2804comp.VerifyDiagnostics(); 2898comp.VerifyDiagnostics(); 3159var comp = CreateCompilation(source).VerifyDiagnostics(); 3175comp.VerifyDiagnostics(); 3197comp.VerifyDiagnostics(); 3823comp.VerifyDiagnostics(); 4029comp.VerifyDiagnostics( 4149comp.VerifyDiagnostics(); 4303comp.VerifyDiagnostics(); 4554comp.VerifyDiagnostics(); 4651comp.VerifyDiagnostics(); 4677comp.VerifyDiagnostics(); 4723comp.VerifyDiagnostics(); 4836comp.VerifyDiagnostics(); 4851comp.VerifyDiagnostics(); 5540comp.VerifyDiagnostics(); 5810comp.VerifyDiagnostics(); 5825comp.VerifyDiagnostics(); 6906comp.VerifyDiagnostics(); 7239comp.VerifyDiagnostics(); 7366comp.VerifyDiagnostics(); 7501comp.VerifyDiagnostics(); 7587comp.VerifyDiagnostics(); 7628comp.VerifyDiagnostics(); 7663comp.VerifyDiagnostics(); 7703comp.VerifyDiagnostics(); 7737comp.VerifyDiagnostics(); 7771comp.VerifyDiagnostics(); 8013CreateCompilationWithMscorlibAndSpan(text, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(); 8033comp.VerifyDiagnostics(); 10549comp.VerifyDiagnostics();
Semantics\RefEscapingTests.cs (47)
514CreateCompilationWithMscorlibAndSpan(text, parseOptions: TestOptions.Regular10).VerifyDiagnostics(); 711CreateCompilationWithMscorlibAndSpan(text, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion)).VerifyDiagnostics(); 1189comp.VerifyDiagnostics(); 1242comp.VerifyDiagnostics(); 2038CreateCompilationWithMscorlibAndSpan(text, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion)).VerifyDiagnostics( 2087CreateCompilationWithMscorlibAndSpan(text, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion)).VerifyDiagnostics(); 2398CreateCompilationWithMscorlibAndSpan(text, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion)).VerifyDiagnostics( 2667comp.VerifyDiagnostics(); 2919comp.VerifyDiagnostics(); 4313CreateCompilationWithMscorlibAndSpan(text, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion)).VerifyDiagnostics(); 4443CreateCompilationWithMscorlibAndSpan(text, parseOptions: TestOptions.Regular10).VerifyDiagnostics(); 4986comp.VerifyDiagnostics(); 5010comp.VerifyDiagnostics(); 5319comp.VerifyDiagnostics(); 5944CreateCompilationWithMscorlibAndSpan(text, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion)).VerifyDiagnostics(); 6156CreateCompilationWithMscorlibAndSpan(text, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion)).VerifyDiagnostics(); 6199CreateCompilationWithMscorlibAndSpan(text, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion)).VerifyDiagnostics(); 6724}", parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), options: TestOptions.ReleaseDll).VerifyDiagnostics(); 6742}", parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), options: TestOptions.ReleaseDll).VerifyDiagnostics(); 6822", parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), options: TestOptions.ReleaseDll).VerifyDiagnostics(); 6839compilation.VerifyDiagnostics(); 8182comp.VerifyDiagnostics(); 8229comp.VerifyDiagnostics(); 8233comp0.VerifyDiagnostics(); 8236comp1.VerifyDiagnostics(); 8239comp1.VerifyDiagnostics(); 8243comp0.VerifyDiagnostics(); 8491comp.VerifyDiagnostics(); 8521comp.VerifyDiagnostics(); 8552comp.VerifyDiagnostics(); 8649CreateCompilation(source).VerifyDiagnostics(); 8667CreateCompilation(source).VerifyDiagnostics(); 8713comp.VerifyDiagnostics(); 8971CreateCompilation(source).VerifyDiagnostics(); 8986CreateCompilation(source).VerifyDiagnostics(); 9102CreateCompilation(source).VerifyDiagnostics(); 9118CreateCompilation(source).VerifyDiagnostics(); 9493CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(); 9619CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(); 9665CreateCompilation(source).VerifyDiagnostics(); 9685CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(); 9705CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(); 9725CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(); 9988CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(); 10170CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(); 10227CreateCompilation(code, targetFramework: TargetFramework.Net70).VerifyDiagnostics(); 10359CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics();
Semantics\RefExtensionMethodsTests.cs (4)
2141var comp = CreateCompilationWithMscorlib40AndSystemCore(code).VerifyDiagnostics(); 2160var comp = CreateCompilationWithMscorlib40AndSystemCore(code).VerifyDiagnostics(); 2179var comp = CreateCompilationWithMscorlib40AndSystemCore(code).VerifyDiagnostics(); 2198var comp = CreateCompilationWithMscorlib40AndSystemCore(code).VerifyDiagnostics();
Semantics\RefFieldTests.cs (84)
1690comp.VerifyDiagnostics(); 1728comp.VerifyDiagnostics(); 1764comp.VerifyDiagnostics(); 1843comp.VerifyDiagnostics(); 2195comp.VerifyDiagnostics(); 2828comp.VerifyDiagnostics(expectedDiagnostics); 2831comp.VerifyDiagnostics(expectedDiagnostics); 2896comp.VerifyDiagnostics(comp.Assembly.RuntimeSupportsByRefFields ? expectedUpdatedDiagnostics : expectedLegacyDiagnostics); 3034comp.VerifyDiagnostics(comp.Assembly.RuntimeSupportsByRefFields ? expectedUpdatedDiagnostics : expectedLegacyDiagnostics); 3140comp.VerifyDiagnostics(comp.Assembly.RuntimeSupportsByRefFields ? expectedUpdatedDiagnostics : expectedLegacyDiagnostics); 3401comp.VerifyDiagnostics(comp.Assembly.RuntimeSupportsByRefFields ? expectedUpdatedDiagnostics : expectedLegacyDiagnostics); 3455comp.VerifyDiagnostics(comp.Assembly.RuntimeSupportsByRefFields ? expectedUpdatedDiagnostics : expectedLegacyDiagnostics); 3501comp.VerifyDiagnostics(comp.Assembly.RuntimeSupportsByRefFields ? expectedUpdatedDiagnostics : expectedLegacyDiagnostics); 3619comp.VerifyDiagnostics(comp.Assembly.RuntimeSupportsByRefFields ? expectedUpdatedDiagnostics : expectedLegacyDiagnostics); 3734comp.VerifyDiagnostics(comp.Assembly.RuntimeSupportsByRefFields ? expectedUpdatedDiagnostics : expectedLegacyDiagnostics); 3819comp.VerifyDiagnostics(comp.Assembly.RuntimeSupportsByRefFields ? expectedUpdatedDiagnostics : expectedLegacyDiagnostics); 4005comp.VerifyDiagnostics(comp.Assembly.RuntimeSupportsByRefFields ? expectedUpdatedDiagnostics : expectedLegacyDiagnostics); 4545comp.VerifyDiagnostics(); 4571comp.VerifyDiagnostics(); 5484CreateCompilation(source, options: TestOptions.ReleaseDll.WithWarningLevel(9), targetFramework: TargetFramework.Net70).VerifyDiagnostics(); 5538comp.VerifyDiagnostics(); 5559comp.VerifyDiagnostics(); 5786comp.VerifyDiagnostics(); 5829comp.VerifyDiagnostics(); 10598comp.VerifyDiagnostics(); 11435comp.VerifyDiagnostics(); 11452comp.VerifyDiagnostics(); 11506comp.VerifyDiagnostics(); 13301comp.VerifyDiagnostics(); 13378comp.VerifyDiagnostics(); 13400comp.VerifyDiagnostics(); 13801comp.VerifyDiagnostics(); 13815comp.VerifyDiagnostics(); 13829comp.VerifyDiagnostics(); 13847comp.VerifyDiagnostics(); 13864comp.VerifyDiagnostics(); 13882comp.VerifyDiagnostics(); 13905comp.VerifyDiagnostics(); 13927comp.VerifyDiagnostics(); 15044comp.VerifyDiagnostics(); 15073comp.VerifyDiagnostics(); 15121comp.VerifyDiagnostics(); 15217comp.VerifyDiagnostics(); 15246comp.VerifyDiagnostics(); 15278comp.VerifyDiagnostics(); 16443comp.VerifyDiagnostics(); 16472comp.VerifyDiagnostics(); 16977comp.VerifyDiagnostics(); 18099comp.VerifyDiagnostics(); 18745comp.VerifyDiagnostics(); 18905comp.VerifyDiagnostics(); 19753comp.VerifyDiagnostics(); 20081comp.VerifyDiagnostics(); 20161comp.VerifyDiagnostics(); 20199comp.VerifyDiagnostics(); 20334comp.VerifyDiagnostics(); 20416comp.VerifyDiagnostics(); 20606comp.VerifyDiagnostics(); 20826comp.VerifyDiagnostics(); 21160comp.VerifyDiagnostics(); 21457comp.VerifyDiagnostics(); 21787comp.VerifyDiagnostics(); 22217comp.VerifyDiagnostics(); 22220comp.VerifyDiagnostics(); 24636comp.VerifyDiagnostics( 24664comp.VerifyDiagnostics(); 24701comp.VerifyDiagnostics(); 24707comp.VerifyDiagnostics(); 24785comp.VerifyDiagnostics(); 24791comp.VerifyDiagnostics(); 26419comp.VerifyDiagnostics(); 27392comp.VerifyDiagnostics(); 27452comp.VerifyDiagnostics(); 27506comp.VerifyDiagnostics(); 27525comp.VerifyDiagnostics(); 27546comp.VerifyDiagnostics(); 27565comp.VerifyDiagnostics(); 27905comp.VerifyDiagnostics(); 28293comp.VerifyDiagnostics(); 28477comp.VerifyDiagnostics(); 29450comp.VerifyDiagnostics(); 30090comp.VerifyDiagnostics(); 30190comp.VerifyDiagnostics(); 30207comp.VerifyDiagnostics();
Semantics\RefLocalsAndReturnsTests.cs (7)
85comp.VerifyDiagnostics(); 122comp.VerifyDiagnostics(); 159comp.VerifyDiagnostics(); 354CreateCompilation(source).VerifyDiagnostics(); 648comp.VerifyDiagnostics(); 1190comp.VerifyDiagnostics(); 1231comp.VerifyDiagnostics();
Semantics\ScriptSemanticsTests.cs (7)
88taskCompilation.VerifyDiagnostics(); 277compilation.VerifyDiagnostics(); 616submission.VerifyDiagnostics(); 628compilation.VerifyDiagnostics(); 641compilation.VerifyDiagnostics(); 653compilation.VerifyDiagnostics(); 1090s0.VerifyDiagnostics();
Semantics\SemanticAnalyzerTests.cs (3)
62comp.VerifyDiagnostics(); 89CreateCompilation(source).VerifyDiagnostics(); 909CreateCompilation(source).VerifyDiagnostics();
Semantics\SemanticErrorTests.cs (28)
1876CreateCompilation(text3).VerifyDiagnostics(); 4176comp.VerifyDiagnostics(); 4554compilation1.VerifyDiagnostics(); 4758CreateCompilation(text).VerifyDiagnostics(); // dynamic conversion to Exception 6012CreateCompilationWithMscorlib40AndSystemCore(source).VerifyDiagnostics(); 6370.VerifyDiagnostics(); 6512comp.VerifyDiagnostics(); // No CS0171 for S._x 7643CreateCompilation(text, options: TestOptions.ReleaseDll.WithNullableContextOptions(nullableContextOptions), parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics(); 7802compilation1.VerifyDiagnostics(); 9257CreateCompilation(source).VerifyDiagnostics(); 9268CreateCompilation(source).VerifyDiagnostics(); 10961CreateCompilation(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 11407CreateCompilation(source).VerifyDiagnostics(); 15136comp.VerifyDiagnostics(expected); 16643compilation.VerifyDiagnostics(expected); 18391CreateCompilation(source).VerifyDiagnostics(); 18393CreateCompilation(source, options: TestOptions.DebugExe.WithWarningLevel(5)).VerifyDiagnostics(); 18940CreateCompilation(text).VerifyDiagnostics(); 19652CreateCompilation(text).VerifyDiagnostics(); 19756CreateCompilation(text).VerifyDiagnostics(); 19861CreateCompilation(text).VerifyDiagnostics(); 20242CreateCompilation(text).VerifyDiagnostics(); 20269CreateCompilation(text).VerifyDiagnostics(); 21265CreateCompilation(text).VerifyDiagnostics(); 22172VerifyDiagnostics(); 22280CreateCompilation(text).VerifyDiagnostics(); 22592CreateCompilationWithMscorlib40(source, references: new[] { Net40.References.SystemCore }, options: TestOptions.ReleaseDll.WithNullableContextOptions(NullableContextOptions.Disable)).VerifyDiagnostics( 23821CreateCompilation(source).VerifyDiagnostics();
Semantics\SpanStackSafetyTests.cs (7)
59comp.VerifyDiagnostics(); 1932reference.VerifyDiagnostics(); 1949comp.VerifyDiagnostics(); 1966reference.VerifyDiagnostics(); 2010reference.VerifyDiagnostics(); 2051reference.VerifyDiagnostics(); 2533CreateCompilationWithMscorlibAndSpan(source).VerifyDiagnostics(
Semantics\StackAllocInitializerTests.cs (12)
564comp.VerifyDiagnostics(); 581comp.VerifyDiagnostics(); 1318}", TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1334}", TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1380}", TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1430}", TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1727CreateCompilationWithMscorlibAndSpan(test, options: TestOptions.ReleaseDll.WithAllowUnsafe(true), parseOptions: TestOptions.Regular8).VerifyDiagnostics( 1769CreateCompilationWithMscorlibAndSpan(test, TestOptions.ReleaseDll).VerifyDiagnostics( 1942CreateCompilationWithMscorlibAndSpan(source, parseOptions: TestOptions.Regular8).VerifyDiagnostics( 2010}", TestOptions.ReleaseDll).VerifyDiagnostics(); 2354}", TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 2460}", TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
Semantics\StackAllocSpanExpressionsTests.cs (8)
243}", TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 257}", TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 289}", TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 331}", TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 545CreateCompilationWithMscorlibAndSpan(test, options: TestOptions.ReleaseDll.WithAllowUnsafe(true), parseOptions: TestOptions.Regular8).VerifyDiagnostics( 566CreateCompilationWithMscorlibAndSpan(test, options: TestOptions.ReleaseDll.WithAllowUnsafe(true), parseOptions: TestOptions.Regular8).VerifyDiagnostics( 676CreateCompilationWithMscorlibAndSpan(source).VerifyDiagnostics( 722}", TestOptions.ReleaseDll).VerifyDiagnostics();
Semantics\StructConstructorTests.cs (5)
36comp.VerifyDiagnostics(); 2087comp.VerifyDiagnostics(); 4534comp.VerifyDiagnostics(); 4550comp.VerifyDiagnostics(); 4553comp.VerifyDiagnostics();
Semantics\StructsTests.cs (1)
94CreateCompilation(text).VerifyDiagnostics();
Semantics\SwitchTests.cs (43)
40CreateCompilation(source).VerifyDiagnostics(); 442CreateCompilation(text).VerifyDiagnostics( 597CreateCompilation(text).VerifyDiagnostics(); 638CreateCompilation(text).VerifyDiagnostics( 680CreateCompilation(text).VerifyDiagnostics( 730CreateCompilation(text).VerifyDiagnostics( 783CreateCompilation(text).VerifyDiagnostics( 837CreateCompilation(text).VerifyDiagnostics( 887CreateCompilation(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(); 888CreateCompilation(text).VerifyDiagnostics(); 925CreateCompilation(text).VerifyDiagnostics( 964CreateCompilation(text).VerifyDiagnostics( 1202CreateCompilation(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(); 1203CreateCompilation(text).VerifyDiagnostics(); 1243CreateCompilation(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(); 1244CreateCompilation(text).VerifyDiagnostics(); 1293CreateCompilation(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(); 1294CreateCompilation(text).VerifyDiagnostics(); 1336CreateCompilation(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(); 1337CreateCompilation(text).VerifyDiagnostics(); 1374CreateCompilation(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(); 1375CreateCompilation(text).VerifyDiagnostics(); 1417CreateCompilation(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(); 1418CreateCompilation(text).VerifyDiagnostics(); 1465CreateCompilation(text).VerifyDiagnostics( 1516CreateCompilation(text).VerifyDiagnostics( 1569CreateCompilation(text).VerifyDiagnostics( 1620CreateCompilation(text).VerifyDiagnostics( 1671CreateCompilation(text).VerifyDiagnostics( 1722CreateCompilation(text).VerifyDiagnostics( 1773CreateCompilation(text).VerifyDiagnostics( 1830CreateCompilation(text).VerifyDiagnostics( 1891CreateCompilation(text).VerifyDiagnostics( 1948CreateCompilation(text).VerifyDiagnostics( 2008CreateCompilation(text).VerifyDiagnostics( 2075CreateCompilation(text).VerifyDiagnostics( 2232CreateCompilation(text).VerifyDiagnostics( 2724CreateCompilation(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics(); 2753CreateCompilation(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(); 2754CreateCompilation(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics(); 2821CreateCompilation(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp2)).VerifyDiagnostics(); 2945CreateCompilation(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(); 2946CreateCompilation(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics();
Semantics\TargetTypedConditionalOperatorTests.cs (14)
185.VerifyDiagnostics(); 210.VerifyDiagnostics(); 232.VerifyDiagnostics( 268.VerifyDiagnostics( 334comp.VerifyDiagnostics(expectedDiagnostics); 413.VerifyDiagnostics(); 416.VerifyDiagnostics(); 525CreateCompilation(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp3)).VerifyDiagnostics(expectedDiagnostics); 526CreateCompilation(source, parseOptions: TestOptions.Regular.WithLanguageVersion(MessageID.IDS_FeatureTargetTypedConditional.RequiredVersion())).VerifyDiagnostics(expectedDiagnostics); 613CreateCompilation(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_3)).VerifyDiagnostics(); 614CreateCompilation(source, parseOptions: TestOptions.Regular.WithLanguageVersion(MessageID.IDS_FeatureTargetTypedConditional.RequiredVersion())).VerifyDiagnostics(); 665comp.VerifyDiagnostics(); 686comp.VerifyDiagnostics(); 714comp.VerifyDiagnostics();
Semantics\TargetTypedDefaultTests.cs (45)
118comp.VerifyDiagnostics(); 137comp.VerifyDiagnostics(); 190comp.VerifyDiagnostics(); 220comp.VerifyDiagnostics(); 237comp.VerifyDiagnostics(); 274comp.VerifyDiagnostics(); 488comp.VerifyDiagnostics(); 661comp.VerifyDiagnostics(); 814comp.VerifyDiagnostics(); 831comp.VerifyDiagnostics(); 860comp.VerifyDiagnostics(); 911comp.VerifyDiagnostics(); 929comp.VerifyDiagnostics(); 1135comp.VerifyDiagnostics(); 1164comp.VerifyDiagnostics(); 1229comp.VerifyDiagnostics(); 1594comp.VerifyDiagnostics(); 1724comp.VerifyDiagnostics(); 1729comp.VerifyDiagnostics(diagnostics); 1790comp.VerifyDiagnostics(); 1795comp.VerifyDiagnostics(diagnostics); 1861comp.VerifyDiagnostics(); 1866comp.VerifyDiagnostics(diagnostics); 1904comp.VerifyDiagnostics(); 1940comp.VerifyDiagnostics(); 2271comp.VerifyDiagnostics(); 2504comp.VerifyDiagnostics(); 2576comp.VerifyDiagnostics(); 2592comp.VerifyDiagnostics(); 2654comp.VerifyDiagnostics(); 2793compilation.VerifyDiagnostics(); 3013comp.VerifyDiagnostics(); 3050comp.VerifyDiagnostics(); 3079comp.VerifyDiagnostics(); 3101comp.VerifyDiagnostics(); 3255comp.VerifyDiagnostics(); 3275comp.VerifyDiagnostics(); 3407comp.VerifyDiagnostics(); 3429comp.VerifyDiagnostics(); 3448comp.VerifyDiagnostics(); 3468comp.VerifyDiagnostics(); 3488comp.VerifyDiagnostics(); 3507comp.VerifyDiagnostics(); 3569comp.VerifyDiagnostics(); 3706comp.VerifyDiagnostics();
Semantics\TopLevelStatementsTests.cs (16)
178comp.VerifyDiagnostics(); 525comp.VerifyDiagnostics(); 563comp.VerifyDiagnostics(); 956comp.VerifyDiagnostics(); 1160comp.VerifyDiagnostics(); 1187comp.VerifyDiagnostics(); 1209comp.VerifyDiagnostics(); 1252comp.VerifyDiagnostics(); 1977comp.VerifyDiagnostics(); 1980comp.VerifyDiagnostics(); 2358comp.VerifyDiagnostics(); 2361comp.VerifyDiagnostics(); 2556comp.VerifyDiagnostics(); 2834comp.VerifyDiagnostics(); 9535comp.VerifyDiagnostics(); 9552comp.VerifyDiagnostics();
Semantics\TryCatchTests.cs (1)
40compilation.VerifyDiagnostics();
Semantics\UninitializedNonNullableFieldTests.cs (33)
202comp.VerifyDiagnostics(); 222comp.VerifyDiagnostics(); 390comp.VerifyDiagnostics(); 535comp.VerifyDiagnostics(); 552comp.VerifyDiagnostics(); 572comp.VerifyDiagnostics(); 591comp.VerifyDiagnostics(); 1014comp.VerifyDiagnostics(); 1129comp.VerifyDiagnostics(); 1191comp.VerifyDiagnostics(); 1284comp.VerifyDiagnostics(); 1304comp.VerifyDiagnostics(); 1324comp.VerifyDiagnostics(); 1407comp.VerifyDiagnostics(); 1590comp.VerifyDiagnostics(); 1735comp.VerifyDiagnostics(); 1847comp.VerifyDiagnostics(); 1866comp.VerifyDiagnostics(); 1889comp.VerifyDiagnostics(); 1904comp.VerifyDiagnostics(); 2056comp.VerifyDiagnostics(); 2217comp.VerifyDiagnostics(); 2245comp.VerifyDiagnostics(); 2276comp.VerifyDiagnostics(); 2314comp.VerifyDiagnostics(); 2362comp.VerifyDiagnostics(); 2380comp.VerifyDiagnostics(); 2425comp.VerifyDiagnostics(); 2539comp.VerifyDiagnostics(); 2663comp.VerifyDiagnostics( 2678comp.VerifyDiagnostics( 2693comp.VerifyDiagnostics( 2708comp.VerifyDiagnostics(
Semantics\UnsafeTests.cs (120)
106CreateCompilation(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 190CreateCompilation(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 209CreateCompilation(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 246CreateCompilation(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 262CreateCompilation(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 513CreateCompilation(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 535CreateCompilation(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1157CreateCompilation(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1158CreateCompilation(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1159CreateCompilation(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1202CreateCompilation(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1203CreateCompilation(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1204CreateCompilation(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1245CreateCompilation(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1246CreateCompilation(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1247CreateCompilation(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1268CreateCompilation(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1269CreateCompilation(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1348CreateCompilation(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1366CreateCompilation(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1437CreateCompilation(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1438CreateCompilation(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1439CreateCompilation(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1485CreateCompilation(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1486CreateCompilation(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1487CreateCompilation(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1528CreateCompilation(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1529CreateCompilation(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1530CreateCompilation(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1551CreateCompilation(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1552CreateCompilation(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1611CreateCompilation(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1657CreateCompilation(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1658CreateCompilation(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1659CreateCompilation(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1707CreateCompilation(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1708CreateCompilation(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1709CreateCompilation(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1755CreateCompilation(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1756CreateCompilation(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1757CreateCompilation(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1779CreateCompilation(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1780CreateCompilation(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1848CreateCompilation(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1928CreateCompilation(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1929CreateCompilation(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1930CreateCompilation(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1978CreateCompilation(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1979CreateCompilation(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 1980CreateCompilation(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 2026CreateCompilation(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 2027CreateCompilation(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 2028CreateCompilation(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 2050CreateCompilation(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 2051CreateCompilation(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 2119CreateCompilation(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 2196CreateCompilation(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(); 2197CreateCompilation(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(); 2198CreateCompilation(code, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(); 2240CreateCompilation(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(); 2241CreateCompilation(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(); 2242CreateCompilation(code, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(); 2282CreateCompilation(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(); 2283CreateCompilation(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(); 2284CreateCompilation(code, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(); 2306CreateCompilation(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(); 2307CreateCompilation(code, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(); 2363CreateCompilation(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(); 2401CreateCompilation(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(); 2402CreateCompilation(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(); 2403CreateCompilation(code, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(); 2441CreateCompilation(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(); 2442CreateCompilation(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(); 2443CreateCompilation(code, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(); 3256CreateCompilation(withUnsafeOnType, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 3377CreateCompilation(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 3419CreateCompilation(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 4170CreateCompilation(withoutUnsafe).VerifyDiagnostics(expectedWithoutUnsafe); 4171CreateCompilation(withoutUnsafe, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedWithoutUnsafe); 4174CreateCompilation(withUnsafeOnType, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedWithUnsafe); 4177CreateCompilation(withUnsafeOnMembers, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedWithUnsafe); 4180CreateCompilation(withUnsafeOnTypeAndMembers, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedWithUnsafe); 6264CreateCompilation(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 6414CreateCompilation(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 6432CreateCompilation(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 6474CreateCompilation(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 7169CreateCompilation(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 7233CreateCompilationWithMscorlib40AndSystemCore(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 7436CreateCompilation(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 7568CreateCompilation(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 7585CreateCompilation(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 8086}", options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 8107}", options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 8128}", options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 8343compilation.VerifyDiagnostics(); 8379compilation.VerifyDiagnostics(); 8469CreateCompilation(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 8519CreateCompilation(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 8817CreateCompilation(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 8855compilation.VerifyDiagnostics(); 8909compilation.VerifyDiagnostics(); 9130CreateCompilation(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 9151CreateCompilation(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 9191CreateCompilation(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 9274CreateCompilation(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 9321compilation.VerifyDiagnostics(); 9374CreateCompilation(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 11241CreateCompilation(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 11368CreateCompilation(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(); 11786comp.VerifyDiagnostics(); 12057CreateCompilation(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 12080CreateCompilation(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 12713comp.VerifyDiagnostics(); 12984comp.VerifyDiagnostics(); 13084comp.VerifyDiagnostics(); 13563comp.VerifyDiagnostics(); 13907comp.VerifyDiagnostics(); 13910comp.VerifyDiagnostics(); 13940comp.VerifyDiagnostics(); 13943comp.VerifyDiagnostics();
Semantics\UserDefinedConversionTests.cs (12)
257comp.VerifyDiagnostics(); 320comp.VerifyDiagnostics(); 341comp.VerifyDiagnostics(); 460comp.VerifyDiagnostics(); 521CreateCompilationWithMscorlib40AndSystemCore(source).VerifyDiagnostics(); 541CreateCompilationWithMscorlib40AndSystemCore(source).VerifyDiagnostics(); 670comp.VerifyDiagnostics(); 673comp.VerifyDiagnostics(); 1152comp.VerifyDiagnostics(); 1471comp.VerifyDiagnostics(); 1548CreateCompilation(source).VerifyDiagnostics(); 1603CreateEmptyCompilation(source).VerifyDiagnostics();
Semantics\UseSiteErrorTests.cs (10)
32CompileWithMissingReference(text).VerifyDiagnostics(); 1734CreateCompilation(testSource, new[] { libRef, missingRef }).VerifyDiagnostics(); 1789CreateCompilation(testSource, new[] { libRef, missingRef }).VerifyDiagnostics(); 1846CreateCompilation(testSource, new[] { libRef, missingRef }).VerifyDiagnostics(); 1903CreateCompilation(testSource, new[] { libRef, missingRef }).VerifyDiagnostics(); 1950CreateCompilation(testSource, new[] { libRef, missingRef }).VerifyDiagnostics(); 2231comp3.VerifyDiagnostics(expected); 2235comp3.VerifyDiagnostics(expected); 2269compilation.VerifyDiagnostics(expectedDiagnostics); 2285successfulCompilation.VerifyDiagnostics(); // No diagnostics when reference is present
Semantics\UsingDeclarationTests.cs (13)
32CreateCompilation(source).VerifyDiagnostics(); 295CreateCompilation(source).VerifyDiagnostics(); 315CreateCompilation(source).VerifyDiagnostics(); 359CreateCompilation(source).VerifyDiagnostics(); 385var compilation = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics(); 409var compilation = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics(); 435var compilation = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics(); 520CreateCompilation(source).VerifyDiagnostics(); 541CreateCompilation(source).VerifyDiagnostics(); 563CreateCompilation(source).VerifyDiagnostics(); 824var compilation = CreateCompilationWithTasksExtensions(source, options: TestOptions.DebugExe).VerifyDiagnostics(); 851CreateCompilation(source, parseOptions: TestOptions.Regular8).VerifyDiagnostics(); 880CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, parseOptions: TestOptions.Regular8).VerifyDiagnostics();
Semantics\UsingStatementTests.cs (12)
55compilation.VerifyDiagnostics(); 117CreateCompilation(source).VerifyDiagnostics(); 230CreateCompilation(source).VerifyDiagnostics(); 295CreateCompilation(source).VerifyDiagnostics(); 870CreateCompilation(source).VerifyDiagnostics(); 893CreateCompilation(source).VerifyDiagnostics(); 976CreateCompilation(source).VerifyDiagnostics(); 1169CreateCompilation(source, parseOptions: TestOptions.Regular8).VerifyDiagnostics(); 1240CreateCompilation(source).VerifyDiagnostics(); 1258CreateCompilation(source).VerifyDiagnostics(); 1336compilation.VerifyDiagnostics(); 1753CreateCompilation(source).VerifyDiagnostics();
Semantics\Utf8StringsLiteralsTests.cs (5)
363comp.VerifyDiagnostics(); 385comp.VerifyDiagnostics(); 1624comp.VerifyDiagnostics(); 1945comp.VerifyDiagnostics(); 2078comp.VerifyDiagnostics();
Semantics\ValueTupleTests.cs (1)
266comp.VerifyDiagnostics();
Semantics\WarningVersionTests.cs (10)
48CreateCompilation(source, options: TestOptions.ReleaseDll.WithWarningLevel(CodeAnalysis.Diagnostic.DefaultWarningLevel)).VerifyDiagnostics(); 49CreateCompilation(source, options: TestOptions.ReleaseDll.WithWarningLevel(3)).VerifyDiagnostics(); 50CreateCompilation(source, options: TestOptions.ReleaseDll.WithWarningLevel(4)).VerifyDiagnostics(); 78CreateCompilation(source, options: TestOptions.ReleaseDll.WithWarningLevel(CodeAnalysis.Diagnostic.DefaultWarningLevel)).VerifyDiagnostics(); 79CreateCompilation(source, options: TestOptions.ReleaseDll.WithWarningLevel(4)).VerifyDiagnostics(); 117CreateCompilation(source, options: TestOptions.ReleaseDll.WithWarningLevel(CodeAnalysis.Diagnostic.DefaultWarningLevel)).VerifyDiagnostics(); 118CreateCompilation(source, options: TestOptions.ReleaseDll.WithWarningLevel(4)).VerifyDiagnostics(); 392CreateCompilation(source2, references: new MetadataReference[] { moduleReference }, options: TestOptions.ReleaseDll.WithWarningLevel(CodeAnalysis.Diagnostic.DefaultWarningLevel)).VerifyDiagnostics( 683CreateCompilation(source2, references: new MetadataReference[] { moduleReference }, options: TestOptions.ReleaseDll.WithWarningLevel(CodeAnalysis.Diagnostic.DefaultWarningLevel)).VerifyDiagnostics( 713CreateCompilation(source2, references: new MetadataReference[] { moduleReference }, options: TestOptions.ReleaseDll.WithWarningLevel(CodeAnalysis.Diagnostic.DefaultWarningLevel)).VerifyDiagnostics(
SourceGeneration\GeneratorDriverTests.cs (121)
36compilation.VerifyDiagnostics(); 56compilation.VerifyDiagnostics(); 78compilation.VerifyDiagnostics(); 99compilation.VerifyDiagnostics(); 128compilation.VerifyDiagnostics(); 159compilation.VerifyDiagnostics(); 218compilation.VerifyDiagnostics(); 263outputCompilation.VerifyDiagnostics(); 275compilation.VerifyDiagnostics(); 286outputCompilation.VerifyDiagnostics(); 298compilation.VerifyDiagnostics(); 319compilation.VerifyDiagnostics(); 330outputCompilation.VerifyDiagnostics(); 342compilation.VerifyDiagnostics(); 354outputCompilation.VerifyDiagnostics(); 403compilation.VerifyDiagnostics(); 414outputCompilation.VerifyDiagnostics(); 429compilation.VerifyDiagnostics(); 441outputCompilation.VerifyDiagnostics(); 455compilation.VerifyDiagnostics(); 471outputCompilation.VerifyDiagnostics(); 484compilation.VerifyDiagnostics(); 510outputCompilation.VerifyDiagnostics(); 523compilation.VerifyDiagnostics(); 531outputCompilation.VerifyDiagnostics(); 583compilation.VerifyDiagnostics(); 613compilation.VerifyDiagnostics(); 658compilation.VerifyDiagnostics(); 705compilation.VerifyDiagnostics(); 740compilation.VerifyDiagnostics(); 777compilation.VerifyDiagnostics(); 799compilation.VerifyDiagnostics(); 824compilation.VerifyDiagnostics(); 852compilation.VerifyDiagnostics(); 883compilation.VerifyDiagnostics(); 897outputCompilation.VerifyDiagnostics(); 909compilation.VerifyDiagnostics(); 924outputCompilation.VerifyDiagnostics(); 936compilation.VerifyDiagnostics(); 952outputCompilation.VerifyDiagnostics(); 964compilation.VerifyDiagnostics(); 983outputCompilation.VerifyDiagnostics(); 996compilation.VerifyDiagnostics(); 1011outputCompilation.VerifyDiagnostics(); 1025compilation.VerifyDiagnostics(); 1046outputCompilation.VerifyDiagnostics(); 1060compilation.VerifyDiagnostics(); 1087compilation.VerifyDiagnostics(); 1132compilation.VerifyDiagnostics(); 1159compilation.VerifyDiagnostics(); 1207outputCompilation.VerifyDiagnostics(); 1258compilation.VerifyDiagnostics(); 1278outputCompilation.VerifyDiagnostics(); 1349compilation.VerifyDiagnostics(); 1373outputCompilation.VerifyDiagnostics(); 1386compilation.VerifyDiagnostics(); 1421compilation.VerifyDiagnostics(); 1443compilation.VerifyDiagnostics(); 1468compilation.VerifyDiagnostics(); 1494compilation.VerifyDiagnostics(); 1518compilation.VerifyDiagnostics(); 1536compilation.VerifyDiagnostics(); 1565compilation.VerifyDiagnostics(); 1598compilation.VerifyDiagnostics(); 1607outputCompilation.VerifyDiagnostics(); 1619compilation.VerifyDiagnostics(); 1681compilation.VerifyDiagnostics(); 1725compilation.VerifyDiagnostics(); 1944compilation.VerifyDiagnostics(); 1980compilation.VerifyDiagnostics(); 2160outputCompilation.VerifyDiagnostics(); 2218outputCompilation.VerifyDiagnostics(); 2242compilation.VerifyDiagnostics(); 2361outputCompilation.VerifyDiagnostics(); 2385compilation.VerifyDiagnostics(); 2457compilation.VerifyDiagnostics(); 2485compilation.VerifyDiagnostics(); 2548compilation.VerifyDiagnostics(); 2614compilation.VerifyDiagnostics(); 2698compilation.VerifyDiagnostics(); 2885compilation.VerifyDiagnostics(); 3080compilation.VerifyDiagnostics(); 3146compilation.VerifyDiagnostics(); 3192compilation.VerifyDiagnostics(); 3228compilation.VerifyDiagnostics(); 3280compilation.VerifyDiagnostics(); 3306compilation.VerifyDiagnostics(); 3339compilation.VerifyDiagnostics(); 3385compilation.VerifyDiagnostics(); 3413compilation.VerifyDiagnostics(); 3444compilation.VerifyDiagnostics(); 3492compilation.VerifyDiagnostics(); 3536compilation.VerifyDiagnostics(); 3567compilation.VerifyDiagnostics(); 3576compilation.VerifyDiagnostics(); 3601compilation.VerifyDiagnostics(); 3611compilation.VerifyDiagnostics(); 3633compilation.VerifyDiagnostics(); 3643compilation.VerifyDiagnostics(); 3667compilation.VerifyDiagnostics(); 3677compilation.VerifyDiagnostics(); 3696compilation.VerifyDiagnostics(); 3706compilation.VerifyDiagnostics(); 3727compilation.VerifyDiagnostics(); 3737compilation.VerifyDiagnostics(); 3759compilation.VerifyDiagnostics(); 3769compilation.VerifyDiagnostics(); 3792compilation.VerifyDiagnostics(); 3802compilation.VerifyDiagnostics(); 3821compilation.VerifyDiagnostics(); 3831compilation.VerifyDiagnostics(); 3851compilation.VerifyDiagnostics(); 3861compilation.VerifyDiagnostics(); 3883compilation.VerifyDiagnostics(); 3893compilation.VerifyDiagnostics(); 3912compilation.VerifyDiagnostics(); 3926compilation.VerifyDiagnostics(); 3972compilation.VerifyDiagnostics(); 4007compilation.VerifyDiagnostics(); 4097outputCompilation.VerifyDiagnostics(); 4182outputCompilation.VerifyDiagnostics();
SourceGeneration\GeneratorDriverTests_Attributes_FullyQualifiedName.cs (2)
1240var comp0 = CreateCompilation(source0).VerifyDiagnostics().EmitToImageReference(); 1292outputCompilation.VerifyDiagnostics();
SourceGeneration\SyntaxAwareGeneratorTests.cs (41)
34compilation.VerifyDiagnostics(); 60compilation.VerifyDiagnostics(); 85compilation.VerifyDiagnostics(); 111compilation.VerifyDiagnostics(); 136compilation.VerifyDiagnostics(); 163compilation.VerifyDiagnostics(); 235compilation.VerifyDiagnostics(); 274compilation.VerifyDiagnostics(); 315compilation.VerifyDiagnostics(); 371compilation.VerifyDiagnostics(); 413compilation.VerifyDiagnostics(); 455compilation.VerifyDiagnostics(); 497compilation.VerifyDiagnostics(); 551compilation.VerifyDiagnostics(); 581compilation.VerifyDiagnostics(); 619compilation.VerifyDiagnostics(); 673compilation.VerifyDiagnostics(); 730compilation.VerifyDiagnostics(); 818compilation.VerifyDiagnostics(); 853compilation.VerifyDiagnostics(); 893compilation.VerifyDiagnostics(); 935compilation.VerifyDiagnostics(); 1012compilation.VerifyDiagnostics(); 1087compilation.VerifyDiagnostics(); 1168compilation.VerifyDiagnostics(); 1218compilation.VerifyDiagnostics(); 1301compilation.VerifyDiagnostics(); 1378compilation.VerifyDiagnostics(); 1511compilation.VerifyDiagnostics(); 1566compilation.VerifyDiagnostics(); 1615compilation.VerifyDiagnostics(); 1676compilation.VerifyDiagnostics(); 1735compilation.VerifyDiagnostics(); 1788compilation.VerifyDiagnostics(); 1851compilation.VerifyDiagnostics(); 1892compilation.VerifyDiagnostics(); 1933compilation.VerifyDiagnostics(); 1982compilation.VerifyDiagnostics(); 2008compilation.VerifyDiagnostics(); 2046compilation.VerifyDiagnostics(); 2080compilation.VerifyDiagnostics();
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1569)
BadSymbolReference.cs (14)
362compilation2.VerifyDiagnostics(errors); 462cl3Compilation.VerifyDiagnostics(); 466compilation3.VerifyDiagnostics(errors); 559compilation4.VerifyDiagnostics(errors2); 599cl3BadCompilation2.VerifyDiagnostics(errors3); 645compilation5.VerifyDiagnostics(errors5); 725compilation6.VerifyDiagnostics(errors6); 760compilation1.VerifyDiagnostics(); 799comp1.VerifyDiagnostics(); 802comp2.VerifyDiagnostics(); 1004lib4.VerifyDiagnostics(expectedErrors); 1012lib4.VerifyDiagnostics(expectedErrors); 1422lib4.VerifyDiagnostics(expectedErrors); 1430lib4.VerifyDiagnostics(expectedErrors);
Compilation\CompilationAPITests.cs (84)
74comp.VerifyDiagnostics(); 81comp.VerifyDiagnostics( 93comp.VerifyDiagnostics( 103comp.VerifyDiagnostics( 121comp.VerifyDiagnostics( 129comp.VerifyDiagnostics( 142comp.VerifyDiagnostics( 153comp2.VerifyDiagnostics( 175comp.VerifyDiagnostics( 198CreateCompilation(tree, options: options).VerifyDiagnostics( 211CreateCompilation(tree, options: options).VerifyDiagnostics( 225CreateCompilation(source).VerifyDiagnostics( 230CreateCompilation(source, options: TestOptions.ReleaseDll.WithWarningLevel(0)).VerifyDiagnostics( 242comp.VerifyDiagnostics( 254CreateCompilation("", options: TestOptions.ReleaseDll.WithPublicSign(true).WithCryptoKeyFile("")).VerifyDiagnostics( 263CreateCompilation("", options: TestOptions.ReleaseDll.WithPublicSign(true).WithCryptoKeyFile("\"\"")).VerifyDiagnostics( 596c.VerifyDiagnostics(); 652comp.VerifyDiagnostics( 720comp.VerifyDiagnostics( 1637compilation.VerifyDiagnostics(); 1658compilation.VerifyDiagnostics(); 1674compilation.VerifyDiagnostics(); 1707compilation.VerifyDiagnostics(); 1743).VerifyDiagnostics(); 1752.VerifyDiagnostics(); 1769compilation.VerifyDiagnostics(); 1790compilation.VerifyDiagnostics( 1813compilation.VerifyDiagnostics(); 1837compilation.VerifyDiagnostics( 1870compilation.VerifyDiagnostics(); 1905comp.VerifyDiagnostics( 2212c3.VerifyDiagnostics(); 2213c1.VerifyDiagnostics(); 2214c4.VerifyDiagnostics(); 2215c2.VerifyDiagnostics(); 2219c5.VerifyDiagnostics( 2238c.VerifyDiagnostics( 2260compilation.VerifyDiagnostics( 2281compilation.VerifyDiagnostics(); 2296libComp.VerifyDiagnostics(); 2317c1.VerifyDiagnostics( 2342c2.VerifyDiagnostics(); 2449s0.VerifyDiagnostics( 3095module.VerifyDiagnostics(); 3114module.VerifyDiagnostics(); 3135module.VerifyDiagnostics(); 3156script.VerifyDiagnostics(); 3164script.VerifyDiagnostics(); 3172script.VerifyDiagnostics(); 3180script.VerifyDiagnostics( 3194script.VerifyDiagnostics(); 3203script.VerifyDiagnostics(); 3211script.VerifyDiagnostics( 3222script.VerifyDiagnostics(); 3226script.VerifyDiagnostics( 3237script.VerifyDiagnostics( 3257script.VerifyDiagnostics(); 3270script.VerifyDiagnostics( 3282script.VerifyDiagnostics( 3299script.VerifyDiagnostics(); 3311script.VerifyDiagnostics(); 3320script.VerifyDiagnostics(); 3333script.VerifyDiagnostics(); 3339script.VerifyDiagnostics(); 3352script.VerifyDiagnostics(); 3364script.VerifyDiagnostics( 3384script.VerifyDiagnostics(); 3394compilation.VerifyDiagnostics(); 3405comp.VerifyDiagnostics(); 3423comp.VerifyDiagnostics(); 3444comp.VerifyDiagnostics( 3468referenceComp.VerifyDiagnostics(); 3472comp.VerifyDiagnostics(); 3496referenceComp.VerifyDiagnostics(); 3500comp.VerifyDiagnostics(); 3521referenceComp1.VerifyDiagnostics(); 3524referenceComp2.VerifyDiagnostics(); 3529comp.VerifyDiagnostics(); 3559referenceComp1.VerifyDiagnostics(); 3562referenceComp2.VerifyDiagnostics(); 3567comp.VerifyDiagnostics(); 3610current.VerifyDiagnostics(); 3642current.VerifyDiagnostics(); 3670current.VerifyDiagnostics();
Compilation\GetSemanticInfoTests.cs (9)
293comp.VerifyDiagnostics(); 2220comp.VerifyDiagnostics(); 2295comp.VerifyDiagnostics(); 3515compilation.VerifyDiagnostics(); // since no conversion is performed, the ambiguity doesn't matter 4033comp.VerifyDiagnostics(); 4674comp.VerifyDiagnostics(); 4719comp.VerifyDiagnostics(); 4869comp.VerifyDiagnostics(); 5615comp.VerifyDiagnostics();
Compilation\GetUnusedImportDirectivesTests.cs (7)
174comp.VerifyDiagnostics(); 262libCompilation.VerifyDiagnostics(); 318comp.VerifyDiagnostics(); 366CreateCompilation(source).VerifyDiagnostics(); 369CreateCompilationWithMscorlib40AndDocumentationComments(source).VerifyDiagnostics(); 392comp.VerifyDiagnostics(); 488compilation.VerifyDiagnostics();
Compilation\LoadDirectiveTests.cs (7)
148compilation.VerifyDiagnostics(); 160compilation.VerifyDiagnostics(); 166compilation.VerifyDiagnostics(); 171compilation.VerifyDiagnostics(); 180compilation.VerifyDiagnostics(); 186compilation.VerifyDiagnostics(); 191compilation.VerifyDiagnostics();
Compilation\ReferenceManagerTests.cs (36)
38ifaceDef.VerifyDiagnostics(); 54implDef2.VerifyDiagnostics(); 117testRefV1.VerifyDiagnostics(); 118testRefV2.VerifyDiagnostics(); 522libV1.VerifyDiagnostics(); 546libV2.VerifyDiagnostics(); 562refLibV1.VerifyDiagnostics(); 578main.VerifyDiagnostics(); 769c.VerifyDiagnostics(); 778c.VerifyDiagnostics(); 784c.VerifyDiagnostics(); 827c.VerifyDiagnostics(); 876compilation.VerifyDiagnostics(); 1056CreateEmptyCompilation(source, TargetFrameworkUtil.StandardReferences.AddRange(new[] { ref1, ref2 })).VerifyDiagnostics(); 1170main.VerifyDiagnostics(); 1232compilation.VerifyDiagnostics(); 1374c.VerifyDiagnostics(); 1550comp.VerifyDiagnostics(); 1557CreateCompilation(csharp, new[] { ilRef }, assemblyName: "ReachFramework").VerifyDiagnostics(); 1564CreateCompilation(csharp, new[] { ilRef }, assemblyName: "ReachFramework").VerifyDiagnostics(); 1571CreateCompilation(csharp, new[] { ilRef }, assemblyName: "ReachFramework").VerifyDiagnostics(); 1649comp.VerifyDiagnostics(); 1707b.VerifyDiagnostics(); 1901main.VerifyDiagnostics(); 2186c1.VerifyDiagnostics(); 2196c2.VerifyDiagnostics(); 2215c.VerifyDiagnostics(); 2234c.VerifyDiagnostics(); 2252c.VerifyDiagnostics(); 2274c.VerifyDiagnostics(); 2333c.VerifyDiagnostics(); 2401c.VerifyDiagnostics(); 2437c.VerifyDiagnostics(); 2475c.VerifyDiagnostics(); 2514c.VerifyDiagnostics(); 2711c.VerifyDiagnostics();
Compilation\SemanticModelAPITests.cs (24)
38comp.VerifyDiagnostics(); 91comp2.VerifyDiagnostics(); 132comp.VerifyDiagnostics(); 172comp.VerifyDiagnostics(); 199comp.VerifyDiagnostics(); 231comp.VerifyDiagnostics(); 1356comp.VerifyDiagnostics(); 1385comp.VerifyDiagnostics(); 2067comp.VerifyDiagnostics(); 2136comp.VerifyDiagnostics(); 3152comp.VerifyDiagnostics(); 3187comp.VerifyDiagnostics(); 3217comp.VerifyDiagnostics(); 3254comp.VerifyDiagnostics(); 3295comp.VerifyDiagnostics(); 3336comp.VerifyDiagnostics(); 3370comp.VerifyDiagnostics(); 3412comp.VerifyDiagnostics(); 3453comp.VerifyDiagnostics(); 3494comp.VerifyDiagnostics(); 3579comp.VerifyDiagnostics(); 3781comp.VerifyDiagnostics( 3812comp.VerifyDiagnostics(); 4471comp.VerifyDiagnostics();
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (3)
35comp.VerifyDiagnostics(); 57comp.VerifyDiagnostics(); 3991compilation.VerifyDiagnostics();
Compilation\SemanticModelGetSemanticInfoTests.cs (5)
14784compilation.VerifyDiagnostics(); 14880compilation.VerifyDiagnostics(); 14967pia.VerifyDiagnostics(); 14991compilation.VerifyDiagnostics(); 15370compilation.VerifyDiagnostics();
Compilation\UsedAssembliesTests.cs (60)
90comp.VerifyDiagnostics(before); 128comp2.VerifyDiagnostics(after); 505comp0.VerifyDiagnostics(); 519comp1.VerifyDiagnostics(); 575comp0.VerifyDiagnostics(); 590comp1.VerifyDiagnostics(); 637comp2.VerifyDiagnostics(); 765comp1.VerifyDiagnostics(); 965comp1.VerifyDiagnostics(); 1131comp1.VerifyDiagnostics(); 1291comp1.VerifyDiagnostics(); 1397comp0.VerifyDiagnostics(); 1414comp1.VerifyDiagnostics(); 1626comp5.VerifyDiagnostics(); 1790comp0.VerifyDiagnostics(); 1801comp1.VerifyDiagnostics(); 1873comp0.VerifyDiagnostics(); 1884comp1.VerifyDiagnostics(); 1939comp5.VerifyDiagnostics(); 2326comp.VerifyDiagnostics(expected); 2426comp0.VerifyDiagnostics(); 2494comp0.VerifyDiagnostics(); 2582comp0.VerifyDiagnostics(); 2670comp0.VerifyDiagnostics(); 2754comp0.VerifyDiagnostics(); 2843comp0.VerifyDiagnostics(); 2931comp0.VerifyDiagnostics(); 2995comp0.VerifyDiagnostics(); 3304comp0.VerifyDiagnostics(); 3573comp1.VerifyDiagnostics(); 3693comp.VerifyDiagnostics(diagnostics); 3721comp1.VerifyDiagnostics(); 3835comp.VerifyDiagnostics(diagnostics); 3865comp1.VerifyDiagnostics(); 3941comp1.VerifyDiagnostics(); 4056comp1.VerifyDiagnostics(); 4275comp1.VerifyDiagnostics(); 4288comp2.VerifyDiagnostics(); 4358comp1.VerifyDiagnostics(); 4371comp2.VerifyDiagnostics(); 4476comp1.VerifyDiagnostics(); 4489comp2.VerifyDiagnostics(); 4664comp1.VerifyDiagnostics(); 4677comp2.VerifyDiagnostics(); 4904comp0.VerifyDiagnostics(); 4920comp1.VerifyDiagnostics(); 4994comp0.VerifyDiagnostics(); 5010comp1.VerifyDiagnostics(); 5054comp0.VerifyDiagnostics(); 5065comp1.VerifyDiagnostics(); 5141comp0.VerifyDiagnostics(); 5152comp1.VerifyDiagnostics(); 5196comp0.VerifyDiagnostics(); 5228comp1.VerifyDiagnostics(); 5399comp0.VerifyDiagnostics(); 5410comp1.VerifyDiagnostics(); 5460comp0.VerifyDiagnostics(); 5474comp1.VerifyDiagnostics(); 5485comp2.VerifyDiagnostics(); 5632comp1.VerifyDiagnostics();
DocumentationComments\CrefTests.cs (30)
4377CreateCompilationWithMscorlib40AndDocumentationComments(source).VerifyDiagnostics(); 4628compilation.VerifyDiagnostics(); 4783compilation.VerifyDiagnostics(); 4845compilation.VerifyDiagnostics(); 4872compilation.VerifyDiagnostics(); 4933compilation.VerifyDiagnostics(); 5230compilation.VerifyDiagnostics(); 5379compilation.VerifyDiagnostics(); 5421compilation.VerifyDiagnostics(); 5441compilation.VerifyDiagnostics(); 5467compilation.VerifyDiagnostics(); 5489compilation.VerifyDiagnostics(); 5509compilation.VerifyDiagnostics(); 5554compilation.VerifyDiagnostics(); 5844compilation.VerifyDiagnostics(); 5876comp.VerifyDiagnostics(); 5896compilation.VerifyDiagnostics(); 5919compilation.VerifyDiagnostics(); 5969compilation.VerifyDiagnostics(); 6021compilation.VerifyDiagnostics(); 6043compilation.VerifyDiagnostics(); 6067compilation.VerifyDiagnostics(); 6102compilation.VerifyDiagnostics(); 6137compilation.VerifyDiagnostics(); 6208compilation.VerifyDiagnostics(); 6238compilation.VerifyDiagnostics(); 6494compilation.VerifyDiagnostics(); 6700var compilation = CreateCompilation(source, parseOptions: TestOptions.RegularWithDocumentationComments).VerifyDiagnostics(); 6739verify(CreateCompilation(source, parseOptions: TestOptions.Regular12.WithDocumentationMode(DocumentationMode.Diagnose)).VerifyDiagnostics()); 6740verify(CreateCompilation(source, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose)).VerifyDiagnostics());
DocumentationComments\DocumentationCommentCompilerTests.cs (21)
1022compA.VerifyDiagnostics(); 1044compB.VerifyDiagnostics(); 1073compA.VerifyDiagnostics(); 1095compB.VerifyDiagnostics(); 1178compA.VerifyDiagnostics(); 1197compB.VerifyDiagnostics(); 1698compA.VerifyDiagnostics(); 1720compB.VerifyDiagnostics(); 1750compA.VerifyDiagnostics(); 1772compB.VerifyDiagnostics(); 1857compA.VerifyDiagnostics(); 1876compB.VerifyDiagnostics(); 3144CreateCompilationUtil(source).VerifyDiagnostics(); 3185CreateCompilation(source).VerifyDiagnostics(); 4522compilation.VerifyDiagnostics(); 5761comp.VerifyDiagnostics(); //NOTE: no WRN_MissingXMLComment 5794comp.VerifyDiagnostics(); 5827comp.VerifyDiagnostics(); 5904comp.VerifyDiagnostics(); 5934comp.VerifyDiagnostics(); 7315CreateCompilationUtil(source).VerifyDiagnostics();
DocumentationComments\DocumentationModeTests.cs (1)
355comp.VerifyDiagnostics(expectedDiagnostics);
DocumentationComments\ParameterTests.cs (3)
668compilation.VerifyDiagnostics(); 712compilation.VerifyDiagnostics(); 834CreateCompilation(code, parseOptions: new CSharpParseOptions(LanguageVersion.Latest)).VerifyDiagnostics();
SymbolDisplay\SymbolDisplayTests.cs (21)
4645compilation.VerifyDiagnostics(); 5409comp.VerifyDiagnostics(); 5446comp.VerifyDiagnostics(); 5488compA.VerifyDiagnostics(); 5494compB.VerifyDiagnostics(); 5667compA.VerifyDiagnostics(); 5673compB.VerifyDiagnostics(); 5692compA.VerifyDiagnostics(); 5698compB.VerifyDiagnostics(); 6864var comp = CreateCompilation(source).VerifyDiagnostics(); 6902var comp = CreateCompilation(source).VerifyDiagnostics(); 6940var comp = CreateCompilation(source).VerifyDiagnostics(); 7072var comp = CreateCompilation(source).VerifyDiagnostics(); 7332var comp = CreateCompilation(source).VerifyDiagnostics(); 7485var comp = CreateCompilation(source, parseOptions: TestOptions.RegularWithFileScopedNamespaces).VerifyDiagnostics(); 7513var comp = CreateVisualBasicCompilation(source).VerifyDiagnostics(); 8523comp.VerifyDiagnostics(); 8607comp.VerifyDiagnostics(); 8673comp.VerifyDiagnostics(); 8700comp.VerifyDiagnostics(); 8756comp.VerifyDiagnostics();
Symbols\AccessorOverriddenOrHiddenMembersTests.cs (2)
632compilation.VerifyDiagnostics(); 781compilation.VerifyDiagnostics();
Symbols\AnonymousTypesSemanticsTests.cs (3)
1900comp.VerifyDiagnostics(); 1918comp.VerifyDiagnostics(); 2046compilation.VerifyDiagnostics(diagnostics);
Symbols\ArrayTypeSymbolTests.cs (1)
35c.VerifyDiagnostics();
Symbols\AssemblyAndNamespaceTests.cs (5)
379comp.VerifyDiagnostics(); 481CreateCompilationWithMscorlib461(test, parseOptions: TestOptions.RegularWithFileScopedNamespaces).VerifyDiagnostics(); 490CreateCompilationWithMscorlib461(test, parseOptions: TestOptions.RegularWithFileScopedNamespaces).VerifyDiagnostics(); 597CreateCompilationWithMscorlib461(test, parseOptions: TestOptions.RegularWithFileScopedNamespaces).VerifyDiagnostics(); 663CreateCompilationWithMscorlib461(new[] { source1, source2 }, parseOptions: TestOptions.RegularWithFileScopedNamespaces).VerifyDiagnostics();
Symbols\CheckedUserDefinedOperatorsTests.cs (6)
512compilation.VerifyDiagnostics(); 538compilation.VerifyDiagnostics(); 1692compilation.VerifyDiagnostics(); 1719compilation.VerifyDiagnostics(); 2851compilation.VerifyDiagnostics(); 2877compilation.VerifyDiagnostics();
Symbols\CompilationCreationTests.cs (3)
2705compilation.VerifyDiagnostics(); 2786compilation.VerifyDiagnostics(); 2976lib2.VerifyDiagnostics();
Symbols\ConversionTests.cs (8)
491CreateCompilation(source).VerifyDiagnostics(); 559CreateCompilation(source).VerifyDiagnostics(); 597CreateCompilation(source).VerifyDiagnostics(); 615CreateCompilation(source).VerifyDiagnostics(); 812CreateCompilation(source).VerifyDiagnostics(); 1044CreateCompilation(source).VerifyDiagnostics(); 1108CreateCompilation(source).VerifyDiagnostics(); 1894CreateCompilationWithMscorlib40AndSystemCore(source).VerifyDiagnostics();
Symbols\CorLibrary\CorTypes.cs (3)
265CreateEmptyCompilation(source1 + source2).VerifyDiagnostics(); 787typeLib_v1_Comp.VerifyDiagnostics(); 982typeLib_v1_Comp.VerifyDiagnostics();
Symbols\CovariantReturnTests.cs (50)
466result.VerifyDiagnostics(); 488result.VerifyDiagnostics(expectedDiagnostics); 518result.VerifyDiagnostics(expectedDiagnostics); 575var comp = CreateCompilationWithoutCovariantReturns(source).VerifyDiagnostics( 582comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics( 652.VerifyDiagnostics( 723comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics( 781comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics( 840comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics( 902comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics( 971comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics( 1031comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics( 1095comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics( 1157comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics( 1219comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics( 1286comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics( 1436comp = CreateCompilationWithCovariantReturns(source, references: new[] { baseMetadata }).VerifyDiagnostics( 1499comp = CreateCompilationWithCovariantReturns(source, references: references).VerifyDiagnostics( 1563comp = CreateCompilationWithCovariantReturns(source, references: new[] { baseMetadata }).VerifyDiagnostics( 1628comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics( 1905comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics( 2094comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics( 2228comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics( 2405comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics( 2523comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics( 2575var csComp = CreateCompilationWithCovariantReturns(source0).VerifyDiagnostics( 2577csComp.VerifyDiagnostics(); 2618vbComp.VerifyDiagnostics(); 2871comp = CreateCompilationWithCovariantReturns(s2, references).VerifyDiagnostics( 2937comp = CreateCompilationWithCovariantReturns(s2, references).VerifyDiagnostics( 3004comp = CreateCompilationWithCovariantReturns(s2, references).VerifyDiagnostics( 3057var comp = CreateCompilationWithoutCovariantReturns(source).VerifyDiagnostics( 3106comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics( 3145comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics( 3187comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics( 3238var comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics( 3401var comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics( 3760comp.VerifyDiagnostics(); 3872baseCompilation.VerifyDiagnostics(); 3889comp.VerifyDiagnostics(expectedDiagnostics); 3948baseCompilation.VerifyDiagnostics(); 4008comp.VerifyDiagnostics(expectedDiagnostics); 4114baseCompilation.VerifyDiagnostics(); 4131comp.VerifyDiagnostics(expectedDiagnostics); 4229baseCompilation.VerifyDiagnostics(); 4246comp.VerifyDiagnostics(expectedDiagnostics); 4338baseCompilation.VerifyDiagnostics(); 4355comp.VerifyDiagnostics(expectedDiagnostics); 4527comp.VerifyDiagnostics(expectedDiagnostics); 4866comp.VerifyDiagnostics(
Symbols\CustomModifiersTests.cs (2)
1644compilation.VerifyDiagnostics(); 1760compilation.VerifyDiagnostics();
Symbols\DefaultInterfaceImplementationTests.cs (481)
120compilation1.VerifyDiagnostics(); 180compilation2.VerifyDiagnostics(); 291compilation1.VerifyDiagnostics(); 356compilation2.VerifyDiagnostics(); 366compilation3.VerifyDiagnostics(); 431compilation1.VerifyDiagnostics(); 496compilation2.VerifyDiagnostics(); 507compilation3.VerifyDiagnostics(); 582compilation1.VerifyDiagnostics(); 680compilation1.VerifyDiagnostics(); 782compilation1.VerifyDiagnostics(); 884compilation1.VerifyDiagnostics(); 971compilation1.VerifyDiagnostics(); 1046compilation1.VerifyDiagnostics(); 1125compilation1.VerifyDiagnostics(); 1204compilation1.VerifyDiagnostics(); 1283compilation1.VerifyDiagnostics(); 1367compilation1.VerifyDiagnostics(); 1455compilation1.VerifyDiagnostics(); 1543compilation1.VerifyDiagnostics(); 1669compilation1.VerifyDiagnostics(); 1727compilation1.VerifyDiagnostics(); 1753compilation3.VerifyDiagnostics(); 1919compilation2.VerifyDiagnostics(); 2116compilation1.VerifyDiagnostics(); 2190compilation2.VerifyDiagnostics(); 2212compilation3.VerifyDiagnostics(); 2263compilation1.VerifyDiagnostics(); 2332compilation1.VerifyDiagnostics(); 2405compilation1.VerifyDiagnostics(); 2478compilation1.VerifyDiagnostics(); 2583compilation1.VerifyDiagnostics(); 2644compilation2.VerifyDiagnostics(); 2656compilation3.VerifyDiagnostics(); 3726compilation1.VerifyDiagnostics(); 3868compilation1.VerifyDiagnostics(); 3986compilation1.VerifyDiagnostics(); 4138compilation1.VerifyDiagnostics(); 4397compilation1.VerifyDiagnostics(); 4474compilation1.VerifyDiagnostics(); 4514compilation3.VerifyDiagnostics(); 4790compilation2.VerifyDiagnostics(); 5387compilation1.VerifyDiagnostics(); 5504compilation1.VerifyDiagnostics(); 5595compilation1.VerifyDiagnostics(); 5740compilation1.VerifyDiagnostics(); 5957compilation1.VerifyDiagnostics(); 6015compilation1.VerifyDiagnostics(); 6056compilation3.VerifyDiagnostics(); 6224compilation2.VerifyDiagnostics(); 6379compilation2.VerifyDiagnostics(); 6545compilation1.VerifyDiagnostics(); 6610compilation2.VerifyDiagnostics(); 6626compilation3.VerifyDiagnostics(); 7421compilation1.VerifyDiagnostics(); 7481compilation1.VerifyDiagnostics(); 7511compilation3.VerifyDiagnostics(); 7700compilation2.VerifyDiagnostics(); 8250compilation1.VerifyDiagnostics(); 9269compilation2.VerifyDiagnostics(); 9451compilation1.VerifyDiagnostics(expectedIn9); 9466compilation2.VerifyDiagnostics(); 9477compilation3.VerifyDiagnostics(expectedAcrossAssemblyBoundaries.Length != 0 ? expectedAcrossAssemblyBoundaries : expectedIn9AcrossAssemblyBoundaries); 9487compilation3.VerifyDiagnostics(expectedAcrossAssemblyBoundaries); 9539compilation2.VerifyDiagnostics(); 9838compilation2.VerifyDiagnostics(); 9903compilation2.VerifyDiagnostics(); 9988compilation2.VerifyDiagnostics(); 10048compilation2.VerifyDiagnostics(); 10919compilation2.VerifyDiagnostics(); 11058compilation1.VerifyDiagnostics(); 11164compilation1.VerifyDiagnostics(); 11637compilation1.VerifyDiagnostics(); 11728compilation3.VerifyDiagnostics(); 11861compilation1.VerifyDiagnostics(expected); 11894compilation2.VerifyDiagnostics(); 11911compilation3.VerifyDiagnostics(expected); 12009compilation2.VerifyDiagnostics(); 12132compilation2.VerifyDiagnostics(); 12220compilation1.VerifyDiagnostics(); 12230compilation2.VerifyDiagnostics(); 12241compilation3.VerifyDiagnostics(); 12282compilation1.VerifyDiagnostics(); 12292compilation2.VerifyDiagnostics(); 12303compilation3.VerifyDiagnostics(); 12344compilation1.VerifyDiagnostics(); 12354compilation2.VerifyDiagnostics(); 12627compilation2.VerifyDiagnostics(); 12715compilation2.VerifyDiagnostics(); 12803compilation2.VerifyDiagnostics(); 14916compilation1.VerifyDiagnostics(expectedIn9); 14936compilation2.VerifyDiagnostics(); 14962compilation3.VerifyDiagnostics(expectedAcrossAssemblyBoundaries.Length != 0 ? expectedAcrossAssemblyBoundaries : expectedIn9); 14973compilation3.VerifyDiagnostics(expectedAcrossAssemblyBoundaries); 14989compilation5.VerifyDiagnostics(expectedNoImplementation); 15114compilation1.VerifyDiagnostics(expectedIn9); 15133compilation2.VerifyDiagnostics(); 15141compilation3.VerifyDiagnostics(expectedAcrossAssemblyBoundaries.Length != 0 ? expectedAcrossAssemblyBoundaries : expectedIn9); 15152compilation3.VerifyDiagnostics(expectedAcrossAssemblyBoundaries); 15259compilation2.VerifyDiagnostics(); 15267compilation3.VerifyDiagnostics(expected); 15672compilation2.VerifyDiagnostics(); 15746compilation1.VerifyDiagnostics(expected); 15753compilation2.VerifyDiagnostics(); 15758compilation3.VerifyDiagnostics(expected); 15765compilation4.VerifyDiagnostics(expected); 15841compilation1.VerifyDiagnostics(expectedIn9); 15860compilation2.VerifyDiagnostics(); 15868compilation3.VerifyDiagnostics(expectedAcrossAssemblyBoundaries.Length != 0 ? expectedAcrossAssemblyBoundaries : expectedIn9); 15878compilation3.VerifyDiagnostics(expectedAcrossAssemblyBoundaries); 15960compilation2.VerifyDiagnostics(expectedIn9); 15967compilation2.VerifyDiagnostics(); 15975compilation3.VerifyDiagnostics(expectedAcrossAssemblyBoundaries); 16583compilation1.VerifyDiagnostics(expected); 16921compilation2.VerifyDiagnostics(expected1); 16929compilation3.VerifyDiagnostics(expected2); 17019compilation1.VerifyDiagnostics(expected); 17269compilation1.VerifyDiagnostics(expected); 17514compilation2.VerifyDiagnostics(); 18286compilation1.VerifyDiagnostics(); 18319compilation2.VerifyDiagnostics(); 18333compilation3.VerifyDiagnostics(); 18461compilation1.VerifyDiagnostics(expectedIn9); 18488compilation2.VerifyDiagnostics(); 18499compilation3.VerifyDiagnostics(expectedAcrossAssemblyBoundaries.Length != 0 ? expectedAcrossAssemblyBoundaries : expectedIn9); 18511compilation3.VerifyDiagnostics(expectedAcrossAssemblyBoundaries); 19895compilation2.VerifyDiagnostics(); 20371compilation3.VerifyDiagnostics(); 28422compilation1.VerifyDiagnostics(expectedIn9); 28482compilation2.VerifyDiagnostics(); 28505compilation3.VerifyDiagnostics(expectedAcrossAssemblyBoundaries.Length != 0 ? expectedAcrossAssemblyBoundaries : expectedIn9); 28516compilation3.VerifyDiagnostics(expectedAcrossAssemblyBoundaries); 28532compilation5.VerifyDiagnostics(expectedNoImplementation); 28619compilation1.VerifyDiagnostics(expectedIn9); 28638compilation2.VerifyDiagnostics(); 28646compilation3.VerifyDiagnostics(expectedAcrossAssemblyBoundaries.Length != 0 ? expectedAcrossAssemblyBoundaries : expectedIn9); 28656compilation3.VerifyDiagnostics(expectedAcrossAssemblyBoundaries); 28763compilation2.VerifyDiagnostics(); 28770compilation3.VerifyDiagnostics(expected); 29181compilation2.VerifyDiagnostics(); 29258compilation1.VerifyDiagnostics(expected); 29265compilation2.VerifyDiagnostics(); 29270compilation3.VerifyDiagnostics(expected); 29277compilation4.VerifyDiagnostics(expected); 29353compilation1.VerifyDiagnostics(expectedIn9); 29372compilation2.VerifyDiagnostics(); 29380compilation3.VerifyDiagnostics(expectedAcrossAssemblyBoundaries.Length != 0 ? expectedAcrossAssemblyBoundaries : expectedIn9); 29390compilation3.VerifyDiagnostics(expectedAcrossAssemblyBoundaries); 29465compilation2.VerifyDiagnostics(expected); 29472compilation2.VerifyDiagnostics(); 29700compilation1.VerifyDiagnostics(expected); 29996compilation1.VerifyDiagnostics(expected); 30442compilation1.VerifyDiagnostics(expected); 30663compilation1.VerifyDiagnostics(expected); 30919compilation2.VerifyDiagnostics(); 31134compilation3.VerifyDiagnostics(); 32014compilation2.VerifyDiagnostics(expected); 32020compilation3.VerifyDiagnostics(); 32029compilation4.VerifyDiagnostics(); 32043compilation5.VerifyDiagnostics(expected); 32154compilation3.VerifyDiagnostics(); 32163compilation4.VerifyDiagnostics(); 32539compilation2.VerifyDiagnostics(expected); 32545compilation3.VerifyDiagnostics(); 32554compilation4.VerifyDiagnostics(expected); 32561compilation5.VerifyDiagnostics(expected); 32804compilation1.VerifyDiagnostics(); 32873compilation1.VerifyDiagnostics(); 32963compilation1.VerifyDiagnostics(); 32982compilation2.VerifyDiagnostics(); 32997compilation3.VerifyDiagnostics(); 33984compilation1.VerifyDiagnostics(); 34145compilation1.VerifyDiagnostics(); 34164compilation2.VerifyDiagnostics(); 34179compilation3.VerifyDiagnostics(); 34192compilation4.VerifyDiagnostics(); 34286compilation1.VerifyDiagnostics(); 34471compilation2.VerifyDiagnostics(); 34494compilation2.VerifyDiagnostics(); 34506compilation4.VerifyDiagnostics(); 34590compilation5.VerifyDiagnostics(); 34687compilation1.VerifyDiagnostics(); 34801compilation1.VerifyDiagnostics(); 34901compilation2.VerifyDiagnostics(); 34918compilation3.VerifyDiagnostics(); 34971compilation1.VerifyDiagnostics(); 35062compilation1.VerifyDiagnostics(); 35163compilation1.VerifyDiagnostics(); 35259compilation1.VerifyDiagnostics(); 35465compilation1.VerifyDiagnostics(); 35574compilation1.VerifyDiagnostics(); 35687compilation1.VerifyDiagnostics(); 35800compilation1.VerifyDiagnostics(); 35923compilation2.VerifyDiagnostics(); 36011compilation1.VerifyDiagnostics(); 36119compilation2.VerifyDiagnostics(); 36223compilation1.VerifyDiagnostics(); 36390compilation1.VerifyDiagnostics(); 36411compilation2.VerifyDiagnostics(); 36425compilation4.VerifyDiagnostics(); 36436compilation5.VerifyDiagnostics(); 36578compilation1.VerifyDiagnostics(); 36599compilation2.VerifyDiagnostics(); 36613compilation4.VerifyDiagnostics(); 36624compilation5.VerifyDiagnostics(); 36766compilation1.VerifyDiagnostics(); 36787compilation2.VerifyDiagnostics(); 36801compilation4.VerifyDiagnostics(); 36891comp.VerifyDiagnostics(); 36990compilation1.VerifyDiagnostics(); 37009compilation2.VerifyDiagnostics(); 37024compilation3.VerifyDiagnostics(); 37278compilation1.VerifyDiagnostics(expected1); 37296compilation2.VerifyDiagnostics(expected2); 37378compilation1.VerifyDiagnostics(expected1); 37395compilation2.VerifyDiagnostics(expected2); 37526compilation1.VerifyDiagnostics(expected); 37609compilation1.VerifyDiagnostics(expected); 37956compilation1.VerifyDiagnostics(expected1); 37991compilation2.VerifyDiagnostics(expected2); 37998compilation3.VerifyDiagnostics(expected3); 38006compilation4.VerifyDiagnostics(expected4); 38405compilation1.VerifyDiagnostics(); 38427compilation2.VerifyDiagnostics(); 38442compilation4.VerifyDiagnostics(); 38453compilation5.VerifyDiagnostics(expected); 38745compilation1.VerifyDiagnostics(); 38808compilation2.VerifyDiagnostics(); 38831compilation2.VerifyDiagnostics(); 38843compilation4.VerifyDiagnostics(); 38885compilation3.VerifyDiagnostics(ref1 is CompilationReference ? expected1 : expected2 ?? expected1); 38914compilation5.VerifyDiagnostics(); 39006compilation1.VerifyDiagnostics(); 39013compilation2.VerifyDiagnostics(expected1); 39020compilation3.VerifyDiagnostics(expected2 ?? expected1); 39110compilation1.VerifyDiagnostics(); 39182compilation2.VerifyDiagnostics(); 39199compilation3.VerifyDiagnostics(); 40018compilation1.VerifyDiagnostics(); 40039compilation2.VerifyDiagnostics(); 40056compilation3.VerifyDiagnostics(); 41073compilation1.VerifyDiagnostics(); 41094compilation2.VerifyDiagnostics(); 41111compilation3.VerifyDiagnostics(); 41126compilation4.VerifyDiagnostics(); 41242compilation1.VerifyDiagnostics(); 41470compilation2.VerifyDiagnostics(); 41493compilation2.VerifyDiagnostics(); 41505compilation4.VerifyDiagnostics(); 41592compilation5.VerifyDiagnostics(); 41672compilation1.VerifyDiagnostics(); 41786compilation1.VerifyDiagnostics(); 41858compilation2.VerifyDiagnostics(); 41875compilation3.VerifyDiagnostics(); 42023compilation1.VerifyDiagnostics(); 42046compilation2.VerifyDiagnostics(); 42062compilation4.VerifyDiagnostics(); 42073compilation5.VerifyDiagnostics(); 42227compilation1.VerifyDiagnostics(); 42250compilation2.VerifyDiagnostics(); 42266compilation4.VerifyDiagnostics(); 42277compilation5.VerifyDiagnostics(); 42431compilation1.VerifyDiagnostics(); 42454compilation2.VerifyDiagnostics(); 42470compilation4.VerifyDiagnostics(); 43792compilation1.VerifyDiagnostics(); 43922compilation1.VerifyDiagnostics(); 44057compilation1.VerifyDiagnostics(); 44196compilation1.VerifyDiagnostics(); 44645compilation1.VerifyDiagnostics(); 44692compilation1.VerifyDiagnostics(); 44726compilation1.VerifyDiagnostics(); 44800compilation1.VerifyDiagnostics(); 44842compilation1.VerifyDiagnostics(); 44887compilation1.VerifyDiagnostics(); 44923compilation1.VerifyDiagnostics(); 44968compilation1.VerifyDiagnostics(); 44986compilation2.VerifyDiagnostics(); 45059compilation1.VerifyDiagnostics(); 45210compilation1.VerifyDiagnostics(); 45352compilation1.VerifyDiagnostics(); 45543compilation1.VerifyDiagnostics(); 45683compilation1.VerifyDiagnostics(); 45842compilation0.VerifyDiagnostics(); 45848compilation1.VerifyDiagnostics(); 46005compilation0.VerifyDiagnostics(); 46116compilation1.VerifyDiagnostics(); 46260compilation1.VerifyDiagnostics(); 46592compilation1.VerifyDiagnostics(); 46602compilation2.VerifyDiagnostics(); 46608compilation3.VerifyDiagnostics(); 46842compilation7.VerifyDiagnostics(expected7); 46848compilation8.VerifyDiagnostics(expected7); 46877compilation9.VerifyDiagnostics(expected9); 46882compilation10.VerifyDiagnostics(expected9); 46955compilation2.VerifyDiagnostics(); 47026compilation2.VerifyDiagnostics(); 47112compilation4.VerifyDiagnostics(); 47225compilation1.VerifyDiagnostics(); 47234compilation2.VerifyDiagnostics(); 47240compilation3.VerifyDiagnostics(); 47265compilation9.VerifyDiagnostics(expected9); 47270compilation10.VerifyDiagnostics(expected9); 47317compilation1.VerifyDiagnostics(); 47326compilation2.VerifyDiagnostics(); 47332compilation3.VerifyDiagnostics(); 47393compilation1.VerifyDiagnostics(); 47402compilation2.VerifyDiagnostics(); 47408compilation3.VerifyDiagnostics(); 47466compilation1.VerifyDiagnostics(expected); 47473compilation2.VerifyDiagnostics(expected); 47523compilation1.VerifyDiagnostics(); 47532compilation2.VerifyDiagnostics(); 47538compilation3.VerifyDiagnostics(); 47604compilation1.VerifyDiagnostics(); 47613compilation2.VerifyDiagnostics(); 47619compilation3.VerifyDiagnostics(); 47679compilation0.VerifyDiagnostics(); 47687compilation1.VerifyDiagnostics(expected); 47692compilation2.VerifyDiagnostics(expected); 47711compilation3.VerifyDiagnostics(); 47719compilation4.VerifyDiagnostics(expected); 47724compilation5.VerifyDiagnostics(expected); 47740compilation6.VerifyDiagnostics(); 47748compilation7.VerifyDiagnostics(expected); 47753compilation8.VerifyDiagnostics(expected); 47812compilation0.VerifyDiagnostics(); 47820compilation1.VerifyDiagnostics(expected); 47825compilation2.VerifyDiagnostics(expected); 47844compilation3.VerifyDiagnostics(); 47852compilation4.VerifyDiagnostics(expected); 47857compilation5.VerifyDiagnostics(expected); 47873compilation6.VerifyDiagnostics(); 47881compilation7.VerifyDiagnostics(expected); 47886compilation8.VerifyDiagnostics(expected); 47940compilation1.VerifyDiagnostics(); 47948compilation2.VerifyDiagnostics(expected); 47953compilation3.VerifyDiagnostics(expected); 48007compilation1.VerifyDiagnostics(); 48015compilation2.VerifyDiagnostics(expected); 48020compilation3.VerifyDiagnostics(expected); 48082compilation1.VerifyDiagnostics(); 48091compilation2.VerifyDiagnostics(); 48097compilation3.VerifyDiagnostics(); 48139compilation1.VerifyDiagnostics(); 48148compilation2.VerifyDiagnostics(); 48154compilation3.VerifyDiagnostics(); 48206compilation1.VerifyDiagnostics(); 48215compilation2.VerifyDiagnostics(); 48221compilation3.VerifyDiagnostics(); 48250compilation9.VerifyDiagnostics(expected9); 48255compilation10.VerifyDiagnostics(expected9); 48303compilation1.VerifyDiagnostics(); 48312compilation2.VerifyDiagnostics(); 48318compilation3.VerifyDiagnostics(); 48373compilation1.VerifyDiagnostics(); 48382compilation2.VerifyDiagnostics(); 48388compilation3.VerifyDiagnostics(); 48437compilation1.VerifyDiagnostics(); 48446compilation2.VerifyDiagnostics(); 48452compilation3.VerifyDiagnostics(); 48516compilation1.VerifyDiagnostics(); 48525compilation2.VerifyDiagnostics(); 48531compilation3.VerifyDiagnostics(); 48588compilation1.VerifyDiagnostics(); 48597compilation2.VerifyDiagnostics(); 48603compilation3.VerifyDiagnostics(); 48661compilation1.VerifyDiagnostics(); 48669compilation2.VerifyDiagnostics(expected); 48674compilation3.VerifyDiagnostics(expected); 48731compilation1.VerifyDiagnostics(); 48739compilation2.VerifyDiagnostics(expected); 48744compilation3.VerifyDiagnostics(expected); 48801compilation1.VerifyDiagnostics(expected); 48808compilation2.VerifyDiagnostics(expected); 48893compilation1.VerifyDiagnostics(); 48902compilation2.VerifyDiagnostics(); 48908compilation3.VerifyDiagnostics(); 48959compilation1.VerifyDiagnostics(); 48968compilation2.VerifyDiagnostics(); 48974compilation3.VerifyDiagnostics(); 49066compilation1.VerifyDiagnostics(); 49075compilation2.VerifyDiagnostics(); 49081compilation3.VerifyDiagnostics(); 49298compilation1.VerifyDiagnostics(); 49307compilation2.VerifyDiagnostics(); 49313compilation3.VerifyDiagnostics(); 49956compilation0.VerifyDiagnostics(); 49982compilation1.VerifyDiagnostics(); 50045compilation0.VerifyDiagnostics(); 50084compilation0.VerifyDiagnostics(); 50110compilation1.VerifyDiagnostics(); 50247compilation0.VerifyDiagnostics(); 50307compilation0.VerifyDiagnostics(); 50844compilation0.VerifyDiagnostics(); 50897compilation0.VerifyDiagnostics(); 50950compilation0.VerifyDiagnostics(); 51066compilation2.VerifyDiagnostics(); 51224compilation1.VerifyDiagnostics(); 51233compilation2.VerifyDiagnostics(); 51241compilation3.VerifyDiagnostics(); 51372compilation1.VerifyDiagnostics(expected); 51377compilation2.VerifyDiagnostics(); 51385compilation3.VerifyDiagnostics(expected); 51505compilation1.VerifyDiagnostics(); 51514compilation2.VerifyDiagnostics(); 51522compilation3.VerifyDiagnostics(); 51656compilation1.VerifyDiagnostics(expected); 51661compilation2.VerifyDiagnostics(); 51669compilation3.VerifyDiagnostics(expected); 51796compilation1.VerifyDiagnostics(expected); 51801compilation2.VerifyDiagnostics(); 51809compilation3.VerifyDiagnostics(expected); 51898compilation1.VerifyDiagnostics(); 51907compilation2.VerifyDiagnostics(); 51915compilation3.VerifyDiagnostics(); 52343compilation1.VerifyDiagnostics(expected); 52501compilation1.VerifyDiagnostics(expected); 52506compilation2.VerifyDiagnostics(); 52514compilation3.VerifyDiagnostics(expected); 52693compilation1.VerifyDiagnostics(); 52702compilation2.VerifyDiagnostics(); 52710compilation3.VerifyDiagnostics(); 52858compilation1.VerifyDiagnostics(expected); 52863compilation2.VerifyDiagnostics(); 52871compilation3.VerifyDiagnostics(expected); 53021compilation1.VerifyDiagnostics(); 53030compilation2.VerifyDiagnostics(); 53038compilation3.VerifyDiagnostics(); 53196compilation1.VerifyDiagnostics(expected1); 53201compilation2.VerifyDiagnostics(); 53210compilation3.VerifyDiagnostics(expected); 53358compilation1.VerifyDiagnostics(expected1); 53363compilation2.VerifyDiagnostics(); 53372compilation3.VerifyDiagnostics(expected); 53490compilation1.VerifyDiagnostics(); 53499compilation2.VerifyDiagnostics(); 53507compilation3.VerifyDiagnostics(); 53598compilation1.VerifyDiagnostics(expected); 53730compilation1.VerifyDiagnostics(expected); 53876compilation1.VerifyDiagnostics(expected); 54196compilation1.VerifyDiagnostics(); 54205compilation2.VerifyDiagnostics(expected); 57033compilation1.VerifyDiagnostics(expected); 57479compilation1.VerifyDiagnostics(expected); 57484compilation2.VerifyDiagnostics(); 57492compilation3.VerifyDiagnostics(expected); 57651compilation1.VerifyDiagnostics(); 57660compilation2.VerifyDiagnostics(); 57668compilation3.VerifyDiagnostics(); 57809compilation1.VerifyDiagnostics(expected); 57814compilation2.VerifyDiagnostics(); 57822compilation3.VerifyDiagnostics(expected); 57960compilation1.VerifyDiagnostics(); 57969compilation2.VerifyDiagnostics(); 57977compilation3.VerifyDiagnostics(); 58123compilation1.VerifyDiagnostics(expected); 58128compilation2.VerifyDiagnostics(); 58136compilation3.VerifyDiagnostics(expected); 58272compilation1.VerifyDiagnostics(expected); 58277compilation2.VerifyDiagnostics(); 58285compilation3.VerifyDiagnostics(expected); 58392compilation1.VerifyDiagnostics(); 58401compilation2.VerifyDiagnostics(); 58409compilation3.VerifyDiagnostics(); 58486compilation1.VerifyDiagnostics(expected); 58678compilation1.VerifyDiagnostics(expected); 59248compilation1.VerifyDiagnostics(); 59257compilation2.VerifyDiagnostics(expected); 59317compilation1.VerifyDiagnostics(expected); 65477compilation1.VerifyDiagnostics(); 65523compilation1.VerifyDiagnostics(); 66383compilation1.VerifyDiagnostics(); 66456compilation1.VerifyDiagnostics(); 68162compilation1.VerifyDiagnostics(); 68202compilation2.VerifyDiagnostics(); 68552compilation4.VerifyDiagnostics(); 68609compilation4.VerifyDiagnostics(); 68686compilation1.VerifyDiagnostics(); 68862compilation2.VerifyDiagnostics(); 68947compilation2.VerifyDiagnostics();
Symbols\DestructorTests.cs (2)
385CreateCompilation(source).VerifyDiagnostics(); 433CreateCompilation(source).VerifyDiagnostics();
Symbols\EnumTests.cs (2)
230CreateCompilation(source).VerifyDiagnostics(); 288CreateCompilation(source).VerifyDiagnostics();
Symbols\ErrorTypeSymbolTests.cs (3)
30compilation1.VerifyDiagnostics(); 43compilation2.VerifyDiagnostics(); 51compilation3.VerifyDiagnostics();
Symbols\ExtendedPartialMethodsTests.cs (32)
40comp.VerifyDiagnostics(); 139comp.VerifyDiagnostics(); 276comp.VerifyDiagnostics(); 356comp.VerifyDiagnostics(); 368comp.VerifyDiagnostics(); 391comp.VerifyDiagnostics(); 565comp.VerifyDiagnostics(); 587comp.VerifyDiagnostics(); 609comp.VerifyDiagnostics(); 630comp.VerifyDiagnostics(); 655comp.VerifyDiagnostics(); 693comp.VerifyDiagnostics(); 895comp.VerifyDiagnostics(); 921comp.VerifyDiagnostics(); 1007comp.VerifyDiagnostics(); 1024comp.VerifyDiagnostics(); 1050comp.VerifyDiagnostics(); 1450comp.VerifyDiagnostics(); 1756comp.VerifyDiagnostics( 1949comp.VerifyDiagnostics(); 1971comp.VerifyDiagnostics(); 2234comp1.VerifyDiagnostics(); 2482comp1.VerifyDiagnostics(); 2580comp.VerifyDiagnostics(); 2593vbComp.VerifyDiagnostics(); 2771comp.VerifyDiagnostics(); 3055comp.VerifyDiagnostics(); 3103comp.VerifyDiagnostics(); 3130comp.VerifyDiagnostics(); 3318comp.VerifyDiagnostics(); 3458comp.VerifyDiagnostics(); 3491comp.VerifyDiagnostics();
Symbols\ExtensionMethodTests.cs (17)
1575compilation.VerifyDiagnostics(); 2795compilation.VerifyDiagnostics(); 2826compilation1.VerifyDiagnostics(); 2843compilation2.VerifyDiagnostics(); 3280compilation2.VerifyDiagnostics(); 3296compilation1.VerifyDiagnostics(); 3309compilation2.VerifyDiagnostics(); 3325compilation3.VerifyDiagnostics(); 3362compilation.VerifyDiagnostics(); 3424compilation.VerifyDiagnostics(); 3774compilation.VerifyDiagnostics(); 3801compilation.VerifyDiagnostics(); 3822s0.VerifyDiagnostics(); 3829s1.VerifyDiagnostics(); 3861compilation.VerifyDiagnostics(); 3953compilation.VerifyDiagnostics(); 4089compilation.VerifyDiagnostics();
Symbols\FunctionPointerTypeSymbolTests.cs (18)
39comp.VerifyDiagnostics(); 260comp.VerifyDiagnostics(); 372comp.VerifyDiagnostics(); 465comp.VerifyDiagnostics(); 706comp.VerifyDiagnostics(); 723comp.VerifyDiagnostics(); 742comp.VerifyDiagnostics(); 760comp.VerifyDiagnostics(); 779comp.VerifyDiagnostics(); 797comp.VerifyDiagnostics(); 815comp.VerifyDiagnostics(); 833comp.VerifyDiagnostics(); 851comp.VerifyDiagnostics(); 869comp.VerifyDiagnostics(); 887comp.VerifyDiagnostics(); 1009comp.VerifyDiagnostics(); 1513comp.VerifyDiagnostics(); 1680comp.VerifyDiagnostics();
Symbols\GenericConstraintConversionTests.cs (2)
730CreateCompilation(source).VerifyDiagnostics(); 762CreateCompilation(source).VerifyDiagnostics();
Symbols\GenericConstraintTests.cs (36)
386CreateCompilation(source).VerifyDiagnostics(); 1104CreateCompilationWithMscorlib40(text, references: new[] { Net40.References.SystemCore }).VerifyDiagnostics(); 2499CreateCompilation(source).VerifyDiagnostics(); 2890compilation1.VerifyDiagnostics(); 2935compilation2.VerifyDiagnostics(); 3073compilation1.VerifyDiagnostics(); 4333CreateCompilation(source).VerifyDiagnostics(); 4383CreateCompilation(source).VerifyDiagnostics(); 4407CreateCompilation(source).VerifyDiagnostics(); 4480CreateCompilation(source).VerifyDiagnostics(); 5399CreateCompilationWithILAndMscorlib40(csharpSource, ilSource).VerifyDiagnostics(); 5468var compilation = CreateCompilationWithILAndMscorlib40(csharpSource, ilSource).VerifyDiagnostics(); 5633CreateCompilation(source, options: TestOptions.ReleaseDll).VerifyDiagnostics(); 5709vbCompilation.VerifyDiagnostics(); 5809CreateCompilation(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(); 5841CreateCompilation(source, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(); 5910CreateCompilation(source).VerifyDiagnostics(); 6194CreateCompilation(source).VerifyDiagnostics(); 6313CreateCompilation(source).VerifyDiagnostics(); 6399CreateCompilationWithILAndMscorlib40(source, ilSource, appendDefaultHeader: false).VerifyDiagnostics(); 6433compilation1.VerifyDiagnostics(); 6440compilation2.VerifyDiagnostics(); 6475CreateCompilation(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(); 6498CreateCompilation(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(); 6525CreateCompilation(source, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(); 6540CreateCompilation(source, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(); 6569CreateCompilationWithMscorlib40AndSystemCore(source).VerifyDiagnostics(); 6576var compilation = CreateCompilationWithMscorlib40AndSystemCore("public interface I<W> where W : struct {}").VerifyDiagnostics(); 6628CreateCompilationWithMscorlib40AndSystemCore(source).VerifyDiagnostics(); 6652CreateCompilationWithMscorlib40AndSystemCore(source).VerifyDiagnostics(); 6840compilation1.VerifyDiagnostics(); 6864compilation2.VerifyDiagnostics(); 7295metadataComp.VerifyDiagnostics(); 7305comp.VerifyDiagnostics( 7358metadataComp.VerifyDiagnostics(); 7389comp.VerifyDiagnostics();
Symbols\ImplicitClassTests.cs (1)
86c.VerifyDiagnostics();
Symbols\IndexedPropertyTests.cs (4)
1187compilation2.VerifyDiagnostics(); 1364compilation2.VerifyDiagnostics(); 1406compilation2.VerifyDiagnostics(); 1493compilation2.VerifyDiagnostics();
Symbols\IndexerTests.cs (23)
314compilation.VerifyDiagnostics(); 563compilation = CreateCompilationWithILAndMscorlib40(csharp2, il).VerifyDiagnostics(); 956CreateCompilation(source).VerifyDiagnostics(); 979CreateCompilation(source).VerifyDiagnostics(); 1202CreateCompilation(source).VerifyDiagnostics(); 1287comp.VerifyDiagnostics(); 1352compilation.VerifyDiagnostics(); 1433compilation.VerifyDiagnostics(); 1458compilation.VerifyDiagnostics(); 1513compilation.VerifyDiagnostics(); 1538CreateCompilation(source).VerifyDiagnostics(); 1565compilation.VerifyDiagnostics(); 1686compilation.VerifyDiagnostics(); 2126var compilation = CreateCompilation(source).VerifyDiagnostics(); 2171compilation.VerifyDiagnostics(); 2232comp.VerifyDiagnostics(); 2273comp.VerifyDiagnostics(); 2315comp.VerifyDiagnostics(); 2353comp.VerifyDiagnostics(); 2431CreateCompilation(text).VerifyDiagnostics(); 2611comp.VerifyDiagnostics(); 2698comp.VerifyDiagnostics(); 2861comp.VerifyDiagnostics();
Symbols\InterfaceImplementationTests.cs (12)
1128comp.VerifyDiagnostics(); 1171CreateCompilation(text).VerifyDiagnostics(); 1536comp.VerifyDiagnostics(); 1588comp.VerifyDiagnostics(); 1759compilation.VerifyDiagnostics(); 1893comp1.VerifyDiagnostics(); 1897comp2.VerifyDiagnostics(); 1956comp.VerifyDiagnostics(); 2019comp.VerifyDiagnostics(); 2052CreateCompilationWithILAndMscorlib40(source2, il).VerifyDiagnostics(); 2282comp.VerifyDiagnostics(); 2731comp1.VerifyDiagnostics();
Symbols\InterfaceOverriddenOrHiddenMembersTests.cs (9)
824CreateCompilation(source).VerifyDiagnostics(); 1044var comp = CreateCompilation(code).VerifyDiagnostics(); 1070var comp = CreateCompilation(code).VerifyDiagnostics(); 1096var comp = CreateCompilation(code).VerifyDiagnostics(); 1122var comp = CreateCompilation(code).VerifyDiagnostics(); 1140var comp = CreateCompilation(code).VerifyDiagnostics(); 1158var comp = CreateCompilation(code).VerifyDiagnostics(); 1201var comp = CreateCompilation(text).VerifyDiagnostics(); 1337var comp = CreateCompilation(code).VerifyDiagnostics();
Symbols\LocalFunctionTests.cs (4)
31var compilation = CreateCompilation(source).VerifyDiagnostics(); 52var compilation = CreateCompilation(source).VerifyDiagnostics(); 73var compilation = CreateCompilation(source).VerifyDiagnostics(); 96var compilation = CreateCompilation(source).VerifyDiagnostics();
Symbols\Metadata\MetadataMemberTests.cs (1)
483comp.VerifyDiagnostics();
Symbols\Metadata\MetadataTypeTests.cs (2)
280compilation1.VerifyDiagnostics(); 579comp.VerifyDiagnostics();
Symbols\Metadata\PE\BaseTypeResolution.cs (3)
339compilation1.VerifyDiagnostics(); 359compilation2.VerifyDiagnostics(); 395compilation3.VerifyDiagnostics(errors);
Symbols\Metadata\PE\LoadingEvents.cs (2)
522comp.VerifyDiagnostics(); 582comp.VerifyDiagnostics();
Symbols\Metadata\PE\LoadingMethods.cs (2)
773compilation.VerifyDiagnostics(); // No errors, as in Dev10 1291c.VerifyDiagnostics();
Symbols\Metadata\PE\NoPia.cs (3)
1383compilationPIA.VerifyDiagnostics(); 1389compilationBase.VerifyDiagnostics(); 1420compilationDerived.VerifyDiagnostics();
Symbols\Metadata\PE\TypeForwarders.cs (7)
195compilation.VerifyDiagnostics(); 440compilation.VerifyDiagnostics(); 584compilation.VerifyDiagnostics(); 634CreateCompilation(csharp, new[] { ref1, ref2 }).VerifyDiagnostics(); 703CreateCompilation(csharp, new[] { ref1, ref2 }).VerifyDiagnostics(); 1937comp.VerifyDiagnostics(); 2001comp.VerifyDiagnostics();
Symbols\ModuleInitializers\ModuleInitializersTests.cs (9)
64compilation.VerifyDiagnostics(); 831comp1.VerifyDiagnostics(); 848comp2.VerifyDiagnostics(); 866comp3.VerifyDiagnostics(); 882comp4.VerifyDiagnostics(); 898comp5.VerifyDiagnostics(); 914comp6.VerifyDiagnostics(); 936comp7.VerifyDiagnostics(); 960comp8.VerifyDiagnostics();
Symbols\OverriddenOrHiddenMembersTests.cs (28)
998comp.VerifyDiagnostics(); 1067comp.VerifyDiagnostics(); 1255CreateCompilation(text1, references: refs, options: TestOptions.ReleaseDll).VerifyDiagnostics(); 1537CreateCompilationWithILAndMscorlib40(csharp, il).VerifyDiagnostics(); 1551CreateCompilation(text1, references: refs, options: TestOptions.ReleaseDll).VerifyDiagnostics(); 1819CreateCompilation(text).VerifyDiagnostics(); 1913comp.VerifyDiagnostics(); 1941comp.VerifyDiagnostics(); 1969comp.VerifyDiagnostics(); 2113CreateCompilation(text).VerifyDiagnostics(); 2906comp3.VerifyDiagnostics(); 2954comp3.VerifyDiagnostics(); 3002comp3.VerifyDiagnostics(); 3049comp3.VerifyDiagnostics(); 3096comp3.VerifyDiagnostics(); 3143comp3.VerifyDiagnostics(); 3217comp3.VerifyDiagnostics(); 3270comp3.VerifyDiagnostics(); 3626CreateCompilation(source).VerifyDiagnostics(); 4182var comp = CreateCompilation(code).VerifyDiagnostics(); 4209var comp = CreateCompilation(code).VerifyDiagnostics(); 4236var comp = CreateCompilation(code).VerifyDiagnostics(); 4262var comp = CreateCompilation(code).VerifyDiagnostics(); 4289var comp = CreateCompilation(code).VerifyDiagnostics(); 4316var comp = CreateCompilation(code).VerifyDiagnostics(); 4342var comp = CreateCompilation(code).VerifyDiagnostics(); 4376var comp = CreateCompilation(text).VerifyDiagnostics(); 4538var comp = CreateCompilation(code).VerifyDiagnostics();
Symbols\RequiredMembersTests.cs (36)
247comp.VerifyDiagnostics(); 377comp.VerifyDiagnostics(); 509baseComp.VerifyDiagnostics(); 551baseComp.VerifyDiagnostics(); 555derivedComp.VerifyDiagnostics(); 597baseComp.VerifyDiagnostics(); 649baseComp.VerifyDiagnostics(); 653derivedComp.VerifyDiagnostics(); 728baseComp.VerifyDiagnostics(); 800baseComp.VerifyDiagnostics(); 1332comp.VerifyDiagnostics(); 1489comp.VerifyDiagnostics(); 1514comp.VerifyDiagnostics(); 1569comp.VerifyDiagnostics(); 1632comp.VerifyDiagnostics(); 1637comp.VerifyDiagnostics(); 1897comp.VerifyDiagnostics(); 1962comp.VerifyDiagnostics(); 2277comp.VerifyDiagnostics(); 2313comp.VerifyDiagnostics(); 2382comp.VerifyDiagnostics(); 2388comp.VerifyDiagnostics(); 2570comp.VerifyDiagnostics(); 2767comp.VerifyDiagnostics(); 3285comp.VerifyDiagnostics(); 3414comp.VerifyDiagnostics(); 4126comp.VerifyDiagnostics(); 4209comp.VerifyDiagnostics( 4257comp.VerifyDiagnostics(); 4277comp.VerifyDiagnostics(); 4308comp.VerifyDiagnostics(); 4328comp.VerifyDiagnostics(); 4349comp.VerifyDiagnostics(); 6539comp.VerifyDiagnostics(); 6616comp.VerifyDiagnostics(); 7144comp.VerifyDiagnostics(
Symbols\Retargeting\NoPia.cs (6)
1406comp.VerifyDiagnostics(); 1452comp.VerifyDiagnostics(); 1491pia.VerifyDiagnostics(); 1774pia.VerifyDiagnostics(); 1827pia.VerifyDiagnostics(); 2671compilation2.VerifyDiagnostics();
Symbols\Retargeting\RetargetExplicitInterfaceImplementation.cs (1)
54comp1.VerifyDiagnostics();
Symbols\Retargeting\RetargetingTests.cs (11)
463comp.VerifyDiagnostics(); 666var compilation = CreateCompilation(code).VerifyDiagnostics(); 731comp1.VerifyDiagnostics(); 977originalComp.VerifyDiagnostics(); 983retargetedComp.VerifyDiagnostics(); 1049beforeRetargeting.VerifyDiagnostics(); 1060unmanagedCallersOnlyAssembly.VerifyDiagnostics(); 1063afterRetargeting.VerifyDiagnostics(); 1127beforeRetargeting.VerifyDiagnostics(); 1137unmanagedCallersOnlyAssembly.VerifyDiagnostics(); 1140afterRetargeting.VerifyDiagnostics();
Symbols\Source\BaseClassTests.cs (9)
742CreateCompilation(text).VerifyDiagnostics(); 755CreateCompilation(text).VerifyDiagnostics(); 771CreateCompilation(text).VerifyDiagnostics(); 806CreateCompilation(text).VerifyDiagnostics(); 824CreateCompilation(text).VerifyDiagnostics(); 859CreateCompilation(text).VerifyDiagnostics(); 880CreateCompilation(text).VerifyDiagnostics(); 1649compilation1.VerifyDiagnostics(); 1841compilation1.VerifyDiagnostics();
Symbols\Source\ClsComplianceTests.cs (31)
331CreateCompilation(source).VerifyDiagnostics(); 810CreateCompilation(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics(); 849CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(); 2111comp.VerifyDiagnostics(); 2129CreateCompilation(source).VerifyDiagnostics(); 2307CreateCompilation(source).VerifyDiagnostics(); 2353CreateCompilation(string.Format(sourceTemplate, "true", "true")).VerifyDiagnostics(); 2354CreateCompilation(string.Format(sourceTemplate, "false", "false")).VerifyDiagnostics(); 2360CreateCompilation(string.Format(sourceTemplate, "false", "true")).VerifyDiagnostics(); // No warnings, since false. 2371CreateCompilation("[assembly:System.CLSCompliant(true)]", new[] { trueModuleRef }).VerifyDiagnostics(); 2389CreateCompilation("[assembly:System.CLSCompliant(false)]", new[] { falseModuleRef }).VerifyDiagnostics(); //CONSIDER: dev11 reports WRN_CLS_NotOnModules (don't know why) 2390CreateCompilation("[assembly:System.CLSCompliant(false)]", new[] { noneModuleRef }).VerifyDiagnostics(); 2393CreateCompilation("", new[] { trueModuleRef }).VerifyDiagnostics(); 2394CreateCompilation("", new[] { falseModuleRef }).VerifyDiagnostics(); 2395CreateCompilation("", new[] { noneModuleRef }).VerifyDiagnostics(); 2406CreateCompilation("[assembly:System.CLSCompliant(true)]", new[] { trueModuleRef }).VerifyDiagnostics(); 2422CreateCompilation("[assembly:System.CLSCompliant(false)]", new[] { falseModuleRef }).VerifyDiagnostics(); //CONSIDER: dev11 reports WRN_CLS_NotOnModules (don't know why) 2423CreateCompilation("[assembly:System.CLSCompliant(false)]", new[] { noneModuleRef }).VerifyDiagnostics(); 2426CreateCompilation("", new[] { trueModuleRef }).VerifyDiagnostics(); 2427CreateCompilation("", new[] { falseModuleRef }).VerifyDiagnostics(); 2428CreateCompilation("", new[] { noneModuleRef }).VerifyDiagnostics(); 2763CreateCompilation(source).VerifyDiagnostics(); 2896CreateCompilation(source).VerifyDiagnostics(); 2915CreateCompilationWithMscorlib40AndSystemCore(source).VerifyDiagnostics(); 3066CreateCompilation(source).VerifyDiagnostics(); 3090CreateCompilation(source).VerifyDiagnostics(); 3108CreateCompilation(source).VerifyDiagnostics(); 3138CreateCompilation(source, new[] { moduleRef }).VerifyDiagnostics(); 3192comp.VerifyDiagnostics(); 3617CreateCompilation("[assembly:System.CLSCompliant(false)]" + source).VerifyDiagnostics(); 3918CreateCompilation(source).VerifyDiagnostics();
Symbols\Source\CustomModifierCopyTests.cs (31)
52comp.VerifyDiagnostics(); 95comp.VerifyDiagnostics(); 146comp.VerifyDiagnostics(); 195comp.VerifyDiagnostics(); 257comp.VerifyDiagnostics(); 521comp.VerifyDiagnostics(); 590comp.VerifyDiagnostics(); 635comp.VerifyDiagnostics(); 693comp.VerifyDiagnostics(); 726comp.VerifyDiagnostics(); 767comp.VerifyDiagnostics(); 806comp.VerifyDiagnostics(); 915comp.VerifyDiagnostics(); 959comp.VerifyDiagnostics(); 1003comp1.VerifyDiagnostics(); 1080comp4.VerifyDiagnostics(); 1133comp1.VerifyDiagnostics(); 1157comp2.VerifyDiagnostics(); 1171comp3.VerifyDiagnostics(); 1280comp1.VerifyDiagnostics(); 1396comp.VerifyDiagnostics(); 1436comp.VerifyDiagnostics(); 1481comp.VerifyDiagnostics(); 1525comp.VerifyDiagnostics(); 1580comp.VerifyDiagnostics(); 1634comp.VerifyDiagnostics(); 1684comp.VerifyDiagnostics(); 1769comp.VerifyDiagnostics(); 1886comp.VerifyDiagnostics(); 1983comp.VerifyDiagnostics(); 2085comp.VerifyDiagnostics();
Symbols\Source\DeclaringSyntaxNodeTests.cs (1)
737comp0.VerifyDiagnostics();
Symbols\Source\DelegateTests.cs (14)
58comp.VerifyDiagnostics(); 256CreateCompilation(text).VerifyDiagnostics(); 325CreateCompilation(text).VerifyDiagnostics(); 336comp.VerifyDiagnostics(); 379CreateCompilation(text).VerifyDiagnostics(); 390comp.VerifyDiagnostics(); 421comp.VerifyDiagnostics(); 452comp.VerifyDiagnostics(); 486comp.VerifyDiagnostics(); 701CreateCompilation(source).VerifyDiagnostics(); 732var comp = CreateCompilation(source).VerifyDiagnostics(); 777comp.VerifyDiagnostics(); 794comp.VerifyDiagnostics(); 823var compilation = CreateCompilationWithMscorlib461(new SyntaxTree[] { tree }).VerifyDiagnostics();
Symbols\Source\EnumTests.cs (5)
153comp.VerifyDiagnostics(); 163comp.VerifyDiagnostics(); 806CreateCompilation(text).VerifyDiagnostics(); // No Errors 879CreateCompilation(text).VerifyDiagnostics(); // No Errors 903CreateCompilation(text).VerifyDiagnostics(); // No Errors
Symbols\Source\EventTests.cs (5)
234CreateCompilation(text).VerifyDiagnostics(); 415var libComp = CreateCompilation(source: libText).VerifyDiagnostics(); 461libComp.VerifyDiagnostics(); 1903CreateCompilation(cSharpSource).VerifyDiagnostics(); 1928CreateCompilation(cSharpSource).VerifyDiagnostics();
Symbols\Source\ExpressionBodiedMethodTests.cs (10)
64comp.VerifyDiagnostics(); 155comp.VerifyDiagnostics(); 173comp.VerifyDiagnostics(); 185comp.VerifyDiagnostics(); 200comp.VerifyDiagnostics(); 228}").VerifyDiagnostics(); 238}").VerifyDiagnostics(); 278comp.VerifyDiagnostics(); 385comp.VerifyDiagnostics(); 398comp.VerifyDiagnostics();
Symbols\Source\ExpressionBodiedPropertyTests.cs (10)
27comp.VerifyDiagnostics(); 242comp.VerifyDiagnostics(); 255comp.VerifyDiagnostics(); 292}").VerifyDiagnostics(); 330}").VerifyDiagnostics(); 383comp.VerifyDiagnostics(); 501comp.VerifyDiagnostics(); 524comp.VerifyDiagnostics(); 551comp.VerifyDiagnostics(); 579comp.VerifyDiagnostics();
Symbols\Source\ExternAliasTests.cs (2)
102comp.VerifyDiagnostics(); 473comp.VerifyDiagnostics();
Symbols\Source\FieldTests.cs (4)
532var compilation = CreateCompilation(source).VerifyDiagnostics(); 545var compilation = CreateCompilation(source).VerifyDiagnostics(); 568comp.VerifyDiagnostics(); 589comp.VerifyDiagnostics();
Symbols\Source\FileModifierTests.cs (38)
42comp.VerifyDiagnostics(); 89comp.VerifyDiagnostics(); 170comp.VerifyDiagnostics(); 190comp.VerifyDiagnostics(); 885comp.VerifyDiagnostics(); 929comp.VerifyDiagnostics(); 967comp.VerifyDiagnostics(); 1034comp.VerifyDiagnostics(); 1348comp.VerifyDiagnostics(); 1414comp.VerifyDiagnostics(); 1476comp.VerifyDiagnostics(); 1729compilation.VerifyDiagnostics(); 2715comp.VerifyDiagnostics(); 2783comp.VerifyDiagnostics(); 2996comp.VerifyDiagnostics(); 3111comp.VerifyDiagnostics(); 3131comp.VerifyDiagnostics(); 3638compilation.VerifyDiagnostics(); 3770compilation.VerifyDiagnostics(); 3811compilation.VerifyDiagnostics(); 3854compilation.VerifyDiagnostics(); 4064comp.VerifyDiagnostics(); 4138comp.VerifyDiagnostics(); 4154comp2.VerifyDiagnostics(); 4173comp.VerifyDiagnostics(); 4185comp2.VerifyDiagnostics(); 4236comp.VerifyDiagnostics(); 4250comp2.VerifyDiagnostics(); 4280comp.VerifyDiagnostics(); 4331comp.VerifyDiagnostics(); 4356comp.VerifyDiagnostics(); 4405comp.VerifyDiagnostics(); 4450comp.VerifyDiagnostics(); 4473comp.VerifyDiagnostics(); 4503comp0.VerifyDiagnostics(); 4545comp0.VerifyDiagnostics(); 4706comp.VerifyDiagnostics(); 5073comp.VerifyDiagnostics();
Symbols\Source\MethodTests.cs (13)
1900comp.VerifyDiagnostics(); 1955comp.VerifyDiagnostics(); 1999comp.VerifyDiagnostics(); 2310var compilation = CreateCompilation(source).VerifyDiagnostics(); 2323var compilation = CreateCompilation(source).VerifyDiagnostics(); 2336var compilation = CreateCompilation(source).VerifyDiagnostics(); 2351var compilation = CreateCompilation(source).VerifyDiagnostics(); 2372var compilation = CreateCompilation(source).VerifyDiagnostics(); 2406comp.VerifyDiagnostics(); 2422comp.VerifyDiagnostics(); 2441comp.VerifyDiagnostics(); 2535comp.VerifyDiagnostics(); 2566comp.VerifyDiagnostics();
Symbols\Source\ModifierTests.cs (3)
150comp.VerifyDiagnostics(); 182}").VerifyDiagnostics(); 235}").VerifyDiagnostics();
Symbols\Source\NullablePublicAPITests.cs (65)
83comp.VerifyDiagnostics(); 465comp4.VerifyDiagnostics(); 470comp5.VerifyDiagnostics(); 474comp6.VerifyDiagnostics(); 1036comp1.VerifyDiagnostics(nullableEnabledErrors); 1040comp2.VerifyDiagnostics(nullableEnabledErrors); 1044comp3.VerifyDiagnostics(nullableDisabledErrors); 1051comp4.VerifyDiagnostics(); 1056comp5.VerifyDiagnostics(); 1060comp6.VerifyDiagnostics(); 1090comp.VerifyDiagnostics(); 1143comp.VerifyDiagnostics(); 1355comp.VerifyDiagnostics(); 1435comp.VerifyDiagnostics(); 1507comp.VerifyDiagnostics(); 1845comp.VerifyDiagnostics(); 1888comp.VerifyDiagnostics(); 1980comp.VerifyDiagnostics(); 2041comp.VerifyDiagnostics(); 2084comp.VerifyDiagnostics(); 2127comp.VerifyDiagnostics(); 2170comp.VerifyDiagnostics(); 2277comp.VerifyDiagnostics(); 2321comp.VerifyDiagnostics(); 2362comp.VerifyDiagnostics(); 2407comp.VerifyDiagnostics(); 2447comp.VerifyDiagnostics(); 2495comp.VerifyDiagnostics(); 2589comp.VerifyDiagnostics(); 2820comp.VerifyDiagnostics(); 2869comp.VerifyDiagnostics(); 2951comp.VerifyDiagnostics(); 2993comp.VerifyDiagnostics(); 3035comp.VerifyDiagnostics(); 3142comp.VerifyDiagnostics(); 3187comp.VerifyDiagnostics(); 3304comp.VerifyDiagnostics(); 3353comp.VerifyDiagnostics(); 3531comp.VerifyDiagnostics(); 3592comp.VerifyDiagnostics(); 3655comp.VerifyDiagnostics(); 3694comp.VerifyDiagnostics(); 3729comp.VerifyDiagnostics(); 3803comp.VerifyDiagnostics(); 3907comp.VerifyDiagnostics(); 4171comp.VerifyDiagnostics(); 4332comp.VerifyDiagnostics(); 4362comp.VerifyDiagnostics(); 4390comp.VerifyDiagnostics(); 4418comp.VerifyDiagnostics(); 4448comp.VerifyDiagnostics(); 4478comp.VerifyDiagnostics(); 4508comp.VerifyDiagnostics(); 4540comp.VerifyDiagnostics(); 4573comp.VerifyDiagnostics(); 4601comp.VerifyDiagnostics(); 4634comp.VerifyDiagnostics(); 4665comp.VerifyDiagnostics(); 4696comp.VerifyDiagnostics(); 4726comp.VerifyDiagnostics(); 4811comp.VerifyDiagnostics(); 4877comp.VerifyDiagnostics(); 4897comp.VerifyDiagnostics(); 5158comp.VerifyDiagnostics(); 5223comp.VerifyDiagnostics();
Symbols\Source\PropertyTests.cs (8)
33}").VerifyDiagnostics(); 47}").VerifyDiagnostics(); 282comp.VerifyDiagnostics(); 1357CreateCompilationWithILAndMscorlib40(cSharpSource, ilSource).VerifyDiagnostics(); 1447CreateCompilationWithILAndMscorlib40(cSharpSource, ilSource).VerifyDiagnostics(); 2854CreateCompilation(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp3)).VerifyDiagnostics(); 3012var compilation = CreateCompilation(source).VerifyDiagnostics(); 3025var compilation = CreateCompilation(source).VerifyDiagnostics();
Symbols\Source\RecordTests.cs (7)
30comp.VerifyDiagnostics(); 48comp.VerifyDiagnostics(); 148comp.VerifyDiagnostics(); 740comp.VerifyDiagnostics(); 793comp.VerifyDiagnostics(); 859comp.VerifyDiagnostics(); 871comp.VerifyDiagnostics();
Symbols\Source\UsingAliasTests.cs (3)
915CreateCompilation(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(); 955""").VerifyDiagnostics(); 971""").VerifyDiagnostics();
Symbols\StaticAbstractMembersInInterfacesTests.cs (58)
1016compilation1.VerifyDiagnostics(); 1058compilation1.VerifyDiagnostics(); 1323compilation1.VerifyDiagnostics(); 5051compilation1.VerifyDiagnostics(); 6382compilation2.VerifyDiagnostics(expected); 6389compilation2.VerifyDiagnostics(expected); 12255compilation2.VerifyDiagnostics(); 12562compilation2.VerifyDiagnostics(); 16181compilation1.VerifyDiagnostics(); 16297compilation1.VerifyDiagnostics(); 16662compilation1.VerifyDiagnostics(); 16750compilation1.VerifyDiagnostics(); 16842compilation1.VerifyDiagnostics(); 16924compilation1.VerifyDiagnostics(); 17006compilation1.VerifyDiagnostics(); 17077compilation1.VerifyDiagnostics(); 17151compilation1.VerifyDiagnostics(); 17238compilation1.VerifyDiagnostics(); 17328compilation1.VerifyDiagnostics(); 17434compilation1.VerifyDiagnostics(); 19909compilation1.VerifyDiagnostics(); 19981compilation1.VerifyDiagnostics(); 20066compilation1.VerifyDiagnostics(); 20146compilation1.VerifyDiagnostics(); 20274compilation1.VerifyDiagnostics(); 20409compilation1.VerifyDiagnostics(); 21274compilation1.VerifyDiagnostics(); 21334compilation1.VerifyDiagnostics(); 21437compilation1.VerifyDiagnostics(); 21557compilation1.VerifyDiagnostics(); 21679compilation1.VerifyDiagnostics(); 21788compilation1.VerifyDiagnostics(); 21890compilation1.VerifyDiagnostics(); 23199compilation1.VerifyDiagnostics(); 23378compilation1.VerifyDiagnostics(); 24760compilation1.VerifyDiagnostics(); 24875compilation1.VerifyDiagnostics(); 25002compilation1.VerifyDiagnostics(); 25073compilation1.VerifyDiagnostics(); 25886compilation1.VerifyDiagnostics(); 26070compilation1.VerifyDiagnostics(); 26422compilation4.VerifyDiagnostics(); 26696compilation4.VerifyDiagnostics(); 27425compilation1.VerifyDiagnostics(); 27540compilation1.VerifyDiagnostics(); 27668compilation1.VerifyDiagnostics(); 27739compilation1.VerifyDiagnostics(); 28873compilation1.VerifyDiagnostics(); 29013compilation1.VerifyDiagnostics(); 29498compilation1.VerifyDiagnostics(); 29614compilation1.VerifyDiagnostics(); 29720compilation1.VerifyDiagnostics(); 31703compilation0.VerifyDiagnostics(); 31776compilation0.VerifyDiagnostics(); 33069compilation1.VerifyDiagnostics(); 33136compilation1.VerifyDiagnostics(); 33203compilation1.VerifyDiagnostics(); 33270compilation1.VerifyDiagnostics();
Symbols\SymbolDistinguisherTests.cs (1)
739compilation1.VerifyDiagnostics();
Symbols\SymbolEqualityTests.cs (23)
36comp.VerifyDiagnostics(); 119comp.VerifyDiagnostics(); 160comp.VerifyDiagnostics(); 192comp.VerifyDiagnostics(); 223comp.VerifyDiagnostics(); 247comp.VerifyDiagnostics(); 283comp.VerifyDiagnostics(); 307comp.VerifyDiagnostics(); 330comp1.VerifyDiagnostics(); 342comp2.VerifyDiagnostics(); 374comp.VerifyDiagnostics(); 407comp.VerifyDiagnostics(); 445comp.VerifyDiagnostics(); 476comp.VerifyDiagnostics(); 519comp.VerifyDiagnostics(); 550comp.VerifyDiagnostics(); 586comp.VerifyDiagnostics(); 620comp.VerifyDiagnostics(); 669comp.VerifyDiagnostics(); 721comp.VerifyDiagnostics(); 771comp.VerifyDiagnostics(); 822comp.VerifyDiagnostics(); 930comp.VerifyDiagnostics();
Symbols\SymbolErrorTests.cs (39)
1375.VerifyDiagnostics(); 3043CreateCompilationWithMscorlib40AndSystemCore(source).VerifyDiagnostics(); 8433comp.VerifyDiagnostics(); 9956CreateCompilation(source).VerifyDiagnostics(); 9973").VerifyDiagnostics(); 11788CreateCompilation(text).VerifyDiagnostics(); 11801CreateCompilation(text).VerifyDiagnostics(); 13805comp.VerifyDiagnostics(); 13973CreateCompilation(csharp).VerifyDiagnostics(); 14621CreateCompilation(text).VerifyDiagnostics(); 15282CreateCompilationWithMscorlibAndSpanSrc(text).VerifyDiagnostics(); 16608CreateCompilation(text).VerifyDiagnostics(); 16642CreateCompilation(text).VerifyDiagnostics(); 16834CreateCompilationWithMscorlib40AndSystemCore(text).VerifyDiagnostics(); 17610comp.VerifyDiagnostics(); 17737var ref1 = CreateCompilation(sourceRef1, assemblyName: "Ref1").VerifyDiagnostics(); 17738var ref2 = CreateCompilation(sourceRef2, assemblyName: "Ref2").VerifyDiagnostics(); 17818var ref1 = CreateCompilation(sourceRef1, assemblyName: "Ref1").VerifyDiagnostics(); 17819var ref2 = CreateCompilation(sourceRef2, assemblyName: "Ref2").VerifyDiagnostics(); 18283CreateCompilationWithMscorlib40AndSystemCore(source).VerifyDiagnostics(); 18817comp.VerifyDiagnostics( 19168CreateCompilation(text).VerifyDiagnostics(); 19905CreateCompilation(string.Format(template, "int set_Item() { return 0; }")).VerifyDiagnostics(); 19948CreateCompilation(string.Format(template, "int set_P() { return 0; }")).VerifyDiagnostics(); 19963CreateCompilation(string.Format(template, "int Item() { return 0; }")).VerifyDiagnostics(); 19964CreateCompilation(string.Format(template, "int set_Item() { return 0; }")).VerifyDiagnostics(); 20369CreateCompilation(text).VerifyDiagnostics(); 20448CreateCompilation(source).VerifyDiagnostics(); 20714CreateCompilation(codeA, references: new MetadataReference[] { referenceB, referenceC }, assemblyName: "A").VerifyDiagnostics(); // No Errors 20880CreateCompilation(string.Empty, references: new MetadataReference[] { ilModule, dReference }).VerifyDiagnostics(); 21337comp.VerifyDiagnostics(); 21398comp.VerifyDiagnostics(); 21563comp1_v1.VerifyDiagnostics(); 21661comp1_v1.VerifyDiagnostics(); 21764comp1.VerifyDiagnostics(); 21833comp1.VerifyDiagnostics(); 21877comp1.VerifyDiagnostics(); 21927comp1.VerifyDiagnostics(); 21983comp1.VerifyDiagnostics();
Symbols\SymbolExtensionTests.cs (1)
54compilation.VerifyDiagnostics();
Symbols\TypeTests.cs (7)
765compilation1.VerifyDiagnostics(); 768compilation2.VerifyDiagnostics(); 833main2.VerifyDiagnostics(); 2315compilation.VerifyDiagnostics(); 2331compilation.VerifyDiagnostics(); 2345sourceComp.VerifyDiagnostics(); 2393metadataComp.VerifyDiagnostics();
Symbols\UnsignedRightShiftTests.cs (16)
2703compilation.VerifyDiagnostics(); 2729compilation.VerifyDiagnostics(); 2875compilation.VerifyDiagnostics(); 2901compilation.VerifyDiagnostics(); 3122compilation2.VerifyDiagnostics(); 3216compilation2.VerifyDiagnostics(); 3310compilation2.VerifyDiagnostics(); 3404compilation2.VerifyDiagnostics(); 3438compilation1.VerifyDiagnostics(); 3455compilation2.VerifyDiagnostics(); 3490compilation1.VerifyDiagnostics(); 3507compilation2.VerifyDiagnostics(); 3542compilation1.VerifyDiagnostics(); 3559compilation2.VerifyDiagnostics(); 3594compilation1.VerifyDiagnostics(); 3611compilation2.VerifyDiagnostics();
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (240)
Diagnostics\DiagnosticTest.cs (73)
572CreateCompilation(text, options: option).VerifyDiagnostics(); 641CreateCompilation(text, options: option).VerifyDiagnostics(); 644CreateCompilation(text, options: option).VerifyDiagnostics(); 647CreateCompilation(text, options: option).VerifyDiagnostics(); 688CreateCompilation(text, options: option).VerifyDiagnostics(); 691CreateCompilation(text, options: option).VerifyDiagnostics(); 694CreateCompilation(text, options: option).VerifyDiagnostics(); 745CreateCompilation(text, options: option).VerifyDiagnostics(); 748CreateCompilation(text, options: option).VerifyDiagnostics(); 751CreateCompilation(text, options: option).VerifyDiagnostics(); 801CreateCompilation(text, options: option).VerifyDiagnostics(); 804CreateCompilation(text, options: option).VerifyDiagnostics(); 807CreateCompilation(text, options: option).VerifyDiagnostics(); 857CreateCompilation(text, options: option).VerifyDiagnostics(); 860CreateCompilation(text, options: option).VerifyDiagnostics(); 863CreateCompilation(text, options: option).VerifyDiagnostics(); 915CreateCompilation(text, options: option).VerifyDiagnostics(); 918CreateCompilation(text, options: option).VerifyDiagnostics(); 921CreateCompilation(text, options: option).VerifyDiagnostics(); 973CreateCompilation(text, options: option).VerifyDiagnostics(); 976CreateCompilation(text, options: option).VerifyDiagnostics(); 979CreateCompilation(text, options: option).VerifyDiagnostics(); 1038CreateCompilation(text, options: option).VerifyDiagnostics(); 1041CreateCompilation(text, options: option).VerifyDiagnostics(); 1044CreateCompilation(text, options: option).VerifyDiagnostics(); 1114CreateCompilation(text, options: option).VerifyDiagnostics(); 1117CreateCompilation(text, options: option).VerifyDiagnostics(); 1120CreateCompilation(text, options: option).VerifyDiagnostics(); 1179CreateCompilation(text, options: option).VerifyDiagnostics(); 1182CreateCompilation(text, options: option).VerifyDiagnostics(); 1185CreateCompilation(text, options: option).VerifyDiagnostics(); 1232CreateCompilation(text, options: option).VerifyDiagnostics(); 1235CreateCompilation(text, options: option).VerifyDiagnostics(); 1238CreateCompilation(text, options: option).VerifyDiagnostics(); 1285CreateCompilation(text, options: option).VerifyDiagnostics(); 1288CreateCompilation(text, options: option).VerifyDiagnostics(); 1291CreateCompilation(text, options: option).VerifyDiagnostics(); 1339CreateCompilation(text, options: option).VerifyDiagnostics(); 1342CreateCompilation(text, options: option).VerifyDiagnostics(); 1345CreateCompilation(text, options: option).VerifyDiagnostics(); 1372CreateCompilation(text, options: commonoption).VerifyDiagnostics(); 1377CreateCompilation(text, options: option).VerifyDiagnostics(); 1380CreateCompilation(text, options: option).VerifyDiagnostics(); 1383CreateCompilation(text, options: option).VerifyDiagnostics(); 1386CreateCompilation(text, options: option).VerifyDiagnostics(); 1389CreateCompilation(text, options: option).VerifyDiagnostics(); 1440CreateCompilation(text, options: option).VerifyDiagnostics(); 1443CreateCompilation(text, options: option).VerifyDiagnostics(); 1446CreateCompilation(text, options: option).VerifyDiagnostics(); 1563CreateCompilation(text, options: option).VerifyDiagnostics(); 1669CreateCompilation(text, options: option).VerifyDiagnostics(); 1713CreateCompilation(text, options: option).VerifyDiagnostics(); 1736CreateCompilation(text, options: commonoption).VerifyDiagnostics(); 1741CreateCompilation(text, options: option).VerifyDiagnostics(); 1744CreateCompilation(text, options: option).VerifyDiagnostics(); 1790CreateCompilation(text, options: option).VerifyDiagnostics(); 1979CreateCompilation(text, options: commonoption).VerifyDiagnostics(); 2140CreateCompilation(text1, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(expected1); 2141CreateCompilation(text1).VerifyDiagnostics(expected1); 2145CreateCompilation(text1, parseOptions: TestOptions.Regular7_3, options: options).VerifyDiagnostics(); 2146CreateCompilation(text1, options: options).VerifyDiagnostics(); 2152CreateCompilation(text2, parseOptions: TestOptions.Regular7_3, options: options).VerifyDiagnostics(expected1); 2153CreateCompilation(text2, options: options).VerifyDiagnostics(expected1); 2159CreateCompilation(text3, parseOptions: TestOptions.Regular7_3, options: options).VerifyDiagnostics(expected1); 2160CreateCompilation(text3, options: options).VerifyDiagnostics(expected1); 2173CreateCompilation(text4, parseOptions: TestOptions.Regular7_3, options: options).VerifyDiagnostics(expected2); 2174CreateCompilation(text4, options: options).VerifyDiagnostics(expected2); 2180CreateCompilation(text5, parseOptions: TestOptions.Regular7_3, options: options).VerifyDiagnostics(expected2); 2181CreateCompilation(text5, options: options).VerifyDiagnostics(expected2); 2310CreateCompilation(text, options: commonoption).VerifyDiagnostics(); 2332CreateCompilation(text, options: commonoption).VerifyDiagnostics(); 2463compilation.VerifyDiagnostics(expected); 2724compilation.VerifyDiagnostics();
LexicalAndXml\LexicalErrorTests.cs (31)
975CreateCompilation(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(); 976CreateCompilation(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(); 998CreateCompilation(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(); 1020CreateCompilation(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(); 1043CreateCompilation(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(); 1065CreateCompilation(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(); 1088CreateCompilation(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(); 1112CreateCompilation(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(); 1135CreateCompilation(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(); 1158CreateCompilation(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(); 1181CreateCompilation(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(); 1370CreateCompilation(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(); 1371CreateCompilation(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(); 1393CreateCompilation(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(); 1439CreateCompilation(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(); 1440CreateCompilation(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(); 1462CreateCompilation(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(); 1512CreateCompilation(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(); 1534CreateCompilation(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(); 1588CreateCompilation(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(); 1612CreateCompilation(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(); 1637CreateCompilation(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(); 1687CreateCompilation(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(); 1741CreateCompilation(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(); 1766CreateCompilation(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(); 1822CreateCompilation(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(); 1848CreateCompilation(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(); 1955CreateCompilation(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(); 1974CreateCompilation(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(); 1975CreateCompilation(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(); 1998CreateCompilation(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
Parsing\CollectionExpressionParsingTests.cs (1)
18615""").VerifyDiagnostics();
Parsing\DeconstructionTests.cs (2)
2104CreateCompilation(source, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(); 2160CreateCompilation(source).VerifyDiagnostics(
Parsing\ExpressionParsingTests.cs (2)
241}}", parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp8)).VerifyDiagnostics(); 316}}", parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp8)).VerifyDiagnostics();
Parsing\FileModifierParsingTests.cs (1)
38comp.VerifyDiagnostics(expectedBindingDiagnostics);
Parsing\ParserErrorMessageTests.cs (4)
3647CreateCompilationWithMscorlib40AndSystemCore(test).VerifyDiagnostics(); 5445CreateCompilation(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics(); 5551CreateCompilation(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics(); 6209CreateCompilation(text, parseOptions: TestOptions.Regular4).VerifyDiagnostics();
Parsing\PatternParsingTests.cs (1)
85CreateCompilation(test).VerifyDiagnostics();
Parsing\RawInterpolatedStringLiteralCompilingTests.cs (24)
56CreateCompilation(text).VerifyDiagnostics(expected); 86}", parseOptions: TestOptions.Regular11).VerifyDiagnostics(); 96}").VerifyDiagnostics(); 106}").VerifyDiagnostics(); 116}").VerifyDiagnostics(); 126}").VerifyDiagnostics(); 137}").VerifyDiagnostics(); 148}").VerifyDiagnostics(); 158}").VerifyDiagnostics(); 176}").VerifyDiagnostics(); 193}").VerifyDiagnostics(); 210}").VerifyDiagnostics(); 243}").VerifyDiagnostics(); 256}").VerifyDiagnostics(); 271}").VerifyDiagnostics(); 309}").VerifyDiagnostics(); 324}").VerifyDiagnostics(); 341}").VerifyDiagnostics(); 392}").VerifyDiagnostics(); 408}").VerifyDiagnostics(); 425}").VerifyDiagnostics(); 439}").VerifyDiagnostics(); 470}").VerifyDiagnostics(); 480}").VerifyDiagnostics();
Parsing\RawInterpolatedStringLiteralParsingTests.cs (60)
26CreateCompilation(text).VerifyDiagnostics(); 77CreateCompilation(text).VerifyDiagnostics(); 92CreateCompilation(text).VerifyDiagnostics(); 107CreateCompilation(text).VerifyDiagnostics(); 122CreateCompilation(text).VerifyDiagnostics(); 137CreateCompilation(text).VerifyDiagnostics(); 152CreateCompilation(text).VerifyDiagnostics(); 275CreateCompilation(text).VerifyDiagnostics(); 290CreateCompilation(text).VerifyDiagnostics(); 305CreateCompilation(text).VerifyDiagnostics(); 320CreateCompilation(text).VerifyDiagnostics(); 335CreateCompilation(text).VerifyDiagnostics(); 351CreateCompilation(text).VerifyDiagnostics(); 366CreateCompilation(text).VerifyDiagnostics(); 381CreateCompilation(text).VerifyDiagnostics(); 396CreateCompilation(text).VerifyDiagnostics(); 411CreateCompilation(text).VerifyDiagnostics(); 427CreateCompilation(text).VerifyDiagnostics(); 444CreateCompilation(text).VerifyDiagnostics(); 459CreateCompilation(text).VerifyDiagnostics(); 476CreateCompilation(text).VerifyDiagnostics(); 511CreateCompilation(text).VerifyDiagnostics(); 526CreateCompilation(text).VerifyDiagnostics(); 541CreateCompilation(text).VerifyDiagnostics(); 557CreateCompilation(text).VerifyDiagnostics(); 574CreateCompilation(text).VerifyDiagnostics(); 589CreateCompilation(text).VerifyDiagnostics(); 604CreateCompilation(text).VerifyDiagnostics(); 619CreateCompilation(text).VerifyDiagnostics(); 634CreateCompilation(text).VerifyDiagnostics(); 649CreateCompilation(text).VerifyDiagnostics(); 664CreateCompilation(text).VerifyDiagnostics(); 679CreateCompilation(text).VerifyDiagnostics(); 694CreateCompilation(text).VerifyDiagnostics(); 709CreateCompilation(text).VerifyDiagnostics(); 724CreateCompilation(text).VerifyDiagnostics(); 739CreateCompilation(text).VerifyDiagnostics(); 754CreateCompilation(text).VerifyDiagnostics(); 769CreateCompilation(text).VerifyDiagnostics(); 784CreateCompilation(text).VerifyDiagnostics(); 799CreateCompilation(text).VerifyDiagnostics(); 814CreateCompilation(text).VerifyDiagnostics(); 829CreateCompilation(text).VerifyDiagnostics(); 844CreateCompilation(text).VerifyDiagnostics(); 859CreateCompilation(text).VerifyDiagnostics(); 874CreateCompilation(text).VerifyDiagnostics(); 889CreateCompilation(text).VerifyDiagnostics(); 904CreateCompilation(text).VerifyDiagnostics(); 919CreateCompilation(text).VerifyDiagnostics(); 934CreateCompilation(text).VerifyDiagnostics(); 949CreateCompilation(text).VerifyDiagnostics(); 964CreateCompilation(text).VerifyDiagnostics(); 979CreateCompilation(text).VerifyDiagnostics(); 994CreateCompilation(text).VerifyDiagnostics(); 1009CreateCompilation(text).VerifyDiagnostics(); 1024CreateCompilation(text).VerifyDiagnostics(); 1039CreateCompilation(text).VerifyDiagnostics(); 1054CreateCompilation(text).VerifyDiagnostics(); 1069CreateCompilation(text).VerifyDiagnostics(); 1084CreateCompilation(text).VerifyDiagnostics();
Parsing\RawStringLiteralCompilingTests.cs (21)
45}").VerifyDiagnostics(); 55}").VerifyDiagnostics(); 65}").VerifyDiagnostics(); 76}").VerifyDiagnostics(); 86}").VerifyDiagnostics(); 104}").VerifyDiagnostics(); 121}").VerifyDiagnostics(); 138}").VerifyDiagnostics(); 171}").VerifyDiagnostics(); 184}").VerifyDiagnostics(); 199}").VerifyDiagnostics(); 237}").VerifyDiagnostics(); 252}").VerifyDiagnostics(); 269}").VerifyDiagnostics(); 282}").VerifyDiagnostics(); 317}").VerifyDiagnostics(); 333}").VerifyDiagnostics(); 350}").VerifyDiagnostics(); 364}").VerifyDiagnostics(); 395}").VerifyDiagnostics(); 482}").VerifyDiagnostics();
Parsing\ReadOnlyStructs.cs (4)
41comp.VerifyDiagnostics( 150comp.VerifyDiagnostics( 183comp.VerifyDiagnostics( 217comp.VerifyDiagnostics(
Parsing\RecordParsing.cs (2)
2727CreateCompilation(text, parseOptions: TestOptions.Regular10).VerifyDiagnostics(); 2731CreateCompilation(text, parseOptions: TestOptions.Regular10).VerifyDiagnostics();
Parsing\RefStructs.cs (3)
39comp.VerifyDiagnostics(); 133comp.VerifyDiagnostics(); 214comp.VerifyDiagnostics();
Parsing\UsingDirectiveParsingTests.cs (5)
2173CreateCompilation(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(); 2586CreateCompilation(text).VerifyDiagnostics(); 2683CreateCompilation(text).VerifyDiagnostics(); 2828CreateCompilation(text).VerifyDiagnostics(); 3056CreateCompilation(text).VerifyDiagnostics();
Syntax\SyntaxTreeTests.cs (6)
364CreateCompilation(test, parseOptions: TestOptions.Regular9).VerifyDiagnostics( 433CreateCompilation(test, parseOptions: TestOptions.Regular9).VerifyDiagnostics( 506CreateCompilation(test, parseOptions: TestOptions.Regular9).VerifyDiagnostics( 577CreateCompilation(test, parseOptions: TestOptions.Regular9).VerifyDiagnostics( 658CreateCompilation(test, parseOptions: TestOptions.Regular9).VerifyDiagnostics( 746CreateCompilation(test, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
Microsoft.CodeAnalysis.CSharp.Test.Utilities (7)
CSharpTestBase.cs (7)
2263reference.VerifyDiagnostics(); 2281reference.VerifyDiagnostics(); 2308var reference = CreateCompilation(TestSources.Index).VerifyDiagnostics(); 2319var reference = CreateCompilation(new[] { TestSources.Index, TestSources.Range }).VerifyDiagnostics(); 2330var reference = CreateCompilation(new[] { TestSources.Index, TestSources.Range, TestSources.Span }, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 2347var reference = CreateCompilation(new[] { TestSources.Span, TestSources.MemoryExtensions }, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 2365var reference = CreateCompilation(new[] { TestSources.Index, TestSources.Range, TestSources.Span, TestSources.MemoryExtensions }, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
Microsoft.CodeAnalysis.CSharp.WinRT.UnitTests (7)
CodeGen\WinRTCollectionTests.cs (2)
49comp.VerifyDiagnostics(); 7419comp.VerifyDiagnostics();
Metadata\WinMdEventTests.cs (5)
2840comp.VerifyDiagnostics(); 2915comp.VerifyDiagnostics(); 2959comp.VerifyDiagnostics(); 3094comp.VerifyDiagnostics(); 3557comp.VerifyDiagnostics();
Microsoft.CodeAnalysis.Rebuild.UnitTests (3)
CompilationOptionsReaderTests.cs (1)
31compilation.VerifyDiagnostics();
CSharpRebuildTests.cs (1)
25original.VerifyDiagnostics();
RoundTripUtil.cs (1)
74original.VerifyDiagnostics();
Microsoft.CodeAnalysis.UnitTests (6)
Analyzers\AnalyzerFileReferenceTests.cs (1)
489compilation.VerifyDiagnostics();
Symbols\DocumentationCommentIdTests.cs (5)
35comp.VerifyDiagnostics(); 66comp.VerifyDiagnostics(); 134""").VerifyDiagnostics(); 153""").VerifyDiagnostics(); 173var comp = CreateCSharpCompilation(text, compilationOptions: TestOptions.UnsafeDebugDll).VerifyDiagnostics();
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (1)
CommandLineTests.vb (1)
10853compilation.VerifyDiagnostics()
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (49)
Attributes\AssemblyAttributes.vb (3)
1640comp.VerifyDiagnostics() 1733comp.VerifyDiagnostics() 1743comp.VerifyDiagnostics()
Attributes\InternalsVisibleToAndStrongNameTests.vb (27)
83other.VerifyDiagnostics() 113comp.VerifyDiagnostics() 143comp.VerifyDiagnostics() 162other.VerifyDiagnostics() 181other.VerifyDiagnostics() 219comp.VerifyDiagnostics() 279comp.VerifyDiagnostics() 349other.VerifyDiagnostics() 368other.VerifyDiagnostics() 386c.VerifyDiagnostics() 560other.VerifyDiagnostics() 599c2.VerifyDiagnostics() 658c2.VerifyDiagnostics() 740other.VerifyDiagnostics() 756requestor.VerifyDiagnostics() 774other.VerifyDiagnostics() 813other.VerifyDiagnostics() 842other.VerifyDiagnostics() 879other.VerifyDiagnostics() 912other.VerifyDiagnostics() 946other.VerifyDiagnostics() 979other.VerifyDiagnostics() 1010other.VerifyDiagnostics() 1044giver.VerifyDiagnostics() 1394comp.VerifyDiagnostics() 2362other.VerifyDiagnostics() 2417other.VerifyDiagnostics()
Emit\DynamicAnalysis\DynamicInstrumentationTests.vb (2)
2343c.VerifyDiagnostics() 2380c.VerifyDiagnostics()
Emit\EditAndContinue\AssemblyReferencesTests.vb (13)
58lib0.VerifyDiagnostics() 60lib1.VerifyDiagnostics() 62lib2.VerifyDiagnostics() 159lib0.VerifyDiagnostics() 163lib1.VerifyDiagnostics() 167lib2.VerifyDiagnostics() 244lib0.VerifyDiagnostics() 248lib1.VerifyDiagnostics() 252lib2.VerifyDiagnostics() 320Dim lib01 = CreateCompilationWithMscorlib40({srcLib01}, assemblyName:="Lib", options:=s_signedDll).VerifyDiagnostics() 322Dim lib02 = CreateCompilationWithMscorlib40({srcLib02}, assemblyName:="Lib", options:=s_signedDll).VerifyDiagnostics() 324Dim lib11 = CreateCompilationWithMscorlib40({srcLib11}, assemblyName:="Lib", options:=s_signedDll).VerifyDiagnostics() 326Dim lib12 = CreateCompilationWithMscorlib40({srcLib12}, assemblyName:="Lib", options:=s_signedDll).VerifyDiagnostics()
Emit\EditAndContinue\EditAndContinuePdbTests.vb (1)
129compilation0.VerifyDiagnostics()
Emit\EntryPointTests.vb (2)
1360compilation.VerifyDiagnostics() 1382compilation.VerifyDiagnostics()
PDB\ChecksumTests.vb (1)
193comp.VerifyDiagnostics()
Microsoft.CodeAnalysis.VisualBasic.Scripting.UnitTests (3)
InteractiveSessionTests.vb (3)
125compilation1.VerifyDiagnostics() 133compilation2.VerifyDiagnostics() 147compilation3.VerifyDiagnostics()
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (40)
Compilation\CompilationAPITests.vb (21)
660comp.VerifyDiagnostics() 864netModule1.VerifyDiagnostics() 876netModule2.VerifyDiagnostics() 900assembly.VerifyDiagnostics() 2008compilation.VerifyDiagnostics() 2031compilation.VerifyDiagnostics() 2049compilation.VerifyDiagnostics() 2081c.VerifyDiagnostics() 2115).VerifyDiagnostics() 2124).VerifyDiagnostics() 2138compilation.VerifyDiagnostics() 2175compilation.VerifyDiagnostics() 2226compilation.VerifyDiagnostics() 2457c3.VerifyDiagnostics() 2458c1.VerifyDiagnostics() 2459c4.VerifyDiagnostics() 2460c2.VerifyDiagnostics() 2693compilation1.VerifyDiagnostics() 2698compilation2.VerifyDiagnostics() 2716compilation1.VerifyDiagnostics() 2721compilation2.VerifyDiagnostics()
Semantics\AccessCheckTests.vb (2)
566other.VerifyDiagnostics() 582c.VerifyDiagnostics()
Semantics\NativeIntegerTests.vb (1)
36comp.VerifyDiagnostics()
SourceGeneration\GeneratorDriverTests.vb (16)
320compilation.VerifyDiagnostics() 352compilation.VerifyDiagnostics() 381compilation.VerifyDiagnostics() 412compilation.VerifyDiagnostics() 442compilation.VerifyDiagnostics() 473compilation.VerifyDiagnostics() 502compilation.VerifyDiagnostics() 532compilation.VerifyDiagnostics() 562compilation.VerifyDiagnostics() 591compilation.VerifyDiagnostics() 641compilation.VerifyDiagnostics() 649compilation.VerifyDiagnostics() 657outputCompilation.VerifyDiagnostics() 666compilation.VerifyDiagnostics() 684outputCompilation.VerifyDiagnostics() 719outputCompilation.VerifyDiagnostics()
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (4)
SymbolsTests\ExtensionMethods\ExtensionMethodTests.vb (2)
2468s0.VerifyDiagnostics() 2476s1.VerifyDiagnostics()
UsedAssembliesTests.vb (2)
167comp2.VerifyDiagnostics() 459comp2.VerifyDiagnostics()