157 references to CreateCompilation
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (157)
Semantics\ImplicitObjectCreationTests.cs (157)
49var comp = CreateCompilation(source, options: TestOptions.DebugExe); 171var comp = CreateCompilation(source, options: TestOptions.DebugExe); 216var comp = CreateCompilation(source); 268var comp = CreateCompilation(source, options: TestOptions.DebugExe); 296var comp = CreateCompilation(source, options: TestOptions.DebugExe); 319var comp = CreateCompilation(source, options: TestOptions.DebugExe); 352var comp = CreateCompilation(source, options: TestOptions.DebugExe, references: new[] { CSharpRef }); 373var comp = CreateCompilation(source, options: TestOptions.DebugExe, references: new[] { CSharpRef }); 404var comp = CreateCompilation(source, options: TestOptions.DebugDll); 438var comp = CreateCompilation(source, options: TestOptions.DebugExe); 456var comp = CreateCompilation(source); 476var comp = CreateCompilation(source); 500var comp = CreateCompilation(source); 521var comp = CreateCompilation(source); 545var comp = CreateCompilation(source); 570var comp = CreateCompilation(source); 598var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics(); 616var comp = CreateCompilation(source); 643var comp = CreateCompilation(source); 663var comp = CreateCompilation(source); 699var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics(); 726var comp = CreateCompilation(source); 756var comp = CreateCompilation(source); 780var comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseDll); 806var comp = CreateCompilation(source); 837var comp = CreateCompilation(source); 878var comp = CreateCompilation(source); 908var comp = CreateCompilation(source).VerifyDiagnostics( 953var comp = CreateCompilation(source, options: TestOptions.DebugExe); 985var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1010var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1029var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1051var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1074var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1095var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1121var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1141var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1204var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics(); 1229var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics(); 1252var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics(); 1273var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics(); 1298var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics(); 1317var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics( 1346var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics( 1370var comp = CreateCompilation(source, options: TestOptions.ReleaseDll).VerifyDiagnostics( 1405var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics(); 1423var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics( 1457var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics( 1491var comp = CreateCompilation(source, options: TestOptions.ReleaseExe); 1522var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics( 1555var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1585var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics( 1614var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics( 1646var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics( 1669var comp = CreateCompilation(source).VerifyDiagnostics( 1695var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics( 1735var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics( 1762var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1787var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1805_ = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics( 1860var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1890var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1920var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1951var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1973var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2003var comp = CreateCompilation(source); 2030var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2110var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2163var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2186var comp = CreateCompilation(source); 2212var comp = CreateCompilation(source); 2243var comp = CreateCompilation(source); 2266var comp = CreateCompilation(source); 2290var comp = CreateCompilation(source); 2311var comp = CreateCompilation(source); 2331var comp = CreateCompilation(source); 2358var comp = CreateCompilation(source); 2401var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2425var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2444var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2465var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2486var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2509var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2535var comp = CreateCompilation(source); 2559var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2592var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2620var comp = CreateCompilation(source); 2650var comp = CreateCompilation(source, options: TestOptions.ReleaseExe); 2682var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2704var comp = CreateCompilation(source); 2726var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2746var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2766var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2787var comp = CreateCompilation(source, options: TestOptions.DebugDll); 2807var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2845var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2882var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2952var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2981var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3011var comp = CreateCompilation(source, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 3035var comp = CreateCompilation(source); 3058var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3078var comp = CreateCompilation(source); 3095var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3114var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3133var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3155var comp = CreateCompilation(source); 3177var comp = CreateCompilation(source); 3203var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3248var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3265var comp = CreateCompilation(source); 3278var comp = CreateCompilation(source); 3300var comp = CreateCompilation(source); 3318var comp = CreateCompilation(source); 3343var comp = CreateCompilation(source, references: new[] { CSharpRef }, options: TestOptions.DebugExe); 3383var comp = CreateCompilation(source); 3486var comp = CreateCompilation(source); 3583var comp = CreateCompilation(source); 3660var comp = CreateCompilation(text, options: TestOptions.DebugExe); 3682var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 3709var comp = CreateCompilation(text, options: TestOptions.DebugDll); 3740var comp = CreateCompilation(text).VerifyDiagnostics( 3764var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3785var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3820var comp = CreateCompilation(source, options: TestOptions.ReleaseExe); 3867var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3912var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3952var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4012var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4055var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4074var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4093var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4112var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4133var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4217var comp = CreateCompilation(source); 4240var libComp = CreateCompilation(lib, references: new[] { missingComp.EmitToImageReference() }); 4253var comp = CreateCompilation(source, references: new[] { libComp.EmitToImageReference() }); 4281var libComp = CreateCompilation(lib, references: new[] { missingComp.EmitToImageReference() }); 4295var comp = CreateCompilation(source, references: new[] { libComp.EmitToImageReference() }); 4324var libComp = CreateCompilation(lib, references: new[] { missingComp.EmitToImageReference() }); 4336var comp = CreateCompilation(source, references: new[] { libComp.EmitToImageReference() }); 4356var libComp = CreateCompilation(lib, references: new[] { missingComp.EmitToImageReference() }); 4369var comp = CreateCompilation(source, references: new[] { libComp.EmitToImageReference() }); 4467var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4500var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4525var compilation = CreateCompilation(source); 4568var compilation = CreateCompilation(source); 4610var compilation1 = CreateCompilation(source1); 4630var compilation2 = CreateCompilation(source2, references: new[] { compilation1.EmitToImageReference() }); 4659var compilation1 = CreateCompilation(source1); 4683var compilation1 = CreateCompilation(source1); 4704var compilation = CreateCompilation(source); 4734var compilation = CreateCompilation(source); 4758var comp = CreateCompilation(source); 4818var comp = CreateCompilation(source); 4847var comp = CreateCompilation(source); 4889var comp = CreateCompilation(source);