276 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)
5663
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
StandardAndCSharp
, expectedOutput: "exception2");
5731
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
StandardAndCSharp
, expectedOutput: "exception2");
Semantics\ExtensionOperatorsTests.cs (7)
2000
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.DebugExe);
2708
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.DebugExe);
8141
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.DebugExe);
13565
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.DebugExe);
15849
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.DebugExe);
15887
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.DebugExe);
24270
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.DebugExe);
Semantics\ExtensionTests.cs (7)
11799
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
);
11983
var comp2 = CreateCompilation(src2, targetFramework: TargetFramework.
StandardAndCSharp
);
12006
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
);
12160
var comp2 = CreateCompilation(src2, targetFramework: TargetFramework.
StandardAndCSharp
);
12183
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
);
12330
var comp2 = CreateCompilation(src2, targetFramework: TargetFramework.
StandardAndCSharp
);
35756
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 (162)
Semantics\DynamicTests.cs (140)
1059
}", targetFramework: TargetFramework.
StandardAndCSharp
, expectedOutput: @"
3195
CompileAndVerify(source, targetFramework: TargetFramework.
StandardAndCSharp
);
4774
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
4818
CreateCompilation(code, targetFramework: TargetFramework.
StandardAndCSharp
).VerifyDiagnostics(
4849
CreateCompilation(code, targetFramework: TargetFramework.
StandardAndCSharp
).VerifyDiagnostics(
4932
CreateCompilation(code, targetFramework: TargetFramework.
StandardAndCSharp
).VerifyDiagnostics(
4993
CreateCompilation(code, targetFramework: TargetFramework.
StandardAndCSharp
).VerifyDiagnostics(
5071
var comp1 = CreateCompilation(source1, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: parseOptions);
5153
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: parseOptions);
5195
var comp1 = CreateCompilation(source1, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: parseOptions);
5276
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: parseOptions);
5318
var comp1 = CreateCompilation(source1, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: parseOptions);
5400
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: parseOptions);
5436
var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: parseOptions);
5477
var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
5521
var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithAllowUnsafe(true), targetFramework: TargetFramework.
StandardAndCSharp
);
5565
var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: parseOptions);
5609
var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
5648
var comp = CreateCompilation(source, targetFramework: TargetFramework.
StandardAndCSharp
);
5673
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
5711
var comp = CreateCompilation(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), targetFramework: TargetFramework.
StandardAndCSharp
);
5750
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: parseOptions);
5786
var comp = CreateCompilation(source, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: parseOptions);
5827
var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
5872
var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithAllowUnsafe(true), targetFramework: TargetFramework.
StandardAndCSharp
);
5917
var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: parseOptions);
5962
var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
6003
var comp = CreateCompilation(source, targetFramework: TargetFramework.
StandardAndCSharp
);
6030
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
6069
var comp = CreateCompilation(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), targetFramework: TargetFramework.
StandardAndCSharp
);
6117
var comp = CreateCompilation(source, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: parseOptions);
6198
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: parseOptions);
6240
var comp = CreateCompilation(source, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: parseOptions);
6321
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: parseOptions);
6360
var comp = CreateCompilation(source, targetFramework: TargetFramework.
StandardAndCSharp
);
6441
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
6471
var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
6514
var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithAllowUnsafe(true), targetFramework: TargetFramework.
StandardAndCSharp
);
6560
var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: parseOptions);
6604
var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
6647
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
6701
var comp = CreateCompilation(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), targetFramework: TargetFramework.
StandardAndCSharp
);
6766
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
6830
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
6875
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
6939
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
6985
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
7050
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
7086
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
7154
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
7212
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
7257
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
7324
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
7370
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
7437
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
7486
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
7554
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
7599
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
7676
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
7736
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
7781
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
7842
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
7887
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
7948
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
7990
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
8062
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
8123
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
8168
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
8229
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
8273
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
8333
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
8378
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
8442
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
8487
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
8551
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
8596
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
8660
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
8706
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
8771
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
8819
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
8888
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
8956
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
9019
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
9109
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
9200
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
9290
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
9346
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
9407
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
9496
var comp3 = CreateCompilation(source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
9528
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
9617
var comp3 = CreateCompilation(source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
9648
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
9735
var comp3 = CreateCompilation(source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
9762
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
9846
var comp3 = CreateCompilation(source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
9873
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
9957
var comp3 = CreateCompilation(source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
9984
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
10066
var comp3 = CreateCompilation(source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
10104
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
10184
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
10232
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
10312
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
10360
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
10440
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
10477
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
10514
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
10593
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
10648
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
10735
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
10796
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
10884
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
10945
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
10985
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.ReleaseExe);
11021
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
11066
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
11152
var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.
StandardAndCSharp
);
11195
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
11279
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
11357
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
);
11412
var comp1 = CreateCompilation(source1, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: TestOptions.Regular12);
11465
var comp1 = CreateCompilation(source1, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: TestOptions.Regular12);
11512
var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: TestOptions.Regular12);
11545
var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: TestOptions.Regular12);
11589
var comp = CreateCompilation(source, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: TestOptions.Regular12);
11630
var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: TestOptions.Regular12);
11679
var comp = CreateCompilation(source, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: TestOptions.Regular12);
11731
var comp = CreateCompilation(source, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: TestOptions.Regular12);
11774
var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.
StandardAndCSharp
, parseOptions: TestOptions.Regular12);
11822
targetFramework: TargetFramework.
StandardAndCSharp
);
11864
targetFramework: TargetFramework.
StandardAndCSharp
);
11906
targetFramework: TargetFramework.
StandardAndCSharp
);
11946
targetFramework: TargetFramework.
StandardAndCSharp
);
11986
targetFramework: TargetFramework.
StandardAndCSharp
);
12003
targetFramework: TargetFramework.
StandardAndCSharp
);
12048
targetFramework: TargetFramework.
StandardAndCSharp
);
12070
targetFramework: TargetFramework.
StandardAndCSharp
);
12115
targetFramework: TargetFramework.
StandardAndCSharp
);
12158
targetFramework: TargetFramework.
StandardAndCSharp
);
12178
targetFramework: TargetFramework.
StandardAndCSharp
);
Semantics\ForEachTests.cs (2)
425
CompileAndVerify(source, targetFramework: TargetFramework.
StandardAndCSharp
, expectedOutput: "NullReferenceException").VerifyDiagnostics();
469
CreateCompilation(source, targetFramework: TargetFramework.
StandardAndCSharp
).VerifyEmitDiagnostics(
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)
115849
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 (10)
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);
9821
var comp = CreateCompilation(src, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.DebugExe);
Semantics\SemanticErrorTests.cs (3)
18549
var comp = CreateCompilation(text, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.DebugExe);
18643
var comp = CreateCompilation(text, targetFramework: TargetFramework.
StandardAndCSharp
, options: TestOptions.DebugExe);
18669
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,