51 references to CreateCompilationWithMscorlib461AndCSharp
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (40)
CodeGen\CodeGenConversionTests.cs (1)
1070var compilation = CreateCompilationWithMscorlib461AndCSharp(source, options: TestOptions.ReleaseExe.WithAllowUnsafe(true));
CodeGen\CodeGenLocalFunctionTests.cs (3)
2085var comp = CreateCompilationWithMscorlib461AndCSharp(source, options: TestOptions.ReleaseExe); 6303var comp = CreateCompilationWithMscorlib461AndCSharp(source, options: options); 6309var comp = CreateCompilationWithMscorlib461AndCSharp(source, options: TestOptions.ReleaseExe);
CodeGen\CodeGenRefReturnTests.cs (15)
2927CreateCompilationWithMscorlib461AndCSharp(source).VerifyEmitDiagnostics( 2967var comp = CreateCompilationWithMscorlib461AndCSharp(source, options: TestOptions.ReleaseExe); 3080var comp = CreateCompilationWithMscorlib461AndCSharp(source, options: TestOptions.ReleaseExe); 3116CreateCompilationWithMscorlib461AndCSharp(source).VerifyEmitDiagnostics( 3152CreateCompilationWithMscorlib461AndCSharp(source).VerifyEmitDiagnostics( 3182CreateCompilationWithMscorlib461AndCSharp(source).VerifyEmitDiagnostics( 3225CreateCompilationWithMscorlib461AndCSharp(source).VerifyEmitDiagnostics( 3268CreateCompilationWithMscorlib461AndCSharp(source).VerifyEmitDiagnostics( 3311CreateCompilationWithMscorlib461AndCSharp(source).VerifyEmitDiagnostics( 3358CreateCompilationWithMscorlib461AndCSharp(source, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyEmitDiagnostics( 3366CreateCompilationWithMscorlib461AndCSharp(source).VerifyEmitDiagnostics( 3410CreateCompilationWithMscorlib461AndCSharp(source, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyEmitDiagnostics( 3415CreateCompilationWithMscorlib461AndCSharp(source).VerifyEmitDiagnostics( 3498CreateCompilationWithMscorlib461AndCSharp(source, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyEmitDiagnostics( 3506CreateCompilationWithMscorlib461AndCSharp(source).VerifyEmitDiagnostics(
CodeGen\CodeGenTests.cs (6)
15699CreateCompilationWithMscorlib461AndCSharp(source).VerifyDiagnostics( 15836CreateCompilationWithMscorlib461AndCSharp(source).VerifyDiagnostics( 15869CreateCompilationWithMscorlib461AndCSharp(source).VerifyDiagnostics( 15897CreateCompilationWithMscorlib461AndCSharp(source).VerifyDiagnostics( 15956CreateCompilationWithMscorlib461AndCSharp(source).VerifyDiagnostics( 16035CreateCompilationWithMscorlib461AndCSharp(source).VerifyDiagnostics(
CodeGen\CodeGenTupleTest.cs (12)
10362var comp = CreateCompilationWithMscorlib461AndCSharp(source); 10392var comp = CreateCompilationWithMscorlib461AndCSharp(source, references: s_valueTupleRefs, 10443var comp = CreateCompilationWithMscorlib461AndCSharp(source); 10484var comp = CreateCompilationWithMscorlib461AndCSharp(source); 10522var comp = CreateCompilationWithMscorlib461AndCSharp(source); 10595var comp = CreateCompilationWithMscorlib461AndCSharp(source); 10641var comp = CreateCompilationWithMscorlib461AndCSharp(source, references: s_valueTupleRefs, 23419var libComp = CreateCompilationWithMscorlib461AndCSharp(lib, references: s_valueTupleRefs, options: TestOptions.DebugDll); 23473var libComp = CreateCompilationWithMscorlib461AndCSharp(lib, options: TestOptions.DebugDll, references: s_valueTupleRefs); 23846var comp = CreateCompilationWithMscorlib461AndCSharp(source, references: (new[] { libCompRef }).Concat(s_valueTupleRefs).ToArray(), options: TestOptions.DebugExe); 23875var libComp = CreateCompilationWithMscorlib461AndCSharp(lib, references: s_valueTupleRefs, options: TestOptions.DebugDll); 24075var comp = CreateCompilationWithMscorlib461AndCSharp(source, references: s_valueTupleRefs, options: TestOptions.UnsafeDebugDll);
CodeGen\ObjectAndCollectionInitializerTests.cs (3)
1386var comp = CreateCompilationWithMscorlib461AndCSharp(source, options: TestOptions.ReleaseExe); 1483var comp = CreateCompilationWithMscorlib461AndCSharp(source, options: TestOptions.ReleaseExe); 1820var comp = CreateCompilationWithMscorlib461AndCSharp(source, options: TestOptions.ReleaseExe);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (11)
Semantics\DynamicTests.cs (9)
4437var comp = CreateCompilationWithMscorlib461AndCSharp(source, parseOptions: TestOptions.Regular7_2); 4462var comp = CreateCompilationWithMscorlib461AndCSharp(source, parseOptions: TestOptions.Regular7_2); 4492var comp1 = CreateCompilationWithMscorlib461AndCSharp(source1, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 4503comp1 = CreateCompilationWithMscorlib461AndCSharp(source1, parseOptions: TestOptions.Regular7_2, options: TestOptions.DebugExe); 4528var comp2 = CreateCompilationWithMscorlib461AndCSharp(source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 4535comp2 = CreateCompilationWithMscorlib461AndCSharp(source2, parseOptions: TestOptions.Regular7_2, options: TestOptions.DebugExe); 4564var comp = CreateCompilationWithMscorlib461AndCSharp(source, parseOptions: TestOptions.Regular7_2); 4593var comp = CreateCompilationWithMscorlib461AndCSharp(source, parseOptions: TestOptions.Regular7_2); 4638var compilation = CreateCompilationWithMscorlib461AndCSharp(source);
Semantics\LocalFunctionTests.cs (2)
27var comp = CreateCompilationWithMscorlib461AndCSharp(source, options: TestOptions.ReleaseDll, parseOptions: DefaultParseOptions); 2696CreateCompilationWithMscorlib461AndCSharp(source, parseOptions: TestOptions.Regular9).VerifyDiagnostics(