719 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 (106)
RefReadonlyParameterTests.cs (1)
2939
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(
RefStructInterfacesTests.cs (27)
3179
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
3254
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
3341
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
3473
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
3516
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
3564
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
3740
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
3806
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
3883
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
3932
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
3982
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
4044
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
4086
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
4129
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
4178
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
4232
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
4287
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
4354
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
5475
var comp2 = CreateCompilation(src1, targetFramework: TargetFramework.
Net70
);
5477
CreateCompilation(src2, references: [comp2.ToMetadataReference()], targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(
5608
var comp2 = CreateCompilation(src1, targetFramework: TargetFramework.
Net70
);
5610
CreateCompilation(src2, references: [comp2.ToMetadataReference()], targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(
5864
CreateCompilation(src, targetFramework: TargetFramework.
Net70
, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
5866
CreateCompilation(src, targetFramework: TargetFramework.
Net70
, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
22726
var comp = CreateCompilation(src, targetFramework: TargetFramework.
Net70
, options: TestOptions.ReleaseExe);
22778
var comp = CreateCompilation(src, targetFramework: TargetFramework.
Net70
, options: TestOptions.ReleaseExe);
22824
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
);
5405
targetFramework: TargetFramework.
Net70
,
5585
targetFramework: TargetFramework.
Net70
,
5610
targetFramework: TargetFramework.
Net70
,
5634
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
5663
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
5682
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
5689
comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
9393
targetFramework: TargetFramework.
Net70
,
9511
targetFramework: TargetFramework.
Net70
,
10061
targetFramework: TargetFramework.
Net70
,
15069
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
15344
[CombinatorialValues(TargetFramework.
Net70
, TargetFramework.Net80)] TargetFramework targetFramework,
15368
var sources = targetFramework == TargetFramework.
Net70
20367
[CombinatorialValues(TargetFramework.
Net70
, TargetFramework.Net80)] TargetFramework targetFramework,
20467
[CombinatorialValues(TargetFramework.
Net70
, TargetFramework.Net80)] TargetFramework targetFramework)
20801
[CombinatorialValues(TargetFramework.
Net70
, TargetFramework.Net80)] TargetFramework targetFramework)
20849
[CombinatorialValues(TargetFramework.
Net70
, TargetFramework.Net80)] TargetFramework targetFramework)
21196
[CombinatorialValues(TargetFramework.
Net70
, TargetFramework.Net80)] TargetFramework targetFramework)
22381
public void RefSafety_Return_01([CombinatorialValues(TargetFramework.
Net70
, TargetFramework.Net80)] TargetFramework targetFramework)
22427
public void RefSafety_Return_02([CombinatorialValues(TargetFramework.
Net70
, TargetFramework.Net80)] TargetFramework targetFramework)
22454
public void RefSafety_Return_03([CombinatorialValues(TargetFramework.
Net70
, TargetFramework.Net80)] TargetFramework targetFramework)
22537
[CombinatorialValues(TargetFramework.
Net70
, TargetFramework.Net80)] TargetFramework targetFramework,
22780
verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net70
, verify: Verification.Skipped, expectedOutput: IncludeExpectedOutput("12"));
22880
verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net70
, options: TestOptions.ReleaseExe, verify: Verification.Skipped, expectedOutput: IncludeExpectedOutput("11"));
22993
verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net70
, options: TestOptions.ReleaseExe, verify: Verification.Skipped, expectedOutput: IncludeExpectedOutput("11"));
23090
verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net70
, verify: Verification.Skipped, expectedOutput: IncludeExpectedOutput("12"));
23124
public void SpanArgument_01([CombinatorialValues(TargetFramework.
Net70
, TargetFramework.Net80)] TargetFramework targetFramework)
23735
[CombinatorialValues(TargetFramework.
Net70
, TargetFramework.Net80)] TargetFramework targetFramework,
23911
[CombinatorialValues(TargetFramework.
Net70
, TargetFramework.Net80)] TargetFramework targetFramework,
24013
public void SpanAssignment_03([CombinatorialValues(TargetFramework.
Net70
, TargetFramework.Net80)] TargetFramework targetFramework)
24388
public void SpanAssignment_RefLocal([CombinatorialValues(TargetFramework.
Net70
, TargetFramework.Net80)] TargetFramework targetFramework)
24413
public void SpanAssignment_NestedScope_01([CombinatorialValues(TargetFramework.
Net70
, TargetFramework.Net80)] TargetFramework targetFramework)
26360
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
, options: TestOptions.ReleaseDll.WithSpecificDiagnosticOptions(WithSpanAllocWarning));
28481
CreateCompilation(source, targetFramework: TargetFramework.
Net70
, options: TestOptions.ReleaseDll.WithSpecificDiagnosticOptions(WithSpanAllocWarning)).VerifyEmitDiagnostics(
28506
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyEmitDiagnostics(
29434
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
29460
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
29484
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
29508
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
29531
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
29566
targetFramework: TargetFramework.
Net70
,
29589
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
29623
targetFramework: TargetFramework.
Net70
,
29648
var comp = CreateCompilation(new[] { source, s_collectionExtensions }, targetFramework: TargetFramework.
Net70
);
30830
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net70
, verify: Verification.Skipped, options: TestOptions.ReleaseDll.WithSpecificDiagnosticOptions(WithSpanAllocWarning));
31144
CreateCompilation(src, targetFramework: TargetFramework.
Net70
, options: TestOptions.ReleaseExe.WithSpecificDiagnosticOptions(WithSpanAllocWarning)).VerifyEmitDiagnostics(
33429
var comp = CreateCompilation(new[] { source, CollectionBuilderAttributeDefinition }, targetFramework: TargetFramework.
Net70
, options: TestOptions.ReleaseDll.WithSpecificDiagnosticOptions(WithSpanAllocWarning));
42628
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
,
Semantics\RecordTests.cs (1)
14085
""", assemblyName: "Base", targetFramework: TargetFramework.
Net70
);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (395)
Semantics\BindingAsyncTasklikeMoreTests.cs (1)
1625
var compilation = CreateCompilation(source, parseOptions: useCSharp9 ? TestOptions.Regular9 : TestOptions.Regular10, targetFramework: TargetFramework.
Net70
);
Semantics\DelegateTypeTests.cs (7)
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
);
14357
var comp = CreateCompilation(sourceA, 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)
7464
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
7531
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
7580
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
7625
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
7679
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
7724
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
7771
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
7825
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
7869
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
7910
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
7959
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
7996
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
8040
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
8116
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
8166
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
8219
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
8291
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
8353
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
8409
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
8482
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
8555
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
9071
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
9104
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
9146
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
9232
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
9953
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(
9983
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(
10013
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics();
10034
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(
10101
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(
10139
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics();
10159
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(
10205
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics();
10225
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics();
10245
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics();
10508
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics();
10598
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(
10644
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(
10690
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics();
10718
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(
10747
CreateCompilation(code, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics();
10768
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(
10794
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(
10823
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(
10850
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(
10879
CreateCompilation(source, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics();
Semantics\RefFieldTests.cs (287)
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
);
22349
targetFramework: TargetFramework.
Net70
).VerifyDiagnostics();
22378
targetFramework: TargetFramework.
Net70
).VerifyDiagnostics();
22413
targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(expectedDiagnostics);
22442
targetFramework: TargetFramework.
Net70
).VerifyDiagnostics();
22477
targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(
22514
targetFramework: TargetFramework.
Net70
).VerifyDiagnostics().EmitToImageReference();
22530
CreateCompilation(source2, [ref1a], parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics();
22544
CreateCompilation(source2, [ref1], parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(expectedDiagnostics);
22567
targetFramework: TargetFramework.
Net70
).VerifyDiagnostics().EmitToImageReference();
22583
CreateCompilation(source2, [ref1a], parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics();
22597
CreateCompilation(source2, [ref1], parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(expectedDiagnostics);
22706
var ref1 = CreateCompilation(source1, targetFramework: TargetFramework.
Net70
)
22767
targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(expectedDiagnostics);
22802
targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(expectedDiagnostics);
22837
targetFramework: TargetFramework.
Net70
).VerifyDiagnostics(expectedDiagnostics);
22856
var ref1 = CreateCompilation(source1, targetFramework: TargetFramework.
Net70
)
23166
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
23202
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
23282
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
23492
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
23505
comp = CreateCompilation(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.
Net70
);
23638
var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.
Net70
);
23658
comp = CreateCompilation(sourceB1, references: new[] { refA }, targetFramework: TargetFramework.
Net70
);
23705
comp = CreateCompilation(sourceB2, references: new[] { refA }, targetFramework: TargetFramework.
Net70
);
23748
var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.
Net70
);
23861
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
24151
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
24201
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
24635
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
26092
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
26170
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
26208
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
26253
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
26280
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
26315
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
26341
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
26442
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
26570
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
26632
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
26677
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
27084
[InlineData(LanguageVersion.CSharp10, TargetFramework.
Net70
, true, true)]
27085
[InlineData(LanguageVersion.CSharp11, TargetFramework.
Net70
, true, true)]
27086
[InlineData(LanguageVersion.Latest, TargetFramework.
Net70
, true, true)]
27538
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
28467
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
28546
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
28662
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
, options: TestOptions.UnsafeDebugExe);
28742
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
28811
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
, options: TestOptions.UnsafeDebugDll);
28855
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
28880
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
, options: TestOptions.UnsafeReleaseExe);
28914
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
28943
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
28972
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
29004
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
29039
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
29071
var comp = CreateCompilation(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.
Net70
);
29113
var comp = CreateCompilation(new[] { sourceA, sourceB }, targetFramework: TargetFramework.
Net70
, options: TestOptions.ReleaseExe);
29145
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
29181
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
, options: TestOptions.ReleaseExe);
29228
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
29257
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
29286
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
29312
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
29334
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
29373
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
, options: TestOptions.ReleaseExe);
29512
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
29544
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
29573
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
29732
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
29809
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
29879
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
29939
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
29974
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
30012
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
30042
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
30087
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
30154
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net70
, expectedOutput: "0");
30211
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net70
, expectedOutput: "0");
30285
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net70
, expectedOutput: """
30458
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
30495
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net70
);
30533
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
);
6792
var comp = CreateCompilationWithIL(code, badIl, targetFramework: TargetFramework.
Net70
);
7407
var comp = CreateCompilationWithIL("_ = new S();", il, targetFramework: TargetFramework.
Net70
);
7721
var comp = CreateCompilationWithIL("_ = new C();", il, targetFramework: TargetFramework.
Net70
);
7822
var comp = CreateCompilationWithIL("_ = new C();", il, targetFramework: TargetFramework.
Net70
);
7837
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
)];