701 references to Net70
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (41)
CodeGen\CodeGenForEachTests.cs (6)
5366
CompileAndVerify(source, targetFramework: TargetFramework.
Net70
,
5406
CompileAndVerify(source, targetFramework: TargetFramework.
Net70
,
5452
CompileAndVerify(source, targetFramework: TargetFramework.
Net70
,
5492
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(
5533
CompileAndVerify(source, targetFramework: TargetFramework.
Net70
,
5574
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(
CodeGen\CodeGenReadOnlySpanConstructionTest.cs (1)
1734
CompileAndVerify(source, expectedOutput: "34361843576", verify: Verification.Skipped, targetFramework: TargetFramework.
Net70
).VerifyIL("Test.Main", @"
CodeGen\CodeGenRefLocalTests.cs (5)
3487
verify: Verification.FailsPEVerify, targetFramework: TargetFramework.
Net70
);
3527
verify: Verification.FailsPEVerify, targetFramework: TargetFramework.
Net70
);
3564
verify: Verification.FailsPEVerify, targetFramework: TargetFramework.
Net70
);
3612
verify: Verification.Fails, targetFramework: TargetFramework.
Net70
);
3665
verify: Verification.Fails, targetFramework: TargetFramework.
Net70
);
CodeGen\CodeGenStackAllocInitializerTests.cs (22)
914
verify: Verification.FailsPEVerify, targetFramework: TargetFramework.
Net70
);
952
verify: Verification.Fails, targetFramework: TargetFramework.
Net70
);
980
verify: Verification.Fails, targetFramework: TargetFramework.
Net70
,
1005
verify: Verification.FailsPEVerify, targetFramework: TargetFramework.
Net70
);
1108
verify: Verification.Fails, targetFramework: TargetFramework.
Net70
);
1137
verify: Verification.Fails, targetFramework: TargetFramework.
Net70
,
1162
verify: Verification.Fails, targetFramework: TargetFramework.
Net70
);
1207
verify: Verification.Fails, targetFramework: TargetFramework.
Net70
);
1236
verify: Verification.Fails, targetFramework: TargetFramework.
Net70
,
1264
verify: Verification.Fails, targetFramework: TargetFramework.
Net70
);
1292
verify: Verification.Fails, targetFramework: TargetFramework.
Net70
,
1319
verify: Verification.Fails, targetFramework: TargetFramework.
Net70
);
1347
verify: Verification.Fails, targetFramework: TargetFramework.
Net70
,
1372
verify: Verification.Fails, targetFramework: TargetFramework.
Net70
);
1419
verify: Verification.FailsPEVerify, targetFramework: TargetFramework.
Net70
);
1457
verify: Verification.FailsPEVerify, targetFramework: TargetFramework.
Net70
);
1498
verify: Verification.Fails, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.
Net70
);
1524
verify: Verification.Fails, options: TestOptions.UnsafeDebugExe, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics();
1526
var comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.
Net70
);
1580
verify: Verification.Fails, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.
Net70
);
1637
verify: Verification.Fails, targetFramework: TargetFramework.
Net70
);
1674
verify: Verification.Fails, targetFramework: TargetFramework.
Net70
,
CodeGen\CodeGenUsingDeclarationTests.cs (2)
1609
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
1626
comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
CodeGen\CodeGenUsingStatementTests.cs (4)
3168
CompileAndVerify(source, targetFramework: TargetFramework.
Net70
,
3200
CompileAndVerify(source, targetFramework: TargetFramework.
Net70
,
3238
CompileAndVerify(source, targetFramework: TargetFramework.
Net70
,
3270
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(
CodeGen\IndexAndRangeTests.cs (1)
4235
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (137)
CodeGen\CodeGenLengthBasedSwitchTests.cs (5)
1926
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
1979
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
2085
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
2191
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
2244
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
CodeGen\IndexAndRangeTests.cs (4)
1080
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
1116
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
1144
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
1184
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
Emit\LocalStateTracing\LocalStateTracingTests.cs (1)
165
private const TargetFramework s_targetFramework = TargetFramework.
Net70
;
Emit\NumericIntPtrTests.cs (127)
933
var comp = CreateCompilation(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
936
comp = CreateCompilation(sourceA, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
941
comp = CreateCompilation(sourceB, references: new[] { ref1 }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
944
comp = CreateCompilation(sourceB, references: new[] { ref2 }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
995
var comp = CreateCompilation(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
998
comp = CreateCompilation(sourceA, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
1003
comp = CreateCompilation(sourceB, references: new[] { ref1 }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
1006
comp = CreateCompilation(sourceB, references: new[] { ref2 }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
1021
var comp = CreateCompilation(source, options: TestOptions.ReleaseDll.WithWarningLevel(5), parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
1024
comp = CreateCompilation(source, options: TestOptions.ReleaseDll.WithWarningLevel(6), parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
1039
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
1069
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
1094
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
1132
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
1188
var comp = CreateCompilation(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
1191
comp = CreateCompilation(sourceA, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
1196
comp = CreateCompilation(sourceB, references: new[] { ref1 }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
1199
comp = CreateCompilation(sourceB, references: new[] { ref2 }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
1231
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular8, targetFramework: TargetFramework.
Net70
);
1234
comp = CreateCompilation(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
1252
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
1275
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular8, targetFramework: TargetFramework.
Net70
);
1278
comp = CreateCompilation(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
1296
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
1328
var comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
1363
CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(
1377
CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(
1408
CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(expectedDiagnostics);
1409
CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(expectedDiagnostics);
1432
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
1456
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
1491
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
1520
var comp = CreateCompilation("", parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
1625
var comp = CreateCompilation(sourceA, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
1646
comp = CreateCompilation(sourceB, references: new[] { AsReference(comp, useCompilationReference) }, parseOptions: useLatest ? TestOptions.Regular9 : TestOptions.Regular8, targetFramework: TargetFramework.
Net70
);
1738
var comp = CreateCompilation(sourceA, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
1757
comp = CreateCompilation(sourceB, references: new[] { refA }, parseOptions: useCSharp9 ? TestOptions.Regular9 : TestOptions.Regular8, targetFramework: TargetFramework.
Net70
);
1865
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3, targetFramework: TargetFramework.
Net70
);
1868
comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
1913
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
1965
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
2048
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
2150
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
2223
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
2251
comp = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
2274
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
2292
comp = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
2407
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
2457
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
2598
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
2711
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
2776
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
2796
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
2811
var comp = CreateCompilation(source0, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
2823
comp = CreateCompilation(source1, references: new[] { ref0 }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
2840
var comp = CreateCompilation(source0, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
2855
comp = CreateCompilation(source1, references: new[] { ref0 }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
2877
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
2919
var comp = CreateCompilation(source0, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
2952
var comp = CreateCompilation(source0, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
3052
var comp = CreateCompilation(new[] { sourceA, sourceB }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
3055
comp = CreateCompilation(sourceA, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
3059
comp = CreateCompilation(sourceB, references: new[] { ref1 }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
3062
comp = CreateCompilation(sourceB, references: new[] { ref2 }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
3065
comp = CreateCompilation(sourceB, references: new[] { ref1 }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular8, targetFramework: TargetFramework.
Net70
);
3068
comp = CreateCompilation(sourceB, references: new[] { ref2 }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular8, targetFramework: TargetFramework.
Net70
);
3125
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
3293
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
6003
var comp = CreateCompilation(source, options: TestOptions.ReleaseDll.WithAllowUnsafe(useUnsafeContext), parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
6240
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
6613
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
6847
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
7020
var comp = CreateCompilation(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
8121
var comp = CreateCompilation(source, options: TestOptions.ReleaseDll.WithAllowUnsafe(useUnsafeContext), parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
8182
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
8408
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
8612
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
8688
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
9013
var comp = CreateCompilation(sourceA, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
9032
comp = CreateCompilation(sourceB, references: new[] { refA }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
9060
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
9089
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
9121
comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
9139
comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
9157
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
9188
comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
9206
comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
9245
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
9274
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
9298
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
9327
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
9362
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
9427
var comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
9508
var comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
9646
var comp = CreateCompilation(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
9702
var comp = CreateCompilation(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
9832
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
9904
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular9, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.
Net70
);
9917
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
9939
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Net70
);
9971
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
10024
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
10273
var comp = CreateCompilation(source, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.
Net70
);
10500
var comp = CreateCompilation(new[] { source }, targetFramework: TargetFramework.
Net70
);
10576
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
10587
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
10708
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
10721
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
10724
var comp2 = CreateCompilation(source, references: new[] { image }, targetFramework: TargetFramework.
Net70
);
10758
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
10826
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
10894
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
10921
var comp = CreateCompilation(source, references: new[] { libComp.ToMetadataReference() }, targetFramework: TargetFramework.
Net70
);
10943
var libComp = CreateCompilation(lib_cs, assemblyName: "lib", targetFramework: TargetFramework.
Net70
);
10985
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
11047
var comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.
Net70
);
11168
var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.
Net70
);
11191
var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.
Net70
);
11219
var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.
Net70
);
11244
var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.
Net70
);
11269
var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.
Net70
);
11289
var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.
Net70
);
11629
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
11687
var comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.
Net70
);
11704
var comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.
Net70
);
11748
comp = CreateCompilation(new[] { source }, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.
Net70
);
11813
targetFramework: useNumericIntPtr ? TargetFramework.Net60 : TargetFramework.
Net70
);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (105)
RefReadonlyParameterTests.cs (1)
2939
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(
RefStructInterfacesTests.cs (27)
3178
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
3253
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
3340
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
3472
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
3515
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
3563
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
3739
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
3805
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
3882
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
3931
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
3981
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
4043
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
4085
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
4128
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
4177
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
4231
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
4286
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
4353
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
5474
var comp2 = CreateCompilation(src1, targetFramework: TargetFramework.
Net70
);
5476
CreateCompilation(src2, references: [comp2.ToMetadataReference()], targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(
5607
var comp2 = CreateCompilation(src1, targetFramework: TargetFramework.
Net70
);
5609
CreateCompilation(src2, references: [comp2.ToMetadataReference()], targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(
5863
CreateCompilation(src, targetFramework: TargetFramework.
Net70
, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
5865
CreateCompilation(src, targetFramework: TargetFramework.
Net70
, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
22725
var comp = CreateCompilation(src, targetFramework: TargetFramework.
Net70
, options: TestOptions.ReleaseExe);
22777
var comp = CreateCompilation(src, targetFramework: TargetFramework.
Net70
, options: TestOptions.ReleaseExe);
22823
var comp = CreateCompilation(src, targetFramework: TargetFramework.
Net70
, options: TestOptions.ReleaseExe);
RefUnsafeInIteratorAndAsyncTests.cs (22)
395
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyEmitDiagnostics(
418
CreateCompilation(source, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(
430
CreateCompilation(source, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.
Net70
).VerifyEmitDiagnostics(expectedDiagnostics);
431
CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.
Net70
).VerifyEmitDiagnostics(expectedDiagnostics);
452
CompileAndVerify(source, expectedOutput: IfSpans("456"), verify: Verification.FailsPEVerify, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics();
472
CompileAndVerify(source, expectedOutput: IfSpans("123"), verify: Verification.FailsPEVerify, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics();
491
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyEmitDiagnostics(
815
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyEmitDiagnostics(
838
CreateCompilation(source, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(
850
CreateCompilation(source, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.
Net70
).VerifyEmitDiagnostics(expectedDiagnostics);
851
CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.
Net70
).VerifyEmitDiagnostics(expectedDiagnostics);
873
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyEmitDiagnostics(
895
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyEmitDiagnostics(
918
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyEmitDiagnostics(
948
CompileAndVerify(source, expectedOutput: IfSpans("-1 456"), verify: Verification.FailsPEVerify, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics();
978
CompileAndVerify(source, expectedOutput: IfSpans("-1 456"), verify: Verification.FailsPEVerify, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics();
1006
CompileAndVerify(source, expectedOutput: IfSpans("-1 456"), verify: Verification.FailsPEVerify, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics();
1032
CompileAndVerify(source, expectedOutput: IfSpans("123-1"), verify: Verification.FailsPEVerify, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics();
1051
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyEmitDiagnostics(
1074
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyEmitDiagnostics(
1231
CompileAndVerify(source, expectedOutput: IfSpans("123"), verify: Verification.FailsPEVerify, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics();
1256
CompileAndVerify(source, expectedOutput: IfSpans("123"), verify: Verification.FailsPEVerify, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics();
Semantics\CollectionExpressionTests.cs (50)
3881
targetFramework: TargetFramework.
Net70
,
3903
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
5444
targetFramework: TargetFramework.
Net70
,
5624
targetFramework: TargetFramework.
Net70
,
5649
targetFramework: TargetFramework.
Net70
,
5673
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
5702
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
5721
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
5728
comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
9432
targetFramework: TargetFramework.
Net70
,
9540
targetFramework: TargetFramework.
Net70
,
10090
targetFramework: TargetFramework.
Net70
,
15135
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
15410
[CombinatorialValues(TargetFramework.
Net70
, TargetFramework.Net80)] TargetFramework targetFramework,
15434
var sources = targetFramework == TargetFramework.
Net70
20433
[CombinatorialValues(TargetFramework.
Net70
, TargetFramework.Net80)] TargetFramework targetFramework,
20533
[CombinatorialValues(TargetFramework.
Net70
, TargetFramework.Net80)] TargetFramework targetFramework)
20867
[CombinatorialValues(TargetFramework.
Net70
, TargetFramework.Net80)] TargetFramework targetFramework)
20915
[CombinatorialValues(TargetFramework.
Net70
, TargetFramework.Net80)] TargetFramework targetFramework)
21262
[CombinatorialValues(TargetFramework.
Net70
, TargetFramework.Net80)] TargetFramework targetFramework)
22447
public void RefSafety_Return_01([CombinatorialValues(TargetFramework.
Net70
, TargetFramework.Net80)] TargetFramework targetFramework)
22493
public void RefSafety_Return_02([CombinatorialValues(TargetFramework.
Net70
, TargetFramework.Net80)] TargetFramework targetFramework)
22520
public void RefSafety_Return_03([CombinatorialValues(TargetFramework.
Net70
, TargetFramework.Net80)] TargetFramework targetFramework)
22603
[CombinatorialValues(TargetFramework.
Net70
, TargetFramework.Net80)] TargetFramework targetFramework,
22846
verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net70
, verify: Verification.Skipped, expectedOutput: IncludeExpectedOutput("12"));
22946
verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net70
, options: TestOptions.ReleaseExe, verify: Verification.Skipped, expectedOutput: IncludeExpectedOutput("11"));
23059
verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net70
, options: TestOptions.ReleaseExe, verify: Verification.Skipped, expectedOutput: IncludeExpectedOutput("11"));
23156
verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net70
, verify: Verification.Skipped, expectedOutput: IncludeExpectedOutput("12"));
23190
public void SpanArgument_01([CombinatorialValues(TargetFramework.
Net70
, TargetFramework.Net80)] TargetFramework targetFramework)
23801
[CombinatorialValues(TargetFramework.
Net70
, TargetFramework.Net80)] TargetFramework targetFramework,
23981
[CombinatorialValues(TargetFramework.
Net70
, TargetFramework.Net80)] TargetFramework targetFramework,
24083
public void SpanAssignment_03([CombinatorialValues(TargetFramework.
Net70
, TargetFramework.Net80)] TargetFramework targetFramework)
24458
public void SpanAssignment_RefLocal([CombinatorialValues(TargetFramework.
Net70
, TargetFramework.Net80)] TargetFramework targetFramework)
24483
public void SpanAssignment_NestedScope_01([CombinatorialValues(TargetFramework.
Net70
, TargetFramework.Net80)] TargetFramework targetFramework)
26433
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
, options: TestOptions.ReleaseDll.WithSpecificDiagnosticOptions(WithSpanAllocWarning));
28554
CreateCompilation(source, targetFramework: TargetFramework.
Net70
, options: TestOptions.ReleaseDll.WithSpecificDiagnosticOptions(WithSpanAllocWarning)).VerifyEmitDiagnostics(
28579
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyEmitDiagnostics(
29507
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
29533
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
29557
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
29581
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
29604
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
29639
targetFramework: TargetFramework.
Net70
,
29662
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
29696
targetFramework: TargetFramework.
Net70
,
29721
var comp = CreateCompilation(new[] { source, s_collectionExtensions }, targetFramework: TargetFramework.
Net70
);
30913
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net70
, verify: Verification.Skipped, options: TestOptions.ReleaseDll.WithSpecificDiagnosticOptions(WithSpanAllocWarning));
31227
CreateCompilation(src, targetFramework: TargetFramework.
Net70
, options: TestOptions.ReleaseExe.WithSpecificDiagnosticOptions(WithSpanAllocWarning)).VerifyEmitDiagnostics(
33512
var comp = CreateCompilation(new[] { source, CollectionBuilderAttributeDefinition }, targetFramework: TargetFramework.
Net70
, options: TestOptions.ReleaseDll.WithSpecificDiagnosticOptions(WithSpanAllocWarning));
42200
public void CreatingNewListFromLengthWithSideEffects([CombinatorialValues(TargetFramework.
Net70
, TargetFramework.Net80)] TargetFramework targetFramework)
Semantics\InlineArrayTests.cs (4)
18186
var comp = CreateCompilation(src, targetFramework: TargetFramework.
Net70
);
18198
var vbComp = CreateVisualBasicCompilation("", referencedAssemblies: TargetFrameworkUtil.GetReferences(TargetFramework.
Net70
, null));
18217
var comp = CreateCompilation(src, targetFramework: TargetFramework.
Net70
);
18243
var comp = CreateCompilation(src, targetFramework: TargetFramework.
Net70
);
Semantics\ParamsCollectionTests.cs (1)
412
targetFramework: TargetFramework.
Net70
,
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (378)
Semantics\BindingAsyncTasklikeMoreTests.cs (1)
1625
var compilation = CreateCompilation(source, parseOptions: useCSharp9 ? TestOptions.Regular9 : TestOptions.Regular10, targetFramework: TargetFramework.
Net70
);
Semantics\DelegateTypeTests.cs (6)
14093
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net70
, verify: Verification.Skipped, expectedOutput:
14145
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net70
, verify: Verification.Skipped, expectedOutput:
14210
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net70
, verify: Verification.Skipped, expectedOutput:
14301
var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.
Net70
);
14315
comp = CreateCompilation(sourceB, references: new[] { refA }, targetFramework: TargetFramework.
Net70
);
14339
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
Semantics\DynamicTests.cs (1)
1641
CompileAndVerify(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.
Net70
,
Semantics\InterpolationTests.cs (16)
15323
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
15356
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
15392
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
15440
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
15478
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
15519
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
15562
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
15601
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
15640
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
15680
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
15719
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
15763
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
15811
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
15853
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
15892
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
17073
var comp = CreateCompilation(src, targetFramework: TargetFramework.
Net70
);
Semantics\LambdaTests.cs (1)
7094
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
Semantics\MethodTypeInferenceTests.cs (4)
696
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
751
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
797
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
828
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
Semantics\NullableReferenceTypesTests.cs (3)
161199
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(
161319
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
161343
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
Semantics\NullableReferenceTypesVsPatterns.cs (4)
2951
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
2980
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
3016
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
3050
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
Semantics\QueryTests.cs (4)
4599
CompileAndVerify(source, targetFramework: TargetFramework.
Net70
,
4643
CompileAndVerify(source, targetFramework: TargetFramework.
Net70
,
4693
CompileAndVerify(source, targetFramework: TargetFramework.
Net70
,
4737
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(
Semantics\RefEscapingTests.cs (46)
6944
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
7011
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
7060
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
7105
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
7159
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
7204
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
7251
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
7305
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
7349
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
7390
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
7439
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
7476
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
7520
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
7596
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
7646
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
7699
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
7771
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
7833
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
7889
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
7962
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
8035
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
8551
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
8584
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
8626
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
8712
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
9433
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(
9463
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(
9493
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics();
9514
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(
9581
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(
9619
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics();
9639
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(
9685
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics();
9705
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics();
9725
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics();
9988
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics();
10078
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(
10124
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(
10170
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics();
10198
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(
10227
CreateCompilation(code, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics();
10248
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(
10274
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(
10303
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(
10330
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(
10359
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics();
Semantics\RefFieldTests.cs (271)
85
var comp = CreateCompilation(sourceA, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.
Net70
);
97
comp = CreateCompilation(sourceA, targetFramework: TargetFramework.
Net70
);
126
comp = CreateCompilation(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.
Net70
);
150
comp = CreateCompilation(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular11, targetFramework: TargetFramework.
Net70
);
167
var comp = CreateCompilation(sourceA, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.
Net70
);
175
comp = CreateCompilation(sourceA, targetFramework: TargetFramework.
Net70
);
197
comp = CreateCompilation(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.
Net70
);
211
comp = CreateCompilation(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
236
var comp = CreateCompilation(sourceA, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.
Net70
);
244
comp = CreateCompilation(sourceA, targetFramework: TargetFramework.
Net70
);
271
comp = CreateCompilation(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.
Net70
);
285
comp = CreateCompilation(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
370
var comp = CreateCompilation(sourceB, new[] { refA }, targetFramework: TargetFramework.
Net70
);
394
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
425
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
564
var comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.
Net70
);
602
var comp = CreateCompilation(sourceB, references: new[] { refA }, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.
Net70
);
632
var comp = CreateCompilation(sourceB, references: new[] { refA }, targetFramework: TargetFramework.
Net70
);
656
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
726
var comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.
Net70
);
772
var comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.
Net70
);
821
var comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.
Net70
);
904
var comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.
Net70
);
1002
var comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.
Net70
);
1095
var comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.
Net70
);
1160
var comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.
Net70
);
1236
var comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.
Net70
);
1279
comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.
Net70
);
1316
var comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.
Net70
);
1350
var comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.
Net70
);
1395
var comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.
Net70
);
1440
var comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.
Net70
);
1488
var comp = CreateCompilation(source, references: new[] { spanReference.EmitToImageReference() }, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.
Net70
);
1544
var comp = CreateCompilation(source, references: new[] { spanReference.EmitToImageReference() }, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.
Net70
);
1596
var comp = CreateCompilation(source, references: new[] { spanReference.EmitToImageReference() }, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.
Net70
);
1652
var comp = CreateCompilation(source, references: new[] { spanReference.EmitToImageReference() }, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.
Net70
);
1689
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
1727
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
, options: TestOptions.ReleaseExe);
1763
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
1799
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
1842
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
1886
var comp = CreateCompilation(sourceB, new[] { refA }, targetFramework: TargetFramework.
Net70
);
1918
var comp = CreateCompilation(sourceB, new[] { refA }, targetFramework: TargetFramework.
Net70
);
1958
var comp = CreateCompilation(sourceC, new[] { refB }, targetFramework: TargetFramework.
Net70
);
1988
var compB = CreateCompilation(sourceB, references: new[] { refA }, targetFramework: TargetFramework.
Net70
);
2056
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.
Net70
);
2065
comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
2227
var compA = CreateCompilation(sourceA, targetFramework: TargetFramework.
Net70
);
2246
var compB = CreateCompilation(sourceB, references: new[] { refA }, targetFramework: TargetFramework.
Net70
);
2263
targetFramework: TargetFramework.
Net70
,
2289
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), targetFramework: TargetFramework.
Net70
);
2337
var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.
Net70
);
2363
comp = CreateCompilation(sourceB, references: new[] { refA }, targetFramework: TargetFramework.
Net70
);
2439
var comp = CreateCompilation(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.
Net70
);
2477
var comp = CreateCompilation(sourceB, references: new[] { refA }, targetFramework: TargetFramework.
Net70
);
2503
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.
Net70
);
2512
comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
2534
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
, options: TestOptions.UnsafeDebugDll);
2585
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.
Net70
);
2601
comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
2640
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
2696
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
2732
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
2782
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
4391
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
4421
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
5214
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
5271
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
5346
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
, options: TestOptions.UnsafeDebugDll);
5437
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
5465
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
5484
CreateCompilation(source, options: TestOptions.ReleaseDll.WithWarningLevel(9), targetFramework: TargetFramework.
Net70
).VerifyDiagnostics();
5493
CreateCompilation(source, options: TestOptions.ReleaseDll.WithWarningLevel(10), targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(expectedDiagnostics);
5494
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(expectedDiagnostics);
5867
var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.
Net70
);
5935
var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.
Net70
);
5973
var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.
Net70
);
6032
var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.
Net70
);
6070
var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.
Net70
);
6128
var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.
Net70
);
6174
var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.
Net70
);
6214
var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.
Net70
);
6260
var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.
Net70
);
6381
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
6626
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
6786
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
7031
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
7115
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
7188
comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
7238
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
7313
comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
7374
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
7458
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
7545
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
7583
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
7657
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
7728
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
7756
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
7799
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
7827
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
7889
var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.
Net70
);
7933
var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.
Net70
);
7995
var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.
Net70
);
8039
var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.
Net70
);
8101
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
8148
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
8219
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
8266
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
8328
var comp = CreateCompilation(source, parseOptions: TestOptions.RegularPreview.WithFeature("peverify-compat"), targetFramework: TargetFramework.
Net70
);
8362
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
8408
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
8480
var comp = CreateCompilation(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.
Net70
);
8508
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
8565
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
8634
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
8671
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
8708
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
8753
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
8803
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
8872
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
8943
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
9006
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
9080
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
9699
var comp = CreateCompilation(new[] { source, UnscopedRefAttributeDefinition }, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
9816
var comp = CreateCompilation(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.
Net70
);
10014
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
10097
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
10201
var comp = CreateCompilation(source, options: TestOptions.UnsafeDebugExe, targetFramework: TargetFramework.
Net70
);
10240
var comp = CreateCompilation(source, options: TestOptions.UnsafeDebugExe, targetFramework: TargetFramework.
Net70
);
10280
var comp = CreateCompilation(source, options: TestOptions.UnsafeDebugExe, targetFramework: TargetFramework.
Net70
);
11505
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
11835
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.
Net70
);
11847
comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
11869
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.
Net70
);
11881
comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
16495
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
16532
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
16579
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
16622
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
16657
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
16684
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
16718
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
16813
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
, options: TestOptions.UnsafeDebugExe);
17776
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
17812
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
18245
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
Net70
);
18700
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
18718
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
18799
var comp = CreateCompilation(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.
Net70
);
18827
var comp = CreateCompilation(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.
Net70
, options: TestOptions.UnsafeDebugDll);
18904
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
18930
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
18960
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
18995
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
19021
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
19064
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
19092
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
19130
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
19174
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
19227
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
19274
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
19413
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
19491
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
19576
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
19671
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
19794
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
19850
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
19892
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
19921
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
19981
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
20038
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
20103
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
20129
var comp = CreateCompilation(sourceB, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.
Net70
);
20298
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
20326
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.
Net70
);
20333
comp = CreateCompilation(source, parseOptions: TestOptions.Regular11, targetFramework: TargetFramework.
Net70
);
20354
var lib = CreateCompilation(lib_cs, parseOptions: TestOptions.Regular11, targetFramework: TargetFramework.
Net70
);
20356
var comp = CreateCompilation(source, references: new[] { lib.EmitToImageReference() }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.
Net70
);
20415
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
20461
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
20486
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
20516
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
20540
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
20562
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
20585
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
20605
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
20629
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
20660
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
20798
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
20825
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
20846
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
21159
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
21211
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
21244
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
21302
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
21334
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
Net70
);
21456
var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.
Net70
);
21458
comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
21615
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
21676
comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
21747
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
21786
var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Net70
);
21862
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
21886
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
22613
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
22649
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
22729
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
22939
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
22952
comp = CreateCompilation(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.
Net70
);
23085
var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.
Net70
);
23105
comp = CreateCompilation(sourceB1, references: new[] { refA }, targetFramework: TargetFramework.
Net70
);
23152
comp = CreateCompilation(sourceB2, references: new[] { refA }, targetFramework: TargetFramework.
Net70
);
23195
var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.
Net70
);
23308
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
23598
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
23648
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
24082
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
25529
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
25607
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
25645
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
25690
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
25717
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
25752
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
25778
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
25879
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
26007
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
26069
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
26114
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
26521
[InlineData(LanguageVersion.CSharp10, TargetFramework.
Net70
, true, true)]
26522
[InlineData(LanguageVersion.CSharp11, TargetFramework.
Net70
, true, true)]
26523
[InlineData(LanguageVersion.Latest, TargetFramework.
Net70
, true, true)]
26975
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
27904
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
27983
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
28099
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
, options: TestOptions.UnsafeDebugExe);
28179
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
28248
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
, options: TestOptions.UnsafeDebugDll);
28292
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
28317
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
, options: TestOptions.UnsafeReleaseExe);
28351
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
28380
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
28409
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
28441
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
28476
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
28508
var comp = CreateCompilation(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.
Net70
);
28550
var comp = CreateCompilation(new[] { sourceA, sourceB }, targetFramework: TargetFramework.
Net70
, options: TestOptions.ReleaseExe);
28582
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
28618
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
, options: TestOptions.ReleaseExe);
28665
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
28694
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
28723
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
28749
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
28771
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
28810
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
, options: TestOptions.ReleaseExe);
28949
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
28981
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
29010
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
29169
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
29246
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
29316
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
29376
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
29411
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
29449
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
29479
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
29524
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
29591
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net70
, expectedOutput: "0");
29648
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net70
, expectedOutput: "0");
29722
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net70
, expectedOutput: """
29895
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
29932
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
29970
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
Semantics\RefLocalsAndReturnsTests.cs (12)
3298
CompileAndVerify(code, expectedOutput: expectedOutput, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.
Net70
, verify: Verification.FailsPEVerify).VerifyDiagnostics();
3299
CompileAndVerify(code, expectedOutput: expectedOutput, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.
Net70
, verify: Verification.FailsPEVerify).VerifyDiagnostics();
3300
CompileAndVerify(code, expectedOutput: expectedOutput, targetFramework: TargetFramework.
Net70
, verify: Verification.FailsPEVerify).VerifyDiagnostics();
3329
CreateCompilation(code, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.
Net70
).VerifyEmitDiagnostics(expectedDiagnostics);
3330
CreateCompilation(code, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.
Net70
).VerifyEmitDiagnostics(expectedDiagnostics);
3331
CreateCompilation(code, targetFramework: TargetFramework.
Net70
).VerifyEmitDiagnostics(expectedDiagnostics);
3454
CreateCompilation(code, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(
3461
CompileAndVerify(code, expectedOutput: expectedOutput, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.
Net70
, verify: Verification.FailsPEVerify).VerifyDiagnostics();
3462
CompileAndVerify(code, expectedOutput: expectedOutput, targetFramework: TargetFramework.
Net70
, verify: Verification.FailsPEVerify).VerifyDiagnostics();
3484
CreateCompilation(code, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(
3496
CreateCompilation(code, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.
Net70
).VerifyEmitDiagnostics(expectedDiagnostics);
3497
CreateCompilation(code, targetFramework: TargetFramework.
Net70
).VerifyEmitDiagnostics(expectedDiagnostics);
Semantics\SpanStackSafetyTests.cs (5)
1497
var comp = CreateCompilation(src, targetFramework: TargetFramework.
Net70
);
1541
var comp = CreateCompilation(src, targetFramework: TargetFramework.
Net70
);
1595
var comp = CreateCompilation(src, targetFramework: TargetFramework.
Net70
);
1657
var comp = CreateCompilation(src, targetFramework: TargetFramework.
Net70
);
1694
CreateCompilation(code, targetFramework: TargetFramework.
Net70
).VerifyEmitDiagnostics(
Semantics\StackAllocInitializerTests.cs (3)
2704
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
2747
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
2776
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
Semantics\UnsafeTests.cs (1)
6097
var comp = CreateCompilation(libSrc, targetFramework: TargetFramework.
Net70
);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (23)
Symbols\CompilationCreationTests.cs (1)
3032
compilation = CreateCompilation("Compilation", targetFramework: TargetFramework.
Net70
);
Symbols\DefaultInterfaceImplementationTests.cs (1)
69143
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net70
,
Symbols\PartialPropertiesTests.cs (1)
2918
targetFramework: TargetFramework.
Net70
,
Symbols\RequiredMembersTests.cs (15)
1379
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
1798
var comp = CreateCompilation(new[] { c }, references: new[] { ilRef }, targetFramework: TargetFramework.
Net70
);
2540
var comp = CreateCompilation(code, new[] { baseRef }, targetFramework: TargetFramework.
Net70
);
2735
var comp = CreateCompilation(c, new[] { ilRef }, targetFramework: TargetFramework.
Net70
);
2766
var comp = CreateCompilation(c, new[] { ilRef }, targetFramework: TargetFramework.
Net70
);
2888
var comp = CreateCompilation(c, new[] { ilRef }, targetFramework: TargetFramework.
Net70
);
3014
var comp = CreateCompilation(c, new[] { ilRef }, targetFramework: TargetFramework.
Net70
);
3546
var comp = CreateCompilation(c, new[] { ilRef }, targetFramework: TargetFramework.
Net70
);
3680
var comp = CreateCompilation(c, new[] { ilRef }, targetFramework: TargetFramework.
Net70
);
3811
var comp = CreateCompilation(c, new[] { ilRef }, targetFramework: TargetFramework.
Net70
);
6097
var comp = CreateCompilationWithIL(code, badIl, targetFramework: TargetFramework.
Net70
);
6712
var comp = CreateCompilationWithIL("_ = new S();", il, targetFramework: TargetFramework.
Net70
);
7026
var comp = CreateCompilationWithIL("_ = new C();", il, targetFramework: TargetFramework.
Net70
);
7127
var comp = CreateCompilationWithIL("_ = new C();", il, targetFramework: TargetFramework.
Net70
);
7142
var comp = CreateCompilationWithIL("_ = new C() { P1 = 1 };", il, targetFramework: TargetFramework.
Net70
);
Symbols\Source\FileModifierTests.cs (5)
2836
var comp = CreateCompilation(new[] { (source1, "F1.cs") }, targetFramework: TargetFramework.
Net70
);
2866
var comp = CreateCompilation(new[] { (source1, "F1.cs") }, targetFramework: TargetFramework.
Net70
);
4908
var comp = CreateCompilation(new[] { (source1, "F1.cs"), (source2, "F2.cs") }, targetFramework: TargetFramework.
Net70
);
4947
var comp = CreateCompilation(new[] { (source1, "F1.cs"), (source2, "F2.cs") }, targetFramework: TargetFramework.
Net70
);
4998
var comp = CreateCompilation(new[] { (source1, "F1.cs"), (source2, "F2.cs") }, targetFramework: TargetFramework.
Net70
);
Microsoft.CodeAnalysis.Test.Utilities (1)
TargetFrameworkUtil.cs (1)
306
TargetFramework.NetCoreApp or TargetFramework.
Net70
=> ImmutableArray.CreateRange<MetadataReference>(Net70.References.All),
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (14)
Semantics\RefFieldTests.vb (3)
27
Dim compA = CreateCSharpCompilation(GetUniqueName(), sourceA, referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.
Net70
))
75
comp = CreateCompilation(source, targetFramework:=TargetFramework.
Net70
)
147
Dim compB = CreateCSharpCompilation(GetUniqueName(), sourceB, referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.
Net70
, {refA}))
Semantics\RequiredMembersTests.vb (11)
538
End Class", targetFramework:=TargetFramework.
Net70
)
870
End Module", {ilRef}, targetFramework:=TargetFramework.
Net70
)
1006
End Module", {ilRef}, targetFramework:=TargetFramework.
Net70
)
1139
End Module", {ilRef}, targetFramework:=TargetFramework.
Net70
)
1297
End Module", {ilRef}, targetFramework:=TargetFramework.
Net70
)
1826
", {ilAssembly}, targetFramework:=TargetFramework.
Net70
)
1846
End Class", targetFramework:=TargetFramework.
Net70
)
2241
End Module", {ilRef}, targetFramework:=TargetFramework.
Net70
)
2343
End Module", {ilRef}, targetFramework:=TargetFramework.
Net70
)
2445
End Module", {ilRef}, targetFramework:=TargetFramework.
Net70
)
2470
End Module", {csharpComp.EmitToImageReference()}, targetFramework:=TargetFramework.
Net70
)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (1)
SymbolsTests\CompilationCreationTests.vb (1)
2261
compilation = VisualBasicCompilation.Create("Compilation", references:=TargetFrameworkUtil.GetReferences(TargetFramework.
Net70
, Nothing))
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Workspaces\TestWorkspace_XmlConsumption.cs (1)
931
references = [.. TargetFrameworkUtil.GetReferences(TargetFramework.
Net70
)];