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