1574 references to CreateCompilationWithMscorlib461
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (237)
CodeGen\CodeGenAsyncLocalsTests.cs (2)
961var reference = CreateCompilationWithMscorlib461(source, references: new MetadataReference[] { SystemRef_v4_0_30319_17929 }).EmitToImageReference(); 962var comp = CreateCompilationWithMscorlib461("", new[] { reference }, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal));
CodeGen\CodeGenAsyncMainTests.cs (41)
369var taskCompilation = CreateCompilationWithMscorlib461(taskAssembly, options: TestOptions.DebugDll); 409var taskCompilation = CreateCompilationWithMscorlib461(taskAssembly, options: TestOptions.DebugDll); 449var c = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 467var c = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 489var c = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 508var c = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 526var c = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 544var c = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 566var c = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 584var c = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 601var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 623var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 645var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 667var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7)); 690var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7)); 712var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 789var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 809var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7)); 831var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 858var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7)); 883var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 903var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 923var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7)); 945var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7)); 967var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 987var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 1007var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7)); 1029var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7)); 1052var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 1074CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)).VerifyDiagnostics( 1095CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe).VerifyDiagnostics( 1116CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe).VerifyDiagnostics( 1142var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7)).VerifyDiagnostics(); 1164var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)).VerifyDiagnostics( 1192var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe).VerifyDiagnostics( 1220var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)).VerifyDiagnostics( 1246var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithMainTypeName("A")).VerifyDiagnostics( 1273var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseDebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7)).VerifyDiagnostics( 1310var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseDebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7)).VerifyDiagnostics( 1341var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe).VerifyDiagnostics( 1368var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithMainTypeName("A")).VerifyDiagnostics();
CodeGen\CodeGenAsyncMethodBuilderOverrideTests.cs (45)
116var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Regular9); 129compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Regular10); 226var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Regular10); 277var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.RegularPreview); 331var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.RegularPreview); 369var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.RegularPreview); 407var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.RegularPreview); 447var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.RegularPreview); 485var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.RegularPreview); 522var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Regular9); 535compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Regular10); 571var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.RegularPreview); 617var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.RegularPreview); 696var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.RegularPreview); 766var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Regular9); 787compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Regular10); 820var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Regular9); 842compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Regular10); 883var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.RegularPreview); 941var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.RegularPreview); 983var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.RegularPreview); 1027var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.RegularPreview); 1070var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.RegularPreview); 1110var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.RegularPreview); 1151var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.RegularPreview); 1192var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.RegularPreview); 1241var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.RegularPreview); 1285var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.RegularPreview); 1319var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.RegularPreview); 1349var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.RegularPreview); 1401var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.RegularPreview); 1442var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.RegularPreview); 1476var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.RegularPreview); 1504var compilation = CreateCompilationWithMscorlib461(source); 1538var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.RegularPreview); 1578var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.RegularPreview); 1618var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.RegularPreview); 1658var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.RegularPreview); 1702var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.RegularPreview); 1742var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.RegularPreview); 1782var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.RegularPreview); 1822var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.RegularPreview); 1862var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.RegularPreview); 1902var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.RegularPreview); 1942var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.RegularPreview);
CodeGen\CodeGenAsyncTests.cs (10)
29return CreateCompilationWithMscorlib461(source, options: options, references: references); 57var c = CreateCompilationWithMscorlib461(source); 3706var cB = CreateCompilationWithMscorlib461(libB); 3717var cT = CreateCompilationWithMscorlib461(libT, references: new[] { rB }); 3729var c = CreateCompilationWithMscorlib461(source, references: new[] { rT }); 4026var comp = CreateCompilationWithMscorlib461(source); 4504var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe); 4513var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe); 4523var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe); 4567var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe);
CodeGen\CodeGenDeconstructTests.cs (41)
5046var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 5119var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe, references: s_valueTupleRefs); 5137var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 5151var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 5197var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 5212var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 5321var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 5357var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 5371var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script.WithLanguageVersion(LanguageVersion.CSharp6), options: TestOptions.DebugExe, references: s_valueTupleRefs); 5391var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 5424var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 5459var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 5494var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 5525var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 5557var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 5582var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 5630var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 5671var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 5716var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 5758var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 5797var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 5847var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 6680var comp = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugDll); 6877var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 6896var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe); 6911var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 6946var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 8207var comp = CreateCompilationWithMscorlib461(source, references: s_valueTupleRefs, options: TestOptions.DebugExe); 8228var comp = CreateCompilationWithMscorlib461(source, references: s_valueTupleRefs, options: TestOptions.DebugDll); 8259var comp = CreateCompilationWithMscorlib461(source, references: s_valueTupleRefs, options: TestOptions.DebugDll); 8294var comp = CreateCompilationWithMscorlib461(source, references: s_valueTupleRefs, options: TestOptions.DebugDll); 8324var comp = CreateCompilationWithMscorlib461(source, references: s_valueTupleRefs, options: TestOptions.DebugDll); 8353var comp = CreateCompilationWithMscorlib461(source, references: s_valueTupleRefs, options: TestOptions.DebugDll); 8409var comp = CreateCompilationWithMscorlib461(source, references: s_valueTupleRefs, options: TestOptions.DebugDll); 8432var comp = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugDll); // no ValueTuple reference 8444var missing = CreateCompilationWithMscorlib461(missing_cs, options: TestOptions.DebugDll, assemblyName: "missing"); 8447var lib = CreateCompilationWithMscorlib461(lib_cs, references: new[] { missing.EmitToImageReference() }, options: TestOptions.DebugDll); 8461var comp = CreateCompilationWithMscorlib461(source, references: new[] { lib.EmitToImageReference() }, options: TestOptions.DebugDll); // no ValueTuple reference 8473var missing = CreateCompilationWithMscorlib461(missing_cs, options: TestOptions.DebugDll, assemblyName: "missing"); 8476var lib = CreateCompilationWithMscorlib461(lib_cs, references: new[] { missing.ToMetadataReference() }, options: TestOptions.DebugDll); 8490var comp = CreateCompilationWithMscorlib461(source, references: new[] { lib.ToMetadataReference() }, options: TestOptions.DebugDll); // no ValueTuple reference
CodeGen\CodeGenDynamicTests.cs (2)
41var unoptimizedCompilation = CreateCompilationWithMscorlib461(source, references, parseOptions: parseOptions, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All).WithAllowUnsafe(allowUnsafe)); 42var optimizedCompilation = CreateCompilationWithMscorlib461(source, references, parseOptions: parseOptions, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All).WithAllowUnsafe(allowUnsafe));
CodeGen\CodeGenExprLambdaTests.cs (4)
5945var compilation1 = CreateCompilationWithMscorlib461(source1); 5956var compilation2 = CreateCompilationWithMscorlib461(source2, references: new[] { reference1 }); 5992var compilation1 = CreateCompilationWithMscorlib461(source1); 6003var compilation2 = CreateCompilationWithMscorlib461(source2, references: new[] { reference1 });
CodeGen\CodeGenFieldInitTests.cs (1)
658var compilation = CreateCompilationWithMscorlib461(trees, options: TestOptions.ReleaseExe);
CodeGen\CodeGenInParametersTests.cs (6)
1157var comp = CreateCompilationWithMscorlib461(text, new[] { ValueTupleRef, SystemRuntimeFacadeRef }); 1209var comp = CreateCompilationWithMscorlib461(text, new[] { ValueTupleRef, SystemRuntimeFacadeRef }); 1234var comp = CreateCompilationWithMscorlib461(text, new[] { ValueTupleRef, SystemRuntimeFacadeRef }); 1267var comp = CreateCompilationWithMscorlib461(text, new[] { ValueTupleRef, SystemRuntimeFacadeRef }, options: TestOptions.UnsafeReleaseDll); 1300var comp = CreateCompilationWithMscorlib461(text, new[] { ValueTupleRef, SystemRuntimeFacadeRef }); 1419var comp = CreateCompilationWithMscorlib461(text, new[] { ValueTupleRef, SystemRuntimeFacadeRef });
CodeGen\CodeGenIterators.cs (1)
1939var comp = CreateCompilationWithMscorlib461(parsed);
CodeGen\CodeGenRefConditionalOperatorTests.cs (12)
529var comp = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe); 574var comp = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe); 601var comp = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe); 632var comp = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe); 666var comp = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7_1); 696var comp = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe); 727var comp = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe); 763var comp = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe); 800var comp = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe); 947var comp = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe); 972var comp = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe); 1198var comp = CreateCompilationWithMscorlib461(source, references: new[] { SystemRuntimeFacadeRef, ValueTupleRef }, options: TestOptions.ReleaseExe);
CodeGen\CodeGenRefReadonlyReturnTests.cs (15)
502var comp = CreateCompilationWithMscorlib461(text, new[] { ValueTupleRef, SystemRuntimeFacadeRef }); 542var comp = CreateCompilationWithMscorlib461(text, new[] { ValueTupleRef, SystemRuntimeFacadeRef }); 588var comp = CreateCompilationWithMscorlib461(text, new[] { ValueTupleRef, SystemRuntimeFacadeRef }); 632var comp = CreateCompilationWithMscorlib461(text, new[] { ValueTupleRef, SystemRuntimeFacadeRef }); 688var comp = CreateCompilationWithMscorlib461(text, new[] { ValueTupleRef, SystemRuntimeFacadeRef }, options: TestOptions.UnsafeReleaseDll); 746var comp = CreateCompilationWithMscorlib461(text, new[] { ValueTupleRef, SystemRuntimeFacadeRef }); 973var comp = CreateCompilationWithMscorlib461(text, new[] { ValueTupleRef, SystemRuntimeFacadeRef }, parseOptions: TestOptions.Regular10); 989comp = CreateCompilationWithMscorlib461(text, new[] { ValueTupleRef, SystemRuntimeFacadeRef }); 1017var comp = CreateCompilationWithMscorlib461(text, new[] { ValueTupleRef, SystemRuntimeFacadeRef }); 1044var comp = CreateCompilationWithMscorlib461(text, new[] { ValueTupleRef, SystemRuntimeFacadeRef }); 1074var comp = CreateCompilationWithMscorlib461(text, new[] { ValueTupleRef, SystemRuntimeFacadeRef }); 1100var comp = CreateCompilationWithMscorlib461(text, new[] { ValueTupleRef, SystemRuntimeFacadeRef }); 1124var comp = CreateCompilationWithMscorlib461(text, new[] { ValueTupleRef, SystemRuntimeFacadeRef }); 1151var comp = CreateCompilationWithMscorlib461(text, new[] { ValueTupleRef, SystemRuntimeFacadeRef }); 1179var comp = CreateCompilationWithMscorlib461(text, new[] { ValueTupleRef, SystemRuntimeFacadeRef });
CodeGen\CodeGenScriptTests.cs (10)
28CreateCompilationWithMscorlib461( 47CreateCompilationWithMscorlib461( 65CreateCompilationWithMscorlib461( 91CreateCompilationWithMscorlib461( 115var compilation = CreateCompilationWithMscorlib461( 140var compilation = CreateCompilationWithMscorlib461( 171var compilation = CreateCompilationWithMscorlib461( 199var compilation = CreateCompilationWithMscorlib461( 496var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe); 638var compilation = CreateCompilationWithMscorlib461(
CodeGen\CodeGenShortCircuitOperatorTests.cs (16)
2755var c = CreateCompilationWithMscorlib461(source, new[] { SystemRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929, CSharpRef }, TestOptions.ReleaseExe); 2824var c = CreateCompilationWithMscorlib461(source, new[] { SystemRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929, CSharpRef }, TestOptions.ReleaseExe); 2905var c = CreateCompilationWithMscorlib461(source, new[] { SystemRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929, CSharpRef }, TestOptions.ReleaseExe); 2975var c = CreateCompilationWithMscorlib461(source, new[] { SystemRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929, CSharpRef }, TestOptions.ReleaseExe); 3058var c = CreateCompilationWithMscorlib461(source, new[] { SystemRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929, CSharpRef }, TestOptions.ReleaseExe); 3141var c = CreateCompilationWithMscorlib461(source, new[] { SystemRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929, CSharpRef }, TestOptions.ReleaseExe); 3373var comp = CreateCompilationWithMscorlib461(source, references: new[] { CSharpRef }); 3422var comp = CreateCompilationWithMscorlib461(source, references: new[] { CSharpRef }, options: TestOptions.ReleaseExe); 4777var comp = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe); 5862var compilation = CreateCompilationWithMscorlib461( 6191var c = CreateCompilationWithMscorlib461(source, new[] { SystemRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929, CSharpRef }, TestOptions.ReleaseExe); 6228var c = CreateCompilationWithMscorlib461(source, new[] { SystemRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929, CSharpRef }, TestOptions.ReleaseExe); 6271var c = CreateCompilationWithMscorlib461(source, new[] { SystemRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929, CSharpRef }, TestOptions.ReleaseExe); 6307var c = CreateCompilationWithMscorlib461(source, new[] { SystemRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929, CSharpRef }, TestOptions.ReleaseExe); 6350var c = CreateCompilationWithMscorlib461(source, new[] { SystemRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929, CSharpRef }, TestOptions.ReleaseExe); 6385var c = CreateCompilationWithMscorlib461(source, new[] { SystemRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929, CSharpRef }, TestOptions.ReleaseExe);
CodeGen\CodeGenTests.cs (1)
7009var compilation = CreateCompilationWithMscorlib461(source: source, options: TestOptions.ReleaseExe.WithModuleName("MODULE"));
CodeGen\CodeGenTupleTest.cs (5)
13916var comp3 = CreateCompilationWithMscorlib461(source1, references: new[] { ValueTupleRef, SystemRuntimeFacadeRef, comp2CompilationRef }, 14081var comp3 = CreateCompilationWithMscorlib461(source1, references: (new[] { comp2CompilationRef }).Concat(s_valueTupleRefs), 19768var comp2 = CreateCompilationWithMscorlib461(source1 + trivial2uple); 19776var comp4 = CreateCompilationWithMscorlib461(source2, references: new[] { comp2.EmitToImageReference() }); 27616var compilation = CreateCompilationWithMscorlib461(source, null, TestOptions.UnsafeDebugExe);
CodeGen\GotoTest.cs (13)
932var compilation = CreateCompilationWithMscorlib461(source, references: new[] { SystemCoreRef }, parseOptions: TestOptions.Script, options: TestOptions.DebugExe); 947var compilation = CreateCompilationWithMscorlib461(source, references: new[] { SystemCoreRef }, parseOptions: TestOptions.Script, options: TestOptions.DebugExe); 983var compilation = CreateCompilationWithMscorlib461(source, references: new[] { SystemCoreRef }, parseOptions: TestOptions.Script, options: TestOptions.DebugExe); 1019var compilation = CreateCompilationWithMscorlib461(source, references: new[] { SystemCoreRef }, parseOptions: TestOptions.Script); 1039var compilation = CreateCompilationWithMscorlib461(source, references: new[] { SystemCoreRef }, parseOptions: TestOptions.Script); 1066var compilation = CreateCompilationWithMscorlib461(source, references: new[] { SystemCoreRef }, parseOptions: TestOptions.Script, options: TestOptions.DebugExe); 1086var compilation = CreateCompilationWithMscorlib461(source, references: new[] { SystemCoreRef }, parseOptions: TestOptions.Script, options: TestOptions.DebugExe); 1129var compilation = CreateCompilationWithMscorlib461(sourceB, options: options, parseOptions: TestOptions.Script); 1147var model = CreateCompilationWithMscorlib461(new[] { tree }).GetSemanticModel(tree, ignoreAccessibility: false); 1160var model = CreateCompilationWithMscorlib461(new[] { tree }).GetSemanticModel(tree, ignoreAccessibility: false); 1173var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script); 1188compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script); 1201compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script);
CodeGen\UnsafeTests.cs (3)
5413var missing = CreateCompilationWithMscorlib461(missing_cs, options: TestOptions.DebugDll, assemblyName: "missing"); 5424var lib = CreateCompilationWithMscorlib461(lib_cs, references: new[] { missing.EmitToImageReference() }, options: TestOptions.DebugDll); 5439var comp = CreateCompilationWithMscorlib461(source, references: new[] { lib.EmitToImageReference() }, options: TestOptions.UnsafeDebugDll);
Emit\EmitMetadataTests.cs (1)
894var comp = CreateCompilationWithMscorlib461(@"using System;
Emit\EntryPointTests.cs (7)
280var compilation = CreateCompilationWithMscorlib461( 371var compilation = CreateCompilationWithMscorlib461( 392var compilation = CreateCompilationWithMscorlib461( 725var compilation = CreateCompilationWithMscorlib461( 746var compilation = CreateCompilationWithMscorlib461( 780var compilation = CreateCompilationWithMscorlib461( 927var compilation = CreateCompilationWithMscorlib461(
PrivateProtected.cs (1)
786CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Regular7_2)
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (36)
Emit\EditAndContinue\EditAndContinueTests.cs (1)
341var compilation0 = CreateCompilationWithMscorlib461(source0, options: ComSafeDebugDll);
Emit\EditAndContinue\LocalSlotMappingTests.cs (1)
4079var compilation0 = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugDll);
PDB\PDBAsyncTests.cs (17)
70var compilation = CreateCompilationWithMscorlib461(text, options: TestOptions.DebugDll).VerifyDiagnostics(); 386var compilation = CreateCompilationWithMscorlib461(text, options: TestOptions.DebugDll).VerifyDiagnostics(); 543var compilation = CreateCompilationWithMscorlib461( 621var v = CompileAndVerify(CreateCompilationWithMscorlib461(text, options: TestOptions.DebugDll)); 759var v = CompileAndVerify(CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All)), symbolValidator: module => 847var v = CompileAndVerify(CreateCompilationWithMscorlib461(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)), symbolValidator: module => 952var v = CompileAndVerify(CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All)), symbolValidator: module => 1039var v = CompileAndVerify(CreateCompilationWithMscorlib461(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)), symbolValidator: module => 1155var v = CompileAndVerify(CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All)), symbolValidator: module => 1259var v = CompileAndVerify(CreateCompilationWithMscorlib461(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)), symbolValidator: module => 1366var v = CompileAndVerify(CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef, CSharpRef }, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)), symbolValidator: module => 1464var v = CompileAndVerify(CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef, CSharpRef }, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All)), symbolValidator: module => 1550var v = CompileAndVerify(CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef, CSharpRef }, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)), symbolValidator: module => 1658var v = CompileAndVerify(CreateCompilationWithMscorlib461(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)), symbolValidator: module => 1694var v = CompileAndVerify(CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef, CSharpRef }, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)), symbolValidator: module => 1948var v = CompileAndVerify(CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef, CSharpRef }, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)), symbolValidator: module => 2017var compilation = CreateCompilationWithMscorlib461(src, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
PDB\PDBTests.cs (12)
8074var comp = CreateCompilationWithMscorlib461(source); 8107var comp = CreateCompilationWithMscorlib461(@" 8154var comp = CreateCompilationWithMscorlib461(@" 8189var comp = CreateCompilationWithMscorlib461(@" 8219var comp = CreateCompilationWithMscorlib461(@" 8255var comp = CreateCompilationWithMscorlib461(@" 8292var comp = CreateCompilationWithMscorlib461(@" 8325var comp = CreateCompilationWithMscorlib461(@" 8407var c = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugDll, references: new[] { SystemCoreRef }); 8452var c = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugDll, references: new[] { SystemCoreRef }); 8507var c = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugDll, references: new[] { SystemCoreRef }); 8559var c = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugDll, references: new[] { SystemCoreRef });
PDB\PDBWinMdExpTests.cs (5)
27var compilation = CreateCompilationWithMscorlib461( 108var compilation = CreateCompilationWithMscorlib461( 155var compilation = CreateCompilationWithMscorlib461( 234var compilation = CreateCompilationWithMscorlib461( 270var compilation = CreateCompilationWithMscorlib461(
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (684)
Attributes\AttributeTests_CallerInfoAttributes.cs (14)
2529CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 2546CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 2677var compilation = CreateCompilationWithMscorlib461(source, new MetadataReference[] { SystemRef }, TestOptions.ReleaseExe); 2711var compilation = CreateCompilationWithMscorlib461(source, new MetadataReference[] { SystemRef }, TestOptions.ReleaseExe); 2755var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemRef }, TestOptions.ReleaseExe); 2785CreateCompilationWithMscorlib461(source, references: new MetadataReference[] { SystemRef }).VerifyDiagnostics( 2846var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe); 2926var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe); 2957var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe); 3046var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe); 3077var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe); 3170var compilation = CreateCompilationWithMscorlib461(source, new[] { libReference }, TestOptions.ReleaseExe); 3196CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 3224CreateCompilationWithMscorlib461(source).VerifyDiagnostics(
Attributes\AttributeTests_Dynamic.cs (14)
819var comp = CreateCompilationWithMscorlib461( 839CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script).VerifyDiagnostics( 851var comp = CreateCompilationWithMscorlib461( 871var comp = CreateCompilationWithMscorlib461(source: source, parseOptions: TestOptions.Script).VerifyDiagnostics( 886var comp = CreateCompilationWithMscorlib461( 908var comp = CreateCompilationWithMscorlib461( 930var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script).VerifyDiagnostics( 944var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script).VerifyDiagnostics( 1297CompileAndVerify(CreateCompilationWithMscorlib461( 1307var comp = CreateCompilationWithMscorlib461( 1333CreateCompilationWithMscorlib461(source: source, parseOptions: TestOptions.Script).VerifyDiagnostics( 1349CompileAndVerify(CreateCompilationWithMscorlib461( 1363CompileAndVerify(CreateCompilationWithMscorlib461( 1394CreateCompilationWithMscorlib461(source: source, parseOptions: new CSharpParseOptions(kind: sourceCodeKind, languageVersion: LanguageVersion.CSharp7_2)).VerifyDiagnostics(
Attributes\AttributeTests_Synthesized.cs (13)
483CompileAndVerify(CreateCompilationWithMscorlib461(source, options: options), symbolValidator: module => 541CompileAndVerify(CreateCompilationWithMscorlib461(source, options: options), symbolValidator: module => 579CompileAndVerify(CreateCompilationWithMscorlib461(source, options: options), symbolValidator: module => 622CompileAndVerify(CreateCompilationWithMscorlib461(source, options: options), symbolValidator: module => 1674CompileAndVerify(CreateCompilationWithMscorlib461(source, options: options), symbolValidator: module => 1717CompileAndVerify(CreateCompilationWithMscorlib461(source, options: options), symbolValidator: module => 1759CompileAndVerify(CreateCompilationWithMscorlib461(source, options: options), symbolValidator: module => 1800var reference = CreateCompilationWithMscorlib461(source, options: referenceOptions).EmitToImageReference(options: new EmitOptions(metadataOnly: true)); 1803var compilation = CreateCompilationWithMscorlib461("", new[] { reference }, options: options); 1840CompileAndVerify(CreateCompilationWithMscorlib461(source, options: options), symbolValidator: module => 1870CompileAndVerify(CreateCompilationWithMscorlib461(source, options: options), symbolValidator: module => 1899var reference = CreateCompilationWithMscorlib461(source, options: referenceOptions).EmitToImageReference(options: new EmitOptions(metadataOnly: true)); 1902var compilation = CreateCompilationWithMscorlib461("", new[] { reference }, options: options);
Attributes\AttributeTests_WellKnownAttributes.cs (2)
13123var source = CreateCompilationWithMscorlib461(@" 13239var source = CreateCompilationWithMscorlib461(@"
Attributes\InternalsVisibleToAndStrongNameTests.cs (2)
2085var comp1 = CreateCompilationWithMscorlib461(source1, options: TestOptions.SigningReleaseDll, assemblyName: "asm1", parseOptions: parseOptions); 2204var comp1 = CreateCompilationWithMscorlib461(source1, options: TestOptions.SigningReleaseDll, assemblyName: "asm1", parseOptions: parseOptions);
Diagnostics\CompilationEventTests.cs (5)
95CreateCompilationWithMscorlib461(source) 149var comp = CreateCompilationWithMscorlib461(source).WithEventQueue(q); 154comp = CreateCompilationWithMscorlib461(source).WithEventQueue(q); 164comp = CreateCompilationWithMscorlib461(source).WithEventQueue(q); 174comp = CreateCompilationWithMscorlib461(source).WithEventQueue(q);
Diagnostics\DiagnosticAnalyzerTests.AllInOne.cs (6)
42CreateCompilationWithMscorlib461(source).VerifyAnalyzerDiagnostics(new[] { analyzer }, options); 63CreateCompilationWithMscorlib461(source).VerifyAnalyzerDiagnostics(new[] { new CSharpTrackingDiagnosticAnalyzer() }); 82CreateCompilationWithMscorlib461(source).VerifyAnalyzerDiagnostics(new[] { new CSharpTrackingDiagnosticAnalyzer() }); 88var comp = CreateCompilationWithMscorlib461(@" 101var compilation = CreateCompilationWithMscorlib461(TestResource.AllInOneCSharpCode); 117var compilation = CreateCompilationWithMscorlib461(TestResource.AllInOneCSharpCode);
Diagnostics\DiagnosticAnalyzerTests.cs (74)
76CreateCompilationWithMscorlib461(source) 109CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 202CreateCompilationWithMscorlib461(source, options: options).VerifyDiagnostics( 228CreateCompilationWithMscorlib461(source) 288CreateCompilationWithMscorlib461(source, options: options) 322var comp = CreateCompilationWithMscorlib461("", options: options); 338comp = CreateCompilationWithMscorlib461("", options: options); 350comp = CreateCompilationWithMscorlib461("", options: options); 400var comp = CreateCompilationWithMscorlib461("", options: options); 405comp = CreateCompilationWithMscorlib461("", options: options); 411comp = CreateCompilationWithMscorlib461("", options: options); 418comp = CreateCompilationWithMscorlib461("", options: options); 425comp = CreateCompilationWithMscorlib461("", options: options); 432comp = CreateCompilationWithMscorlib461("", options: options); 452var comp = CreateCompilationWithMscorlib461("", options: options); 463comp = CreateCompilationWithMscorlib461("", options: options); 557CreateCompilationWithMscorlib461(noExecutableCodeSource) 577CreateCompilationWithMscorlib461(baseCtorSource) 597CreateCompilationWithMscorlib461(source) 620CreateCompilationWithMscorlib461(source) 640CreateCompilationWithMscorlib461(source) 683CreateCompilationWithMscorlib461(source) 701CreateCompilationWithMscorlib461(source) 850CSharpCompilation compilation = CreateCompilationWithMscorlib461(source); 910CSharpCompilation compilation = CreateCompilationWithMscorlib461(source); 970CreateCompilationWithMscorlib461(source) 988CreateCompilationWithMscorlib461(source) 999CreateCompilationWithMscorlib461(source) 1010var compilation = CreateCompilationWithMscorlib461(source1); 1011var anotherCompilation = CreateCompilationWithMscorlib461(source2); 1101var compilation = CreateCompilationWithMscorlib461(source1); 1135CreateCompilationWithMscorlib461(source) 1144CreateCompilationWithMscorlib461(source, options: options) 1153CreateCompilationWithMscorlib461(source, options: options) 1169CreateCompilationWithMscorlib461(source) 1188CreateCompilationWithMscorlib461(source) 1218CreateCompilationWithMscorlib461(source) 1232CreateCompilationWithMscorlib461(source) 1270CreateCompilationWithMscorlib461(source) 1365CreateCompilationWithMscorlib461(source) 1374var compilation = CreateCompilationWithMscorlib461(source); 1536var compilation = CreateCompilationWithMscorlib461(trees, new MetadataReference[] { SystemRef }); 1571var compilation = CreateCompilationWithMscorlib461(new[] { tree }, new MetadataReference[] { SystemRef }); 1614var compilation = CreateCompilationWithMscorlib461(new[] { tree1, tree2 }, new MetadataReference[] { SystemRef }); 1685CreateCompilationWithMscorlib461(source) 1911var compilation = CreateCompilationWithMscorlib461(new[] { tree1, tree2, tree3, tree4, tree5 }); 1944var compilation = CreateCompilationWithMscorlib461(new[] { tree }); 1965var compilation = CreateCompilationWithMscorlib461(new[] { tree }); 1988var compilation = CreateCompilationWithMscorlib461(new[] { tree }); 2009var compilation = CreateCompilationWithMscorlib461(new[] { tree }); 2034var compilation = CreateCompilationWithMscorlib461(new[] { tree }); 2054var compilation = CreateCompilationWithMscorlib461(new[] { tree }); 2073var compilation = CreateCompilationWithMscorlib461(new[] { tree }); 2096var compilation = CreateCompilationWithMscorlib461(new[] { tree }); 2117var compilation = CreateCompilationWithMscorlib461(new[] { tree }); 2143var compilation = CreateCompilationWithMscorlib461(new[] { tree }); 2176var compilation = CreateCompilationWithMscorlib461(new[] { tree }); 2241var compilation = CreateCompilationWithMscorlib461(new[] { tree }); 2533var compilation = CreateCompilationWithMscorlib461(new[] { tree }); 2562var compilation = CreateCompilationWithMscorlib461(new[] { tree }); 2590var compilation = CreateCompilationWithMscorlib461(new[] { tree }); 2608var compilation = CreateCompilationWithMscorlib461(new[] { tree }); 2626var compilation = CreateCompilationWithMscorlib461(new[] { tree }); 2654var compilation = CreateCompilationWithMscorlib461(new[] { tree }); 2671var compilation = CreateCompilationWithMscorlib461(source); 2850var compilation = CreateCompilationWithMscorlib461(new[] { tree }); 3371var compilation = CreateCompilationWithMscorlib461(new[] { tree1, tree2 }); 3414var compilation = CreateCompilationWithMscorlib461(new[] { tree1, tree2 }); 3467var compilation = CreateCompilationWithMscorlib461(new[] { tree1, tree2 }); 3518var compilation = CreateCompilationWithMscorlib461(new[] { tree1, tree2 }); 3592var compilation = CreateCompilationWithMscorlib461(new[] { tree }); 3622var compilation = CreateCompilationWithMscorlib461(new[] { tree }); 3643var compilation = CreateCompilationWithMscorlib461(new[] { tree }); 3915var compilation = CreateCompilationWithMscorlib461(new[] { tree });
Diagnostics\GetDiagnosticsTests.cs (10)
43var compilation = CreateCompilationWithMscorlib461(source); 78var compilation = CreateCompilationWithMscorlib461(source); 93var compilation = CreateCompilationWithMscorlib461(source); 117var compilation = CreateCompilationWithMscorlib461(source); 169var compilation = CreateCompilationWithMscorlib461(new[] { tree1, tree2 }).WithEventQueue(eventQueue); 218var compilation = CreateCompilationWithMscorlib461(new[] { tree1, tree2 }).WithEventQueue(eventQueue); 270var compilation = CreateCompilationWithMscorlib461(new[] { tree1, tree2 }).WithEventQueue(eventQueue); 321var compilation = CreateCompilationWithMscorlib461(new[] { tree }).WithEventQueue(eventQueue); 374var compilation = CreateCompilationWithMscorlib461(CSharpTestSource.None).WithEventQueue(new AsyncQueue<CompilationEvent>()); 397var compilation = CreateCompilationWithMscorlib461(string.Empty, parseOptions: new CSharpParseOptions().WithKind(SourceCodeKind.Interactive));
Diagnostics\OperationAnalyzerTests.cs (39)
46CreateCompilationWithMscorlib461(source) 108CreateCompilationWithMscorlib461(source) 139CreateCompilationWithMscorlib461(source) 187CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe) 215CreateCompilationWithMscorlib461(source) 278CreateCompilationWithMscorlib461(source) 345CreateCompilationWithMscorlib461(source) 422CreateCompilationWithMscorlib461(source) 494CreateCompilationWithMscorlib461(source) 549CreateCompilationWithMscorlib461(source) 720CreateCompilationWithMscorlib461(source) 785CreateCompilationWithMscorlib461(source) 825CreateCompilationWithMscorlib461(source) 866CreateCompilationWithMscorlib461(source) 928CreateCompilationWithMscorlib461(source) 977CreateCompilationWithMscorlib461(source) 1011CreateCompilationWithMscorlib461(source) 1076CreateCompilationWithMscorlib461(source) 1118CreateCompilationWithMscorlib461(source) 1154CreateCompilationWithMscorlib461(source) 1217CreateCompilationWithMscorlib461(source) 1242CreateCompilationWithMscorlib461(source) 1273CreateCompilationWithMscorlib461(source) 1297CreateCompilationWithMscorlib461(source) 1337CreateCompilationWithMscorlib461(source) 1386CreateCompilationWithMscorlib461(source, options: TestOptions.UnsafeReleaseDll) 1430CreateCompilationWithMscorlib461(source) 1479CreateCompilationWithMscorlib461(source) 1505CreateCompilationWithMscorlib461(source) 1564CreateCompilationWithMscorlib461(source) 1610CreateCompilationWithMscorlib461(source) 1638CreateCompilationWithMscorlib461(source) 1664CreateCompilationWithMscorlib461(source) 1704CreateCompilationWithMscorlib461(source) 1731CreateCompilationWithMscorlib461(source) 1780CreateCompilationWithMscorlib461(source) 1825CreateCompilationWithMscorlib461(source) 1871CreateCompilationWithMscorlib461(source) 1897CreateCompilationWithMscorlib461(source)
FlowAnalysis\FlowDiagnosticTests.cs (1)
2127CreateCompilationWithMscorlib461(program).VerifyEmitDiagnostics();
FlowAnalysis\FlowTests.cs (6)
5339CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 5371CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 5400CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 5429CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 5456CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 5557CreateCompilationWithMscorlib461(source).VerifyDiagnostics(
Semantics\OutVarTests.cs (355)
1968var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 2078var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 2189var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 2299var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 2388var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_1); 2609var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 2826var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 2944var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 2990var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 3034var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 3081var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 3128var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 3182var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 3284var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 3365var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 3417var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 3456var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 3497var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 3615var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 3806var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 3954var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 3995var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 4047var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 4093var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 4142var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 4198var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 4254var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 4336var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 4368var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 4458var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 4474compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_3); 4578var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 4614var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 4656var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 4741var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 4778var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 4884var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 5057var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 5101var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 5158var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 5253var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular); 5377var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 5487var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 5566var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 5570CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_2).VerifyDiagnostics( 5644var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 5677var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 5701var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 5744var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 5875var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular); 6025var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular); 6108var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular); 6142var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular); 6290var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 6528var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 6763var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 7027var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 7265var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 7509var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 7763var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 7823var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 7885var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 7951var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 8014var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 8079var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 8145var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 8200var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 8350var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 8482var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 8622var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 8754var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 8795var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 8858var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 8914var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 9033var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 9091compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_3); 9259var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 9321var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 9414var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 9491var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 9570var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 9634var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 9683var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 9750var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 9811var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 9876var compilation = CreateCompilationWithMscorlib461(source, references: new[] { ValueTupleRef, SystemRuntimeFacadeRef }, 9971var compilation = CreateCompilationWithMscorlib461(source, references: new[] { ValueTupleRef, SystemRuntimeFacadeRef }, 10050var compilation = CreateCompilationWithMscorlib461(source, references: new[] { ValueTupleRef, SystemRuntimeFacadeRef }, 10131var compilation = CreateCompilationWithMscorlib461(source, references: new[] { ValueTupleRef, SystemRuntimeFacadeRef }, 10201var compilation = CreateCompilationWithMscorlib461(source, references: new[] { ValueTupleRef, SystemRuntimeFacadeRef }, 10252var compilation = CreateCompilationWithMscorlib461(source, references: new[] { ValueTupleRef, SystemRuntimeFacadeRef }, 10318var compilation = CreateCompilationWithMscorlib461(source, references: new[] { ValueTupleRef, SystemRuntimeFacadeRef }, 10381var compilation = CreateCompilationWithMscorlib461(source, references: new[] { ValueTupleRef, SystemRuntimeFacadeRef }, 10445var compilation = CreateCompilationWithMscorlib461(source, references: new[] { ValueTupleRef, SystemRuntimeFacadeRef }, 10529var compilation = CreateCompilationWithMscorlib461(source, references: new[] { ValueTupleRef, SystemRuntimeFacadeRef }, 10686var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 10810var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 10851var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 10902var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 10953var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 11013var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 11150var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 11249var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 11325var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 11329CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_2).VerifyDiagnostics( 11396var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 11420var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 11463var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 11618var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 11932var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 12074var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 12084compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_3); 12224var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 12234compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_3); 12344var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 12404var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 12477var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 12622var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 12749var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 12762compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_3); 12847var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 12914var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 12954var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 13012var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 13052var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 13160var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 13287var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 13331var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 13382var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 13434var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 13577var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 13689var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 13730var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 13789var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 13841var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 14071var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 14252var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 14299var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 14348var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 14390var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 14432var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 14477var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 14519var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 14562var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 14609var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 14663var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 14722var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 14770var compilation = CreateCompilationWithMscorlib461(source, references: new[] { ValueTupleRef, SystemRuntimeFacadeRef }, 14820var compilation = CreateCompilationWithMscorlib461(source, references: new[] { ValueTupleRef, SystemRuntimeFacadeRef }, 14916var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 15084var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 15207var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 15251var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 15308var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 15364var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 15496var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 15709var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 15922var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 16055var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 16145var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 16237var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 16365var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 16488var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 16529var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 16581var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 16635var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 16692var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 16751var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 16812var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 16927var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 17043var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 17088var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 17142var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 17197var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 17312var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 17474var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 17524var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 20896var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 21006var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 21106var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 21203var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 21287var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 21339var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 21405var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 21564var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 21729var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 21919var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 22071var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 22166var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 22334var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular); 22500var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular); 22598var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 22711var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular); 22804var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 22886var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 22950var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular); 22988var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular); 23136var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 23220var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 23340var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 23385var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 23412var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 23471var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 23587var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 23681var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 23807var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 23925var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 24025var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 24153var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 24224var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 24314var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 24441var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 24472var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 24587var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 24839var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 25122var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 25210var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 25305var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 25451var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 25496var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 25543var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 25621var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 25668var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 25737var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 25801var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 25855var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 25958var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 26012var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 26098var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 26146var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 26199var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 26258var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 26341var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 26401var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 26482var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 26532var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 26626var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 26676var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 26766var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 26817var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 26867var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 26947var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 26998var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 27087var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 27141var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 27240var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 27294var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 27379var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 27437var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 27501var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 27614var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 27678var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 27772var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 27827var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 27891var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 28005var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 28069var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 28170var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 28229var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 28283var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 28380var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 28434var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 28517var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 28565var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 28620var compilation = CreateCompilationWithMscorlib461(source, references: new[] { ValueTupleRef, SystemRuntimeFacadeRef }, 28690var compilation = CreateCompilationWithMscorlib461(source, references: new[] { ValueTupleRef, SystemRuntimeFacadeRef }, 28789var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 28848var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 28940var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 28999var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 29080var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 29144var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 29211var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 29320var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 29387var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 29482var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 29532var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 29594var compilation = CreateCompilationWithMscorlib461(source, references: new[] { ValueTupleRef, SystemRuntimeFacadeRef }, 29679var compilation = CreateCompilationWithMscorlib461(source, references: new[] { ValueTupleRef, SystemRuntimeFacadeRef }, 29795var compilation = CreateCompilationWithMscorlib461(source, references: new[] { ValueTupleRef, SystemRuntimeFacadeRef }, 29880var compilation = CreateCompilationWithMscorlib461(source, references: new[] { ValueTupleRef, SystemRuntimeFacadeRef }, 29983var compilation = CreateCompilationWithMscorlib461(source, references: new[] { ValueTupleRef, SystemRuntimeFacadeRef }, 30051var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 30118var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 30223var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 30290var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 30377var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 30430var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 30471var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 30515var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 30560var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 30618var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 30675var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 30789var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 30846var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 30945var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 30998var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 31039var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 31083var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 31143var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 31210var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 31316var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 31383var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 31473var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 31526var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 31567var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 31611var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 31656var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 31700var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 31728var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 31787var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 31815var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 31880var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 31905var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 31966var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), 31995var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 32055var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 32099var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 32139var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 32179var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script, skipUsesIsNullable: true); 32219var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script, skipUsesIsNullable: true); 32259var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script, skipUsesIsNullable: true); 32278compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script, skipUsesIsNullable: true); 32314var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script, skipUsesIsNullable: true); 32331compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script, skipUsesIsNullable: true); 32368var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 32408var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 32496var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 32524var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 32552var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 32578var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 32610var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 32643var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 32784var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 32808var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 32837var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 32870var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 33485var comp = CreateCompilationWithMscorlib461(text); 33527var compilation = CreateCompilationWithMscorlib461(text); 33604var compilation = CreateCompilationWithMscorlib461(text); 33712var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 33810var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 33909var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 34007var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 34092var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 34148var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 34701var compilation = CreateCompilationWithMscorlib461(text); 34738var compilation = CreateCompilationWithMscorlib461(text); 34817var compilation = CreateCompilationWithMscorlib461(text); 34929var compilation = CreateCompilationWithMscorlib461(text); 34979var compilation = CreateCompilationWithMscorlib461(text); 35033var compilation = CreateCompilationWithMscorlib461(text); 35085var compilation = CreateCompilationWithMscorlib461(text); 35901var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 35905CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_2).VerifyDiagnostics(
Semantics\PatternMatchingTests.cs (10)
252var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe); 975var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe); 979CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_2).VerifyDiagnostics( 1013var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe); 1068var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe); 1072CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_2).VerifyDiagnostics( 1145var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe); 1163CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_2).VerifyDiagnostics( 6603var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe); 6607CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_2).VerifyDiagnostics(
Semantics\PatternMatchingTests_Global.cs (124)
53var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 100var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 175var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 222var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 286var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 345var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 399var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 497var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 551var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 632var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 674var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 722var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 781var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 859var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 919var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 995var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 1045var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 1127var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 1177var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 1255var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 1301var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 1351var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 1426var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 1477var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 1561var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 1615var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 1709var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 1763var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 1843var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 1898var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 1962var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 2069var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 2133var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 2220var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 2272var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 2336var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 2444var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 2508var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 2602var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 2656var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 2710var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 2802var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 2856var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 2934var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 2980var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 3032var compilation = CreateCompilationWithMscorlib461(source, references: new[] { ValueTupleRef, SystemRuntimeFacadeRef }, 3100var compilation = CreateCompilationWithMscorlib461(source, references: new[] { ValueTupleRef, SystemRuntimeFacadeRef }, 3192var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 3251var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 3338var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 3397var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 3473var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 3532var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 3599var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 3703var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 3770var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 3856var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 3915var compilation = CreateCompilationWithMscorlib461(source, references: new[] { ValueTupleRef, SystemRuntimeFacadeRef }, 4000var compilation = CreateCompilationWithMscorlib461(source, references: new[] { ValueTupleRef, SystemRuntimeFacadeRef }, 4113var compilation = CreateCompilationWithMscorlib461(source, references: new[] { ValueTupleRef, SystemRuntimeFacadeRef }, 4198var compilation = CreateCompilationWithMscorlib461(source, references: new[] { ValueTupleRef, SystemRuntimeFacadeRef }, 4294var compilation = CreateCompilationWithMscorlib461(source, references: new[] { ValueTupleRef, SystemRuntimeFacadeRef }, 4357var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 4424var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 4524var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 4591var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 4669var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 4713var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 4749var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 4788var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 4824var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 4877var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 4934var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 5043var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 5100var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 5190var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 5234var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 5270var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 5309var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 5364var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 5431var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 5549var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 5616var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 5719var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 5768var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 5804var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 5843var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 5884var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 5923var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 5949var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 6008var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 6036var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 6095var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 6121var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 6177var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), 6207var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 6260var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 6289var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 6317var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 6341var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 6370var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 6393var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 6487var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 6571var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 6679var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 6719var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 6746var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 6796var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 6906var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 7000var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 7120var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 7223var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 7323var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 7445var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 7504var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 7594var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 7703var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 7728var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 7837var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 8089var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 8366var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 8448var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 8543var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 8683var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script);
Semantics\PatternMatchingTests_Scope.cs (1)
4207var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe);
Semantics\PatternMatchingTests2.cs (2)
121var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithRecursivePatterns); 1152var compilation = CreateCompilationWithMscorlib461(source); // doesn't have ITuple
Semantics\PatternSwitchTests.cs (6)
2445var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe); 2510var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe); 2570var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe); 2626var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe); 2663var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe); 3205var compilation = CreateCompilationWithMscorlib461(
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (7)
IOperation\IOperationTests_ICoalesceOperation.cs (1)
1527var compilation = CreateCompilationWithMscorlib461(source);
IOperation\IOperationTests_ICompoundAssignmentOperation.cs (2)
44var compilation = CreateCompilationWithMscorlib461(new[] { syntaxTree }); 80var compilation = CreateCompilationWithMscorlib461(new[] { syntaxTree });
IOperation\IOperationTests_IConditionalAccessExpression.cs (1)
1191var compilation = CreateCompilationWithMscorlib461(source);
IOperation\IOperationTests_ILockStatement.cs (2)
1012var compilation = CreateCompilationWithMscorlib461(source); 1101var compilation = CreateCompilationWithMscorlib461(source);
IOperation\IOperationTests_IUsingStatement.cs (1)
4149var compilation = CreateCompilationWithMscorlib461(source);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (425)
Semantics\AwaitExpressionTests.cs (3)
155var comp = CreateCompilationWithMscorlib461(new SyntaxTree[] { tree }, new MetadataReference[] { SystemRef }); 214var comp = CreateCompilationWithMscorlib461(text, options: TestOptions.ReleaseDll); 242var comp = CreateCompilationWithMscorlib461(text, options: TestOptions.ReleaseDll);
Semantics\BindingAsyncTasklikeMoreTests.cs (25)
106var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe); 233var compilation = CreateCompilationWithMscorlib461(source); 322var compilation = CreateCompilationWithMscorlib461(source); 379var compilation = CreateCompilationWithMscorlib461(source); 431var compilation = CreateCompilationWithMscorlib461(source); 512var compilation = CreateCompilationWithMscorlib461(source); 591var compilation = CreateCompilationWithMscorlib461(source); 649var compilation = CreateCompilationWithMscorlib461(source, references: new MetadataReference[] { CSharpRef, SystemCoreRef }); 700var compilation = CreateCompilationWithMscorlib461(source); 740var compilation = CreateCompilationWithMscorlib461(source); 780var compilation = CreateCompilationWithMscorlib461(source); 808var compilation = CreateCompilationWithMscorlib461(source); 838var compilation = CreateCompilationWithMscorlib461(source); 916var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugDll); 1005var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugDll); 1090var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugDll); 1117var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.UnsafeDebugExe); 1167var compilation0 = CreateCompilationWithMscorlib461(source0); 1182var compilation = CreateCompilationWithMscorlib461(source, references: new[] { ref0 }); 1330var compilation0 = CreateCompilationWithMscorlib461(source0); 1345var compilation = CreateCompilationWithMscorlib461(source, references: new[] { ref0 }); 1404var compilation0 = CreateCompilationWithMscorlib461(source0); 1419var compilation = CreateCompilationWithMscorlib461(source, references: new[] { ref0 }); 1478var compilation0 = CreateCompilationWithMscorlib461(source0); 1493var compilation = CreateCompilationWithMscorlib461(source, references: new[] { ref0 });
Semantics\BindingAsyncTasklikeTests.cs (9)
34var compilation = CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 95CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 187var compilation = CreateCompilationWithMscorlib461(source); 309var compilation = CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 328CreateCompilationWithMscorlib461(source1).VerifyDiagnostics( 346CreateCompilationWithMscorlib461(source2).VerifyDiagnostics( 372CreateCompilationWithMscorlib461(source3).VerifyDiagnostics(); 424CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 446var comp = CreateCompilationWithMscorlib461(source);
Semantics\BindingAsyncTests.cs (123)
33var compilation = CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 54var compilation = CreateCompilationWithMscorlib461(new SyntaxTree[] { tree }).VerifyDiagnostics(); 83var compilation = CreateCompilationWithMscorlib461(new SyntaxTree[] { tree }).VerifyDiagnostics(); 98CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 110CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 129CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 146CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 157CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 168CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 179CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 189CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 199CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 209CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 239CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 286CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 328CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 358CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 412CreateCompilationWithMscorlib461(source, new MetadataReference[] { LinqAssemblyRef, SystemRef }).VerifyDiagnostics( 449CreateCompilationWithMscorlib461(source, new MetadataReference[] { LinqAssemblyRef, SystemRef }).VerifyDiagnostics(); 479CreateCompilationWithMscorlib461(source, new MetadataReference[] { LinqAssemblyRef, SystemRef }).VerifyDiagnostics( 512CreateCompilationWithMscorlib461(source, new MetadataReference[] { LinqAssemblyRef, SystemRef }).VerifyDiagnostics( 546CreateCompilationWithMscorlib461(source, new MetadataReference[] { LinqAssemblyRef, SystemRef }).VerifyDiagnostics( 580CreateCompilationWithMscorlib461(source, new MetadataReference[] { LinqAssemblyRef, SystemRef }).VerifyDiagnostics( 598CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 625CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 641CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 661CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 681CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 697CreateCompilationWithMscorlib461(source, null, TestOptions.UnsafeReleaseDll).VerifyDiagnostics( 716CreateCompilationWithMscorlib461(source, null, TestOptions.UnsafeReleaseDll).VerifyDiagnostics( 739CreateCompilationWithMscorlib461(source, null, TestOptions.UnsafeReleaseDll) 766CreateCompilationWithMscorlib461(source, null, TestOptions.UnsafeReleaseDll).VerifyDiagnostics( 788CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 807CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 826CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 851CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 876CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 906CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 938CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 985CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp5)).VerifyDiagnostics( 993CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp6)).VerifyDiagnostics(); 1017CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp5)).VerifyDiagnostics( 1022CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp6)).VerifyDiagnostics(); 1046CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 1099CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 1139CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 1167CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 1189CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 1214CreateCompilationWithMscorlib461(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics( 1253CreateCompilationWithMscorlib461(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics( 1297CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 1308CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Regular7).VerifyDiagnostics( 1342CreateCompilationWithMscorlib461(source, new MetadataReference[] { SystemRef, LinqAssemblyRef }).VerifyDiagnostics(); 1371CreateCompilationWithMscorlib461(source, new MetadataReference[] { SystemRef, LinqAssemblyRef }).VerifyDiagnostics(); 1399CreateCompilationWithMscorlib461(source, new MetadataReference[] { SystemRef, LinqAssemblyRef }).VerifyDiagnostics( 1431CreateCompilationWithMscorlib461(source, new MetadataReference[] { SystemRef, LinqAssemblyRef }).VerifyDiagnostics( 1466CreateCompilationWithMscorlib461(source, new MetadataReference[] { SystemRef, LinqAssemblyRef }).VerifyDiagnostics( 1502var c = CreateCompilationWithMscorlib461( 1543CreateCompilationWithMscorlib461( 1577CreateCompilationWithMscorlib461(source, new MetadataReference[] { SystemRef, LinqAssemblyRef }).VerifyDiagnostics( 1605CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 1653CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 1702CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 1742CreateCompilationWithMscorlib461(source, references: new MetadataReference[] { CSharpRef, SystemCoreRef }).VerifyDiagnostics( 1796CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 1851CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 1902CreateCompilationWithMscorlib461(source, references: new MetadataReference[] { CSharpRef, SystemCoreRef }).VerifyDiagnostics( 1957CreateCompilationWithMscorlib461(source, references: new MetadataReference[] { CSharpRef, SystemCoreRef }).VerifyDiagnostics( 2028CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 2152CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 2211CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 2277CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 2343CreateCompilationWithMscorlib461(source, references: new MetadataReference[] { CSharpRef, SystemCoreRef }).VerifyDiagnostics( 2391CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 2449CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 2481CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 2532CreateCompilationWithMscorlib461(source, references: new MetadataReference[] { CSharpRef, SystemCoreRef }).VerifyDiagnostics( 2583CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 2649CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 2690CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 2725CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 2763CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 2813CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 2855CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 2890CreateCompilationWithMscorlib461(source, references: new MetadataReference[] { CSharpRef, SystemCoreRef }).VerifyDiagnostics( 2932CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 2975CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 3009CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 3046CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 3094CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 3128CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 3144var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script); 3184CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 3200CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 3220CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 3241CreateCompilationWithMscorlib461(source).VerifyEmitDiagnostics( 3277CreateCompilationWithMscorlib461(source).VerifyEmitDiagnostics( 3299CreateCompilationWithMscorlib461(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics( 3326CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 3347CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 3369CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 3395CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 3416CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 3437CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 3459CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 3478CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 3500CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 3517CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)).VerifyDiagnostics( 3534var comp = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7)); 3561CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 3585CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 3609CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 3633CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 3659CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 3710CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 3726CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 3751CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 3777CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 3801CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 3821CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 3853CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 3895CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 3948var compilation = CreateCompilationWithMscorlib461(source, references: new[] { reference });
Semantics\BindingAwaitTests.cs (64)
48CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 71CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 125CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 173CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 220CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 257CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 283CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 339CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 395CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 456CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 501CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 545CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 582CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 616CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 655CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 690CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 736CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 783CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 821CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 860CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 903CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 947CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 992CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 1037CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 1085CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 1135CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 1186CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 1244CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 1302CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 1360CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 1403CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 1443CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 1514CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 1572CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 1663CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 1722CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 1790CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 1842CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 1896var compilation = CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 1953CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 1986CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 2021CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 2056CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 2092CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 2128CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 2167CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 2202CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 2237CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 2270CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 2305CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 2341CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 2382CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 2417CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 2452CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 2486CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 2519CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 2552CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 2596CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 2632CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 2667CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 2687CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 2726CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 2762var comp = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef, CSharpRef }, TestOptions.ReleaseExe); 2834var comp = CreateCompilationWithMscorlib461(source, new[] { Net40.References.SystemCore, Net40.References.MicrosoftCSharp }, TestOptions.ReleaseExe);
Semantics\BindingTests.cs (33)
1587CSharpCompilation comp1 = CreateCompilationWithMscorlib461(source1, assemblyName: "Pia948674_1"); 1595CSharpCompilation comp2 = CreateCompilationWithMscorlib461(source2, new MetadataReference[] { new CSharpCompilationReference(comp1, embedInteropTypes: true) }, assemblyName: "Bar948674_1"); 1606CSharpCompilation comp3 = CreateCompilationWithMscorlib461(source3, new MetadataReference[] { new CSharpCompilationReference(comp2), new CSharpCompilationReference(comp1, embedInteropTypes: true) }); 1614comp3 = CreateCompilationWithMscorlib461(source3, new MetadataReference[] { comp2.EmitToImageReference(), comp1.EmitToImageReference().WithEmbedInteropTypes(true) }); 1640CSharpCompilation comp1 = CreateCompilationWithMscorlib461(source1, assemblyName: "Pia948674_2"); 1648CSharpCompilation comp2 = CreateCompilationWithMscorlib461(source2, new MetadataReference[] { new CSharpCompilationReference(comp1, embedInteropTypes: true) }, assemblyName: "Bar948674_2"); 1659CSharpCompilation comp3 = CreateCompilationWithMscorlib461(source3, new MetadataReference[] { new CSharpCompilationReference(comp2), new CSharpCompilationReference(comp1, embedInteropTypes: true) }); 1670comp3 = CreateCompilationWithMscorlib461(source3, new MetadataReference[] { comp2.EmitToImageReference(), comp1.EmitToImageReference().WithEmbedInteropTypes(true) }); 1696CSharpCompilation comp1 = CreateCompilationWithMscorlib461(source1, assemblyName: "Pia948674_3"); 1704CSharpCompilation comp2 = CreateCompilationWithMscorlib461(source2, new MetadataReference[] { new CSharpCompilationReference(comp1, embedInteropTypes: true) }, assemblyName: "Bar948674_3"); 1713CSharpCompilation comp3 = CreateCompilationWithMscorlib461(source3, new MetadataReference[] { new CSharpCompilationReference(comp2), new CSharpCompilationReference(comp1, embedInteropTypes: true) }); 1721comp3 = CreateCompilationWithMscorlib461(source3, new MetadataReference[] { comp2.EmitToImageReference(), comp1.EmitToImageReference().WithEmbedInteropTypes(true) }); 1744CSharpCompilation comp1 = CreateCompilationWithMscorlib461(source1, assemblyName: "Pia948674_4"); 1752CSharpCompilation comp2 = CreateCompilationWithMscorlib461(source2, new MetadataReference[] { new CSharpCompilationReference(comp1, embedInteropTypes: true) }, assemblyName: "Bar948674_4"); 1761CSharpCompilation comp3 = CreateCompilationWithMscorlib461(source3, new MetadataReference[] { new CSharpCompilationReference(comp2), new CSharpCompilationReference(comp1, embedInteropTypes: true) }); 1772comp3 = CreateCompilationWithMscorlib461(source3, new MetadataReference[] { comp2.EmitToImageReference(), comp1.EmitToImageReference().WithEmbedInteropTypes(true) }); 2414CreateCompilationWithMscorlib461(text).VerifyDiagnostics(); 2439CreateCompilationWithMscorlib461(text, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics( 2444CreateCompilationWithMscorlib461(text).VerifyDiagnostics( 2477CreateCompilationWithMscorlib461(text).VerifyDiagnostics(); 2506CreateCompilationWithMscorlib461(text, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics( 2511CreateCompilationWithMscorlib461(text).VerifyDiagnostics( 3363var comp = CreateCompilationWithMscorlib461(source); 3425var comp = CreateCompilationWithMscorlib461(source); 3457var comp = CreateCompilationWithMscorlib461(source); 3490var comp = CreateCompilationWithMscorlib461(source); 3525var comp = CreateCompilationWithMscorlib461(source); 3557var comp = CreateCompilationWithMscorlib461(source); 3589var comp = CreateCompilationWithMscorlib461(source); 3619var comp = CreateCompilationWithMscorlib461(source); 3642CreateCompilationWithMscorlib461(code).VerifyDiagnostics( 3662CreateCompilationWithMscorlib461(code).VerifyDiagnostics( 3678CreateCompilationWithMscorlib461(code).VerifyDiagnostics(
Semantics\DynamicTests.cs (1)
3255CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugDll).VerifyEmitDiagnostics(
Semantics\ExpressionBodiedMemberTests.cs (8)
27var comp = CreateCompilationWithMscorlib461(@" 65var comp = CreateCompilationWithMscorlib461(@" 120var comp = CreateCompilationWithMscorlib461(new[] { tree }); 217var comp = CreateCompilationWithMscorlib461(@" 250var comp = CreateCompilationWithMscorlib461(@" 273var comp = CreateCompilationWithMscorlib461(@" 305var comp = CreateCompilationWithMscorlib461(@" 416var comp = CreateCompilationWithMscorlib461(@"
Semantics\FuzzTests.cs (1)
50var compilation = CreateCompilationWithMscorlib461(text);
Semantics\ImplicitlyTypedLocalsTests.cs (1)
55CreateCompilationWithMscorlib461(text, parseOptions: TestOptions.Script).VerifyDiagnostics(
Semantics\InheritanceBindingTests.cs (9)
1778CreateCompilationWithMscorlib461(text).VerifyDiagnostics( 1923CreateCompilationWithMscorlib461(text).VerifyDiagnostics( 1982CreateCompilationWithMscorlib461(text).VerifyDiagnostics( 2554CreateCompilationWithMscorlib461(text).VerifyDiagnostics( 2622CreateCompilationWithMscorlib461(text).VerifyDiagnostics( 2717CreateCompilationWithMscorlib461(text).VerifyDiagnostics( 2972CreateCompilationWithMscorlib461(text).VerifyDiagnostics( 3075CreateCompilationWithMscorlib461(text).VerifyDiagnostics( 3136CreateCompilationWithMscorlib461(text).VerifyDiagnostics(
Semantics\InterpolationTests.cs (14)
112CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 131CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 161CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 188CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 361CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 389CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 416CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 435CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 454CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 474CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 494CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 513CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 610CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 648CreateCompilationWithMscorlib461(source).VerifyDiagnostics(
Semantics\IteratorTests.cs (4)
442var comp = CreateCompilationWithMscorlib461(text, parseOptions: TestOptions.Script); 474var comp = CreateCompilationWithMscorlib461(text, parseOptions: TestOptions.Script); 605var comp = CreateCompilationWithMscorlib461(text); 639var comp = CreateCompilationWithMscorlib461(text);
Semantics\LambdaTests.cs (7)
1267CreateCompilationWithMscorlib461(text).VerifyDiagnostics(); 1288CreateCompilationWithMscorlib461(text).VerifyDiagnostics(); 1316CreateCompilationWithMscorlib461(text).VerifyDiagnostics(); 1339CreateCompilationWithMscorlib461(text).VerifyDiagnostics( 1369CreateCompilationWithMscorlib461(text).VerifyDiagnostics( 1414CreateCompilationWithMscorlib461(text).VerifyDiagnostics( 1974var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe);
Semantics\LocalFunctionTests.cs (5)
4090var comp = CreateCompilationWithMscorlib461(source, parseOptions: DefaultParseOptions); 4603var compilation = CreateCompilationWithMscorlib461(text); 4952var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 4986var comp = CreateCompilationWithMscorlib461(source, references: new[] { SystemCoreRef, CSharpRef }); 5011var comp = CreateCompilationWithMscorlib461(source, references: new[] { SystemCoreRef, CSharpRef });
Semantics\LookupTests.cs (2)
27var compilation = CreateCompilationWithMscorlib461(testSrc, parseOptions: parseOptions); 37var compilation = CreateCompilationWithMscorlib461(new[] { tree }, options: TestOptions.ReleaseDll.WithUsings(globalUsings));
Semantics\NameLengthTests.cs (1)
531var comp = CreateCompilationWithMscorlib461(source);
Semantics\NameOfTests.cs (7)
428CreateCompilationWithMscorlib461(source, references, options: option).VerifyDiagnostics( 1449var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe); 1463var compilation = CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 1505var compilation = CreateCompilationWithMscorlib461(source, null, TestOptions.UnsafeDebugExe); 1543var compilation = CreateCompilationWithMscorlib461(source, null, 1587var compilation = CreateCompilationWithMscorlib461(source, null, TestOptions.UnsafeDebugExe); 1619var compilation = CreateCompilationWithMscorlib461(source, null, TestOptions.UnsafeDebugExe);
Semantics\NullableReferenceTypesTests.cs (10)
3519CreateCompilationWithMscorlib461(text).VerifyDiagnostics( 8644var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Regular7); 8669var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Regular7); 61536var piaCompilation = CreateCompilationWithMscorlib461(pia, options: WithNullableEnable(TestOptions.DebugDll)); 61594var piaCompilation = CreateCompilationWithMscorlib461(pia, options: WithNullableEnable(TestOptions.DebugDll)); 76911var piaCompilation = CreateCompilationWithMscorlib461(pia, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7); 79018var comp = CreateCompilationWithMscorlib461(source, options: WithNullableEnable()); 160349var piaCompilation = CreateCompilationWithMscorlib461(pia, options: WithNullableEnable(TestOptions.DebugDll)); 160407var piaCompilation = CreateCompilationWithMscorlib461(pia, options: WithNullableEnable(TestOptions.DebugDll)); 160456var piaCompilation = CreateCompilationWithMscorlib461(pia, options: WithNullableEnable(TestOptions.DebugDll));
Semantics\OverloadResolutionTests.cs (21)
517CreateCompilationWithMscorlib461(source1).VerifyDiagnostics( 566CreateCompilationWithMscorlib461(source2).VerifyDiagnostics( 608var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.UnsafeDebugDll); 688var compilation = CreateCompilationWithMscorlib461(source, assemblyName: "comp"); 771var compilation = CreateCompilationWithMscorlib461(source, references: new[] { reference }); 801var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.UnsafeDebugDll); 842var compilation = CreateCompilationWithMscorlib461(source, references: new[] { reference }); 875var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular9); 929var compilation = CreateCompilationWithMscorlib461(source, references: new[] { reference }); 966var compilation = CreateCompilationWithMscorlib461(source); 1020var compilation = CreateCompilationWithMscorlib461(source); 1073var compilation = CreateCompilationWithMscorlib461(source); 7300CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 7329CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 7366CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 7396CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 7722var compilation = CreateCompilationWithMscorlib461(source1, options: TestOptions.ReleaseExe); 7755var compilation = CreateCompilationWithMscorlib461(source1, options: TestOptions.ReleaseExe); 7783var compilation = CreateCompilationWithMscorlib461(source1, options: TestOptions.ReleaseExe); 8968var compilation = CreateCompilationWithMscorlib461(source1); 9033var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe);
Semantics\RawInterpolationTests.cs (13)
108CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 126CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 157CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 184CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 411CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 440CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 467CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 485CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 504CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 523CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 541CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 632CreateCompilationWithMscorlib461(source).VerifyDiagnostics(); 663CreateCompilationWithMscorlib461(source).VerifyDiagnostics(
Semantics\RefFieldTests.cs (4)
4934var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion)); 4961var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion)); 4992var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Regular10); 4995comp = CreateCompilationWithMscorlib461(source);
Semantics\RefLocalsAndReturnsTests.cs (8)
2678var comp = CreateCompilationWithMscorlib461(text, parseOptions: options); 2720var comp = CreateCompilationWithMscorlib461(text, parseOptions: options); 2771CreateCompilationWithMscorlib461(text).VerifyDiagnostics( 3531CreateCompilationWithMscorlib461(code).VerifyEmitDiagnostics( 4446CreateCompilationWithMscorlib461(text).VerifyEmitDiagnostics( 4497CreateCompilationWithMscorlib461(code).VerifyEmitDiagnostics( 4510CreateCompilationWithMscorlib461(@" 4528CreateCompilationWithMscorlib461(@"
Semantics\ScriptSemanticsTests.cs (25)
235var compilation = CreateCompilationWithMscorlib461(test, parseOptions: TestOptions.Script); 265var compilation = CreateCompilationWithMscorlib461(new[] { tree }, options: TestOptions.ReleaseExe.WithScriptClassName("Script")); 288var compilation = CreateCompilationWithMscorlib461(new[] { tree }, options: TestOptions.ReleaseExe.WithScriptClassName("Script")); 445var compilation = CreateCompilationWithMscorlib461( 487var compilation = CreateCompilationWithMscorlib461( 520var model = CreateCompilationWithMscorlib461(new[] { tree }).GetSemanticModel(tree, ignoreAccessibility: false); 536var model = CreateCompilationWithMscorlib461(new[] { tree }).GetSemanticModel(tree, ignoreAccessibility: false); 627var compilation = CreateCompilationWithMscorlib461(new[] { Parse(source, options: TestOptions.Script) }); 640var compilation = CreateCompilationWithMscorlib461(new[] { Parse(source, options: TestOptions.Script) }); 652var compilation = CreateCompilationWithMscorlib461(new[] { Parse(source, options: TestOptions.Script) }); 1135var compilation = CreateCompilationWithMscorlib461(new[] { tree }); 1155var compilation = CreateCompilationWithMscorlib461(new[] { tree }); 1181var compilation = CreateCompilationWithMscorlib461(new[] { syntaxTree }); 1193compilation = CreateCompilationWithMscorlib461(new[] { syntaxTree }, options: TestOptions.ReleaseExe.WithScriptClassName("Script")); 1208compilation = CreateCompilationWithMscorlib461(new[] { syntaxTree }, options: TestOptions.ReleaseExe); 1217compilation = CreateCompilationWithMscorlib461(new[] { syntaxTree }, options: TestOptions.ReleaseExe.WithScriptClassName("Script")); 1226compilation = CreateCompilationWithMscorlib461(new[] { syntaxTree }, options: TestOptions.ReleaseExe.WithScriptClassName("")); 1238compilation = CreateCompilationWithMscorlib461(new[] { syntaxTree }, options: TestOptions.ReleaseExe.WithScriptClassName(null)); 1250compilation = CreateCompilationWithMscorlib461(new[] { syntaxTree }, options: TestOptions.ReleaseExe.WithScriptClassName("a\0b")); 1275var compilation = CreateCompilationWithMscorlib461(new[] { syntaxTree1, syntaxTree2 }); 1287compilation = CreateCompilationWithMscorlib461(new[] { syntaxTree2, syntaxTree1 }); 1308var compilation = CreateCompilationWithMscorlib461(new[] { syntaxTree }); 1322compilation = CreateCompilationWithMscorlib461(new[] { syntaxTree }, options: TestOptions.ReleaseExe.WithScriptClassName("Script1")); 1337compilation = CreateCompilationWithMscorlib461(new[] { syntaxTree }); 1352compilation = CreateCompilationWithMscorlib461(new[] { syntaxTree }, options: TestOptions.ReleaseExe.WithScriptClassName("Script1"));
Semantics\SemanticErrorTests.cs (24)
1384var comp = CreateCompilationWithMscorlib461( 3911CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 7306CreateCompilationWithMscorlib461(source).VerifyEmitDiagnostics( 11700CreateCompilationWithMscorlib461(@" 11876CreateCompilationWithMscorlib461(@" 12140CreateCompilationWithMscorlib461(@" 12187CreateCompilationWithMscorlib461(@" 12222CreateCompilationWithMscorlib461(@" 12254CreateCompilationWithMscorlib461(@" 12319CreateCompilationWithMscorlib461(@" 12329CreateCompilationWithMscorlib461(@" 12342CreateCompilationWithMscorlib461(@" 24096CreateCompilationWithMscorlib461(text).VerifyDiagnostics( 24164CreateCompilationWithMscorlib461(text).VerifyDiagnostics( 24203var compilation = CreateCompilationWithMscorlib461(text).VerifyDiagnostics( 24261CreateCompilationWithMscorlib461(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics( 24293CreateCompilationWithMscorlib461(text, new[] { NetFramework.System, NetFramework.SystemCore, NetFramework.MicrosoftCSharp }, options: TestOptions.ReleaseDll).VerifyDiagnostics( 24334CreateCompilationWithMscorlib461(text, new[] { NetFramework.System, NetFramework.SystemCore, NetFramework.MicrosoftCSharp }).VerifyDiagnostics( 24374CreateCompilationWithMscorlib461(text, new[] { NetFramework.System, NetFramework.SystemCore, NetFramework.MicrosoftCSharp }).VerifyDiagnostics( 24402CreateCompilationWithMscorlib461(text, new[] { NetFramework.System, NetFramework.SystemCore, NetFramework.MicrosoftCSharp }).VerifyDiagnostics( 24556CreateCompilationWithMscorlib461(text, 24590CreateCompilationWithMscorlib461(text, 24615CreateCompilationWithMscorlib461(text, options: TestOptions.ReleaseDll).VerifyDiagnostics( 24661CreateCompilationWithMscorlib461(text, options: TestOptions.ReleaseDll).VerifyDiagnostics(
Semantics\SwitchTests.cs (1)
2395CreateCompilationWithMscorlib461(source, references: new[] { SystemCoreRef }, parseOptions: TestOptions.Script).VerifyDiagnostics(
Semantics\TypeOfTests.cs (1)
30var compilation = CreateCompilationWithMscorlib461(source);
Semantics\UnsafeTests.cs (1)
76var comp2 = CreateCompilationWithMscorlib461(text2,
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (170)
Compilation\CompilationAPITests.cs (3)
1768var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Script); 1789var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script); 3387var compilation = CreateCompilationWithMscorlib461(@"
Compilation\GetUnusedImportDirectivesTests.cs (1)
399var comp = CreateCompilationWithMscorlib461(new[] { tree });
Compilation\LoadDirectiveTests.cs (8)
22var compilation = CreateCompilationWithMscorlib461(code, options: options, parseOptions: TestOptions.Script); 35var compilation = CreateCompilationWithMscorlib461(code, options: options, parseOptions: TestOptions.Script); 54var compilation = CreateCompilationWithMscorlib461(code, options: options, parseOptions: TestOptions.Script); 79var compilation = CreateCompilationWithMscorlib461(code, sourceFileName: "external1.csx", options: options, parseOptions: TestOptions.Script); 129var compilation = CreateCompilationWithMscorlib461(code, parseOptions: TestOptions.Script); 145var compilation = CreateCompilationWithMscorlib461(code, parseOptions: TestOptions.Script); 157var compilation = CreateCompilationWithMscorlib461(code, options: options, parseOptions: TestOptions.Script); 177compilation = CreateCompilationWithMscorlib461(code, options: options, parseOptions: TestOptions.Script);
Compilation\ReferenceManagerTests.cs (13)
2317var bRef = CreateCompilationWithMscorlib461("public class B { }", assemblyName: "B").EmitToImageReference(); 2318var aRef = CreateCompilationWithMscorlib461("public class A : B { }", new[] { bRef }, assemblyName: "A").EmitToImageReference(); 2347var bRef = CreateCompilationWithMscorlib461("public class B { }", assemblyName: "B").EmitToImageReference(); 2348var aRef = CreateCompilationWithMscorlib461("public class A : B { }", new[] { bRef }, assemblyName: "A").EmitToImageReference(); 2379var bRef = CreateCompilationWithMscorlib461("public class B { }", assemblyName: "B").EmitToImageReference(); 2380var aRef = CreateCompilationWithMscorlib461("public class A : B { }", new[] { bRef }, assemblyName: "A").EmitToImageReference(); 2415var bRef = CreateCompilationWithMscorlib461("public class B { }", assemblyName: "B").EmitToImageReference(); 2416var aRef = CreateCompilationWithMscorlib461("public class A : B { }", new[] { bRef }, assemblyName: "A").EmitToImageReference(); 2451var bRef = CreateCompilationWithMscorlib461("public class B { }", assemblyName: "B").EmitToImageReference(); 2452var aRef = CreateCompilationWithMscorlib461("public class A : B { }", new[] { bRef }, assemblyName: "A").EmitToImageReference(); 2489var bRef = CreateCompilationWithMscorlib461("public class B { }", assemblyName: "B").EmitToImageReference(); 2490var aRef = CreateCompilationWithMscorlib461("public class A : B { }", new[] { bRef }, assemblyName: "A").EmitToImageReference(); 2491var dRef = CreateCompilationWithMscorlib461("public class D : A { }", new[] { aRef, bRef }, assemblyName: "D").EmitToImageReference();
SymbolDisplay\SymbolDisplayTests.cs (2)
6511var comp = CreateCompilationWithMscorlib461(new[] { srcTree }); 6606var comp = CreateCompilationWithMscorlib461(new[] { srcTree });
Symbols\AssemblyAndNamespaceTests.cs (17)
412var libComp = CreateCompilationWithMscorlib461(lib, assemblyName: "lib"); 415var comp = CreateCompilationWithMscorlib461(source, new[] { libRef }); 458CreateCompilationWithMscorlib461(test, parseOptions: TestOptions.RegularWithFileScopedNamespaces).VerifyDiagnostics( 470CreateCompilationWithMscorlib461(test).VerifyDiagnostics( 481CreateCompilationWithMscorlib461(test, parseOptions: TestOptions.RegularWithFileScopedNamespaces).VerifyDiagnostics(); 490CreateCompilationWithMscorlib461(test, parseOptions: TestOptions.RegularWithFileScopedNamespaces).VerifyDiagnostics(); 500CreateCompilationWithMscorlib461(test, parseOptions: TestOptions.RegularWithFileScopedNamespaces).VerifyDiagnostics( 515CreateCompilationWithMscorlib461(test, parseOptions: TestOptions.RegularWithFileScopedNamespaces).VerifyDiagnostics( 530CreateCompilationWithMscorlib461(test, parseOptions: TestOptions.RegularWithFileScopedNamespaces).VerifyDiagnostics( 545CreateCompilationWithMscorlib461(test, parseOptions: TestOptions.RegularWithFileScopedNamespaces).VerifyDiagnostics( 558CreateCompilationWithMscorlib461(test, parseOptions: TestOptions.RegularWithFileScopedNamespaces).VerifyDiagnostics( 571CreateCompilationWithMscorlib461(test, parseOptions: TestOptions.RegularWithFileScopedNamespaces).VerifyDiagnostics( 584CreateCompilationWithMscorlib461(test, parseOptions: TestOptions.RegularWithFileScopedNamespaces).VerifyDiagnostics( 597CreateCompilationWithMscorlib461(test, parseOptions: TestOptions.RegularWithFileScopedNamespaces).VerifyDiagnostics(); 608CreateCompilationWithMscorlib461(test, parseOptions: TestOptions.RegularWithFileScopedNamespaces).VerifyDiagnostics( 622CreateCompilationWithMscorlib461(test, parseOptions: TestOptions.RegularWithFileScopedNamespaces).VerifyDiagnostics( 674CreateCompilationWithMscorlib461(test, parseOptions: TestOptions.RegularWithFileScopedNamespaces).VerifyDiagnostics(
Symbols\CompilationCreationTests.cs (6)
2701var compilation = CreateCompilationWithMscorlib461( 2737var compilation = CreateCompilationWithMscorlib461( 2782var compilation = CreateCompilationWithMscorlib461( 2792var compilation = CreateCompilationWithMscorlib461( 2819var compilation = CreateCompilationWithMscorlib461( 2841var compilation = CreateCompilationWithMscorlib461(
Symbols\ExtensionMethodTests.cs (1)
3800var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script);
Symbols\ImplicitClassTests.cs (2)
41var c2 = CreateCompilationWithMscorlib461("", new[] { c.ToMetadataReference() }); 82var c = CreateCompilationWithMscorlib461(@"
Symbols\MissingSpecialMember.cs (45)
1134var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe); 1172var compilation = CreateCompilationWithMscorlib461(source); 1213var compilation = CreateCompilationWithMscorlib461(source); 1254var compilation = CreateCompilationWithMscorlib461(source); 1294var compilation = CreateCompilationWithMscorlib461(source); 1319var compilation = CreateCompilationWithMscorlib461(source); 1349var compilation = CreateCompilationWithMscorlib461(source); 1397var compilation = CreateCompilationWithMscorlib461(source); 1481var compilation = CreateCompilationWithMscorlib461(source1 + source2); 1520var compilation = CreateCompilationWithMscorlib461(source); 1560var compilation = CreateCompilationWithMscorlib461(source); 1601var compilation = CreateCompilationWithMscorlib461(source); 1624var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }); 1652var compilation = CreateCompilationWithMscorlib461(source); 1680var compilation = CreateCompilationWithMscorlib461(source); 1722var compilation = CreateCompilationWithMscorlib461(source); 1787var compilation = CreateCompilationWithMscorlib461(source); 1813var compilation = CreateCompilationWithMscorlib461(source); 1843var compilation = CreateCompilationWithMscorlib461(source); 1864var compilation = CreateCompilationWithMscorlib461(source); 1896var compilation = CreateCompilationWithMscorlib461(source); 1928var compilation = CreateCompilationWithMscorlib461(source); 1957var compilation = CreateCompilationWithMscorlib461(source); 2000var compilation = CreateCompilationWithMscorlib461(source); 2037var compilation = CreateCompilationWithMscorlib461(source); 2068var compilation = CreateCompilationWithMscorlib461(source); 2099var compilation = CreateCompilationWithMscorlib461(source); 2134var compilation = CreateCompilationWithMscorlib461(source); 2167var compilation = CreateCompilationWithMscorlib461(source); 2198var compilation = CreateCompilationWithMscorlib461(source); 2260var compilation = CreateCompilationWithMscorlib461(source); 2305var compilation = CreateCompilationWithMscorlib461(source); 2356var compilation = CreateCompilationWithMscorlib461(source); 2386var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseExe); 2408var compilation = CreateCompilationWithMscorlib461(source); 2434var compilation = CreateCompilationWithMscorlib461(source); 2464var compilation = CreateCompilationWithMscorlib461(source); 2497var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }); 2525var compilation = CreateCompilationWithMscorlib461(source); 2556var compilation = CreateCompilationWithMscorlib461(source); 2590var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }); 2612var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }); 2634var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }); 2658var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }); 2683var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemRef });
Symbols\OverriddenOrHiddenMembersTests.cs (2)
525var comp = CreateCompilationWithMscorlib461(text); 818CreateCompilationWithMscorlib461(text).VerifyDiagnostics(
Symbols\PEParameterSymbolTests.cs (1)
92var compilation = CreateCompilationWithMscorlib461(source, new[] { vbComp }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
Symbols\Source\BaseClassTests.cs (1)
2028var comp = CreateCompilationWithMscorlib461(text);
Symbols\Source\ClsComplianceTests.cs (2)
3155var helper = CreateCompilationWithMscorlib461(""); 3179var comp = CreateCompilationWithMscorlib461(source);
Symbols\Source\DelegateTests.cs (3)
776var comp = CreateCompilationWithMscorlib461(source); 793var comp = CreateCompilationWithMscorlib461(source); 823var compilation = CreateCompilationWithMscorlib461(new SyntaxTree[] { tree }).VerifyDiagnostics();
Symbols\Source\ExpressionBodiedMethodTests.cs (16)
70var comp = CreateCompilationWithMscorlib461(@" 102var comp = CreateCompilationWithMscorlib461(@" 116var comp = CreateCompilationWithMscorlib461(@" 133var comp = CreateCompilationWithMscorlib461(@" 151var comp = CreateCompilationWithMscorlib461(@" 162var comp = CreateCompilationWithMscorlib461(@" 179var comp = CreateCompilationWithMscorlib461(@" 199var comp = CreateCompilationWithMscorlib461(text); 220var comp = CreateCompilationWithMscorlib461(@" 234var comp = CreateCompilationWithMscorlib461(@" 244var comp = CreateCompilationWithMscorlib461(@" 257var comp = CreateCompilationWithMscorlib461(@" 310var comp = CreateCompilationWithMscorlib461(@" 353var comp = CreateCompilationWithMscorlib461(@" 379var comp = CreateCompilationWithMscorlib461(@" 392var comp = CreateCompilationWithMscorlib461(@"
Symbols\Source\ExpressionBodiedPropertyTests.cs (27)
33var comp = CreateCompilationWithMscorlib461(@" 63var comp = CreateCompilationWithMscorlib461(@" 77var comp = CreateCompilationWithMscorlib461(@" 94var comp = CreateCompilationWithMscorlib461(@" 112var comp = CreateCompilationWithMscorlib461(@" 126CreateCompilationWithMscorlib461(@" 139CreateCompilationWithMscorlib461(@" 152CreateCompilationWithMscorlib461(@" 171CreateCompilationWithMscorlib461(@" 193CreateCompilationWithMscorlib461(@" 207CreateCompilationWithMscorlib461(@" 223CreateCompilationWithMscorlib461(@" 236var comp = CreateCompilationWithMscorlib461(@" 254var comp = CreateCompilationWithMscorlib461(text); 284var comp = CreateCompilationWithMscorlib461(@" 298CreateCompilationWithMscorlib461(@" 320CreateCompilationWithMscorlib461(@" 336var comp = CreateCompilationWithMscorlib461(@" 349var comp = CreateCompilationWithMscorlib461(@" 362var comp = CreateCompilationWithMscorlib461(@" 412var comp = CreateCompilationWithMscorlib461(@" 458var comp = CreateCompilationWithMscorlib461(@" 481var comp = CreateCompilationWithMscorlib461(@" 495var comp = CreateCompilationWithMscorlib461(@" 518var comp = CreateCompilationWithMscorlib461(@" 545var comp = CreateCompilationWithMscorlib461(@" 573var comp = CreateCompilationWithMscorlib461(@"
Symbols\Source\ExternAliasTests.cs (1)
100var comp = CreateCompilationWithMscorlib461(src, options: TestOptions.DebugExe, parseOptions: TestOptions.Script);
Symbols\Source\MethodTests.cs (9)
401var comp = CreateCompilationWithMscorlib461(text); 755var comp1 = CreateCompilationWithMscorlib461(text); 1751var comp = CreateCompilationWithMscorlib461(text); 2179CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 2197CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 2217CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 2248CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 2265CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 2289CreateCompilationWithMscorlib461(source).VerifyDiagnostics(
Symbols\Source\ModifierTests.cs (1)
111var comp = CreateCompilationWithMscorlib461(text, parseOptions: TestOptions.Script);
Symbols\Source\PropertyTests.cs (7)
29CreateCompilationWithMscorlib461(@" 39CreateCompilationWithMscorlib461(@" 53CreateCompilationWithMscorlib461(@" 86CreateCompilationWithMscorlib461(@" 1779var comp = CreateCompilationWithMscorlib461(text); 2912CreateCompilationWithMscorlib461(source).VerifyDiagnostics( 2929CreateCompilationWithMscorlib461(source).VerifyDiagnostics(
Symbols\SymbolErrorTests.cs (2)
16853CreateCompilationWithMscorlib461(new[] { Parse(text, options: TestOptions.Script) }).VerifyDiagnostics(expectedDiagnostics); 20458var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (15)
Parsing\DeclarationParsingTests.cs (1)
5759CreateCompilationWithMscorlib461(text).VerifyDiagnostics(
Parsing\ParserErrorMessageTests.cs (1)
569CreateCompilationWithMscorlib461(test).VerifyDiagnostics(
Parsing\ReadOnlyStructs.cs (6)
40var comp = CreateCompilationWithMscorlib461(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.Latest), options: TestOptions.DebugDll); 77var comp = CreateCompilationWithMscorlib461(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7), options: TestOptions.DebugDll); 105var comp = CreateCompilationWithMscorlib461(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.Latest), options: TestOptions.DebugDll); 149var comp = CreateCompilationWithMscorlib461(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.Latest), options: TestOptions.DebugDll.WithAllowUnsafe(true)); 182var comp = CreateCompilationWithMscorlib461(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.Latest), options: TestOptions.DebugDll); 216var comp = CreateCompilationWithMscorlib461(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.Latest), options: TestOptions.DebugDll);
Parsing\RefReadonlyTests.cs (3)
45var comp = CreateCompilationWithMscorlib461(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1), options: TestOptions.UnsafeDebugDll); 90var comp = CreateCompilationWithMscorlib461(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1), options: TestOptions.UnsafeDebugDll); 188var comp = CreateCompilationWithMscorlib461(text, new[] { ValueTupleRef, SystemRuntimeFacadeRef });
Parsing\RefStructs.cs (3)
38var comp = CreateCompilationWithMscorlib461(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.Latest), options: TestOptions.DebugDll); 54var comp = CreateCompilationWithMscorlib461(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7), options: TestOptions.DebugDll); 81var comp = CreateCompilationWithMscorlib461(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.Latest), options: TestOptions.DebugDll);
Syntax\LambdaUtilitiesTests.cs (1)
43var compilation = CreateCompilationWithMscorlib461(new[] { tree }, new[] { SystemCoreRef });