238 references to StandardAndCSharp
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (23)
CodeGen\CodeGenLocalFunctionTests.cs (8)
5995
targetFramework: TargetFramework.
StandardAndCSharp
,
6051
targetFramework: TargetFramework.
StandardAndCSharp
,
6108
targetFramework: TargetFramework.
StandardAndCSharp
,
6197
CompileAndVerify(source, targetFramework: TargetFramework.
StandardAndCSharp
, expectedOutput: "44");
6222
CompileAndVerify(source, targetFramework: TargetFramework.
StandardAndCSharp
, expectedOutput: "44");
6247
CompileAndVerify(source, targetFramework: TargetFramework.
StandardAndCSharp
, expectedOutput: "44");
6272
CompileAndVerify(source, targetFramework: TargetFramework.
StandardAndCSharp
, expectedOutput: "44");
6298
CompileAndVerify(source, targetFramework: TargetFramework.
StandardAndCSharp
, expectedOutput: "44");
CodeGen\CodeGenTupleEqualityTests.cs (12)
1806
var comp = CreateCompilation(source, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.DebugExe);
1822
var comp = CreateCompilation(source, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.DebugExe);
1840
var comp = CreateCompilation(source, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.DebugExe);
1860
var comp = CreateCompilation(source, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.DebugExe);
1893
var comp = CreateCompilation(source, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.DebugExe);
1911
var comp = CreateCompilation(source, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.DebugExe);
2219
var comp = CreateCompilation(source, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.DebugExe);
2266
var comp = CreateCompilation(source, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.DebugExe);
4478
targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.DebugExe);
4582
targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.DebugExe);
5045
var comp = CreateCompilation(source, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.DebugExe);
5085
var comp = CreateCompilation(source, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.DebugExe);
CodeGen\ObjectAndCollectionInitializerTests.cs (3)
1429
CompileAndVerify(source, targetFramework: TargetFramework.
StandardAndCSharp
, expectedOutput: expectedOutput);
1988
var compVerifier = CompileAndVerify(source, targetFramework: TargetFramework.
StandardAndCSharp
, expectedOutput: expectedOutput);
2100
var compVerifier = CompileAndVerify(source, targetFramework: TargetFramework.
StandardAndCSharp
, expectedOutput: expectedOutput);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (3)
CodeGen\IndexAndRangeTests.cs (2)
3797
var comp = CreateCompilation(source, targetFramework: TargetFramework.
StandardAndCSharp
);
3884
var comp = CreateCompilation(source, targetFramework: TargetFramework.
StandardAndCSharp
);
Emit\EditAndContinue\EditAndContinueTests.cs (1)
12694
var compilation0 = CreateCompilation(source0, targetFramework: TargetFramework.
StandardAndCSharp
,
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (65)
RefReadonlyParameterTests.cs (2)
5639
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
StandardAndCSharp
, expectedOutput: "exception2");
5707
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
StandardAndCSharp
, expectedOutput: "exception2");
Semantics\ParamsCollectionTests.cs (63)
1986
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
2030
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
2070
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
2111
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
6311
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
6429
var comp = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
6439
comp = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13);
6442
comp = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
6480
comp = CreateCompilation(src3, references: [comp1Ref], targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
6511
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
6540
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
6577
var comp1 = CreateCompilation(src1, references: [comp0Ref], targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
6585
comp1 = CreateCompilation(src1, references: [comp0Ref], targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13);
6593
comp1 = CreateCompilation(src1, references: [comp0Ref], targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
6618
var comp2 = CreateCompilation(src2, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
6655
var comp1 = CreateCompilation(src1, references: [comp0Ref], targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
6663
comp1 = CreateCompilation(src1, references: [comp0Ref], targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13);
6671
comp1 = CreateCompilation(src1, references: [comp0Ref], targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
6696
var comp2 = CreateCompilation(src2, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
6733
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
6770
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
6812
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
6854
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
6875
var comp1 = CreateCompilation(src1, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseDll);
6900
var comp = CreateCompilation(src, references: new[] { comp1Ref, comp2.EmitToImageReference() }, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
6936
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
6971
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
7002
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
7047
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
7103
var comp1 = CreateCompilation(src1, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
7128
var comp2 = CreateCompilation(src2, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
7155
var comp1 = CreateCompilation(src1, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
7180
var comp2 = CreateCompilation(src2, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
7228
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
7342
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
7464
var comp = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
7474
comp = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13);
7477
comp = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
7513
comp = CreateCompilation(src3, references: [comp1Ref], targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
7546
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
7579
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
7620
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
7661
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
7707
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
7753
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
7774
var comp1 = CreateCompilation(src1, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseDll);
7802
var comp = CreateCompilation(src, references: new[] { comp1Ref, comp2.EmitToImageReference() }, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
7846
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
7889
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
7938
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
8068
var comp = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
8078
comp = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13);
8081
comp = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
8117
comp = CreateCompilation(src3, references: [comp1Ref], targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
8152
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
8184
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
8221
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
8249
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
8318
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
8466
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
8531
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
8565
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
8604
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (138)
Semantics\DynamicTests.cs (129)
1059
}", targetFramework: TargetFramework.
StandardAndCSharp
, expectedOutput: @"
3195
CompileAndVerify(source, targetFramework: TargetFramework.
StandardAndCSharp
);
4676
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
4720
CreateCompilation(code, targetFramework: TargetFramework.
StandardAndCSharp
).VerifyDiagnostics(
4751
CreateCompilation(code, targetFramework: TargetFramework.
StandardAndCSharp
).VerifyDiagnostics(
4834
CreateCompilation(code, targetFramework: TargetFramework.
StandardAndCSharp
).VerifyDiagnostics(
4895
CreateCompilation(code, targetFramework: TargetFramework.
StandardAndCSharp
).VerifyDiagnostics(
4973
var comp1 = CreateCompilation(source1, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: parseOptions);
5055
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: parseOptions);
5097
var comp1 = CreateCompilation(source1, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: parseOptions);
5178
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: parseOptions);
5220
var comp1 = CreateCompilation(source1, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: parseOptions);
5302
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: parseOptions);
5338
var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: parseOptions);
5379
var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
5423
var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithAllowUnsafe(true), targetFramework: TargetFramework.
StandardAndCSharp
);
5467
var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: parseOptions);
5511
var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
5550
var comp = CreateCompilation(source, targetFramework: TargetFramework.
StandardAndCSharp
);
5575
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
5613
var comp = CreateCompilation(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), targetFramework: TargetFramework.
StandardAndCSharp
);
5652
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: parseOptions);
5688
var comp = CreateCompilation(source, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: parseOptions);
5729
var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
5774
var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithAllowUnsafe(true), targetFramework: TargetFramework.
StandardAndCSharp
);
5819
var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: parseOptions);
5864
var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
5905
var comp = CreateCompilation(source, targetFramework: TargetFramework.
StandardAndCSharp
);
5932
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
5971
var comp = CreateCompilation(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), targetFramework: TargetFramework.
StandardAndCSharp
);
6019
var comp = CreateCompilation(source, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: parseOptions);
6100
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: parseOptions);
6142
var comp = CreateCompilation(source, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: parseOptions);
6223
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: parseOptions);
6262
var comp = CreateCompilation(source, targetFramework: TargetFramework.
StandardAndCSharp
);
6343
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
6373
var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
6416
var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithAllowUnsafe(true), targetFramework: TargetFramework.
StandardAndCSharp
);
6462
var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: parseOptions);
6506
var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
6549
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
6603
var comp = CreateCompilation(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), targetFramework: TargetFramework.
StandardAndCSharp
);
6668
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
6732
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
6777
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
6841
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
6887
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
6952
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
6988
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
7056
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
7114
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
7159
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
7226
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
7272
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
7339
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
7388
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
7456
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
7501
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
7578
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
7638
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
7683
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
7744
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
7789
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
7850
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
7892
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
7964
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
8025
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
8070
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
8131
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
8175
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
8235
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
8280
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
8344
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
8389
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
8453
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
8498
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
8562
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
8608
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
8673
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
8721
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
8790
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
8858
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
8921
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
9011
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
9102
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
9192
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
9248
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
9309
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
9398
var comp3 = CreateCompilation(source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
9430
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
9519
var comp3 = CreateCompilation(source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
9550
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
9637
var comp3 = CreateCompilation(source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
9664
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
9748
var comp3 = CreateCompilation(source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
9775
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
9859
var comp3 = CreateCompilation(source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
9886
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
9968
var comp3 = CreateCompilation(source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
10006
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
10086
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
10134
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
10214
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
10262
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
10342
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
10379
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
10416
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
10495
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
10550
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
10637
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
10698
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
10786
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
10847
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
10887
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
10923
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
10968
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
11054
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
11097
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
11181
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
11259
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
11314
var comp1 = CreateCompilation(source1, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: TestOptions.Regular12);
11367
var comp1 = CreateCompilation(source1, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: TestOptions.Regular12);
11414
var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: TestOptions.Regular12);
11447
var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: TestOptions.Regular12);
11491
var comp = CreateCompilation(source, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: TestOptions.Regular12);
11532
var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: TestOptions.Regular12);
11581
var comp = CreateCompilation(source, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: TestOptions.Regular12);
11633
var comp = CreateCompilation(source, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: TestOptions.Regular12);
11676
var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: TestOptions.Regular12);
Semantics\InterpolationTests.cs (1)
14479
var comp = CreateCompilation([source, InterpolatedStringHandlerAttribute], targetFramework: TargetFramework.
StandardAndCSharp
);
Semantics\LocalFunctionTests.cs (1)
2844
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
Semantics\NativeIntegerTests.cs (1)
4488
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
StandardAndCSharp
);
Semantics\NullableReferenceTypesTests.cs (1)
115726
CompileAndVerify(source, targetFramework: TargetFramework.
StandardAndCSharp
, options: WithNullableEnable());
Semantics\ObjectAndCollectionInitializerTests.cs (2)
4220
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
4274
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
Semantics\SemanticErrorTests.cs (3)
18448
var comp = CreateCompilation(text, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.DebugExe);
18542
var comp = CreateCompilation(text, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.DebugExe);
18568
var comp = CreateCompilation(text, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.DebugExe);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (6)
Compilation\UsedAssembliesTests.cs (2)
5540
CompileWithUsedAssemblyReferences(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
5558
CompileWithUsedAssemblyReferences(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
DocumentationComments\CrefTests.cs (2)
6919
var compilation = CreateCompilation(source, parseOptions: parseOptions, options: options, targetFramework: TargetFramework.
StandardAndCSharp
);
6943
var compilation = CreateCompilation(source, parseOptions: parseOptions, options: options, targetFramework: TargetFramework.
StandardAndCSharp
);
Symbols\Source\EventTests.cs (2)
521
targetFramework: TargetFramework.
StandardAndCSharp
,
580
targetFramework: TargetFramework.
StandardAndCSharp
,
Microsoft.CodeAnalysis.CSharp.Test.Utilities (2)
CSharpTestBase.cs (2)
980
TargetFramework.
StandardAndCSharp
,
1222
string sourceFileName = "") => CreateCompilation(source, references, options, parseOptions, TargetFramework.
StandardAndCSharp
, assemblyName, sourceFileName);
Microsoft.CodeAnalysis.Test.Utilities (1)
TargetFrameworkUtil.cs (1)
325
TargetFramework.
StandardAndCSharp
=> StandardAndCSharpReferences,