273 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
,
6153
CompileAndVerify(source, targetFramework: TargetFramework.
StandardAndCSharp
, expectedOutput: "44");
6178
CompileAndVerify(source, targetFramework: TargetFramework.
StandardAndCSharp
, expectedOutput: "44");
6203
CompileAndVerify(source, targetFramework: TargetFramework.
StandardAndCSharp
, expectedOutput: "44");
6228
CompileAndVerify(source, targetFramework: TargetFramework.
StandardAndCSharp
, expectedOutput: "44");
6254
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)
13694
var compilation0 = CreateCompilation(source0, targetFramework: TargetFramework.
StandardAndCSharp
,
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (79)
RefReadonlyParameterTests.cs (2)
5636
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
StandardAndCSharp
, expectedOutput: "exception2");
5704
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
StandardAndCSharp
, expectedOutput: "exception2");
Semantics\ExtensionOperatorsTests.cs (7)
1990
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.DebugExe);
2698
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.DebugExe);
8104
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.DebugExe);
13511
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.DebugExe);
15796
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.DebugExe);
15834
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.DebugExe);
24140
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.DebugExe);
Semantics\ExtensionTests.cs (7)
11738
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
);
11922
var comp2 = CreateCompilation(src2, targetFramework: TargetFramework.
StandardAndCSharp
);
11945
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
);
12099
var comp2 = CreateCompilation(src2, targetFramework: TargetFramework.
StandardAndCSharp
);
12122
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
);
12269
var comp2 = CreateCompilation(src2, targetFramework: TargetFramework.
StandardAndCSharp
);
35691
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
);
Semantics\ParamsCollectionTests.cs (63)
1978
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
2022
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
2062
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
2103
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
6295
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
6413
var comp = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
6423
comp = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13);
6426
comp = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
6464
comp = CreateCompilation(src3, references: [comp1Ref], targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
6495
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
6524
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
6561
var comp1 = CreateCompilation(src1, references: [comp0Ref], targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
6569
comp1 = CreateCompilation(src1, references: [comp0Ref], targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13);
6577
comp1 = CreateCompilation(src1, references: [comp0Ref], targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
6602
var comp2 = CreateCompilation(src2, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
6639
var comp1 = CreateCompilation(src1, references: [comp0Ref], targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
6647
comp1 = CreateCompilation(src1, references: [comp0Ref], targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13);
6655
comp1 = CreateCompilation(src1, references: [comp0Ref], targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
6680
var comp2 = CreateCompilation(src2, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
6717
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
6754
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
6796
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
6838
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
6859
var comp1 = CreateCompilation(src1, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseDll);
6884
var comp = CreateCompilation(src, references: new[] { comp1Ref, comp2.EmitToImageReference() }, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
6920
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
6955
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
6986
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
7031
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
7087
var comp1 = CreateCompilation(src1, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
7112
var comp2 = CreateCompilation(src2, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
7139
var comp1 = CreateCompilation(src1, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
7164
var comp2 = CreateCompilation(src2, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
7212
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
7326
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
7448
var comp = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
7458
comp = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13);
7461
comp = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
7497
comp = CreateCompilation(src3, references: [comp1Ref], targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
7530
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
7563
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
7604
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
7645
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
7691
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
7737
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
7758
var comp1 = CreateCompilation(src1, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseDll);
7786
var comp = CreateCompilation(src, references: new[] { comp1Ref, comp2.EmitToImageReference() }, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
7830
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
7873
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
7922
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
8052
var comp = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
8062
comp = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13);
8065
comp = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
8101
comp = CreateCompilation(src3, references: [comp1Ref], targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
8136
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
8168
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
8205
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
8233
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
8302
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
8450
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
8515
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
8549
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
8588
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (159)
Semantics\DynamicTests.cs (140)
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);
11724
targetFramework: TargetFramework.
StandardAndCSharp
);
11766
targetFramework: TargetFramework.
StandardAndCSharp
);
11808
targetFramework: TargetFramework.
StandardAndCSharp
);
11848
targetFramework: TargetFramework.
StandardAndCSharp
);
11888
targetFramework: TargetFramework.
StandardAndCSharp
);
11905
targetFramework: TargetFramework.
StandardAndCSharp
);
11950
targetFramework: TargetFramework.
StandardAndCSharp
);
11972
targetFramework: TargetFramework.
StandardAndCSharp
);
12017
targetFramework: TargetFramework.
StandardAndCSharp
);
12060
targetFramework: TargetFramework.
StandardAndCSharp
);
12080
targetFramework: TargetFramework.
StandardAndCSharp
);
Semantics\InterpolationTests.cs (1)
14800
var comp = CreateCompilation([source, InterpolatedStringHandlerAttribute], targetFramework: TargetFramework.
StandardAndCSharp
);
Semantics\LocalFunctionTests.cs (1)
3151
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
Semantics\NativeIntegerTests.cs (1)
4493
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
StandardAndCSharp
);
Semantics\NullableReferenceTypesTests.cs (1)
115790
CompileAndVerify(source, targetFramework: TargetFramework.
StandardAndCSharp
, options: WithNullableEnable());
Semantics\NullConditionalAssignmentTests.cs (1)
933
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
StandardAndCSharp
, expectedOutput: "ab<null><null>");
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\OperatorTests.cs (9)
9231
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.DebugExe);
9272
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.DebugExe);
9317
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.DebugExe);
9369
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.DebugExe);
9417
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.DebugExe);
9465
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.DebugExe);
9513
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.DebugExe);
9561
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.DebugExe);
9609
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.DebugExe);
Semantics\SemanticErrorTests.cs (3)
18547
var comp = CreateCompilation(text, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.DebugExe);
18641
var comp = CreateCompilation(text, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.DebugExe);
18667
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)
6883
var compilation = CreateCompilation(source, parseOptions: parseOptions, options: options, targetFramework: TargetFramework.
StandardAndCSharp
);
6907
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)
1513
TargetFramework.
StandardAndCSharp
,
1755
string sourceFileName = "") => CreateCompilation(source, references, options, parseOptions, TargetFramework.
StandardAndCSharp
, assemblyName, sourceFileName);
Microsoft.CodeAnalysis.Test.Utilities (1)
TargetFrameworkUtil.cs (1)
327
TargetFramework.
StandardAndCSharp
=> StandardAndCSharpReferences,