719 references to Net70
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (41)
CodeGen\CodeGenForEachTests.cs (6)
5366CompileAndVerify(source, targetFramework: TargetFramework.Net70, 5406CompileAndVerify(source, targetFramework: TargetFramework.Net70, 5452CompileAndVerify(source, targetFramework: TargetFramework.Net70, 5492CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics( 5533CompileAndVerify(source, targetFramework: TargetFramework.Net70, 5574CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
CodeGen\CodeGenReadOnlySpanConstructionTest.cs (1)
1734CompileAndVerify(source, expectedOutput: "34361843576", verify: Verification.Skipped, targetFramework: TargetFramework.Net70).VerifyIL("Test.Main", @"
CodeGen\CodeGenRefLocalTests.cs (5)
3487verify: Verification.FailsPEVerify, targetFramework: TargetFramework.Net70); 3527verify: Verification.FailsPEVerify, targetFramework: TargetFramework.Net70); 3564verify: Verification.FailsPEVerify, targetFramework: TargetFramework.Net70); 3612verify: Verification.Fails, targetFramework: TargetFramework.Net70); 3665verify: Verification.Fails, targetFramework: TargetFramework.Net70);
CodeGen\CodeGenStackAllocInitializerTests.cs (22)
914verify: Verification.FailsPEVerify, targetFramework: TargetFramework.Net70); 952verify: Verification.Fails, targetFramework: TargetFramework.Net70); 980verify: Verification.Fails, targetFramework: TargetFramework.Net70, 1005verify: Verification.FailsPEVerify, targetFramework: TargetFramework.Net70); 1108verify: Verification.Fails, targetFramework: TargetFramework.Net70); 1137verify: Verification.Fails, targetFramework: TargetFramework.Net70, 1162verify: Verification.Fails, targetFramework: TargetFramework.Net70); 1207verify: Verification.Fails, targetFramework: TargetFramework.Net70); 1236verify: Verification.Fails, targetFramework: TargetFramework.Net70, 1264verify: Verification.Fails, targetFramework: TargetFramework.Net70); 1292verify: Verification.Fails, targetFramework: TargetFramework.Net70, 1319verify: Verification.Fails, targetFramework: TargetFramework.Net70); 1347verify: Verification.Fails, targetFramework: TargetFramework.Net70, 1372verify: Verification.Fails, targetFramework: TargetFramework.Net70); 1419verify: Verification.FailsPEVerify, targetFramework: TargetFramework.Net70); 1457verify: Verification.FailsPEVerify, targetFramework: TargetFramework.Net70); 1498verify: Verification.Fails, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.Net70); 1524verify: Verification.Fails, options: TestOptions.UnsafeDebugExe, targetFramework: TargetFramework.Net70).VerifyDiagnostics(); 1526var comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.Net70); 1580verify: Verification.Fails, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.Net70); 1637verify: Verification.Fails, targetFramework: TargetFramework.Net70); 1674verify: Verification.Fails, targetFramework: TargetFramework.Net70,
CodeGen\CodeGenUsingDeclarationTests.cs (2)
1609var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 1626comp = CreateCompilation(source, targetFramework: TargetFramework.Net70);
CodeGen\CodeGenUsingStatementTests.cs (4)
3168CompileAndVerify(source, targetFramework: TargetFramework.Net70, 3200CompileAndVerify(source, targetFramework: TargetFramework.Net70, 3238CompileAndVerify(source, targetFramework: TargetFramework.Net70, 3270CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
CodeGen\IndexAndRangeTests.cs (1)
4235var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (137)
CodeGen\CodeGenLengthBasedSwitchTests.cs (5)
1926var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 1979var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 2085var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 2191var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 2244var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70);
CodeGen\IndexAndRangeTests.cs (4)
1080var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 1116var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 1144var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 1184var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70);
Emit\LocalStateTracing\LocalStateTracingTests.cs (1)
165private const TargetFramework s_targetFramework = TargetFramework.Net70;
Emit\NumericIntPtrTests.cs (127)
933var comp = CreateCompilation(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 936comp = CreateCompilation(sourceA, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 941comp = CreateCompilation(sourceB, references: new[] { ref1 }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 944comp = CreateCompilation(sourceB, references: new[] { ref2 }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 995var comp = CreateCompilation(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 998comp = CreateCompilation(sourceA, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 1003comp = CreateCompilation(sourceB, references: new[] { ref1 }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 1006comp = CreateCompilation(sourceB, references: new[] { ref2 }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 1021var comp = CreateCompilation(source, options: TestOptions.ReleaseDll.WithWarningLevel(5), parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 1024comp = CreateCompilation(source, options: TestOptions.ReleaseDll.WithWarningLevel(6), parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 1039var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 1069var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 1094var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 1132var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 1188var comp = CreateCompilation(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 1191comp = CreateCompilation(sourceA, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 1196comp = CreateCompilation(sourceB, references: new[] { ref1 }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 1199comp = CreateCompilation(sourceB, references: new[] { ref2 }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 1231var comp = CreateCompilation(source, parseOptions: TestOptions.Regular8, targetFramework: TargetFramework.Net70); 1234comp = CreateCompilation(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 1252var comp = CreateCompilation(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 1275var comp = CreateCompilation(source, parseOptions: TestOptions.Regular8, targetFramework: TargetFramework.Net70); 1278comp = CreateCompilation(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 1296var comp = CreateCompilation(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 1328var comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 1363CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70).VerifyDiagnostics( 1377CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net70).VerifyDiagnostics( 1408CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net70).VerifyDiagnostics(expectedDiagnostics); 1409CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70).VerifyDiagnostics(expectedDiagnostics); 1432var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 1456var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 1491var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 1520var comp = CreateCompilation("", parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 1625var comp = CreateCompilation(sourceA, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 1646comp = CreateCompilation(sourceB, references: new[] { AsReference(comp, useCompilationReference) }, parseOptions: useLatest ? TestOptions.Regular9 : TestOptions.Regular8, targetFramework: TargetFramework.Net70); 1738var comp = CreateCompilation(sourceA, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 1757comp = CreateCompilation(sourceB, references: new[] { refA }, parseOptions: useCSharp9 ? TestOptions.Regular9 : TestOptions.Regular8, targetFramework: TargetFramework.Net70); 1865var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3, targetFramework: TargetFramework.Net70); 1868comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 1913var comp = CreateCompilation(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 1965var comp = CreateCompilation(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 2048var comp = CreateCompilation(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 2150var comp = CreateCompilation(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 2223var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 2251comp = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 2274var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 2292comp = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 2407var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 2457var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 2598var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 2711var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 2776var comp = CreateCompilation(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 2796var comp = CreateCompilation(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 2811var comp = CreateCompilation(source0, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 2823comp = CreateCompilation(source1, references: new[] { ref0 }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 2840var comp = CreateCompilation(source0, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 2855comp = CreateCompilation(source1, references: new[] { ref0 }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 2877var comp = CreateCompilation(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 2919var comp = CreateCompilation(source0, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 2952var comp = CreateCompilation(source0, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 3052var comp = CreateCompilation(new[] { sourceA, sourceB }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 3055comp = CreateCompilation(sourceA, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 3059comp = CreateCompilation(sourceB, references: new[] { ref1 }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 3062comp = CreateCompilation(sourceB, references: new[] { ref2 }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 3065comp = CreateCompilation(sourceB, references: new[] { ref1 }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular8, targetFramework: TargetFramework.Net70); 3068comp = CreateCompilation(sourceB, references: new[] { ref2 }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular8, targetFramework: TargetFramework.Net70); 3125var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 3293var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 6003var comp = CreateCompilation(source, options: TestOptions.ReleaseDll.WithAllowUnsafe(useUnsafeContext), parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 6240var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 6613var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 6847var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 7020var comp = CreateCompilation(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 8121var comp = CreateCompilation(source, options: TestOptions.ReleaseDll.WithAllowUnsafe(useUnsafeContext), parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 8182var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 8408var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 8612var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 8688var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 9013var comp = CreateCompilation(sourceA, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 9032comp = CreateCompilation(sourceB, references: new[] { refA }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 9060var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 9089var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 9121comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 9139comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 9157var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 9188comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 9206comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 9245var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 9274var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 9298var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 9327var comp = CreateCompilation(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 9362var comp = CreateCompilation(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 9427var comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 9508var comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 9646var comp = CreateCompilation(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 9702var comp = CreateCompilation(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 9832var comp = CreateCompilation(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 9904var comp = CreateCompilation(source, parseOptions: TestOptions.Regular9, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70); 9917var comp = CreateCompilation(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 9939var comp = CreateCompilation(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70); 9971var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 10024var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 10273var comp = CreateCompilation(source, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net70); 10500var comp = CreateCompilation(new[] { source }, targetFramework: TargetFramework.Net70); 10576var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 10587var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 10708var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 10721var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 10724var comp2 = CreateCompilation(source, references: new[] { image }, targetFramework: TargetFramework.Net70); 10758var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 10826var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 10894var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 10921var comp = CreateCompilation(source, references: new[] { libComp.ToMetadataReference() }, targetFramework: TargetFramework.Net70); 10943var libComp = CreateCompilation(lib_cs, assemblyName: "lib", targetFramework: TargetFramework.Net70); 10985var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 11047var comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.Net70); 11168var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.Net70); 11191var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.Net70); 11219var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.Net70); 11244var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.Net70); 11269var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.Net70); 11289var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.Net70); 11629var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 11687var comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.Net70); 11704var comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.Net70); 11748comp = CreateCompilation(new[] { source }, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.Net70); 11813targetFramework: useNumericIntPtr ? TargetFramework.Net60 : TargetFramework.Net70);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (106)
RefReadonlyParameterTests.cs (1)
2939CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
RefStructInterfacesTests.cs (27)
3179var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 3254var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 3341var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 3473var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 3516var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 3564var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 3740var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 3806var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 3883var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 3932var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 3982var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 4044var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 4086var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 4129var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 4178var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 4232var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 4287var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 4354var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 5475var comp2 = CreateCompilation(src1, targetFramework: TargetFramework.Net70); 5477CreateCompilation(src2, references: [comp2.ToMetadataReference()], targetFramework: TargetFramework.Net70).VerifyDiagnostics( 5608var comp2 = CreateCompilation(src1, targetFramework: TargetFramework.Net70); 5610CreateCompilation(src2, references: [comp2.ToMetadataReference()], targetFramework: TargetFramework.Net70).VerifyDiagnostics( 5864CreateCompilation(src, targetFramework: TargetFramework.Net70, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics(); 5866CreateCompilation(src, targetFramework: TargetFramework.Net70, parseOptions: TestOptions.Regular12).VerifyDiagnostics( 22726var comp = CreateCompilation(src, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseExe); 22778var comp = CreateCompilation(src, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseExe); 22824var comp = CreateCompilation(src, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseExe);
RefUnsafeInIteratorAndAsyncTests.cs (22)
395CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics( 418CreateCompilation(source, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70).VerifyDiagnostics( 430CreateCompilation(source, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(expectedDiagnostics); 431CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(expectedDiagnostics); 452CompileAndVerify(source, expectedOutput: IfSpans("456"), verify: Verification.FailsPEVerify, targetFramework: TargetFramework.Net70).VerifyDiagnostics(); 472CompileAndVerify(source, expectedOutput: IfSpans("123"), verify: Verification.FailsPEVerify, targetFramework: TargetFramework.Net70).VerifyDiagnostics(); 491CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics( 815CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics( 838CreateCompilation(source, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70).VerifyDiagnostics( 850CreateCompilation(source, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(expectedDiagnostics); 851CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(expectedDiagnostics); 873CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics( 895CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics( 918CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics( 948CompileAndVerify(source, expectedOutput: IfSpans("-1 456"), verify: Verification.FailsPEVerify, targetFramework: TargetFramework.Net70).VerifyDiagnostics(); 978CompileAndVerify(source, expectedOutput: IfSpans("-1 456"), verify: Verification.FailsPEVerify, targetFramework: TargetFramework.Net70).VerifyDiagnostics(); 1006CompileAndVerify(source, expectedOutput: IfSpans("-1 456"), verify: Verification.FailsPEVerify, targetFramework: TargetFramework.Net70).VerifyDiagnostics(); 1032CompileAndVerify(source, expectedOutput: IfSpans("123-1"), verify: Verification.FailsPEVerify, targetFramework: TargetFramework.Net70).VerifyDiagnostics(); 1051CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics( 1074CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics( 1231CompileAndVerify(source, expectedOutput: IfSpans("123"), verify: Verification.FailsPEVerify, targetFramework: TargetFramework.Net70).VerifyDiagnostics(); 1256CompileAndVerify(source, expectedOutput: IfSpans("123"), verify: Verification.FailsPEVerify, targetFramework: TargetFramework.Net70).VerifyDiagnostics();
Semantics\CollectionExpressionTests.cs (50)
3881targetFramework: TargetFramework.Net70, 3903var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 5405targetFramework: TargetFramework.Net70, 5585targetFramework: TargetFramework.Net70, 5610targetFramework: TargetFramework.Net70, 5634var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 5663var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 5682var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 5689comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 9393targetFramework: TargetFramework.Net70, 9511targetFramework: TargetFramework.Net70, 10061targetFramework: TargetFramework.Net70, 15069var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 15344[CombinatorialValues(TargetFramework.Net70, TargetFramework.Net80)] TargetFramework targetFramework, 15368var 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) 22381public void RefSafety_Return_01([CombinatorialValues(TargetFramework.Net70, TargetFramework.Net80)] TargetFramework targetFramework) 22427public void RefSafety_Return_02([CombinatorialValues(TargetFramework.Net70, TargetFramework.Net80)] TargetFramework targetFramework) 22454public void RefSafety_Return_03([CombinatorialValues(TargetFramework.Net70, TargetFramework.Net80)] TargetFramework targetFramework) 22537[CombinatorialValues(TargetFramework.Net70, TargetFramework.Net80)] TargetFramework targetFramework, 22780verifier = CompileAndVerify(source, targetFramework: TargetFramework.Net70, verify: Verification.Skipped, expectedOutput: IncludeExpectedOutput("12")); 22880verifier = CompileAndVerify(source, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseExe, verify: Verification.Skipped, expectedOutput: IncludeExpectedOutput("11")); 22993verifier = CompileAndVerify(source, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseExe, verify: Verification.Skipped, expectedOutput: IncludeExpectedOutput("11")); 23090verifier = CompileAndVerify(source, targetFramework: TargetFramework.Net70, verify: Verification.Skipped, expectedOutput: IncludeExpectedOutput("12")); 23124public 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, 24013public void SpanAssignment_03([CombinatorialValues(TargetFramework.Net70, TargetFramework.Net80)] TargetFramework targetFramework) 24388public void SpanAssignment_RefLocal([CombinatorialValues(TargetFramework.Net70, TargetFramework.Net80)] TargetFramework targetFramework) 24413public void SpanAssignment_NestedScope_01([CombinatorialValues(TargetFramework.Net70, TargetFramework.Net80)] TargetFramework targetFramework) 26360var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseDll.WithSpecificDiagnosticOptions(WithSpanAllocWarning)); 28481CreateCompilation(source, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseDll.WithSpecificDiagnosticOptions(WithSpanAllocWarning)).VerifyEmitDiagnostics( 28506CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics( 29434var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 29460var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 29484var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 29508var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 29531var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 29566targetFramework: TargetFramework.Net70, 29589var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 29623targetFramework: TargetFramework.Net70, 29648var comp = CreateCompilation(new[] { source, s_collectionExtensions }, targetFramework: TargetFramework.Net70); 30830var verifier = CompileAndVerify(source, targetFramework: TargetFramework.Net70, verify: Verification.Skipped, options: TestOptions.ReleaseDll.WithSpecificDiagnosticOptions(WithSpanAllocWarning)); 31144CreateCompilation(src, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseExe.WithSpecificDiagnosticOptions(WithSpanAllocWarning)).VerifyEmitDiagnostics( 33429var comp = CreateCompilation(new[] { source, CollectionBuilderAttributeDefinition }, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseDll.WithSpecificDiagnosticOptions(WithSpanAllocWarning)); 42628public void CreatingNewListFromLengthWithSideEffects([CombinatorialValues(TargetFramework.Net70, TargetFramework.Net80)] TargetFramework targetFramework)
Semantics\InlineArrayTests.cs (4)
18186var comp = CreateCompilation(src, targetFramework: TargetFramework.Net70); 18198var vbComp = CreateVisualBasicCompilation("", referencedAssemblies: TargetFrameworkUtil.GetReferences(TargetFramework.Net70, null)); 18217var comp = CreateCompilation(src, targetFramework: TargetFramework.Net70); 18243var comp = CreateCompilation(src, targetFramework: TargetFramework.Net70);
Semantics\ParamsCollectionTests.cs (1)
412targetFramework: TargetFramework.Net70,
Semantics\RecordTests.cs (1)
14085""", assemblyName: "Base", targetFramework: TargetFramework.Net70);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (395)
Semantics\BindingAsyncTasklikeMoreTests.cs (1)
1625var compilation = CreateCompilation(source, parseOptions: useCSharp9 ? TestOptions.Regular9 : TestOptions.Regular10, targetFramework: TargetFramework.Net70);
Semantics\DelegateTypeTests.cs (7)
14093var verifier = CompileAndVerify(source, targetFramework: TargetFramework.Net70, verify: Verification.Skipped, expectedOutput: 14145var verifier = CompileAndVerify(source, targetFramework: TargetFramework.Net70, verify: Verification.Skipped, expectedOutput: 14210var verifier = CompileAndVerify(source, targetFramework: TargetFramework.Net70, verify: Verification.Skipped, expectedOutput: 14301var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net70); 14315comp = CreateCompilation(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net70); 14339var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 14357var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net70);
Semantics\DynamicTests.cs (1)
1641CompileAndVerify(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net70,
Semantics\InterpolationTests.cs (16)
15323var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 15356var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 15392var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 15440var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 15478var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 15519var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 15562var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 15601var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 15640var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 15680var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 15719var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 15763var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 15811var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 15853var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 15892var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 17073var comp = CreateCompilation(src, targetFramework: TargetFramework.Net70);
Semantics\LambdaTests.cs (1)
7094var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70);
Semantics\MethodTypeInferenceTests.cs (4)
696var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 751var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 797var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 828var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70);
Semantics\NullableReferenceTypesTests.cs (3)
161199CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics( 161319var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 161343var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70);
Semantics\NullableReferenceTypesVsPatterns.cs (4)
2951var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 2980var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 3016var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 3050var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70);
Semantics\QueryTests.cs (4)
4599CompileAndVerify(source, targetFramework: TargetFramework.Net70, 4643CompileAndVerify(source, targetFramework: TargetFramework.Net70, 4693CompileAndVerify(source, targetFramework: TargetFramework.Net70, 4737CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
Semantics\RefEscapingTests.cs (46)
7464var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 7531var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 7580var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 7625var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 7679var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 7724var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 7771var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 7825var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 7869var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 7910var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 7959var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 7996var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 8040var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 8116var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 8166var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 8219var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 8291var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 8353var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 8409var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 8482var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 8555var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 9071var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 9104var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 9146var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 9232var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 9953CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics( 9983CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics( 10013CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(); 10034CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics( 10101CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics( 10139CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(); 10159CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics( 10205CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(); 10225CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(); 10245CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(); 10508CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(); 10598CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics( 10644CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics( 10690CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(); 10718CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics( 10747CreateCompilation(code, targetFramework: TargetFramework.Net70).VerifyDiagnostics(); 10768CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics( 10794CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics( 10823CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics( 10850CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics( 10879CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics();
Semantics\RefFieldTests.cs (287)
85var comp = CreateCompilation(sourceA, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70); 97comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net70); 126comp = CreateCompilation(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70); 150comp = CreateCompilation(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular11, targetFramework: TargetFramework.Net70); 167var comp = CreateCompilation(sourceA, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70); 175comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net70); 197comp = CreateCompilation(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70); 211comp = CreateCompilation(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 236var comp = CreateCompilation(sourceA, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70); 244comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net70); 271comp = CreateCompilation(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70); 285comp = CreateCompilation(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 370var comp = CreateCompilation(sourceB, new[] { refA }, targetFramework: TargetFramework.Net70); 394var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 425var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 564var comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70); 602var comp = CreateCompilation(sourceB, references: new[] { refA }, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.Net70); 632var comp = CreateCompilation(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net70); 656var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 726var comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70); 772var comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70); 821var comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70); 904var comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70); 1002var comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70); 1095var comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70); 1160var comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70); 1236var comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70); 1279comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70); 1316var comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70); 1350var comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70); 1395var comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70); 1440var comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70); 1488var comp = CreateCompilation(source, references: new[] { spanReference.EmitToImageReference() }, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70); 1544var comp = CreateCompilation(source, references: new[] { spanReference.EmitToImageReference() }, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70); 1596var comp = CreateCompilation(source, references: new[] { spanReference.EmitToImageReference() }, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70); 1652var comp = CreateCompilation(source, references: new[] { spanReference.EmitToImageReference() }, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70); 1689var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 1727var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseExe); 1763var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 1799var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 1842var comp = CreateCompilation(source, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 1886var comp = CreateCompilation(sourceB, new[] { refA }, targetFramework: TargetFramework.Net70); 1918var comp = CreateCompilation(sourceB, new[] { refA }, targetFramework: TargetFramework.Net70); 1958var comp = CreateCompilation(sourceC, new[] { refB }, targetFramework: TargetFramework.Net70); 1988var compB = CreateCompilation(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net70); 2056var comp = CreateCompilation(source, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70); 2065comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 2227var compA = CreateCompilation(sourceA, targetFramework: TargetFramework.Net70); 2246var compB = CreateCompilation(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net70); 2263targetFramework: TargetFramework.Net70, 2289var comp = CreateCompilation(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), targetFramework: TargetFramework.Net70); 2337var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net70); 2363comp = CreateCompilation(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net70); 2439var comp = CreateCompilation(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net70); 2477var comp = CreateCompilation(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net70); 2503var comp = CreateCompilation(source, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70); 2512comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 2534var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70, options: TestOptions.UnsafeDebugDll); 2585var comp = CreateCompilation(source, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70); 2601comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 2640var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 2696var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 2732var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 2782var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 4391var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 4421var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 5214var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 5271var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 5346var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70, options: TestOptions.UnsafeDebugDll); 5437var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 5465var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 5484CreateCompilation(source, options: TestOptions.ReleaseDll.WithWarningLevel(9), targetFramework: TargetFramework.Net70).VerifyDiagnostics(); 5493CreateCompilation(source, options: TestOptions.ReleaseDll.WithWarningLevel(10), targetFramework: TargetFramework.Net70).VerifyDiagnostics(expectedDiagnostics); 5494CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(expectedDiagnostics); 5867var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70); 5935var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70); 5973var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70); 6032var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70); 6070var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70); 6128var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70); 6174var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70); 6214var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70); 6260var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70); 6381var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 6626var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 6786var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 7031var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 7115var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 7188comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 7238var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 7313comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 7374var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 7458var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 7545var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 7583var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 7657var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 7728var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 7756var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 7799var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 7827var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 7889var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70); 7933var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70); 7995var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70); 8039var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70); 8101var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 8148var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 8219var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 8266var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 8328var comp = CreateCompilation(source, parseOptions: TestOptions.RegularPreview.WithFeature("peverify-compat"), targetFramework: TargetFramework.Net70); 8362var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 8408var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 8480var comp = CreateCompilation(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net70); 8508var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 8565var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 8634var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 8671var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 8708var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 8753var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 8803var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 8872var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 8943var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 9006var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 9080var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 9699var comp = CreateCompilation(new[] { source, UnscopedRefAttributeDefinition }, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 9816var comp = CreateCompilation(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net70); 10014var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 10097var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 10201var comp = CreateCompilation(source, options: TestOptions.UnsafeDebugExe, targetFramework: TargetFramework.Net70); 10240var comp = CreateCompilation(source, options: TestOptions.UnsafeDebugExe, targetFramework: TargetFramework.Net70); 10280var comp = CreateCompilation(source, options: TestOptions.UnsafeDebugExe, targetFramework: TargetFramework.Net70); 11505var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 11835var comp = CreateCompilation(source, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70); 11847comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 11869var comp = CreateCompilation(source, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70); 11881comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 16495var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 16532var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 16579var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 16622var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 16657var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 16684var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 16718var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 16813var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70, options: TestOptions.UnsafeDebugExe); 17776var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 17812var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 18245var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net70); 18700var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 18718var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 18799var comp = CreateCompilation(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net70); 18827var comp = CreateCompilation(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net70, options: TestOptions.UnsafeDebugDll); 18904var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 18930var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 18960var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 18995var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 19021var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 19064var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 19092var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 19130var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 19174var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 19227var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 19274var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 19413var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 19491var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 19576var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 19671var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 19794var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 19850var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 19892var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 19921var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 19981var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 20038var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 20103var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 20129var comp = CreateCompilation(sourceB, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70); 20298var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 20326var comp = CreateCompilation(source, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70); 20333comp = CreateCompilation(source, parseOptions: TestOptions.Regular11, targetFramework: TargetFramework.Net70); 20354var lib = CreateCompilation(lib_cs, parseOptions: TestOptions.Regular11, targetFramework: TargetFramework.Net70); 20356var comp = CreateCompilation(source, references: new[] { lib.EmitToImageReference() }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70); 20415var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 20461var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 20486var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 20516var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 20540var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 20562var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 20585var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 20605var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 20629var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 20660var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 20798var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 20825var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 20846var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 21159var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 21211var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 21244var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 21302var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 21334var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net70); 21456var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net70); 21458comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 21615var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 21676comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 21747var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 21786var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70); 21862var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 21886var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 22349targetFramework: TargetFramework.Net70).VerifyDiagnostics(); 22378targetFramework: TargetFramework.Net70).VerifyDiagnostics(); 22413targetFramework: TargetFramework.Net70).VerifyDiagnostics(expectedDiagnostics); 22442targetFramework: TargetFramework.Net70).VerifyDiagnostics(); 22477targetFramework: TargetFramework.Net70).VerifyDiagnostics( 22514targetFramework: TargetFramework.Net70).VerifyDiagnostics().EmitToImageReference(); 22530CreateCompilation(source2, [ref1a], parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70).VerifyDiagnostics(); 22544CreateCompilation(source2, [ref1], parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70).VerifyDiagnostics(expectedDiagnostics); 22567targetFramework: TargetFramework.Net70).VerifyDiagnostics().EmitToImageReference(); 22583CreateCompilation(source2, [ref1a], parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70).VerifyDiagnostics(); 22597CreateCompilation(source2, [ref1], parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70).VerifyDiagnostics(expectedDiagnostics); 22706var ref1 = CreateCompilation(source1, targetFramework: TargetFramework.Net70) 22767targetFramework: TargetFramework.Net70).VerifyDiagnostics(expectedDiagnostics); 22802targetFramework: TargetFramework.Net70).VerifyDiagnostics(expectedDiagnostics); 22837targetFramework: TargetFramework.Net70).VerifyDiagnostics(expectedDiagnostics); 22856var ref1 = CreateCompilation(source1, targetFramework: TargetFramework.Net70) 23166var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 23202var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 23282var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 23492var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 23505comp = CreateCompilation(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net70); 23638var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net70); 23658comp = CreateCompilation(sourceB1, references: new[] { refA }, targetFramework: TargetFramework.Net70); 23705comp = CreateCompilation(sourceB2, references: new[] { refA }, targetFramework: TargetFramework.Net70); 23748var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net70); 23861var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 24151var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 24201var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 24635var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 26092var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 26170var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 26208var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 26253var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 26280var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 26315var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 26341var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 26442var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 26570var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 26632var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 26677var 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)] 27538var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 28467var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 28546var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 28662var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70, options: TestOptions.UnsafeDebugExe); 28742var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 28811var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70, options: TestOptions.UnsafeDebugDll); 28855var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 28880var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70, options: TestOptions.UnsafeReleaseExe); 28914var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 28943var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 28972var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 29004var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 29039var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 29071var comp = CreateCompilation(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net70); 29113var comp = CreateCompilation(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseExe); 29145var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 29181var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseExe); 29228var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 29257var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 29286var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 29312var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 29334var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 29373var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseExe); 29512var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 29544var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 29573var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 29732var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 29809var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 29879var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 29939var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 29974var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 30012var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 30042var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 30087var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 30154var verifier = CompileAndVerify(source, targetFramework: TargetFramework.Net70, expectedOutput: "0"); 30211var verifier = CompileAndVerify(source, targetFramework: TargetFramework.Net70, expectedOutput: "0"); 30285var verifier = CompileAndVerify(source, targetFramework: TargetFramework.Net70, expectedOutput: """ 30458var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 30495var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 30533var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70);
Semantics\RefLocalsAndReturnsTests.cs (12)
3298CompileAndVerify(code, expectedOutput: expectedOutput, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net70, verify: Verification.FailsPEVerify).VerifyDiagnostics(); 3299CompileAndVerify(code, expectedOutput: expectedOutput, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net70, verify: Verification.FailsPEVerify).VerifyDiagnostics(); 3300CompileAndVerify(code, expectedOutput: expectedOutput, targetFramework: TargetFramework.Net70, verify: Verification.FailsPEVerify).VerifyDiagnostics(); 3329CreateCompilation(code, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(expectedDiagnostics); 3330CreateCompilation(code, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(expectedDiagnostics); 3331CreateCompilation(code, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(expectedDiagnostics); 3454CreateCompilation(code, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net70).VerifyDiagnostics( 3461CompileAndVerify(code, expectedOutput: expectedOutput, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net70, verify: Verification.FailsPEVerify).VerifyDiagnostics(); 3462CompileAndVerify(code, expectedOutput: expectedOutput, targetFramework: TargetFramework.Net70, verify: Verification.FailsPEVerify).VerifyDiagnostics(); 3484CreateCompilation(code, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net70).VerifyDiagnostics( 3496CreateCompilation(code, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(expectedDiagnostics); 3497CreateCompilation(code, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(expectedDiagnostics);
Semantics\SpanStackSafetyTests.cs (5)
1497var comp = CreateCompilation(src, targetFramework: TargetFramework.Net70); 1541var comp = CreateCompilation(src, targetFramework: TargetFramework.Net70); 1595var comp = CreateCompilation(src, targetFramework: TargetFramework.Net70); 1657var comp = CreateCompilation(src, targetFramework: TargetFramework.Net70); 1694CreateCompilation(code, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(
Semantics\StackAllocInitializerTests.cs (3)
2704var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 2747var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 2776var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70);
Semantics\UnsafeTests.cs (1)
6097var comp = CreateCompilation(libSrc, targetFramework: TargetFramework.Net70);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (23)
Symbols\CompilationCreationTests.cs (1)
3032compilation = CreateCompilation("Compilation", targetFramework: TargetFramework.Net70);
Symbols\DefaultInterfaceImplementationTests.cs (1)
69143var verifier = CompileAndVerify(source, targetFramework: TargetFramework.Net70,
Symbols\PartialPropertiesTests.cs (1)
2918targetFramework: TargetFramework.Net70,
Symbols\RequiredMembersTests.cs (15)
1379var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 1798var comp = CreateCompilation(new[] { c }, references: new[] { ilRef }, targetFramework: TargetFramework.Net70); 2540var comp = CreateCompilation(code, new[] { baseRef }, targetFramework: TargetFramework.Net70); 2735var comp = CreateCompilation(c, new[] { ilRef }, targetFramework: TargetFramework.Net70); 2766var comp = CreateCompilation(c, new[] { ilRef }, targetFramework: TargetFramework.Net70); 2888var comp = CreateCompilation(c, new[] { ilRef }, targetFramework: TargetFramework.Net70); 3014var comp = CreateCompilation(c, new[] { ilRef }, targetFramework: TargetFramework.Net70); 3546var comp = CreateCompilation(c, new[] { ilRef }, targetFramework: TargetFramework.Net70); 3680var comp = CreateCompilation(c, new[] { ilRef }, targetFramework: TargetFramework.Net70); 3811var comp = CreateCompilation(c, new[] { ilRef }, targetFramework: TargetFramework.Net70); 6792var comp = CreateCompilationWithIL(code, badIl, targetFramework: TargetFramework.Net70); 7407var comp = CreateCompilationWithIL("_ = new S();", il, targetFramework: TargetFramework.Net70); 7721var comp = CreateCompilationWithIL("_ = new C();", il, targetFramework: TargetFramework.Net70); 7822var comp = CreateCompilationWithIL("_ = new C();", il, targetFramework: TargetFramework.Net70); 7837var comp = CreateCompilationWithIL("_ = new C() { P1 = 1 };", il, targetFramework: TargetFramework.Net70);
Symbols\Source\FileModifierTests.cs (5)
2836var comp = CreateCompilation(new[] { (source1, "F1.cs") }, targetFramework: TargetFramework.Net70); 2866var comp = CreateCompilation(new[] { (source1, "F1.cs") }, targetFramework: TargetFramework.Net70); 4908var comp = CreateCompilation(new[] { (source1, "F1.cs"), (source2, "F2.cs") }, targetFramework: TargetFramework.Net70); 4947var comp = CreateCompilation(new[] { (source1, "F1.cs"), (source2, "F2.cs") }, targetFramework: TargetFramework.Net70); 4998var comp = CreateCompilation(new[] { (source1, "F1.cs"), (source2, "F2.cs") }, targetFramework: TargetFramework.Net70);
Microsoft.CodeAnalysis.Test.Utilities (1)
TargetFrameworkUtil.cs (1)
306TargetFramework.NetCoreApp or TargetFramework.Net70 => ImmutableArray.CreateRange<MetadataReference>(Net70.References.All),
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (14)
Semantics\RefFieldTests.vb (3)
27Dim compA = CreateCSharpCompilation(GetUniqueName(), sourceA, referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Net70)) 75comp = CreateCompilation(source, targetFramework:=TargetFramework.Net70) 147Dim compB = CreateCSharpCompilation(GetUniqueName(), sourceB, referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Net70, {refA}))
Semantics\RequiredMembersTests.vb (11)
538End Class", targetFramework:=TargetFramework.Net70) 870End Module", {ilRef}, targetFramework:=TargetFramework.Net70) 1006End Module", {ilRef}, targetFramework:=TargetFramework.Net70) 1139End Module", {ilRef}, targetFramework:=TargetFramework.Net70) 1297End Module", {ilRef}, targetFramework:=TargetFramework.Net70) 1826", {ilAssembly}, targetFramework:=TargetFramework.Net70) 1846End Class", targetFramework:=TargetFramework.Net70) 2241End Module", {ilRef}, targetFramework:=TargetFramework.Net70) 2343End Module", {ilRef}, targetFramework:=TargetFramework.Net70) 2445End Module", {ilRef}, targetFramework:=TargetFramework.Net70) 2470End Module", {csharpComp.EmitToImageReference()}, targetFramework:=TargetFramework.Net70)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (1)
SymbolsTests\CompilationCreationTests.vb (1)
2261compilation = VisualBasicCompilation.Create("Compilation", references:=TargetFrameworkUtil.GetReferences(TargetFramework.Net70, Nothing))
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Workspaces\TestWorkspace_XmlConsumption.cs (1)
931references = [.. TargetFrameworkUtil.GetReferences(TargetFramework.Net70)];