40 references to CreateCompilation
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (40)
CodeGen\CodeGenAsyncTests.cs (40)
38var compilation = CreateCompilation(source, references: references, options: options); 1041CreateCompilation(source, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics( 1067CreateCompilation(source, options: TestOptions.UnsafeDebugExe.WithWarningLevel(7)).VerifyDiagnostics( 3549var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3619var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3644var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3672var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3697var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3784var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3835var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3868var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3992var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4075var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe); 4109var comp2 = CreateCompilation(source2, options: TestOptions.DebugExe); 4383var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4420var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4457var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4498var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4605var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4643var comp = CreateCompilation(source, options: TestOptions.ReleaseExe); 4700var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4741var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4791var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4844var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4902var comp = CreateCompilation(source, options: TestOptions.DebugExe); 5042var compilation = CreateCompilation(source, options: TestOptions.DebugDll); 5088var compilation = CreateCompilation(source, options: TestOptions.DebugDll); 5122var compilation = CreateCompilation(source, options: TestOptions.DebugDll); 5157var compilation = CreateCompilation(source, options: TestOptions.ReleaseExe); 5209var compilation = CreateCompilation(source, options: TestOptions.ReleaseExe); 5252var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 5255compilation = CreateCompilation(source, options: TestOptions.ReleaseExe); 5291var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 5294compilation = CreateCompilation(source, options: TestOptions.ReleaseExe); 5323var comp = CreateCompilation(source, options: TestOptions.ReleaseExe); 5497var comp = CreateCompilation(source, options: TestOptions.ReleaseExe); 5734var compilation = CreateCompilation(source, options: TestOptions.ReleaseExe); 5753var c = CreateCompilation(source, options: TestOptions.DebugDll); 5907var comp = CreateCompilation(source, options: TestOptions.DebugDll); 5909comp = CreateCompilation(source, options: TestOptions.ReleaseDll);