5615 references to TargetFramework
InteractiveHost.UnitTests (1)
AbstractInteractiveHostTests.cs (1)
200references: TargetFrameworkUtil.GetReferences(TargetFramework.NetStandard20, references),
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (5)
CommandLineIVTTests.cs (4)
22var comp1 = CreateCompilation(source1, options: TestOptions.DebugDll, assemblyName: "N1", targetFramework: TargetFramework.Mscorlib461); 99var comp1 = CreateCompilation(source1, options: TestOptions.DebugDll, assemblyName: "N1", targetFramework: TargetFramework.Mscorlib461); 177var comp1 = CreateCompilation(source1, options: TestOptions.DebugDll, assemblyName: "N1", targetFramework: TargetFramework.Mscorlib461); 260var comp1 = CreateCompilation(source1, options: TestOptions.DebugDll, assemblyName: "N1", targetFramework: TargetFramework.Mscorlib461);
CommandLineTests.cs (1)
15408TargetFrameworkUtil.GetReferences(TargetFramework.Standard, new[] { MetadataReference.CreateFromAssemblyInternal(typeof(ISourceGenerator).Assembly) }),
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (227)
CodeGen\CodeGenAsyncEHTests.cs (4)
29return base.CompileAndVerify(source, targetFramework: TargetFramework.Empty, expectedOutput: expectedOutput, references: references, options: options); 940var v = CompileAndVerify(source, s_asyncRefs, targetFramework: TargetFramework.Empty, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), expectedOutput: expected, symbolValidator: module => 2414targetFramework: TargetFramework.Mscorlib46).VerifyDiagnostics(); 2416targetFramework: TargetFramework.Mscorlib46).VerifyDiagnostics();
CodeGen\CodeGenAsyncIteratorTests.cs (40)
6496var comp = CreateCompilation(AsyncStreamsTypes, references: new[] { NetStandard20.ExtraReferences.SystemThreadingTasksExtensions }, targetFramework: TargetFramework.NetStandard20); 8521var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 8556var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 8597var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe); 8620var comp1 = CreateCompilation(src1, targetFramework: TargetFramework.Net80); 8635var comp2 = CreateCompilation(src2, references: [comp1.ToMetadataReference()], targetFramework: TargetFramework.Net80); 8661var comp1 = CreateCompilation(src1, targetFramework: TargetFramework.Net80); 8678var comp2 = CreateCompilation(src2, references: [comp1.ToMetadataReference()], targetFramework: TargetFramework.Net80); 8704var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 8726comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 8772var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 8793comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 8854var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 9052var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 9093var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 9138var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 9179var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 9375var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 9421var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 9447CompileAndVerify(src, expectedOutput: ExpectedOutput("42"), verify: Verification.Skipped, targetFramework: TargetFramework.Net80).VerifyDiagnostics(); 9474var verifier = CompileAndVerify(src, expectedOutput: ExpectedOutput("value value True"), verify: Verification.Skipped, targetFramework: TargetFramework.Net80).VerifyDiagnostics(); 9640CompileAndVerify(src, expectedOutput: ExpectedOutput("value value True"), verify: Verification.Skipped, targetFramework: TargetFramework.Net80).VerifyDiagnostics(); 9673CompileAndVerify(src, expectedOutput: ExpectedOutput("value exception True"), verify: Verification.Skipped, targetFramework: TargetFramework.Net80).VerifyDiagnostics(); 9701CompileAndVerify(src, expectedOutput: ExpectedOutput("value True"), verify: Verification.Skipped, targetFramework: TargetFramework.Net80).VerifyDiagnostics(); 9745CompileAndVerify(src, expectedOutput: ExpectedOutput("value value True"), verify: Verification.Skipped, targetFramework: TargetFramework.Net80).VerifyDiagnostics(); 9784CompileAndVerify(src, expectedOutput: ExpectedOutput("value value True"), verify: Verification.Skipped, targetFramework: TargetFramework.Net80).VerifyDiagnostics(); 9830CompileAndVerify(src, expectedOutput: ExpectedOutput("value exception True"), verify: Verification.Skipped, targetFramework: TargetFramework.Net80).VerifyDiagnostics(); 9863CompileAndVerify(src, expectedOutput: ExpectedOutput("value True"), verify: Verification.Skipped, targetFramework: TargetFramework.Net80).VerifyDiagnostics(); 9876var libComp = CreateCompilation(libSrc, targetFramework: TargetFramework.Net80); 9914verify: Verification.Skipped, targetFramework: TargetFramework.Net80).VerifyDiagnostics(); 10138CompileAndVerify(src, expectedOutput: ExpectedOutput("exception True"), verify: Verification.Skipped, targetFramework: TargetFramework.Net80).VerifyDiagnostics(); 10169CompileAndVerify(src, expectedOutput: ExpectedOutput("value value True"), verify: Verification.Skipped, targetFramework: TargetFramework.Net80).VerifyDiagnostics(); 10210CompileAndVerify(src, expectedOutput: ExpectedOutput("value value outer True"), verify: Verification.Skipped, targetFramework: TargetFramework.Net80).VerifyDiagnostics(); 10252CompileAndVerify(src, expectedOutput: ExpectedOutput("False 0 False 1 True"), verify: Verification.Skipped, targetFramework: TargetFramework.Net80).VerifyDiagnostics(); 10295verify: Verification.Skipped, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe); 10499", assemblyName: "libS1", targetFramework: TargetFramework.Net80).ToMetadataReference(); 10506", references: [missingLibS1], assemblyName: "libS2", targetFramework: TargetFramework.Net80).ToMetadataReference(); 10520var comp = CreateCompilation(source, references: [libS2], targetFramework: TargetFramework.Net80); 10531comp = CreateCompilation(source, options: TestOptions.UnsafeDebugDll, references: [libS2, missingLibS1], targetFramework: TargetFramework.Net80); 10558CompileAndVerify(src, expectedOutput: ExpectedOutput("True one False null"), verify: Verification.Skipped, targetFramework: TargetFramework.Net80).VerifyDiagnostics();
CodeGen\CodeGenAsyncLocalsTests.cs (2)
30return base.CompileAndVerify(source, targetFramework: TargetFramework.Empty, expectedOutput: expectedOutput, references: references, options: options, verify: verify); 1247CompileAndVerify(source, targetFramework: TargetFramework.Empty, references: s_asyncRefs, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All), symbolValidator: module =>
CodeGen\CodeGenAsyncTests.cs (3)
6093CompileAndVerify(src, expectedOutput: ExpectedOutput("value True"), targetFramework: TargetFramework.Net90, verify: Verification.Skipped).VerifyDiagnostics(); 6106var libComp = CreateCompilation(libSrc, targetFramework: TargetFramework.Net90); 6136targetFramework: TargetFramework.Net90, verify: Verification.Skipped).VerifyDiagnostics();
CodeGen\CodeGenAwaitForeachTests.cs (1)
9481var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
CodeGen\CodeGenAwaitUsingTests.cs (2)
3720var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 3749var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80);
CodeGen\CodeGenDeconstructTests.cs (2)
7862var comp2 = CompileAndVerify(source2, targetFramework: TargetFramework.Empty, expectedOutput: 7921var comp2 = CompileAndVerify(source2, targetFramework: TargetFramework.Empty, expectedOutput:
CodeGen\CodeGenExprLambdaTests.cs (1)
26Verification verify = default) => CompileAndVerify(source, references, targetFramework: TargetFramework.Standard, expectedOutput: expectedOutput, options: options, parseOptions: parseOptions, verify: verify);
CodeGen\CodeGenForEachTests.cs (9)
797var compilation = CreateCompilationWithILAndMscorlib40(csharp, il, TargetFramework.Mscorlib40); 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( 5592var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 5816var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80);
CodeGen\CodeGenFunctionPointersTests.cs (20)
33TargetFramework targetFramework = TargetFramework.Standard, 46private static CSharpCompilation CreateCompilationWithFunctionPointers(CSharpTestSource source, IEnumerable<MetadataReference>? references = null, CSharpCompilationOptions? options = null, TargetFramework? targetFramework = null) 48return CreateCompilation(source, references: references, options: options ?? TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.RegularPreview, targetFramework: targetFramework ?? TargetFramework.Net50); 54? TargetFrameworkUtil.GetReferences(TargetFramework.Net50) 55: TargetFrameworkUtil.GetReferencesWithout(TargetFramework.Net50, "System.Runtime.InteropServices.dll"); 56return CreateCompilation(source, references: references, options: options ?? TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.RegularPreview, targetFramework: TargetFramework.Empty); 68? TargetFrameworkUtil.GetReferences(TargetFramework.Net50) 69: TargetFrameworkUtil.GetReferencesWithout(TargetFramework.Net50, "System.Runtime.InteropServices.dll"); 70return CreateCompilationWithIL(source, ilStub, references: references, options: options ?? TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.RegularPreview, targetFramework: TargetFramework.Empty); 91}}", symbolValidator: symbolValidator, targetFramework: TargetFramework.NetCoreApp); 115}", symbolValidator: symbolValidator, targetFramework: TargetFramework.NetCoreApp); 1284", UnmanagedCallersOnlyAttribute }, expectedOutput: "1", targetFramework: TargetFramework.NetCoreApp); 1523", UnmanagedCallersOnlyAttribute }, expectedOutput: "15", targetFramework: TargetFramework.NetCoreApp); 3325}", targetFramework: TargetFramework.Standard); 7160", targetFramework: TargetFramework.NetCoreApp, expectedOutput: "123"); 7437}", targetFramework: TargetFramework.Standard); 7503}", targetFramework: TargetFramework.NetStandard20); 8681", references: new[] { reference }, targetFramework: TargetFramework.Standard); 10722", UnmanagedCallersOnlyAttribute }, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.NetCoreApp);
CodeGen\CodeGenImplicitlyTypeArraysTests.cs (2)
128var comp = CreateCompilation(source, targetFramework: TargetFramework.Mscorlib40Extended); 285CompileAndVerify(testSrc, new MetadataReference[] { mscorlib17626 }, expectedOutput: "1", targetFramework: TargetFramework.Empty);
CodeGen\CodeGenIterators.cs (1)
4085var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80);
CodeGen\CodeGenLocalFunctionTests.cs (9)
1403targetFramework: TargetFramework.Mscorlib46, 5995targetFramework: TargetFramework.StandardAndCSharp, 6051targetFramework: TargetFramework.StandardAndCSharp, 6108targetFramework: TargetFramework.StandardAndCSharp, 6197CompileAndVerify(source, targetFramework: TargetFramework.StandardAndCSharp, expectedOutput: "44"); 6222CompileAndVerify(source, targetFramework: TargetFramework.StandardAndCSharp, expectedOutput: "44"); 6247CompileAndVerify(source, targetFramework: TargetFramework.StandardAndCSharp, expectedOutput: "44"); 6272CompileAndVerify(source, targetFramework: TargetFramework.StandardAndCSharp, expectedOutput: "44"); 6298CompileAndVerify(source, targetFramework: TargetFramework.StandardAndCSharp, expectedOutput: "44");
CodeGen\CodeGenOperators.cs (4)
6563var comp = CreateCompilation(code, parseOptions: TestOptions.RegularPreview, targetFramework: TargetFramework.Net60); 6613var comp = CreateCompilation(code, parseOptions: TestOptions.RegularPreview, targetFramework: TargetFramework.Net60); 6971var comp = CreateCompilation(code, parseOptions: TestOptions.RegularPreview, targetFramework: TargetFramework.Net60); 7027var comp = CreateCompilation(code, parseOptions: TestOptions.RegularPreview, targetFramework: TargetFramework.Net60);
CodeGen\CodeGenOverridingAndHiding.cs (1)
1194var compilation = CreateCompilation(substitutedSource, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.NetLatest);
CodeGen\CodeGenReadOnlySpanConstructionTest.cs (7)
129", targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe); 608", targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe); 1734CompileAndVerify(source, expectedOutput: "34361843576", verify: Verification.Skipped, targetFramework: TargetFramework.Net70).VerifyIL("Test.Main", @" 2566var compilation = CreateCompilation(csharp, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.UnsafeReleaseDll); 2614var compilation = CreateCompilation(csharp, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.UnsafeReleaseDll); 2665var compilation = CreateCompilation(csharp, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.UnsafeReleaseDll); 3385var compilation = CreateCompilation(src, targetFramework: TargetFramework.Net80);
CodeGen\CodeGenRefConditionalOperatorTests.cs (6)
2383CompileAndVerify(source, targetFramework: TargetFramework.NetCoreApp, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? expectedOutput : null, options: TestOptions.ReleaseExe, verify: Verification.FailsPEVerify); 2384CompileAndVerify(source, targetFramework: TargetFramework.NetCoreApp, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? expectedOutput : null, options: TestOptions.DebugExe, verify: Verification.FailsPEVerify); 2422CompileAndVerify(source, targetFramework: TargetFramework.NetCoreApp, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? expectedOutput : null, options: TestOptions.ReleaseExe, verify: Verification.FailsPEVerify); 2423CompileAndVerify(source, targetFramework: TargetFramework.NetCoreApp, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? expectedOutput : null, options: TestOptions.DebugExe, verify: Verification.FailsPEVerify); 2473CompileAndVerify(source, targetFramework: TargetFramework.NetCoreApp, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? expectedOutput : null, options: TestOptions.ReleaseExe, verify: Verification.FailsPEVerify); 2474CompileAndVerify(source, targetFramework: TargetFramework.NetCoreApp, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? expectedOutput : null, options: TestOptions.DebugExe, verify: Verification.FailsPEVerify);
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\CodeGenRefReadonlyReturnTests.cs (1)
915comp = CompileAndVerify(text, new[] { ValueTupleRef, SystemRuntimeFacadeRef }, parseOptions: TestOptions.Regular.WithPEVerifyCompatFeature(), verify: Verification.Fails, targetFramework: TargetFramework.Mscorlib40);
CodeGen\CodeGenShortCircuitOperatorTests.cs (2)
2016var comp = CompileAndVerify(source, targetFramework: TargetFramework.Empty, references: new[] { MscorlibRef_v4_0_30316_17626 }, expectedOutput: @"print0 2073var comp = CompileAndVerify(source, targetFramework: TargetFramework.Empty, references: new[] { MscorlibRef_v4_0_30316_17626 }, expectedOutput: @"print0
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\CodeGenTests.cs (4)
534var compilation = CreateCompilationWithILAndMscorlib40(source, il, TargetFramework.Mscorlib461, options: TestOptions.ReleaseDll); 608var compilation = CreateCompilationWithILAndMscorlib40(source, il, TargetFramework.Mscorlib461, options: TestOptions.DebugDll); 867var compilation = CreateCompilationWithILAndMscorlib40(source, il, TargetFramework.Mscorlib461, options: TestOptions.ReleaseExe); 16236CompileAndVerify(source, targetFramework: TargetFramework.NetFramework, expectedOutput: "0");
CodeGen\CodeGenTupleEqualityTests.cs (12)
1806var comp = CreateCompilation(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 1822var comp = CreateCompilation(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 1840var comp = CreateCompilation(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 1860var comp = CreateCompilation(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 1893var comp = CreateCompilation(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 1911var comp = CreateCompilation(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 2219var comp = CreateCompilation(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 2266var comp = CreateCompilation(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 4478targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 4582targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 5045var comp = CreateCompilation(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 5085var comp = CreateCompilation(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
CodeGen\CodeGenTupleTest.cs (49)
926", targetFramework: TargetFramework.Mscorlib40, references: s_valueTupleRefs); 1908var comp = CompileAndVerify(source, targetFramework: TargetFramework.Mscorlib46Extended, expectedOutput: @"42"); 2480var verifier = CompileAndVerify(source, targetFramework: TargetFramework.Mscorlib46Extended, expectedOutput: @"42", options: TestOptions.ReleaseExe); 2925CompileAndVerify(source, expectedOutput: @"42", targetFramework: TargetFramework.Mscorlib46, options: TestOptions.ReleaseExe); 3553targetFramework: TargetFramework.NetFramework, 3858var comp = CreateCompilation(source, targetFramework: TargetFramework.NetFramework, parseOptions: TestOptions.Regular7); 4051targetFramework: TargetFramework.Mscorlib46Extended, 21295targetFramework: TargetFramework.Mscorlib46Extended, 21307targetFramework: TargetFramework.Mscorlib46Extended, 21323targetFramework: TargetFramework.Mscorlib46Extended, 22141var verifier = CompileAndVerify(source, targetFramework: TargetFramework.Mscorlib46, expectedOutput: @"5", options: TestOptions.ReleaseExe); 27039var comp1 = CreateCompilation(source0 + source1, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe); 27046var comp4 = CreateCompilation(source0 + source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe); 27049var comp5 = CreateCompilation(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe, references: comp1Ref); 27053var comp6 = CreateCompilation(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe, references: comp1ImageRef); 27057var comp7 = CreateCompilation(source2, targetFramework: TargetFramework.Mscorlib46, options: TestOptions.DebugExe, references: comp1Ref); 27123var comp1 = CreateCompilation(source0 + source1, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe); 27130var comp4 = CreateCompilation(source0 + source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe); 27133var comp5 = CreateCompilation(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe, references: comp1Ref); 27137var comp6 = CreateCompilation(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe, references: comp1ImageRef); 27141var comp7 = CreateCompilation(source2, targetFramework: TargetFramework.Mscorlib46, options: TestOptions.DebugExe, references: comp1Ref); 27197var comp1 = CreateCompilation(source0 + source1, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe); 27204var comp4 = CreateCompilation(source0 + source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe); 27207var comp5 = CreateCompilation(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe, references: comp1Ref); 27211var comp6 = CreateCompilation(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe, references: comp1ImageRef); 27215var comp7 = CreateCompilation(source2, targetFramework: TargetFramework.Mscorlib46, options: TestOptions.DebugExe, references: comp1Ref); 27275var comp1 = CreateCompilation(source0 + source1, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe); 27282var comp4 = CreateCompilation(source0 + source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe); 27285var comp5 = CreateCompilation(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe, references: comp1Ref); 27289var comp6 = CreateCompilation(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe, references: comp1ImageRef); 27293var comp7 = CreateCompilation(source2, targetFramework: TargetFramework.Mscorlib46, options: TestOptions.DebugExe, references: comp1Ref); 27416var comp = CreateVisualBasicCompilation(source, referencedAssemblies: TargetFrameworkUtil.GetReferences(TargetFramework.Standard)); 27921var comp = CreateCompilation(source, targetFramework: TargetFramework.Mscorlib461); 27949var comp = CreateCompilation(source, targetFramework: TargetFramework.Mscorlib40, assemblyName: "emptyValueTuple"); 27970var comp2 = CreateCompilation(client, references: new[] { comp.EmitToImageReference() }, targetFramework: TargetFramework.Mscorlib40); 27977var comp3 = CreateCompilation("", references: new[] { comp.ToMetadataReference() }, targetFramework: TargetFramework.Mscorlib46); 28025var comp = CreateCompilation(source, targetFramework: TargetFramework.Mscorlib40, assemblyName: "emptyValueTuple", parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute()); 28059var comp2 = CreateCompilation(client, references: new[] { comp.EmitToImageReference() }, targetFramework: TargetFramework.Mscorlib40); 28092var comp = CreateCompilation(source + tupleattributes_cs, targetFramework: TargetFramework.Mscorlib40); 28155var comp = CreateCompilation(source + tupleattributes_cs, targetFramework: TargetFramework.Mscorlib40); 28186var comp = CreateCompilation(trivial2uple + trivial3uple + trivialRemainingTuples, targetFramework: TargetFramework.Mscorlib40); 28189var comp2 = CreateCompilation("", targetFramework: TargetFramework.Mscorlib46, references: new[] { comp.ToMetadataReference() }); 28300var comp = CreateCompilation(trivialRemainingTuples, targetFramework: TargetFramework.Mscorlib40); 28303var comp2 = CreateCompilation("", targetFramework: TargetFramework.Mscorlib46, references: new[] { comp.ToMetadataReference() }); 28388var comp = CreateCompilation(source, targetFramework: TargetFramework.Mscorlib40, assemblyName: "customValueTuple"); 28392var comp3 = CreateCompilation("", references: new[] { comp.ToMetadataReference() }, targetFramework: TargetFramework.Mscorlib46); 28483var comp = CreateCompilation(source, targetFramework: TargetFramework.Mscorlib40, assemblyName: "customValueTuple"); 28549var comp = CreateCompilation(source, targetFramework: TargetFramework.Mscorlib461); 28987var comp = CreateCompilation("", targetFramework: TargetFramework.Minimal);
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\FixedSizeBufferTests.cs (2)
1152var comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Mscorlib40, assemblyName: "fixedBuffer"); 1155var comp3 = CreateCompilation("", references: new[] { comp.ToMetadataReference() }, targetFramework: TargetFramework.Mscorlib46);
CodeGen\ForeachTest.cs (1)
498", targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe);
CodeGen\IndexAndRangeTests.cs (1)
4235var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70);
CodeGen\ObjectAndCollectionInitializerTests.cs (3)
1429CompileAndVerify(source, targetFramework: TargetFramework.StandardAndCSharp, expectedOutput: expectedOutput); 1988var compVerifier = CompileAndVerify(source, targetFramework: TargetFramework.StandardAndCSharp, expectedOutput: expectedOutput); 2100var compVerifier = CompileAndVerify(source, targetFramework: TargetFramework.StandardAndCSharp, expectedOutput: expectedOutput);
CodeGen\UnsafeTests.cs (1)
11806var compilation = CreateCompilationWithILAndMscorlib40(csharpSource, ilSource, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.ReleaseExe);
Emit\CompilationEmitTests.cs (1)
4047references: TargetFrameworkUtil.GetReferences(TargetFramework.Standard),
Emit\EmitCustomModifiers.cs (2)
600var comp = CreateCompilationWithILAndMscorlib40(source, il, TargetFramework.Mscorlib40, options: TestOptions.ReleaseExe); 656var comp = CreateCompilationWithILAndMscorlib40(source, il, TargetFramework.Mscorlib40, options: TestOptions.ReleaseExe);
Emit\OptionalArgumentsTests.cs (1)
108var compilation = CreateCompilationWithILAndMscorlib40(csharpSource, ilSource, TargetFramework.Mscorlib461, options: TestOptions.DebugExe);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (388)
CodeGen\CodeGenCallTests.cs (136)
19883var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 19950CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 20029var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 20053CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 20132var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 20200CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 20279var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 20303CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 20389var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 20603CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 20689var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 20779CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 20860var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 20943CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 21024var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 21059CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 21140var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 21224CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 21305var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 21340CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 21428var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 21668CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 21756var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 21855CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 21936var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 22007CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 22088var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 22120CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 22201var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 22273CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 22354var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 22386CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 22474var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 22715CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 22803var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 22910CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 22991var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 23076CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 23157var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 23193CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 23274var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 23360CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 23441var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 23477CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 23565var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 23832CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 23920var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 24032CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 24120var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 24364CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 24452var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 24553CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 24641var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 24986CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 25074var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 25222CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 25303var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 25414CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 25495var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 25544CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 25625var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 25737CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 25818var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 25867CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 25955var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 26223CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 26311var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 26424CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 26505var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 26610CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 26691var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 26737CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 26818var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 26924CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 27005var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 27051CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 27139var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 27405CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 27493var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 27605CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 27686var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 27799CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 27880var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 27930CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 28011var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 28125CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 28206var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 28256CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 28344var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 28620CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 28708var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 28825CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 28913var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 29185CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 29273var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 29388CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 29476var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 29824CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 29912var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 30065CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 30144var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 30213CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 30292var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 30320CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 30399var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 30469CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 30548var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 30576CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 30662var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 30892CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 30978var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 31076CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 31148var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 31217CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 31289var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 31317CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 31389var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 31459CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 31531var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 31559CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 31638var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 31854CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 31933var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 32024CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 32096var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 32199CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 32271var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 32316CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 32388var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 32492CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 32564var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 32609CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 32688var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 32944CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 33023var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 33134CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics();
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\CodeGenSpanBasedStringConcatTests.cs (56)
37var comp = CompileAndVerify(source, expectedOutput: RuntimeUtilities.IsCoreClr8OrHigherRuntime ? "sccs" : null, targetFramework: TargetFramework.Net80, verify: RuntimeUtilities.IsCoreClr8OrHigherRuntime ? default : Verification.Skipped); 93var comp = CompileAndVerify(source, expectedOutput: RuntimeUtilities.IsCoreClr8OrHigherRuntime ? "sccs" : null, targetFramework: TargetFramework.Net80, verify: RuntimeUtilities.IsCoreClr8OrHigherRuntime ? default : Verification.Skipped); 169var comp = CompileAndVerify(source, expectedOutput: RuntimeUtilities.IsCoreClr8OrHigherRuntime ? expectedOutput : null, targetFramework: TargetFramework.Net80, verify: RuntimeUtilities.IsCoreClr8OrHigherRuntime ? default : Verification.Skipped); 230var comp = CompileAndVerify(source, expectedOutput: RuntimeUtilities.IsCoreClr8OrHigherRuntime ? "ab" : null, targetFramework: TargetFramework.Net80, verify: RuntimeUtilities.IsCoreClr8OrHigherRuntime ? default : Verification.Skipped); 282var comp = CompileAndVerify(source, expectedOutput: RuntimeUtilities.IsCoreClr8OrHigherRuntime ? "ab" : null, targetFramework: TargetFramework.Net80, verify: RuntimeUtilities.IsCoreClr8OrHigherRuntime ? default : Verification.Skipped); 329var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80); 382var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80); 437var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80); 481var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80); 535var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80); 586var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80); 850var comp = CompileAndVerify(source, expectedOutput: RuntimeUtilities.IsCoreClr8OrHigherRuntime ? "sc" : null, targetFramework: TargetFramework.Net80, verify: RuntimeUtilities.IsCoreClr8OrHigherRuntime ? default : Verification.Skipped); 1004var comp = CompileAndVerify(source, expectedOutput: RuntimeUtilities.IsCoreClr8OrHigherRuntime ? "sccs" : null, targetFramework: TargetFramework.Net80, verify: RuntimeUtilities.IsCoreClr8OrHigherRuntime ? default : Verification.Skipped); 1066var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80); 1176var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80); 1287var comp = CompileAndVerify(source, expectedOutput: RuntimeUtilities.IsCoreClr8OrHigherRuntime ? "scs" : null, targetFramework: TargetFramework.Net80, verify: RuntimeUtilities.IsCoreClr8OrHigherRuntime ? default : Verification.Skipped); 1356var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80); 1467var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80); 1533var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80); 1598var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80); 1659var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80); 1739var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80); 1785var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80); 1848var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80); 1931var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80); 1991var comp = CompileAndVerify(source, expectedOutput: RuntimeUtilities.IsCoreClr8OrHigherRuntime ? "abccab" : null, targetFramework: TargetFramework.Net80, verify: RuntimeUtilities.IsCoreClr8OrHigherRuntime ? default : Verification.Skipped); 2056var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80); 2117var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80); 2398var comp = CompileAndVerify(source, expectedOutput: RuntimeUtilities.IsCoreClr8OrHigherRuntime ? "scs" : null, targetFramework: TargetFramework.Net80, verify: RuntimeUtilities.IsCoreClr8OrHigherRuntime ? default : Verification.Skipped); 2597var comp = CompileAndVerify(source, expectedOutput: RuntimeUtilities.IsCoreClr8OrHigherRuntime ? "cssscsssccsc" : null, targetFramework: TargetFramework.Net80, verify: RuntimeUtilities.IsCoreClr8OrHigherRuntime ? default : Verification.Skipped); 2707var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80); 2895var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80); 3090var comp = CompileAndVerify(source, expectedOutput: RuntimeUtilities.IsCoreClr8OrHigherRuntime ? "scss" : null, targetFramework: TargetFramework.Net80, verify: RuntimeUtilities.IsCoreClr8OrHigherRuntime ? default : Verification.Skipped); 3171var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80); 3356var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80); 3431var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80); 3507var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80); 3580var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80); 3701var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80); 3749var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80); 3823var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80); 3953var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80); 4031var comp = CompileAndVerify(source, expectedOutput: RuntimeUtilities.IsCoreClr8OrHigherRuntime ? "abccccabcabc" : null, targetFramework: TargetFramework.Net80, verify: RuntimeUtilities.IsCoreClr8OrHigherRuntime ? default : Verification.Skipped); 4136var comp = CompileAndVerify(source, expectedOutput: RuntimeUtilities.IsCoreClr8OrHigherRuntime ? "abcdabdccdabdcabcabddabc" : null, targetFramework: TargetFramework.Net80, verify: RuntimeUtilities.IsCoreClr8OrHigherRuntime ? default : Verification.Skipped); 4285var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80); 4338var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80); 4401var comp = CompileAndVerify(source, expectedOutput: RuntimeUtilities.IsCoreClr8OrHigherRuntime ? "abcddabc" : null, targetFramework: TargetFramework.Net80, verify: RuntimeUtilities.IsCoreClr8OrHigherRuntime ? default : Verification.Skipped); 4471var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80); 4561var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80); 4685var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80); 4754var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80); 5058var comp = CompileAndVerify(source, expectedOutput: RuntimeUtilities.IsCoreClr8OrHigherRuntime ? "sccs" : null, targetFramework: TargetFramework.Net80, verify: RuntimeUtilities.IsCoreClr8OrHigherRuntime ? default : Verification.Skipped); 5305var comp = CompileAndVerify(source, expectedOutput: RuntimeUtilities.IsCoreClr8OrHigherRuntime ? "csssscsssscssssccscsscsccssc" : null, targetFramework: TargetFramework.Net80, verify: RuntimeUtilities.IsCoreClr8OrHigherRuntime ? default : Verification.Skipped); 5479var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80); 5605var comp = CompileAndVerify(source, expectedOutput: RuntimeUtilities.IsCoreClr8OrHigherRuntime ? "sscss" : null, targetFramework: TargetFramework.Net80, verify: RuntimeUtilities.IsCoreClr8OrHigherRuntime ? default : Verification.Skipped); 5669var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
CodeGen\IndexAndRangeTests.cs (6)
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); 3797var comp = CreateCompilation(source, targetFramework: TargetFramework.StandardAndCSharp); 3884var comp = CreateCompilation(source, targetFramework: TargetFramework.StandardAndCSharp);
Emit\EditAndContinue\EditAndContinueClosureTests.cs (1)
4733var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20);
Emit\EditAndContinue\EditAndContinueTest.cs (2)
21TargetFramework targetFramework = TargetFramework.Standard, 29private readonly TargetFramework _targetFramework = targetFramework;
Emit\EditAndContinue\EditAndContinueTests.cs (34)
794var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe, targetFramework: TargetFramework.NetStandard20); 856using var _ = new EditAndContinueTest(options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20) 1005using var _ = new EditAndContinueTest(options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20) 1137var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe, targetFramework: TargetFramework.NetStandard20); 1260var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe, targetFramework: TargetFramework.NetStandard20); 2895var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe, targetFramework: TargetFramework.NetStandard20); 2979var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe, targetFramework: TargetFramework.NetStandard20); 3106var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20); 5986var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20); 6109var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20); 6442var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20); 6527var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20); 7174var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50); 9597var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All), targetFramework: TargetFramework.NetStandard20); 9812var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20); 11213var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20); 12093var compilation0 = CreateCompilation(source, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20); 12200var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20); 12492var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20); 12694var compilation0 = CreateCompilation(source0, targetFramework: TargetFramework.StandardAndCSharp, 15466var compilation0 = CreateCompilation(source0.Tree, targetFramework: TargetFramework.NetStandard20, options: ComSafeDebugDll); 15672using var _ = new EditAndContinueTest(options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20) 15756using var _ = new EditAndContinueTest(options: TestOptions.DebugDll, targetFramework: TargetFramework.NetLatest, verification: Verification.Skipped) 15897using var _ = new EditAndContinueTest(options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20, verification: Verification.Skipped) 16133using var _ = new EditAndContinueTest(targetFramework: TargetFramework.Minimal, verification: Verification.Skipped) 16173using var _ = new EditAndContinueTest(targetFramework: TargetFramework.Minimal, verification: Verification.Skipped) 18900using var _ = new EditAndContinueTest(targetFramework: TargetFramework.NetCoreApp, verification: Verification.Fails) 19085using var _ = new EditAndContinueTest(targetFramework: TargetFramework.Net80, verification: Verification.Skipped) 19194using var _ = new EditAndContinueTest(targetFramework: TargetFramework.Net80, verification: Verification.Skipped) 19302using var _ = new EditAndContinueTest(targetFramework: TargetFramework.Net80, verification: Verification.Skipped) 19389using var _ = new EditAndContinueTest(targetFramework: TargetFramework.Net80, verification: Verification.Skipped) 19450using var _ = new EditAndContinueTest(targetFramework: TargetFramework.Net80) 19583using var _ = new EditAndContinueTest(targetFramework: TargetFramework.Net80, verification: Verification.Skipped) 19763using var _ = new EditAndContinueTest(targetFramework: TargetFramework.Net80, verification: Verification.Skipped)
Emit\LocalStateTracing\LocalStateTracingTests.cs (4)
165private const TargetFramework s_targetFramework = TargetFramework.Net70; 183private CompilationVerifier CompileAndVerify(string source, string? ilVerifyMessage = null, string? expectedOutput = null, TargetFramework targetFramework = s_targetFramework) 1705targetFramework: TargetFramework.Net90,
Emit\NumericIntPtrTests.cs (128)
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);
Emit\RuntimeProbing\ModuleCancellationTests.cs (1)
31targetFramework: TargetFramework.NetLatest,
Emit\RuntimeProbing\StackOverflowProbingTests.cs (1)
30targetFramework: TargetFramework.NetLatest,
PDB\CSharpDeterministicBuildCompilationTests.cs (2)
61var targetFramework = TargetFramework.NetCoreApp;
PDB\PDBIteratorTests.cs (1)
1624var compilation = CreateCompilation(src, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp);
PDB\PDBLambdaTests.cs (5)
1847var compilation = CreateCompilation(source.Tree, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll); 1875var compilation = CreateCompilation(source.Tree, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll); 1909var compilation = CreateCompilation(source.Tree, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll); 1926var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll); 2024var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
PDB\PDBTests.cs (3)
8694var c = CreateCompilation(source, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp); 9091var c = CreateCompilation(source, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp); 9458var c = CreateCompilation(source, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp);
PDB\PDBUsingTests.cs (3)
300CompileAndVerify(text, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetFramework).VerifyPdb(@" 467CompileAndVerify(text, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.NetFramework).VerifyPdb(@" 2930var comp = CreateCompilation(source, targetFramework: TargetFramework.Mscorlib40);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1744)
Attributes\AttributeTests.cs (2)
10988var comp = CreateCompilation(source, targetFramework: TargetFramework.Net60); 11063var comp2 = CreateVisualBasicCompilation(vbSource, referencedAssemblies: TargetFrameworkUtil.GetReferences(TargetFramework.Standard).Concat(comp.EmitToImageReference()));
Attributes\AttributeTests_CallerInfoAttributes.cs (63)
23TargetFrameworkUtil.GetReferencesWithout(TargetFramework.Net50, "System.Runtime.InteropServices.dll"); 259var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10); 420var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10); 526var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10); 565var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10); 626var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10); 659var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10); 679var comp1 = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, parseOptions: TestOptions.Regular9); 690var compilation = CreateCompilation(source2, references: new[] { ref1 }, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10); 716var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10); 742var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10); 767var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 796var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 825var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10); 854var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 889var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10); 924var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 953var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10); 982var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10); 1014var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 1063var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10); 1098var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10); 1137var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10); 1177var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10); 1215var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10); 1250var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10); 1290var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10); 1321var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 1346var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe); 1393var compilation = CreateCompilationWithIL(source, il, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe); 1444var compilation = CreateCompilation(source, targetFramework: TargetFramework.Net50, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10); 1478var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10); 1512var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10); 1545var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10); 1565var comp1 = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp); 1582var compilation = CreateCompilation(source2, references: new[] { ref1 }, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10); 1613var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 1648var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 1688var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10); 1730var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10); 1776var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10); 1815var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 1849var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 1913var compilation = CreateCompilationWithIL(source, il, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 1941var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10); 1973var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10); 2005var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10); 2038var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10); 2077var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10); 2121var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10); 2153var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10); 2181var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9); 2209var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10); 2237var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10); 2297var compilation = CreateCompilationWithILAndMscorlib40(source, il, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10); 2331var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10); 2367var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10); 2405var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10); 2442var compilation = CreateCompilation(source, targetFramework: TargetFramework.Net50, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10); 2493var compilation = CreateCompilation(source, targetFramework: TargetFramework.Net50, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10); 5779", targetFramework: TargetFramework.NetCoreApp); 5801", targetFramework: TargetFramework.NetCoreApp); 5826", targetFramework: TargetFramework.NetCoreApp);
Attributes\AttributeTests_NullableContext.cs (1)
275var comp1 = CreateVisualBasicCompilation(source1, referencedAssemblies: TargetFrameworkUtil.GetReferences(TargetFramework.Standard).Concat(ref0));
Attributes\AttributeTests_WellKnownAttributes.cs (5)
5657var verifier = CompileAndVerify(source, sourceSymbolValidator: sourceValidator, symbolValidator: metadataValidator, verify: Verification.FailsPEVerify, targetFramework: TargetFramework.Mscorlib40); 12799var verifier = CompileAndVerify(src, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.UnsafeReleaseDll, verify: Verification.Fails); 13762CreateCompilation(code, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics( 13809CreateCompilation(code, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics( 13859CreateCompilation(code, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
FieldKeywordTests.cs (41)
20private static TargetFramework GetTargetFramework(bool useInit) => useInit ? TargetFramework.Net80 : TargetFramework.Standard; 178CompileAndVerify(source, targetFramework: TargetFramework.Net80, verify: Verification.Skipped, expectedOutput: IncludeExpectedOutput(""" 684targetFramework: TargetFramework.Net80); 844targetFramework: TargetFramework.Net80); 953targetFramework: TargetFramework.Net80); 1067targetFramework: TargetFramework.Net80); 1164targetFramework: TargetFramework.Net80); 1399var comp = CreateCompilation(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80); 1639targetFramework: TargetFramework.Net80, 1731targetFramework: TargetFramework.Net80, 1997var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 2136targetFramework: TargetFramework.Net80, 2202var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 2346targetFramework: TargetFramework.Net80, 3854var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 3926var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 4861targetFramework: TargetFramework.Net80, 5251var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 5467var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 5493var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 5513var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 5540var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 5574var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 7453var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 7514var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 7631var targetFramework = GetTargetFramework(useInit); 7764var targetFramework = GetTargetFramework(useInit); 7973var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 8035targetFramework: TargetFramework.Net80, 8118var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 8253var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 8595targetFramework: TargetFramework.Net80); 8670targetFramework: TargetFramework.Net80); 8731targetFramework: TargetFramework.Net80); 8789targetFramework: TargetFramework.Net80); 8870targetFramework: TargetFramework.Net80); 10201targetFramework: TargetFramework.Net80); 10304targetFramework: TargetFramework.Net80); 10403targetFramework: TargetFramework.Net80);
FirstClassSpanTests.cs (55)
890comp = CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.RegularNext, targetFramework: TargetFramework.Net90); 895comp = CreateCompilationWithSpanAndMemoryExtensions(source, targetFramework: TargetFramework.Net90); 971comp = CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.RegularNext, targetFramework: TargetFramework.Net90); 976comp = CreateCompilationWithSpanAndMemoryExtensions(source, targetFramework: TargetFramework.Net90); 2776var comp1Ref = CreateCompilation(source1, targetFramework: TargetFramework.Mscorlib40) 2787var comp2 = CreateCompilation(source2, [comp1Ref], targetFramework: TargetFramework.NetStandard20); 3644CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.RegularNext, targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostics); 3645CreateCompilationWithSpanAndMemoryExtensions(source, targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostics); 3707CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.RegularNext, targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostics); 3708CreateCompilationWithSpanAndMemoryExtensions(source, targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostics); 3942CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.RegularNext, targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostics); 3943CreateCompilationWithSpanAndMemoryExtensions(source, targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostics); 3965CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.Regular.WithLanguageVersion(langVersion), targetFramework: TargetFramework.Net90).VerifyDiagnostics( 4027CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.RegularNext, targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostics); 4028CreateCompilationWithSpanAndMemoryExtensions(source, targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostics); 4125CreateCompilationWithSpanAndMemoryExtensions(source, targetFramework: TargetFramework.Net90).VerifyDiagnostics( 4147CreateCompilationWithSpanAndMemoryExtensions(source, targetFramework: TargetFramework.Net90).VerifyDiagnostics(); 4750var comp = CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.RegularNext, targetFramework: TargetFramework.Net90); 4754comp = CreateCompilationWithSpanAndMemoryExtensions(source, targetFramework: TargetFramework.Net90); 4790var comp = CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.RegularNext, targetFramework: TargetFramework.Net90); 4794comp = CreateCompilationWithSpanAndMemoryExtensions(source, targetFramework: TargetFramework.Net90); 4830var comp = CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.RegularNext, targetFramework: TargetFramework.Net90); 4834comp = CreateCompilationWithSpanAndMemoryExtensions(source, targetFramework: TargetFramework.Net90); 5476CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.RegularNext, targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostics); 5477CreateCompilationWithSpanAndMemoryExtensions(source, targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostics); 5512CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.RegularNext, targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostics); 5513CreateCompilationWithSpanAndMemoryExtensions(source, targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostics); 5635CreateCompilation(source, targetFramework: TargetFramework.Net90).VerifyDiagnostics( 5943CreateCompilationWithSpanAndMemoryExtensions(source, targetFramework: TargetFramework.Net90).VerifyDiagnostics( 5967CreateCompilationWithSpanAndMemoryExtensions(source, targetFramework: TargetFramework.Net90).VerifyDiagnostics( 6075var comp = CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.RegularNext, targetFramework: TargetFramework.Net90); 6078comp = CreateCompilationWithSpanAndMemoryExtensions(source, targetFramework: TargetFramework.Net90); 6108var comp = CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.RegularNext, targetFramework: TargetFramework.Net90); 6111comp = CreateCompilationWithSpanAndMemoryExtensions(source, targetFramework: TargetFramework.Net90); 6481var comp = CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.RegularNext, targetFramework: TargetFramework.Net90); 6485comp = CreateCompilationWithSpanAndMemoryExtensions(source, targetFramework: TargetFramework.Net90); 6522var comp = CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.RegularNext, targetFramework: TargetFramework.Net90); 6526comp = CreateCompilationWithSpanAndMemoryExtensions(source, targetFramework: TargetFramework.Net90); 7224CreateCompilationWithSpanAndMemoryExtensions(source, targetFramework: TargetFramework.Net90).VerifyDiagnostics( 7244CreateCompilationWithSpanAndMemoryExtensions(source, targetFramework: TargetFramework.Net90).VerifyDiagnostics( 8036var comp = CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.RegularNext, targetFramework: TargetFramework.Net90); 8039comp = CreateCompilationWithSpanAndMemoryExtensions(source, targetFramework: TargetFramework.Net90); 8172var comp = CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.RegularNext, targetFramework: TargetFramework.Net90); 8175comp = CreateCompilationWithSpanAndMemoryExtensions(source, targetFramework: TargetFramework.Net90); 8370var comp = CreateCompilationWithSpanAndMemoryExtensions(source, targetFramework: TargetFramework.Net90, parseOptions: TestOptions.RegularNext); 8373comp = CreateCompilationWithSpanAndMemoryExtensions(source, targetFramework: TargetFramework.Net90); 8399comp = CreateCompilationWithSpanAndMemoryExtensions(source, targetFramework: TargetFramework.Net90, parseOptions: TestOptions.RegularNext); 8402comp = CreateCompilationWithSpanAndMemoryExtensions(source, targetFramework: TargetFramework.Net90); 8770var comp = CreateCompilation(source, targetFramework: TargetFramework.Net90).VerifyDiagnostics( 8789var comp = CreateCompilation(source, targetFramework: TargetFramework.Net90).VerifyDiagnostics( 8808CreateCompilation(source, targetFramework: TargetFramework.Net90).VerifyDiagnostics( 8840var comp = CreateCompilationWithSpanAndMemoryExtensions(source, targetFramework: TargetFramework.Net90).VerifyDiagnostics(); 8870var comp = CreateCompilationWithSpanAndMemoryExtensions(source, targetFramework: TargetFramework.Net90).VerifyDiagnostics(); 8919var comp = CreateCompilationWithSpanAndMemoryExtensions(source, targetFramework: TargetFramework.Net90).VerifyDiagnostics(); 8966var comp = CreateCompilationWithSpanAndMemoryExtensions(source, targetFramework: TargetFramework.Net90).VerifyDiagnostics();
FlowAnalysis\FlowTestBase.cs (3)
92protected DataFlowAnalysis CompileAndAnalyzeDataFlowExpression(string program, TargetFramework targetFramework, params MetadataReference[] references) 161return CompileAndGetModelAndExpression<T>(program, analysisDelegate, TargetFramework.Standard, assertNoDiagnostics: false, references); 164protected T CompileAndGetModelAndExpression<T>(string program, Func<SemanticModel, ExpressionSyntax, T> analysisDelegate, TargetFramework targetFramework, bool assertNoDiagnostics, params MetadataReference[] references)
FlowAnalysis\RegionAnalysisTests.cs (49)
12402" + InlineArray2Definition, TargetFramework.Net80); 12452" + InlineArray2Definition, TargetFramework.Net80); 12486" + InlineArray22Definition, TargetFramework.Net80); 12537" + InlineArray2Definition, TargetFramework.Net80); 12572" + InlineArray22Definition, TargetFramework.Net80); 12607" + InlineArray2Definition, TargetFramework.Net80); 12642" + InlineArray2Definition, TargetFramework.Net80); 12677" + InlineArray2Definition, TargetFramework.Net80); 12712" + InlineArray22Definition, TargetFramework.Net80); 12747" + InlineArray22Definition, TargetFramework.Net80); 12782" + InlineArray22Definition, TargetFramework.Net80); 12817" + InlineArray22Definition, TargetFramework.Net80); 12852" + InlineArray22Definition, TargetFramework.Net80); 12887" + InlineArray2Definition, TargetFramework.Net80); 12922" + InlineArray2Definition, TargetFramework.Net80); 12957" + InlineArray2Definition, TargetFramework.Net80); 12992" + InlineArray22Definition, TargetFramework.Net80); 13027" + InlineArray22Definition, TargetFramework.Net80); 13062" + InlineArray22Definition, TargetFramework.Net80); 13097" + InlineArray22Definition, TargetFramework.Net80); 13132" + InlineArray22Definition, TargetFramework.Net80); 13167" + InlineArray2Definition, TargetFramework.Net80); 13212", TargetFramework.Net80); 13246" + InlineArray1Definition, TargetFramework.Net80); 13281" + InlineArray2Definition, TargetFramework.Net80); 13316" + InlineArray2Definition, TargetFramework.Net80); 13351" + InlineArray2Definition, TargetFramework.Net80); 13389" + InlineArray2Definition, TargetFramework.Net80); 13424" + InlineArray22Definition, TargetFramework.Net80); 13459" + InlineArray22Definition, TargetFramework.Net80); 13494" + InlineArray22Definition, TargetFramework.Net80); 13529" + InlineArray22Definition, TargetFramework.Net80); 13564" + InlineArray22Definition, TargetFramework.Net80); 13599" + InlineArray2Definition, TargetFramework.Net80); 13634" + InlineArray2Definition, TargetFramework.Net80); 13669" + InlineArray2Definition, TargetFramework.Net80); 13706" + InlineArray2Definition, TargetFramework.Net80); 13741" + InlineArray22Definition, TargetFramework.Net80); 13776" + InlineArray22Definition, TargetFramework.Net80); 13811" + InlineArray22Definition, TargetFramework.Net80); 13846" + InlineArray22Definition, TargetFramework.Net80); 13881" + InlineArray22Definition, TargetFramework.Net80); 13921" + InlineArray2Definition, TargetFramework.Net80); 13959" + InlineArray2Definition, TargetFramework.Net80); 13999" + InlineArray22Definition, TargetFramework.Net80); 14039" + InlineArray22Definition, TargetFramework.Net80); 14079" + InlineArray22Definition, TargetFramework.Net80); 14110targetFramework: TargetFramework.NetCoreApp); 14138targetFramework: TargetFramework.NetCoreApp,
FlowAnalysis\StructTests.cs (1)
216CreateCompilation(source, targetFramework: TargetFramework.Mscorlib461).VerifyDiagnostics(
OverloadResolutionPriorityTests.cs (9)
682var comp2 = CreateCompilation([source2, OverloadResolutionPriorityAttributeDefinition], references: [comp1_1.ToMetadataReference()], targetFramework: TargetFramework.Standard); 690var comp3 = CreateCompilation(source3, references: [comp2.ToMetadataReference(), comp1_2.ToMetadataReference()], targetFramework: TargetFramework.Standard); 741var comp2 = CreateCompilation([source2, OverloadResolutionPriorityAttributeDefinition], references: [comp1_1.ToMetadataReference()], targetFramework: TargetFramework.Standard); 750var comp3 = CreateCompilation(source3, references: [comp2.ToMetadataReference(), comp1_2.ToMetadataReference()], targetFramework: TargetFramework.Standard); 1825CompileAndVerify([executable, source, OverloadResolutionPriorityAttributeDefinition], targetFramework: TargetFramework.Mscorlib461AndCSharp, expectedOutput: "1234").VerifyDiagnostics(); 1827var comp = CreateCompilation([source, OverloadResolutionPriorityAttributeDefinition], targetFramework: TargetFramework.Mscorlib461AndCSharp); 1828CompileAndVerify(executable, references: new[] { AsReference(comp, useMetadataReference) }, targetFramework: TargetFramework.Mscorlib461AndCSharp, expectedOutput: "1234").VerifyDiagnostics(); 2952var vb = CreateVisualBasicCompilation(GetUniqueName(), vbSource, referencedAssemblies: TargetFrameworkUtil.GetReferences(TargetFramework.Standard), 3006var vb = CreateVisualBasicCompilation(GetUniqueName(), vbSource, referencedAssemblies: TargetFrameworkUtil.GetReferences(TargetFramework.Standard),
RefReadonlyParameterTests.cs (8)
1602var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetStandard20); 2939CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics( 5639var verifier = CompileAndVerify(source, targetFramework: TargetFramework.StandardAndCSharp, expectedOutput: "exception2"); 5707var verifier = CompileAndVerify(source, targetFramework: TargetFramework.StandardAndCSharp, expectedOutput: "exception2"); 5787var comp1 = CreateCompilation(source1, targetFramework: TargetFramework.Mscorlib40).VerifyDiagnostics(); 5813var comp1 = CreateCompilation(source1, targetFramework: TargetFramework.Mscorlib40).VerifyDiagnostics(); 5838var comp1 = CreateCompilation(source1, targetFramework: TargetFramework.Mscorlib40).VerifyDiagnostics(); 6093CreateCompilation(source, targetFramework: TargetFramework.Net50).VerifyDiagnostics(
RefStructInterfacesTests.cs (156)
22private static readonly TargetFramework s_targetFrameworkSupportingByRefLikeGenerics = TargetFramework.Net90; 37var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 46CreateCompilation(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics(); 48CreateCompilation(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics( 70var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 79CreateCompilation(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics(); 81CreateCompilation(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics( 103var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 126var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 150var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 161CreateCompilation(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics(); 163CreateCompilation(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics( 182var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 193CreateCompilation(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics(); 195CreateCompilation(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics( 214var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 239var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 267var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 278CreateCompilation(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics(); 280CreateCompilation(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics( 305var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 316CreateCompilation(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics(); 318CreateCompilation(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics( 343var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 371var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 397var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 408CreateCompilation(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics(); 410CreateCompilation(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics( 429var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 440CreateCompilation(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics(); 442CreateCompilation(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics( 461var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 486var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 515var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 526CreateCompilation(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics(); 528CreateCompilation(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics( 553var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 564CreateCompilation(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics(); 566CreateCompilation(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics( 591var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 619var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 645var comp1 = CreateCompilation(src1, targetFramework: TargetFramework.Net80); 663var comp2 = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80); 687var comp3 = CreateCompilation(src3, references: [comp1Ref], targetFramework: TargetFramework.Net80); 729var comp4 = CreateCompilation(src4, references: [comp1Ref], targetFramework: TargetFramework.Net80); 755var comp5 = CreateCompilation(src5, references: [comp1Ref], targetFramework: TargetFramework.Net80); 776var comp6 = CreateCompilation(src6, references: [comp1Ref], targetFramework: TargetFramework.Net80); 802var comp7 = CreateCompilation(src7, references: [comp1Ref], targetFramework: TargetFramework.Net80); 810CreateCompilation(src7, references: [comp1Ref], targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics(); 812CreateCompilation(src7, references: [comp1Ref], targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics( 836var comp8 = CreateCompilation(src8, references: [comp1Ref], targetFramework: TargetFramework.Net80); 844CreateCompilation(src8, references: [comp1Ref], targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics(); 846CreateCompilation(src8, references: [comp1Ref], targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics( 865var comp9 = CreateCompilation(src9, references: [comp1Ref], targetFramework: TargetFramework.Net80); 886var comp10 = CreateCompilation(src10, references: [comp1Ref], targetFramework: TargetFramework.Net80); 909var comp11 = CreateCompilation(src11, references: [comp1Ref], targetFramework: TargetFramework.Net80); 931var comp12 = CreateCompilation(src12, references: [comp1Ref], targetFramework: TargetFramework.Net80); 949var comp1 = CreateCompilation(src1, targetFramework: TargetFramework.Net80); 969var comp7 = CreateCompilation(src7, references: [comp1Ref], targetFramework: TargetFramework.Net80); 996var comp8 = CreateCompilation(src8, references: [comp1Ref], targetFramework: TargetFramework.Net80); 1033CreateCompilation(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics( 1058var comp1 = CreateCompilation(src1, targetFramework: TargetFramework.Net80); 1087var comp2 = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80); 1144var comp3 = CreateCompilation(src3, references: [comp1Ref], targetFramework: TargetFramework.Net80); 1217var comp4 = CreateCompilation(src4, references: [comp1Ref], targetFramework: TargetFramework.Net80); 1256var comp5 = CreateCompilation(src5, references: [comp1Ref], targetFramework: TargetFramework.Net80); 1305var comp6 = CreateCompilation(src6, references: [comp1Ref], targetFramework: TargetFramework.Net80); 1342var comp7 = CreateCompilation(src7, references: [comp1Ref], targetFramework: TargetFramework.Net80); 1352CreateCompilation(src7, references: [comp1Ref], targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics(); 1354comp7 = CreateCompilation(src7, references: [comp1Ref], targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12); 1395var comp8 = CreateCompilation(src8, references: [comp1Ref], targetFramework: TargetFramework.Net80); 1405CreateCompilation(src8, references: [comp1Ref], targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics(); 1407comp8 = CreateCompilation(src8, references: [comp1Ref], targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12); 1452var comp9 = CreateCompilation(src9, references: [comp1Ref], targetFramework: TargetFramework.Net80); 1472var comp10 = CreateCompilation(src10, references: [comp1Ref], targetFramework: TargetFramework.Net80); 1497var comp11 = CreateCompilation(src11, references: [comp1Ref], targetFramework: TargetFramework.Net80); 1519var comp12 = CreateCompilation(src12, references: [comp1Ref], targetFramework: TargetFramework.Net80); 1544var comp1 = CreateCompilation(src1, targetFramework: TargetFramework.Net80); 1569var comp7 = CreateCompilation(src7, references: [comp1Ref], targetFramework: TargetFramework.Net80); 1603var comp8 = CreateCompilation(src8, references: [comp1Ref], targetFramework: TargetFramework.Net80); 1634var comp1 = CreateCompilation(src1, targetFramework: TargetFramework.Net80); 1663var comp2 = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80); 1720var comp3 = CreateCompilation(src3, references: [comp1Ref], targetFramework: TargetFramework.Net80); 1793var comp4 = CreateCompilation(src4, references: [comp1Ref], targetFramework: TargetFramework.Net80); 1832var comp5 = CreateCompilation(src5, references: [comp1Ref], targetFramework: TargetFramework.Net80); 1881var comp6 = CreateCompilation(src6, references: [comp1Ref], targetFramework: TargetFramework.Net80); 1918var comp7 = CreateCompilation(src7, references: [comp1Ref], targetFramework: TargetFramework.Net80); 1928CreateCompilation(src7, references: [comp1Ref], targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics(); 1930comp7 = CreateCompilation(src7, references: [comp1Ref], targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12); 1971var comp8 = CreateCompilation(src8, references: [comp1Ref], targetFramework: TargetFramework.Net80); 1981CreateCompilation(src8, references: [comp1Ref], targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics(); 1983comp8 = CreateCompilation(src8, references: [comp1Ref], targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12); 2028var comp9 = CreateCompilation(src9, references: [comp1Ref], targetFramework: TargetFramework.Net80); 2048var comp10 = CreateCompilation(src10, references: [comp1Ref], targetFramework: TargetFramework.Net80); 2073var comp11 = CreateCompilation(src11, references: [comp1Ref], targetFramework: TargetFramework.Net80); 2095var comp12 = CreateCompilation(src12, references: [comp1Ref], targetFramework: TargetFramework.Net80); 2120var comp1 = CreateCompilation(src1, targetFramework: TargetFramework.Net80); 2145var comp7 = CreateCompilation(src7, references: [comp1Ref], targetFramework: TargetFramework.Net80); 2179var comp8 = CreateCompilation(src8, references: [comp1Ref], targetFramework: TargetFramework.Net80); 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); 4396comp = CreateCompilation(src, targetFramework: TargetFramework.Mscorlib461Extended, parseOptions: TestOptions.Regular13).VerifyDiagnostics( 4403comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics( 4446CreateCompilation(src, targetFramework: TargetFramework.Mscorlib461Extended, parseOptions: TestOptions.Regular13).VerifyDiagnostics( 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( 6141var comp1 = CreateCompilation(src1, targetFramework: TargetFramework.NetCoreApp); 6203var comp1 = CreateCompilation(src1, targetFramework: TargetFramework.NetCoreApp); 6261var comp1 = CreateCompilation(src1, targetFramework: TargetFramework.NetCoreApp); 6329var comp1 = CreateCompilation(src1, targetFramework: TargetFramework.NetCoreApp); 6397var comp1 = CreateCompilation(src1, targetFramework: TargetFramework.NetCoreApp); 6463var comp1 = CreateCompilation(src1, targetFramework: TargetFramework.NetCoreApp); 20061CreateCompilation([src1, src2], targetFramework: TargetFramework.Mscorlib461Extended, options: TestOptions.ReleaseExe).VerifyDiagnostics( 20099CreateCompilation([src1, src3], targetFramework: TargetFramework.Mscorlib461Extended, options: TestOptions.ReleaseExe).VerifyDiagnostics( 20105comp1Ref = CreateCompilation(src1, targetFramework: TargetFramework.Mscorlib461Extended).ToMetadataReference(); 20107CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.Mscorlib461Extended, options: TestOptions.ReleaseExe).VerifyDiagnostics( 20113CreateCompilation(src3, references: [comp1Ref], targetFramework: TargetFramework.Mscorlib461Extended, options: TestOptions.ReleaseExe).VerifyEmitDiagnostics(); 20318CreateCompilation([src1, src2], targetFramework: TargetFramework.Mscorlib461Extended, options: TestOptions.ReleaseExe).VerifyDiagnostics( 20356CreateCompilation([src1, src3], targetFramework: TargetFramework.Mscorlib461Extended, options: TestOptions.ReleaseExe).VerifyDiagnostics( 20362comp1Ref = CreateCompilation(src1, targetFramework: TargetFramework.Mscorlib461Extended).ToMetadataReference(); 20364CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.Mscorlib461Extended, options: TestOptions.ReleaseExe).VerifyDiagnostics( 20370CreateCompilation(src3, references: [comp1Ref], targetFramework: TargetFramework.Mscorlib461Extended, options: TestOptions.ReleaseExe).VerifyEmitDiagnostics(); 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); 26361comp = CreateCompilation(text, targetFramework: TargetFramework.Net60, parseOptions: TestOptions.Regular10); 26816var comp = CreateCompilation(text, targetFramework: TargetFramework.Net60, parseOptions: TestOptions.Regular10); 26896var comp = CreateCompilation(new[] { text, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net60, parseOptions: TestOptions.Regular10); 29019var comp = CreateCompilation(src, targetFramework: TargetFramework.Net90); 29049var comp = CreateCompilation(source, targetFramework: TargetFramework.Net90); 29076var comp = CreateCompilation(source, targetFramework: TargetFramework.Net90); 29106var comp = CreateCompilation(source, targetFramework: TargetFramework.Net90); 29136var comp = CreateCompilation(source, targetFramework: TargetFramework.Net90); 29166var comp = CreateCompilation(source, targetFramework: TargetFramework.Net90); 29194var comp = CreateCompilation(source, targetFramework: TargetFramework.Net90);
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 (521)
1192targetFramework: TargetFramework.Net80, 1435targetFramework: TargetFramework.Net80, 1530targetFramework: TargetFramework.Net80, 1630targetFramework: TargetFramework.Net80, 1734targetFramework: TargetFramework.Net80, 1814targetFramework: TargetFramework.Net80, 1850targetFramework: TargetFramework.Net80, 1920targetFramework: TargetFramework.Net80, 1927targetFramework: TargetFramework.Net80, 1934targetFramework: TargetFramework.Net80, 1961targetFramework: TargetFramework.Net80); 1968targetFramework: TargetFramework.Net80); 1974targetFramework: TargetFramework.Net80); 2008targetFramework: TargetFramework.Net80, 2029targetFramework: TargetFramework.Net80); 2075var comp = CreateCompilation(new[] { source, s_collectionExtensionsWithSpan }, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80); 2078comp = CreateCompilation(new[] { source, s_collectionExtensionsWithSpan }, parseOptions: TestOptions.RegularPreview, targetFramework: TargetFramework.Net80); 2083targetFramework: TargetFramework.Net80, 2107var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 2169targetFramework: TargetFramework.Net80, 2204targetFramework: TargetFramework.Net80, 2211targetFramework: TargetFramework.Net80, 2216CreateCompilation(source, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics( 2284targetFramework: TargetFramework.Net80, 2364targetFramework: TargetFramework.Net80, 2370targetFramework: TargetFramework.Net80, 2374CreateCompilation(source, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics( 2407targetFramework: TargetFramework.Net80, 2414targetFramework: TargetFramework.Net80, 2421targetFramework: TargetFramework.Net80, 2491targetFramework: TargetFramework.Net80, 2497targetFramework: TargetFramework.Net80, 2503targetFramework: TargetFramework.Net80, 2584targetFramework: TargetFramework.Net80, 2588targetFramework: TargetFramework.Net80, 2592targetFramework: TargetFramework.Net80, 2660targetFramework: TargetFramework.Net80, 2666targetFramework: TargetFramework.Net80, 2672targetFramework: TargetFramework.Net80, 2771targetFramework: TargetFramework.Net80, 2775targetFramework: TargetFramework.Net80, 2779targetFramework: TargetFramework.Net80, 2843targetFramework: TargetFramework.Net80, 2849targetFramework: TargetFramework.Net80, 2855targetFramework: TargetFramework.Net80, 2937targetFramework: TargetFramework.Net80, 2941targetFramework: TargetFramework.Net80, 2945targetFramework: TargetFramework.Net80, 3076targetFramework: TargetFramework.Net80, 3114targetFramework: TargetFramework.Net80, 3148targetFramework: TargetFramework.Net80, 3190targetFramework: TargetFramework.Net80, 3881targetFramework: TargetFramework.Net70, 3903var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 4688var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 4706targetFramework: TargetFramework.Net80, 4730targetFramework: TargetFramework.Net80, 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); 6114CompileAndVerify(source, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.Net80, verify: Verification.Skipped, expectedOutput: IncludeExpectedOutput("0, 2, ")); 6139var comp = CreateCompilation(new[] { source, s_collectionExtensions }, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.Net80); 6185CompileAndVerify(new[] { source, s_collectionExtensions }, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.Net80, verify: Verification.Skipped, expectedOutput: IncludeExpectedOutput("[0, 2], ")); 6207var verifier = CompileAndVerify(new[] { source, s_collectionExtensions }, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.Net80, verify: Verification.Skipped, expectedOutput: IncludeExpectedOutput("1010")); 6299var verifier = CompileAndVerify(new[] { source, s_collectionExtensions }, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.Net80, verify: Verification.Skipped, expectedOutput: IncludeExpectedOutput("10200")); 9393targetFramework: TargetFramework.Net70, 9511targetFramework: TargetFramework.Net70, 10061targetFramework: TargetFramework.Net70, 10551var verifier = CompileAndVerify([source, s_collectionExtensions], targetFramework: TargetFramework.Net80, expectedOutput: IncludeExpectedOutput("[1, 2, 3], "), verify: Verification.Skipped); 10605var verifier = CompileAndVerify([source, s_collectionExtensions], targetFramework: TargetFramework.Net80, expectedOutput: IncludeExpectedOutput("[1, 2, 3], "), verify: Verification.Skipped); 10693var verifier = CompileAndVerify([source, s_collectionExtensions], targetFramework: TargetFramework.Net80, expectedOutput: IncludeExpectedOutput("[1, 2, 3], "), verify: Verification.Skipped); 10749var verifier = CompileAndVerify([source, s_collectionExtensions], targetFramework: TargetFramework.Net80, expectedOutput: IncludeExpectedOutput("[(1, 1), (2, 2), (3, 3)], "), verify: Verification.Skipped); 10803var verifier = CompileAndVerify([source, s_collectionExtensions], targetFramework: TargetFramework.Net80, expectedOutput: IncludeExpectedOutput("[(1, 1), (2, 2), (3, 3)], "), verify: Verification.Skipped); 10902var verifier = CompileAndVerify([source, s_collectionExtensions], targetFramework: TargetFramework.Net80, expectedOutput: IncludeExpectedOutput("[[1], [2], [3]], "), verify: Verification.Skipped); 11213var comp = CreateCompilation(new[] { sourceA, sourceB, s_collectionExtensions }, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 11316var verifier = CompileAndVerify(new[] { source, s_collectionExtensions }, expectedOutput: IncludeExpectedOutput("[1, 2, 3], [1, 2, 3],"), targetFramework: TargetFramework.Net80, verify: Verification.Skipped); 11532targetFramework: TargetFramework.Net80, 11623targetFramework: TargetFramework.Net80, 11917targetFramework: TargetFramework.Net80, 11942targetFramework: TargetFramework.Net80, 12134targetFramework: TargetFramework.Net80, 13230targetFramework: TargetFramework.Net80, 13255targetFramework: TargetFramework.Net80, 13334targetFramework: TargetFramework.Net80, 14217var comp = CreateCompilation(new[] { src, s_collectionExtensions }, targetFramework: TargetFramework.Net80); 14287var comp = CreateCompilation(new[] { src, s_collectionExtensions }, targetFramework: TargetFramework.Net80); 14360var comp = CreateCompilation(new[] { src, s_collectionExtensions }, targetFramework: TargetFramework.Net80); 14374var comp = CreateCompilation(new[] { src, s_collectionExtensions }, targetFramework: TargetFramework.Net80); 14428var comp = CreateCompilation(new[] { src, s_collectionExtensions }, targetFramework: TargetFramework.Net80); 14497var comp = CreateCompilation(new[] { src, s_collectionExtensions }, targetFramework: TargetFramework.Net80); 14542var comp = CreateCompilation(new[] { src, s_collectionExtensions }, targetFramework: TargetFramework.Net80); 14600var comp = CreateCompilation(new[] { src, s_collectionExtensions }, targetFramework: TargetFramework.Net80); 14702var comp = CreateCompilation(new[] { src, s_collectionExtensions }, targetFramework: TargetFramework.Net80); 15069var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 15180var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 15213targetFramework: TargetFramework.Net80, 15290targetFramework: TargetFramework.Net80, 15344[CombinatorialValues(TargetFramework.Net70, TargetFramework.Net80)] TargetFramework targetFramework, 15368var sources = targetFramework == TargetFramework.Net70 15396if (targetFramework == TargetFramework.Net80) 15405verify: targetFramework == TargetFramework.Net80 ? Verification.Fails : Verification.FailsPEVerify, 15407if (targetFramework == TargetFramework.Net80) 15511targetFramework: TargetFramework.NetFramework, 15581var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 15609comp = CreateCompilation(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80); 15637comp = CreateCompilation(sourceC, references: new[] { refA }, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 15679var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 15702targetFramework: TargetFramework.Net80, 15767var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 15785targetFramework: TargetFramework.Net80, 15816var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 15834targetFramework: TargetFramework.Net80, 15865var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 15883targetFramework: TargetFramework.Net80, 15914var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 15932targetFramework: TargetFramework.Net80, 15954var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 15969comp = CreateCompilation(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80); 16016var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 16039targetFramework: TargetFramework.Net80, 16081var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 16104targetFramework: TargetFramework.Net80, 16130var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 16148targetFramework: TargetFramework.Net80, 16172var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 16187comp = CreateCompilation(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80); 16226var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 16244targetFramework: TargetFramework.Net80, 16276var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 16311var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 16345var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 16364targetFramework: TargetFramework.Net80, 16377var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 16391comp = CreateCompilation(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80); 16406comp = CreateCompilation(sourceC, references: new[] { refB }, targetFramework: TargetFramework.Net80); 16434var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 16449comp = CreateCompilation(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80); 16533var comp = CreateCompilation(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80); 16617var comp = CreateCompilation(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80); 16709var comp = CreateCompilation(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80); 16750var comp = CreateCompilation(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80); 16790var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 16833var comp = CreateCompilation(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80); 16915var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 16930comp = CreateCompilation(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80); 16964var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 16979comp = CreateCompilation(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80); 17018var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 17042targetFramework: TargetFramework.Net80, 17085var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 17105targetFramework: TargetFramework.Net80, 17150var comp = CreateCompilation(new[] { sourceAttribute, sourceA }, targetFramework: TargetFramework.Net80); 17166targetFramework: TargetFramework.Net80, 17211var comp = CreateCompilation(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80); 17255var comp = CreateCompilation(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80); 17303var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 17339var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 17357targetFramework: TargetFramework.Net80, 17388var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 17406targetFramework: TargetFramework.Net80, 17437var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 17455targetFramework: TargetFramework.Net80, 17483var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 17501targetFramework: TargetFramework.Net80, 17529var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 17547targetFramework: TargetFramework.Net80, 17572var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 17587comp = CreateCompilation(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80); 17620var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 17639targetFramework: TargetFramework.Net80, 17665var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 17680comp = CreateCompilation(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80); 17711var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 17726comp = CreateCompilation(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80); 17767var comp = CreateCompilation(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80); 17814var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 17832targetFramework: TargetFramework.Net80, 17866var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 17884targetFramework: TargetFramework.Net80, 17926var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 17941comp = CreateCompilation(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80); 17971var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 17986comp = CreateCompilation(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80); 18016var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 18031comp = CreateCompilation(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80); 18074var comp = CreateCompilation(new[] { sourceA, sourceAttribute }, targetFramework: TargetFramework.Net80); 18088comp = CreateCompilation(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80); 18118var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 18132comp = CreateCompilation(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80); 18184targetFramework: TargetFramework.Net80, 18200targetFramework: TargetFramework.Net80); 18255targetFramework: TargetFramework.Net80, 18271targetFramework: TargetFramework.Net80); 18322targetFramework: TargetFramework.Net80); 18370targetFramework: TargetFramework.Net80); 18419targetFramework: TargetFramework.Net80, 18463targetFramework: TargetFramework.Net80, 18505targetFramework: TargetFramework.Net80); 18552targetFramework: TargetFramework.Net80); 18600targetFramework: TargetFramework.Net80); 18648targetFramework: TargetFramework.Net80); 18691targetFramework: TargetFramework.Net80); 18734targetFramework: TargetFramework.Net80); 18777targetFramework: TargetFramework.Net80); 18820targetFramework: TargetFramework.Net80); 18851var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 18866comp = CreateCompilation(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80); 18908var comp = CreateCompilation(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80); 18942var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 18957comp = CreateCompilation(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80); 18988var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 19003comp = CreateCompilation(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80); 19046var comp = CreateCompilation(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80); 19085var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 19103targetFramework: TargetFramework.Net80, 19118comp = CreateCompilation(sourceB2, references: new[] { refA }, targetFramework: TargetFramework.Net80); 19148var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 19166targetFramework: TargetFramework.Net80, 19181comp = CreateCompilation(sourceB2, references: new[] { refA }, targetFramework: TargetFramework.Net80); 19222var comp = CreateCompilation(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80); 19252var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 19269comp = CreateCompilation(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80); 19323var comp = CreateCompilation(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80); 19382var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 19418var comp = CreateCompilation(new[] { sourceA, CollectionBuilderAttributeDefinition }, targetFramework: TargetFramework.Mscorlib40); 19436comp = CreateCompilation(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Mscorlib461); 19489var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 19520var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 19534comp = CreateCompilation(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80); 19566var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 19604var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 19630targetFramework: TargetFramework.Net80, 19669var comp = CreateCompilation(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80); 19697var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 19714comp = CreateCompilation(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80); 19775var comp = CreateCompilation(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80); 19832var comp = CreateCompilation(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80); 19857var comp = CreateCompilation(sourceA, assemblyName: assemblyA, targetFramework: TargetFramework.Net80); 19872comp = CreateCompilation(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80); 19882comp = CreateCompilation(sourceC, references: new[] { refB }, targetFramework: TargetFramework.Net80); 20024targetFramework: TargetFramework.Net80, 20194var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 20224var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 20258var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 20294var comp = CreateCompilation(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80); 20354var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 20367[CombinatorialValues(TargetFramework.Net70, TargetFramework.Net80)] TargetFramework targetFramework, 20387if (targetFramework == TargetFramework.Net80) 20467[CombinatorialValues(TargetFramework.Net70, TargetFramework.Net80)] TargetFramework targetFramework) 20488if (targetFramework == TargetFramework.Net80) 20610targetFramework: TargetFramework.Net80, 20681targetFramework: TargetFramework.Net80, 20801[CombinatorialValues(TargetFramework.Net70, TargetFramework.Net80)] TargetFramework targetFramework) 20849[CombinatorialValues(TargetFramework.Net70, TargetFramework.Net80)] TargetFramework targetFramework) 21196[CombinatorialValues(TargetFramework.Net70, TargetFramework.Net80)] TargetFramework targetFramework) 21354targetFramework: TargetFramework.Net80, 21508targetFramework: TargetFramework.Net80, 21605targetFramework: TargetFramework.Net80, 21685targetFramework: TargetFramework.Net80); 21719targetFramework: TargetFramework.Net80, 21827targetFramework: TargetFramework.Net80, 21935targetFramework: TargetFramework.Net80, 22246targetFramework: TargetFramework.Net80, 22346targetFramework: TargetFramework.Net80, 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) 22527var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 22537[CombinatorialValues(TargetFramework.Net70, TargetFramework.Net80)] TargetFramework targetFramework, 22559targetFramework == TargetFramework.Net80 ? new[] { sourceA } : new[] { sourceA, CollectionBuilderAttributeDefinition }, 22614if (targetFramework == TargetFramework.Net80) 22697var comp = CreateCompilation(new[] { sourceA, CollectionBuilderAttributeDefinition }, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp10), targetFramework: TargetFramework.Net60); 22724comp = CreateCompilation(new[] { sourceB, s_collectionExtensions }, references: new[] { refA }, targetFramework: TargetFramework.Net60, options: TestOptions.ReleaseExe.WithSpecificDiagnosticOptions(WithSpanAllocWarning)); 22751var verifier = CompileAndVerify(source, targetFramework: TargetFramework.Net80, verify: Verification.Skipped, expectedOutput: IncludeExpectedOutput("12")); 22780verifier = CompileAndVerify(source, targetFramework: TargetFramework.Net70, verify: Verification.Skipped, expectedOutput: IncludeExpectedOutput("12")); 22837var verifier = CompileAndVerify(source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, verify: Verification.Skipped, expectedOutput: IncludeExpectedOutput("11")); 22880verifier = CompileAndVerify(source, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseExe, verify: Verification.Skipped, expectedOutput: IncludeExpectedOutput("11")); 22950var verifier = CompileAndVerify(source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, verify: Verification.Skipped, expectedOutput: IncludeExpectedOutput("11")); 22993verifier = CompileAndVerify(source, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseExe, verify: Verification.Skipped, expectedOutput: IncludeExpectedOutput("11")); 23061var verifier = CompileAndVerify(source, targetFramework: TargetFramework.Net80, verify: Verification.Skipped, expectedOutput: IncludeExpectedOutput("12")); 23090verifier = CompileAndVerify(source, targetFramework: TargetFramework.Net70, verify: Verification.Skipped, expectedOutput: IncludeExpectedOutput("12")); 23124public void SpanArgument_01([CombinatorialValues(TargetFramework.Net70, TargetFramework.Net80)] TargetFramework targetFramework) 23148if (targetFramework == TargetFramework.Net80) 23271targetFramework: TargetFramework.Net80, 23338targetFramework: TargetFramework.Net80, 23395var comp = CreateCompilation(new[] { source, s_collectionExtensionsWithSpan }, targetFramework: TargetFramework.Net80); 23449targetFramework: TargetFramework.Net80, 23551targetFramework: TargetFramework.Net80, 23621targetFramework: TargetFramework.Net80, 23686targetFramework: TargetFramework.Net80, 23735[CombinatorialValues(TargetFramework.Net70, TargetFramework.Net80)] TargetFramework targetFramework, 23785else if (targetFramework == TargetFramework.Net80) 23863targetFramework: TargetFramework.Net80, 23911[CombinatorialValues(TargetFramework.Net70, TargetFramework.Net80)] TargetFramework targetFramework, 23972targetFramework: TargetFramework.Net80, 24013public void SpanAssignment_03([CombinatorialValues(TargetFramework.Net70, TargetFramework.Net80)] TargetFramework targetFramework) 24035if (targetFramework == TargetFramework.Net80) 24124var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 24155targetFramework: TargetFramework.Net80, 24206var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 24230targetFramework: TargetFramework.Net80, 24285targetFramework: TargetFramework.Net80, 24347targetFramework: TargetFramework.Net80, 24388public void SpanAssignment_RefLocal([CombinatorialValues(TargetFramework.Net70, TargetFramework.Net80)] TargetFramework targetFramework) 24413public void SpanAssignment_NestedScope_01([CombinatorialValues(TargetFramework.Net70, TargetFramework.Net80)] TargetFramework targetFramework) 24446if (targetFramework == TargetFramework.Net80) 24517targetFramework: TargetFramework.Net80, 24605targetFramework: TargetFramework.Net80, 24660targetFramework: TargetFramework.Net80, 24744targetFramework: TargetFramework.Net80, 24799targetFramework: TargetFramework.Net80, 24854targetFramework: TargetFramework.Net80, 24921targetFramework: TargetFramework.Net80, 25003var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 25037var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 25059targetFramework: TargetFramework.Net80, 25148var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe.WithSpecificDiagnosticOptions(WithSpanAllocWarning)); 25192targetFramework: TargetFramework.Net80, 25280targetFramework: TargetFramework.Net80, 25358targetFramework: TargetFramework.Net80, 25408public void RuntimeHelpers_CreateSpan([CombinatorialValues(TargetFramework.Net60, TargetFramework.Net80)] TargetFramework targetFramework) 25429string expectedIL = targetFramework == TargetFramework.Net60 ? 25464public void RuntimeHelpers_CreateSpan_Byte([CombinatorialValues(TargetFramework.Net60, TargetFramework.Net80)] TargetFramework targetFramework) 25510public void RuntimeHelpers_CreateSpan_NotApplicable_01([CombinatorialValues(TargetFramework.Net60, TargetFramework.Net80)] TargetFramework targetFramework) 25556targetFramework: TargetFramework.Net80, 25628public void RuntimeHelpers_CreateSpan_RefStruct([CombinatorialValues(TargetFramework.Net60, TargetFramework.Net80)] TargetFramework targetFramework) 25648targetFramework == TargetFramework.Net80 ? new[] { sourceA } : new[] { sourceA, CollectionBuilderAttributeDefinition }, 25697if (targetFramework == TargetFramework.Net60) 25767targetFramework: TargetFramework.Net80, 25804targetFramework: TargetFramework.Net80, 25864targetFramework: TargetFramework.Net80, 25884var comp = CreateCompilation(new[] { source, s_collectionExtensionsWithSpan }, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 25926var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 26301var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 26360var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseDll.WithSpecificDiagnosticOptions(WithSpanAllocWarning)); 26720var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 26782var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 26817var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 26889var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 28481CreateCompilation(source, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseDll.WithSpecificDiagnosticOptions(WithSpanAllocWarning)).VerifyEmitDiagnostics( 28506CreateCompilation(source, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics( 28549var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 28583var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net80); 29375var comp = CreateCompilation(new[] { source, s_collectionExtensions }, targetFramework: TargetFramework.Net80); 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); 29805CreateCompilation(source, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics( 30082var comp = CreateCompilation(new[] { sourceA, s_collectionExtensions }, targetFramework: TargetFramework.Net80, options: ExecutionConditionUtil.IsMonoOrCoreClr ? TestOptions.DebugExe : TestOptions.DebugDll); 30155var verifier = CompileAndVerify(new[] { sourceA, s_collectionExtensions }, targetFramework: TargetFramework.Net80, expectedOutput: IncludeExpectedOutput("[1, 2, 3],"), verify: Verification.Skipped); 30213var verifier = CompileAndVerify(new[] { sourceA, s_collectionExtensions }, targetFramework: TargetFramework.Net80, expectedOutput: IncludeExpectedOutput("[[1, 2, 3]],"), verify: Verification.Skipped); 30255var verifier = CompileAndVerify([sourceA, s_collectionExtensions], targetFramework: TargetFramework.Net80, expectedOutput: IncludeExpectedOutput("[],"), verify: Verification.Skipped); 30286var comp = CreateCompilation([sourceA, s_collectionExtensions], options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80); 30322var verifier = CompileAndVerify(new[] { sourceA, s_collectionExtensions }, targetFramework: TargetFramework.Net80, expectedOutput: IncludeExpectedOutput("[1, 2, 3],"), verify: Verification.Skipped); 30361var verifier = CompileAndVerify(new[] { sourceA, s_collectionExtensions }, targetFramework: TargetFramework.Net80, expectedOutput: IncludeExpectedOutput("[1, 2, 3],"), verify: Verification.Skipped); 30398var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Net60); 30422comp = CreateCompilation(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net60); 30457var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Mscorlib40); 30479comp = CreateCompilation(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Mscorlib40); 30511var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Mscorlib40); 30533comp = CreateCompilation(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Mscorlib40); 30564targetFramework: TargetFramework.Net80, 30690var verifier = CompileAndVerify(new[] { sourceA, s_collectionExtensions }, targetFramework: TargetFramework.Net80, expectedOutput: IncludeExpectedOutput("[1, 2, 3],"), verify: Verification.Skipped); 30737var verifier = CompileAndVerify([sourceA, s_collectionExtensions], targetFramework: TargetFramework.Net80, expectedOutput: IncludeExpectedOutput("[1, 2, 3],"), verify: Verification.Skipped); 30768var verifier = CompileAndVerify([sourceA, s_collectionExtensions], targetFramework: TargetFramework.Net80, expectedOutput: IncludeExpectedOutput("[1, 2, 3],"), verify: Verification.Skipped); 30830var verifier = CompileAndVerify(source, targetFramework: TargetFramework.Net70, verify: Verification.Skipped, options: TestOptions.ReleaseDll.WithSpecificDiagnosticOptions(WithSpanAllocWarning)); 30859verifier = CompileAndVerify(source, targetFramework: TargetFramework.Net80, verify: Verification.Skipped); 30974var comp = CreateCompilation(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80); 31023var comp = CreateCompilation(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80); 31144CreateCompilation(src, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseExe.WithSpecificDiagnosticOptions(WithSpanAllocWarning)).VerifyEmitDiagnostics( 31196CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics( 31239CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics( 31277CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(); 31310CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics( 31347CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(); 31388CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics( 31434CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics( 31477var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(); 31525var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(); 31579var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics( 31641CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics( 31681var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(); 31735CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics( 31785CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics( 31837CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics( 31880CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics( 31923CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics( 32232CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics( 32532var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics( 32628var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics( 32691CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics( 32741CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics( 32773CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics( 32802CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics( 32846CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics( 32880CreateCompilation(src2, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics( 32926CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics( 32966CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics( 32992CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics( 33026var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics( 33076CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics( 33115CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics( 33154CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics( 33195CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics( 33238CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics( 33288CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics( 33321CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics( 33344CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(); 33429var comp = CreateCompilation(new[] { source, CollectionBuilderAttributeDefinition }, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseDll.WithSpecificDiagnosticOptions(WithSpanAllocWarning)); 33575var verifier = CompileAndVerify(new[] { source, s_collectionExtensionsWithSpan }, expectedOutput: IncludeExpectedOutput("[1, 2, 3], [1, 2, 3],"), targetFramework: TargetFramework.Net80, verify: Verification.Skipped); 33639var verifier = CompileAndVerify(new[] { source, s_collectionExtensionsWithSpan }, expectedOutput: IncludeExpectedOutput("[1, 2, 3], [1, 2, 3],"), targetFramework: TargetFramework.Net80, verify: Verification.Skipped); 33683var verifier = CompileAndVerify(new[] { source, s_collectionExtensionsWithSpan }, expectedOutput: IncludeExpectedOutput("[1, 2, 3], [4, 5, 6], [1, 2, 3, 4, 5, 6],"), verify: Verification.Skipped, targetFramework: TargetFramework.Net80); 33779var verifier = CompileAndVerify(new[] { source, s_collectionExtensionsWithSpan }, expectedOutput: IncludeExpectedOutput("[D, D],"), verify: Verification.Skipped, targetFramework: TargetFramework.Net80); 33886var verifier = CompileAndVerify(new[] { source, s_collectionExtensionsWithSpan }, verify: Verification.Fails, expectedOutput: IncludeExpectedOutput("[1, 2, 3, 4, 5, 6],"), targetFramework: TargetFramework.Net80); 33970var verifier = CompileAndVerify(new[] { source, s_collectionExtensionsWithSpan }, verify: Verification.FailsPEVerify, expectedOutput: IncludeExpectedOutput("[1, 2, 3, 4, 5, 6],"), targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 34053var verifier = CompileAndVerify(new[] { source, s_collectionExtensionsWithSpan }, verify: Verification.FailsPEVerify, expectedOutput: IncludeExpectedOutput("[1, 2, 3, 4, 5, 6],"), targetFramework: TargetFramework.Net80); 34146var comp = CreateCompilation(new[] { source, s_collectionExtensionsWithSpan }, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 34202var verifier = CompileAndVerify(new[] { source, s_collectionExtensionsWithSpan }, verify: Verification.FailsPEVerify, expectedOutput: IncludeExpectedOutput("[Derived], [Derived, Derived],"), targetFramework: TargetFramework.Net80); 34309var verifier = CompileAndVerify(new[] { source, s_collectionExtensionsWithSpan }, verify: Verification.FailsPEVerify, expectedOutput: IncludeExpectedOutput("[1, 2, 3, 4, 5, 6],"), targetFramework: TargetFramework.Net80); 34470var verifier = CompileAndVerify(new[] { source, s_collectionExtensionsWithSpan }, expectedOutput: IncludeExpectedOutput("[1, 2, 3, 4, 5, 6],"), targetFramework: TargetFramework.Net80, verify: Verification.Skipped); 34569var verifier = CompileAndVerify(new[] { source, s_collectionExtensionsWithSpan }, expectedOutput: expectedOutput, targetFramework: TargetFramework.Net80, verify: Verification.Skipped); 34648var comp = CreateCompilation(new[] { source, s_collectionExtensionsWithSpan }, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80); 34705var comp = CreateCompilation([source, s_collectionExtensions], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 34750var comp = CreateCompilation([source, s_collectionExtensions], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 34795var comp = CreateCompilation([source, s_collectionExtensions], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 34910var verifier = CompileAndVerify([source, s_collectionExtensionsWithSpan], expectedOutput: IncludeExpectedOutput("[a], [a], "), targetFramework: TargetFramework.Net80, verify: Verification.Skipped); 34955var verifier = CompileAndVerify([source, s_collectionExtensionsWithSpan], expectedOutput: IncludeExpectedOutput("[a], [a], "), targetFramework: TargetFramework.Net80, verify: Verification.Skipped); 35252var comp = CreateCompilation([source, s_collectionExtensions], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 35345var comp = CreateCompilation([source, s_collectionExtensions], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 35475var verifier = CompileAndVerify(source, targetFramework: TargetFramework.Net80, verify: Verification.Skipped); 35532var verifier = CompileAndVerify(new[] { source, s_collectionExtensionsWithSpan }, expectedOutput: IncludeExpectedOutput("[1, 2, 2],"), targetFramework: TargetFramework.Net80, verify: Verification.Skipped); 35760var verifier = CompileAndVerify(new[] { source, s_collectionExtensionsWithSpan }, expectedOutput: IncludeExpectedOutput("[1, 2, 3], [1, 2, 3],"), targetFramework: TargetFramework.Net80, verify: Verification.Skipped); 35808var verifier = CompileAndVerify(new[] { source, s_collectionExtensionsWithSpan }, expectedOutput: IncludeExpectedOutput("[1, 2, 3], [1, 2, 3],"), targetFramework: TargetFramework.Net80, verify: Verification.Skipped); 35851var verifier = CompileAndVerify(new[] { source, s_collectionExtensionsWithSpan }, expectedOutput: IncludeExpectedOutput("[1, 2, 3], [1, 2, 3],"), targetFramework: TargetFramework.Net80, verify: Verification.Skipped); 36548var verifier = CompileAndVerify([source, s_collectionExtensions], expectedOutput: IncludeExpectedOutput("[1, 2, 3],"), targetFramework: TargetFramework.Net80, verify: Verification.Skipped); 37040var verifier = CompileAndVerify(source, expectedOutput: IncludeExpectedOutput("1234"), targetFramework: TargetFramework.Net80, verify: Verification.Skipped); 37487targetFramework: TargetFramework.Standard, 37612var verifier = CompileAndVerify(new[] { source, s_collectionExtensionsWithSpan }, expectedOutput: IncludeExpectedOutput("[1, 2, 3], [1, 2, 3, 4],"), targetFramework: TargetFramework.Net80, verify: Verification.Skipped); 37663var verifier = CompileAndVerify(new[] { source, s_collectionExtensionsWithSpan }, expectedOutput: IncludeExpectedOutput("[a, b, c], [a, b, c, d],"), targetFramework: TargetFramework.Net80, verify: Verification.Skipped); 37729var verifier = CompileAndVerify(new[] { source, s_collectionExtensionsWithSpan }, expectedOutput: IncludeExpectedOutput("[a, b, c], [a, b, c],"), targetFramework: TargetFramework.Net80, verify: Verification.Skipped); 37797var verifier = CompileAndVerify(new[] { source, s_collectionExtensionsWithSpan }, expectedOutput: IncludeExpectedOutput("[a, b, c], [a, b, c, a, b, c],"), targetFramework: TargetFramework.Net80, verify: Verification.Skipped); 37835var verifier = CompileAndVerify(new[] { source, s_collectionExtensionsWithSpan }, expectedOutput: IncludeExpectedOutput("[1, 2, 3], [1, 2, 3, 4],"), targetFramework: TargetFramework.Net80, verify: Verification.Skipped); 38065var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 38102var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 38139var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 42031var comp = CreateCompilation([sourceB, sourceA], targetFramework: TargetFramework.Net80); 42087var comp = CreateCompilation([sourceB, sourceA], targetFramework: TargetFramework.Net80); 42134var comp = CreateCompilation([sourceB, sourceA], targetFramework: TargetFramework.Net80); 42186var comp = CreateCompilation([sourceB, sourceA], targetFramework: TargetFramework.Net80); 42628public void CreatingNewListFromLengthWithSideEffects([CombinatorialValues(TargetFramework.Net70, TargetFramework.Net80)] TargetFramework targetFramework) 42841var myCollection_v0 = CreateCompilation(myCollection_v0Source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, assemblyName: "Collection"); 42853var builder = CreateCompilation(builderSource, references: [myCollection_v0.ToMetadataReference()], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 42868var myCollection = CreateCompilation(myCollectionSource, references: [builder.ToMetadataReference()], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, assemblyName: "Collection"); 42886var comp = CreateCompilation(src, references: [myCollectionRef, builder.EmitToImageReference()], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 42893comp = CreateCompilation(src, references: [myCollectionRef], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 43222var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 43251var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 43280var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 43309var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80); 43347var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 43402comp = CreateCompilation(source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 43410comp = CreateCompilation(source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 43459var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 43514comp = CreateCompilation(source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 43522comp = CreateCompilation(source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 43539comp = CreateCompilation(source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 43586targetFramework: TargetFramework.Net80, 43673var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 43765var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80);
Semantics\ExperimentalAttributeTests.cs (8)
935var derivedComp = CreateCompilation(derivedSrc, new[] { originalC.ToMetadataReference(), attrRef }, targetFramework: TargetFramework.Standard); 938var comp = CreateCompilation("_ = new Derived();", new[] { derivedComp.ToMetadataReference(), retargetedC.ToMetadataReference() }, targetFramework: TargetFramework.Standard); 970var derivedComp = CreateCompilation(derivedSrc, new[] { originalC.ToMetadataReference(), attrRef }, targetFramework: TargetFramework.Standard); 973var comp = CreateCompilation("_ = new Derived();", new[] { derivedComp.ToMetadataReference(), retargetedC.ToMetadataReference() }, targetFramework: TargetFramework.Standard); 1000var derivedComp = CreateCompilation(@base, new[] { originalC.ToMetadataReference(), attrRef }, targetFramework: TargetFramework.Standard); 1003var comp = CreateCompilation("_ = new Derived();", new[] { derivedComp.ToMetadataReference(), retargetedC.ToMetadataReference() }, targetFramework: TargetFramework.Standard); 1035var derivedComp = CreateCompilation(@base, new[] { originalC.ToMetadataReference(), attrRef }, targetFramework: TargetFramework.Standard); 1038var comp = CreateCompilation("_ = new Derived();", new[] { derivedComp.ToMetadataReference(), retargetedC.ToMetadataReference() }, targetFramework: TargetFramework.Standard);
Semantics\InlineArrayTests.cs (556)
101var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 120var vbComp = CreateVisualBasicCompilation("", referencedAssemblies: TargetFrameworkUtil.GetReferences(TargetFramework.Net80, null)); 158var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 181var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 227var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 252var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 318var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 384var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 449var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 514var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 581var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 604var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 998var comp = CreateCompilation(consumer + src, targetFramework: TargetFramework.Net80); 1085var comp = CreateCompilation(consumer + src, targetFramework: TargetFramework.Net80); 1165var comp1 = CreateCompilation(src1 + InlineArrayAttributeDefinition, targetFramework: TargetFramework.Net50); 1166var comp2 = CreateCompilation("", references: new[] { comp1.ToMetadataReference() }, targetFramework: TargetFramework.Net60); 1186var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 1212var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 1242var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 1304var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 1330var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 1361var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 1387var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 1412var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 1436var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 1497var comp = CreateCompilationWithIL(src, ilSource, targetFramework: TargetFramework.Net80); 1533var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithAllowUnsafe(true)); 1572var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 1607var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 1642var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 1677var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 1712var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 1737var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 1764var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 1787var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 1811var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 1872var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 1902var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 1917var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 1956var comp = CreateCompilationWithIL(src, ilSource, targetFramework: TargetFramework.Net80); 1986var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 2010var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 2028var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithAllowUnsafe(true)); 2095var comp = CreateCompilationWithIL(src, ilSource, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithAllowUnsafe(true)); 2113var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithAllowUnsafe(true)); 2131var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithAllowUnsafe(true)); 2153var comp1 = CreateCompilation(src1, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll); 2175var comp2 = CreateCompilation(src2, references: new[] { comp1.ToMetadataReference() }, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe); 2201var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 2228var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 2251var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 2279var comp1 = CreateCompilation(src1, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll); 2299var comp2 = CreateCompilation(src2, references: new[] { comp1.ToMetadataReference() }, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe); 2324var comp1 = CreateCompilation(src1, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll); 2353var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 2388var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 2422var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 2462var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 2492comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12); 2495comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular11); 2553var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 2590var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 2633var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 2671var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 2703var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 2741var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 2782var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 2824var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 2864var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 2889var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 2914var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 2945var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 2983var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 3015var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 3041var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 3070var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 3100var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 3134var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 3197var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 3260var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 3336var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 3560var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 3792var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 4017var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 4142var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 4271var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 4402var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 4528var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 4678var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 4836var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 4894var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 4950var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 4997var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 5027var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 5074var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 5309var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 5527var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 5655var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 5871var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 5988var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 6017comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12); 6020comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular11); 6071var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 6167var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 6183comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12); 6186comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular11); 6247var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 6291var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 6329var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 6362var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 6401var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 6444var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 6487var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 6528var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 6553var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 6584var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 6622var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 6655var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 6681var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 6711var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 6741var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 6757var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 6780var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 6813var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 6857var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 6907var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 6957var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 7013var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 7063var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 7118var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 7153var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 7187var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 7257var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 7336var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 7472var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 7617var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 7785var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 7947var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 8105var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 8163var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 8205var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 8250var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 8280var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 8313var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 8337comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12); 8340comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular11); 8372var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 8425var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 8480var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 8543var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 8597var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 8659var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 8691var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 8721var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 8753var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 8773var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 8807var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 8885var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 8939var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 8979var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 9016var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 9053var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 9118var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 9159var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 9193var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 9242var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 9289var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 9340var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 9391var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 9430var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 9475var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 9521var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 9558var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 9593var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 9641var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 9693var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 9745var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 9785var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 9825var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 9871var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 9910var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 9950var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 9979var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 10013var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 10060var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 10111var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 10150var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 10187var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 10222var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 10261var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 10304var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 10345var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 10390var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 10431var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 10460var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 10492var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 10528var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 10602var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 10654var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 10706var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 10746var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 10792var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 10838var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 10873var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 10908var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 10947var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 10986var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 11026var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 11060var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 11094var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 11130var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 11176var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 11222var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 11272var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 11346var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 11398var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 11437var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 11472var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 11514var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 11543var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 11569var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 11596var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 11622var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 11650var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 11674var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 11700var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 11723var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 11746var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 11769var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 11790var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 11811var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 11832var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 11858var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 11884var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 11905var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 11931var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 11959var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 12000var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 12056var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 12106var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 12140var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 12170var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 12197var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 12260var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 12327var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 12376var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 12411var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 12439var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 12473var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 12496var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 12523var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 12551var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 12585var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 12608var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 12635var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 12662var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 12700var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 12725var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 12748var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 12790var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 12835var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 12867var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 12892var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 12914var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 12968var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 13027var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 13080var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 13117comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10); 13154var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 13210var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 13269var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 13311comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular10); 13342var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 13359comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular10); 13382var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 13396comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular10); 13428var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 13473comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular10); 13524var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 13542comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular10); 13585var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 13603comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular10); 13653var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 13694var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 13748var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 13806var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 13864var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 13917var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 13968var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 14019var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 14055var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 14086var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 14116var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 14156var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 14185var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 14235var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 14265var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 14294var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 14338var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 14366var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 14420var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 14445var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 14469var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 14501var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 14538var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 14563var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 14596var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 14635var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All)); 14684var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All)); 14733var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All)); 14781var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All)); 14828var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All)); 14872var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All)); 14929var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 14973var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 15023var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 15081var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 15117var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 15163var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 15192comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12); 15195comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular11); 15247var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 15303var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80); 15345var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80); 15384var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 15439var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 15500var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 15563var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 15617var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 15645var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 15671var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 15697var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 15727var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80); 15770var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80); 15812var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80); 15854var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80); 15893var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 15919var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 15948var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 15977var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 16012var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 16047var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 16084var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 16121var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 16144var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 16182var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 16230var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 16282var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 16317var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 16356var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80); 16391var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80); 16432var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 16482var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 16533var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 16578var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 16617var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 16670var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 16877var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 16906var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80); 16940var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 16970var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 16973comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12); 16976comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular11); 17008var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 17034var comp = CreateCompilation(src + Buffer10Definition, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 17045comp = CreateCompilation(src + Buffer10Definition, parseOptions: TestOptions.RegularNext, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 17048comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 17079var comp = CreateCompilation(src + Buffer10Definition, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 17095comp = CreateCompilation(src + Buffer10Definition, parseOptions: TestOptions.RegularNext, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 17098comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 17128var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 17162var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 17185var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 17212var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 17234var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 17294var compilation = CreateCompilation(source, targetFramework: TargetFramework.Net80); 17333var compilation = CreateCompilation(source, targetFramework: TargetFramework.Net80); 17387var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp); 17414var compilation = CreateCompilation(source, targetFramework: TargetFramework.Net80); 17441var compilation = CreateCompilation(source, targetFramework: TargetFramework.Net80); 17468var compilation = CreateCompilation(source, targetFramework: TargetFramework.Net80); 17495var compilation = CreateCompilation(source, targetFramework: TargetFramework.Net80); 17540var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 17602var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 17658var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 17733var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 17775var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 17810var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 17846var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 17904var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 17987var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 18010var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 18046var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 18082var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 18118var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 18167var comp = CreateCompilation(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 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); 18274var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 18302var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 18331var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 18370var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 18402var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 18433var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 18463var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 18503var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 18540var comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 18638var comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 18711var comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 18773var comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 18795var comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 18818var comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 18821comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular12); 18824comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular11); 18865var comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 18950var comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 19000var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 19064var comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 19086var comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 19122var comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 19157var comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 19199var comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 19287var comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 19334var comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 19367var comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 19422var comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 19488var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 19525var comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 19566var comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 19604var comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 19642var comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 19680var comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 19717var comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 19746var comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 19781var comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 19844var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 19882var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithAllowUnsafe(true)); 19923var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithAllowUnsafe(true)); 19981var comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 20119comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe); 20168var comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 20319comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe); 20350CreateCompilation(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics( 20357CompileAndVerify(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, 20360CompileAndVerify(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, 20381var comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 20441var comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 20578comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe); 20627var comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 20778comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe); 20812CreateCompilation(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics( 20819CompileAndVerify(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, 20822CompileAndVerify(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, 20843var comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 20892var comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 20995comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe); 21027CreateCompilation(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics( 21037CompileAndVerify(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, 21040CompileAndVerify(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, 21072CreateCompilation(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics( 21090CreateCompilation(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics); 21092CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics); 21123CreateCompilation(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics( 21140CreateCompilation(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics); 21142CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics); 21174CreateCompilation(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics( 21189CreateCompilation(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics); 21191CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics); 21241CreateCompilation(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics( 21253CreateCompilation(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics); 21255CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics); 21281CreateCompilation(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics( 21297CreateCompilation(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics); 21299CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics); 21325CreateCompilation(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics( 21337CreateCompilation(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics); 21339CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics); 21388var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 21390comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe); 21418CreateCompilation(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics( 21430CreateCompilation(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics(expectedDiagnostics); 21431CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics); 21470CreateCompilation(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics( 21488CreateCompilation(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics); 21490CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics); 21539var comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 21609comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe); 21656var comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 21729comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe); 21768CreateCompilation(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics( 21775CompileAndVerify(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, 21778CompileAndVerify(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, 21799var comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 21858var comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 21928comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe); 21975var comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 22048comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe); 22090CreateCompilation(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics( 22097CompileAndVerify(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, 22100CompileAndVerify(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, 22121var comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 22169var comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 22232comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe); 22272CreateCompilation(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics( 22282CompileAndVerify(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, 22285CompileAndVerify(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, 22325CreateCompilation(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics( 22343CreateCompilation(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics); 22345CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics); 22384CreateCompilation(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics( 22401CreateCompilation(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics); 22403CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics); 22443CreateCompilation(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics( 22458CreateCompilation(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics); 22460CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics); 22508CreateCompilation(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics( 22520CreateCompilation(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics); 22522CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics); 22548CreateCompilation(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics( 22564CreateCompilation(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics); 22566CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics); 22592CreateCompilation(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics( 22604CreateCompilation(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics); 22606CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics); 22653var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 22655comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe); 22681CreateCompilation(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics( 22693CreateCompilation(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics(expectedDiagnostics); 22694CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics); 22731CreateCompilation(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics( 22749CreateCompilation(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics); 22751CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics); 22772var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 22805var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 22832var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 22856var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 22875var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 22912var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 22935var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 22971var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 22999var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 23021var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 23054var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 23087var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 23109var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 23131var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 23160var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 23186var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 23222var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 23266var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 23289CreateCompilation(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics( 23316CreateCompilation(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyDiagnostics(expectedDiagnostics); 23317CreateCompilation(src, targetFramework: TargetFramework.Net80).VerifyDiagnostics(expectedDiagnostics); 23343parseOptions: parseOptions, targetFramework: TargetFramework.Net80, verify: Verification.FailsPEVerify);
Semantics\LockTests.cs (2)
134targetFramework: TargetFramework.Net90, 1366verify: Verification.Fails, targetFramework: TargetFramework.Net60).VerifyDiagnostics();
Semantics\OutVarTests.cs (2)
19622targetFramework: TargetFramework.Mscorlib461, 19644compilation = CreateCompilation(text, targetFramework: TargetFramework.Mscorlib461);
Semantics\ParamsCollectionTests.cs (201)
97var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All)); 199var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 277var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All)); 315var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 386targetFramework: TargetFramework.Net80, 412targetFramework: TargetFramework.Net70, 459var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 495var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 590var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All)); 643var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 721var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 779var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 828var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 878var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 937var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 978var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 1010var myCollection_v0 = CreateCompilation(myCollection_v0Source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, assemblyName: "Collection"); 1022var builder = CreateCompilation(builderSource, references: [myCollection_v0.ToMetadataReference()], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 1037var myCollection = CreateCompilation(myCollectionSource, references: [builder.ToMetadataReference()], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, assemblyName: "Collection"); 1064var comp = CreateCompilation(src, references: [myCollectionRef, builder.EmitToImageReference()], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 1075comp = CreateCompilation(src, references: [myCollectionRef], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 1130var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 1195var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 1986var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 2030var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 2070var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 2111var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 2602var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All)); 3017var verifier = CompileAndVerify(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false, includeOneTimeHelpers: false) }, targetFramework: TargetFramework.Net80, 3976var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularPreview); 3979comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular13); 3982comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular12); 4016var comp1 = CreateCompilation(src1, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 4023var comp2 = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularPreview); 4026comp2 = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular13); 4029comp2 = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular12); 4070var comp = CreateCompilation(src2 + src1, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularPreview); 4073comp = CreateCompilation(src2 + src1, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular13); 4076comp = CreateCompilation(src2 + src1, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular12); 4083var comp1 = CreateCompilation(src1, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 4090var comp2 = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularPreview); 4093comp2 = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular13); 4096comp2 = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular12); 4138var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularPreview); 4141comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular13); 4144comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular12); 4398var comp1 = CreateCompilation(src1, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 4405var comp2 = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularPreview); 4408comp2 = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13); 4411comp2 = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12); 4442var comp = CreateCompilation(src1 + src2, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 4445var comp1 = CreateCompilation(src1, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 4446var comp2 = CreateCompilation(src2, references: [comp1.ToMetadataReference()], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 4449var comp3 = CreateCompilation(src1 + ParamCollectionAttributeSource, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 4450var comp4 = CreateCompilation(src2, references: [comp3.ToMetadataReference()], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 4453var comp5 = CreateCompilation(src2, references: [comp1.ToMetadataReference()], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseModule); 4511var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All)); 4514var comp1 = CreateCompilation(ParamCollectionAttributeSource, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 4515var comp2 = CreateCompilation(src, references: [comp1.ToMetadataReference()], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All)); 4664var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All)); 4667var comp1 = CreateCompilation(ParamCollectionAttributeSource, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 4668var comp2 = CreateCompilation(src, references: [comp1.ToMetadataReference()], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All)); 4859var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 4897var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 4937var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80); 5070targetFramework: TargetFramework.Net80, 5180targetFramework: TargetFramework.Net80, 5285targetFramework: TargetFramework.Net80, 5356targetFramework: TargetFramework.Net80, 5392targetFramework: TargetFramework.Net80, 5453targetFramework: TargetFramework.Net80, 5496targetFramework: TargetFramework.Net80, 5517targetFramework: TargetFramework.Net80); 5553targetFramework: TargetFramework.Net80).VerifyDiagnostics( 5583targetFramework: TargetFramework.Net80, 5640targetFramework: TargetFramework.Net80, 5671targetFramework: TargetFramework.Net80, 5742targetFramework: TargetFramework.Net80, 5810targetFramework: TargetFramework.Net80, 5842targetFramework: TargetFramework.Net80, 5881targetFramework: TargetFramework.Net80); 5926targetFramework: TargetFramework.Net80); 5963targetFramework: TargetFramework.Net80); 6014targetFramework: TargetFramework.Net80, 6058targetFramework: TargetFramework.Net80, 6156var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 6186var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 6229var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 6311var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 6361var comp = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 6365comp = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13); 6369comp = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12); 6429var comp = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 6439comp = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13); 6442comp = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12); 6480comp = CreateCompilation(src3, references: [comp1Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12); 6511var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 6540var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 6577var comp1 = CreateCompilation(src1, references: [comp0Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 6585comp1 = CreateCompilation(src1, references: [comp0Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13); 6593comp1 = CreateCompilation(src1, references: [comp0Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12); 6618var comp2 = CreateCompilation(src2, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 6655var comp1 = CreateCompilation(src1, references: [comp0Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 6663comp1 = CreateCompilation(src1, references: [comp0Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13); 6671comp1 = CreateCompilation(src1, references: [comp0Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12); 6696var comp2 = CreateCompilation(src2, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 6733var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 6770var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 6812var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 6854var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 6875var comp1 = CreateCompilation(src1, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseDll); 6888var comp2 = CreateVisualBasicCompilation(src2, referencedAssemblies: TargetFrameworkUtil.GetReferences(TargetFramework.Standard).Concat(comp1Ref)); 6900var comp = CreateCompilation(src, references: new[] { comp1Ref, comp2.EmitToImageReference() }, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 6936var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 6971var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 7002var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 7047var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 7074var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 7103var comp1 = CreateCompilation(src1, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 7128var comp2 = CreateCompilation(src2, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 7155var comp1 = CreateCompilation(src1, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 7180var comp2 = CreateCompilation(src2, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 7228var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 7277var comp = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 7281comp = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13); 7285comp = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12); 7342var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 7393var comp = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 7397comp = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13); 7401comp = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12); 7464var comp = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 7474comp = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13); 7477comp = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12); 7513comp = CreateCompilation(src3, references: [comp1Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12); 7546var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 7579var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 7620var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 7661var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 7707var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 7753var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 7774var comp1 = CreateCompilation(src1, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseDll); 7790var comp2 = CreateVisualBasicCompilation(src2, referencedAssemblies: TargetFrameworkUtil.GetReferences(TargetFramework.Standard).Concat(comp1Ref)); 7802var comp = CreateCompilation(src, references: new[] { comp1Ref, comp2.EmitToImageReference() }, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 7846var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 7889var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 7938var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 7992var comp = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 7996comp = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13); 8000comp = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12); 8068var comp = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 8078comp = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13); 8081comp = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12); 8117comp = CreateCompilation(src3, references: [comp1Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12); 8152var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 8184var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 8221var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 8249var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 8318var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 8383var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 8466var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 8531var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 8565var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 8604var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 8726targetFramework: TargetFramework.Net80); 8751targetFramework: TargetFramework.Net80); 8825targetFramework: TargetFramework.Net80); 8850targetFramework: TargetFramework.Net80); 8874targetFramework: TargetFramework.Net80, 8900targetFramework: TargetFramework.Net80); 8917targetFramework: TargetFramework.Net80, 8941targetFramework: TargetFramework.Net80); 8961targetFramework: TargetFramework.Net80, 8986targetFramework: TargetFramework.Net80); 9273var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 9314var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 9366var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 9420var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 9478var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 9535var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 9605var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 9693var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 9760var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 9801var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 9853var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 9914var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 9961var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 10014var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 10068var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 10124var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 10170var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 10212var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 10254var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 10300var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 14438var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 14501var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 15179var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 15248var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe); 16497targetFramework: TargetFramework.Net80, 16511targetFramework: TargetFramework.Net90, 16540var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll); 16567var comp = CreateCompilation(source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
Semantics\PatternMatchingTests3.cs (1)
5704var compilation = CreateCompilation(source, parseOptions: TestOptions.RegularWithPatternCombinators, targetFramework: TargetFramework.NetCoreApp);
Semantics\PrimaryConstructorTests.cs (20)
6785var compilation1 = CreateCompilation(source1, targetFramework: TargetFramework.Net60); 6805var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 6827var comp = CreateCompilation(source, parseOptions: TestOptions.RegularPreview.WithFeature("run-nullable-analysis", "never"), targetFramework: TargetFramework.NetCoreApp); 6853var comp = CreateCompilation(source, parseOptions: TestOptions.RegularPreview.WithFeature("run-nullable-analysis", "never"), targetFramework: TargetFramework.NetCoreApp); 7107var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp); 11941var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseDll); 15542var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp); 15574var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp); 16240var comp = CreateCompilation(source, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.NetCoreApp); 16266var comp = CreateCompilation(source, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.NetCoreApp); 19844var comp = CreateCompilation([source1, source2], targetFramework: TargetFramework.Net80); 19879var comp = CreateCompilation([source1, source2], targetFramework: TargetFramework.Net80); 19915var comp = CreateCompilation([source1, source2], targetFramework: TargetFramework.Net80); 20076var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseDll); 20141var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseDll); 20561var comp = CreateCompilation(src1, targetFramework: TargetFramework.Mscorlib461Extended); 20585var comp = CreateCompilation(src1, targetFramework: TargetFramework.NetCoreApp); 21744var comp = CreateCompilation(source, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.NetCoreApp); 21805var comp = CreateCompilation(source, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.NetCoreApp); 21866var comp = CreateCompilation(source, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.NetCoreApp);
Semantics\RecordTests.cs (18)
10716var comp = CreateCompilation(RuntimeUtilities.IsCoreClrRuntime ? source : new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.NetLatest); 12595var compA = CreateCompilation(RuntimeUtilities.IsCoreClrRuntime ? sourceA : new[] { sourceA, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.NetLatest); 12634var compB = CreateCompilation(RuntimeUtilities.IsCoreClrRuntime ? sourceB : new[] { sourceB, IsExternalInitTypeDefinition }, references: new[] { refA }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.NetLatest); 14085""", assemblyName: "Base", targetFramework: TargetFramework.Net70); 14098""", assemblyName: "Derived", references: [comp1.EmitToImageReference()], targetFramework: TargetFramework.Net80); 15841var comp = CreateCompilation(RuntimeUtilities.IsCoreClrRuntime ? source : new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.NetLatest); 21037var comp = CreateCompilation(RuntimeUtilities.IsCoreClrRuntime ? src : new[] { src, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.NetLatest); 210732 3", targetFramework: TargetFramework.NetLatest).VerifyDiagnostics().VerifyIL("E.CHelper", @" 23652var comp = CreateCompilation(source, targetFramework: TargetFramework.NetLatest); 25713", targetFramework: TargetFramework.NetLatest); 26024var comp = CreateCompilation(text, targetFramework: TargetFramework.NetLatest); 30208var compA = CreateEmptyCompilation(new[] { sourceA, IsExternalInitTypeDefinition }, references: TargetFrameworkUtil.GetReferences(TargetFramework.NetStandard20)); 30238var compB = CreateCompilation(sourceB, references: new[] { refA }, options: TestOptions.ReleaseDll.WithSpecificDiagnosticOptions("CS1701", ReportDiagnostic.Suppress), parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.NetCoreApp); 30352var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 30411var comp = CreateCompilation(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "never"), targetFramework: TargetFramework.NetCoreApp); 30435var comp = CreateCompilation(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "never"), targetFramework: TargetFramework.NetCoreApp); 30486var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.NetCoreApp); 30489comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Mscorlib461Extended);
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (12)
EditAndContinue\ActiveStatementTests.cs (2)
11415targetFrameworks: [TargetFramework.NetCoreApp], 12569TargetFramework.NetCoreApp,
EditAndContinue\Helpers\EditAndContinueValidation.cs (4)
74TargetFramework[]? targetFrameworks = null, 127TargetFramework[]? targetFrameworks = null, 130foreach (var targetFramework in targetFrameworks ?? [TargetFramework.NetCoreApp, TargetFramework.NetFramework])
EditAndContinue\StatementEditingTests.cs (6)
9054targetFrameworks: [TargetFramework.NetCoreApp], 11603targetFrameworks: [TargetFramework.Mscorlib40AndSystemCore], 11638targetFrameworks: [TargetFramework.Mscorlib40AndSystemCore], 12549targetFrameworks: [TargetFramework.MinimalAsync], 12585targetFrameworks: [TargetFramework.MinimalAsync], 12625targetFrameworks: [TargetFramework.MinimalAsync],
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (51)
IOperation\IOperationTests_IArgument.cs (8)
1061VerifyOperationTreeAndDiagnosticsForTest<InvocationExpressionSyntax>((source, "file.cs"), expectedOperationTree, TargetFramework.Mscorlib46, expectedDiagnostics); 1104VerifyOperationTreeAndDiagnosticsForTest<InvocationExpressionSyntax>((source, "file.cs"), expectedOperationTree, TargetFramework.Mscorlib46, expectedDiagnostics); 1147VerifyOperationTreeAndDiagnosticsForTest<InvocationExpressionSyntax>((source, "file.cs"), expectedOperationTree, TargetFramework.Mscorlib46, expectedDiagnostics); 1202VerifyOperationTreeAndDiagnosticsForTest<InvocationExpressionSyntax>((source, "file.cs"), expectedOperationTree, TargetFramework.Mscorlib46, expectedDiagnostics); 1418VerifyOperationTreeAndDiagnosticsForTest<InvocationExpressionSyntax>(source, expectedOperationTree, TargetFramework.Mscorlib461, expectedDiagnostics); 3643VerifyOperationTreeAndDiagnosticsForTest<InvocationExpressionSyntax>(source, expectedOperationTree, expectedDiagnostics, targetFramework: TargetFramework.Mscorlib46Extended); 3674VerifyOperationTreeAndDiagnosticsForTest<InvocationExpressionSyntax>(source, expectedOperationTree, expectedDiagnostics, targetFramework: TargetFramework.Mscorlib46Extended); 4131VerifyOperationTreeAndDiagnosticsForTest<InvocationExpressionSyntax>(source, expectedOperationTree, expectedDiagnostics, targetFramework: TargetFramework.Mscorlib46Extended);
IOperation\IOperationTests_IAttributeOperation.cs (1)
1118VerifyOperationTreeAndDiagnosticsForTest<AttributeSyntax>(source, expectedOperationTree, expectedDiagnostics, targetFramework: TargetFramework.NetCoreApp);
IOperation\IOperationTests_IAwaitExpression.cs (7)
44VerifyOperationTreeAndDiagnosticsForTest<AwaitExpressionSyntax>(source, expectedOperationTree, expectedDiagnostics, targetFramework: TargetFramework.Mscorlib46Extended); 69VerifyOperationTreeAndDiagnosticsForTest<AwaitExpressionSyntax>(source, expectedOperationTree, expectedDiagnostics, targetFramework: TargetFramework.Mscorlib46Extended); 96VerifyOperationTreeAndDiagnosticsForTest<AwaitExpressionSyntax>(source, expectedOperationTree, expectedDiagnostics, targetFramework: TargetFramework.Mscorlib46Extended); 127VerifyOperationTreeAndDiagnosticsForTest<AwaitExpressionSyntax>(source, expectedOperationTree, expectedDiagnostics, targetFramework: TargetFramework.Mscorlib46Extended); 157VerifyOperationTreeAndDiagnosticsForTest<AwaitExpressionSyntax>(source, expectedOperationTree, expectedDiagnostics, targetFramework: TargetFramework.Mscorlib46Extended); 188VerifyOperationTreeAndDiagnosticsForTest<AwaitExpressionSyntax>(source, expectedOperationTree, expectedDiagnostics, targetFramework: TargetFramework.Mscorlib46Extended); 229VerifyOperationTreeAndDiagnosticsForTest<LocalDeclarationStatementSyntax>(source, expectedOperationTree, expectedDiagnostics, targetFramework: TargetFramework.Mscorlib46Extended);
IOperation\IOperationTests_ICoalesceOperation.cs (2)
601var compilation = CreateCompilation(source, references: new[] { CSharpRef }, targetFramework: TargetFramework.Mscorlib40AndSystemCore); 716var compilation = CreateCompilation(source, references: new[] { CSharpRef }, targetFramework: TargetFramework.Mscorlib40AndSystemCore);
IOperation\IOperationTests_IConversionExpression.cs (2)
3402var comp = CreateCompilation(source + IOperationTests_IInlineArrayAccessOperation.Buffer10Definition, targetFramework: TargetFramework.Net80); 5319var comp = CreateCompilation(source + IOperationTests_IInlineArrayAccessOperation.Buffer10Definition, targetFramework: TargetFramework.Net80);
IOperation\IOperationTests_IForEachLoopStatement.cs (15)
2779var comp = CreateCompilation(src, targetFramework: TargetFramework.Net60); 2911var comp = CreateCompilation(src, targetFramework: TargetFramework.Net60); 3003var comp = CreateCompilation(src, targetFramework: TargetFramework.Net60); 5886}", targetFramework: TargetFramework.NetCoreApp); 6010}", targetFramework: TargetFramework.NetCoreApp); 6133}", targetFramework: TargetFramework.NetCoreApp); 6251}", targetFramework: TargetFramework.NetCoreApp); 6514}", targetFramework: TargetFramework.NetCoreApp); 7591var comp = CreateCompilation(source + IOperationTests_IInlineArrayAccessOperation.Buffer10Definition, targetFramework: TargetFramework.Net80); 7675var comp = CreateCompilation(source + IOperationTests_IInlineArrayAccessOperation.Buffer10Definition, targetFramework: TargetFramework.Net80); 7721var comp = CreateCompilation(source + IOperationTests_IInlineArrayAccessOperation.Buffer10Definition, targetFramework: TargetFramework.Net80); 7808var comp = CreateCompilation(source + IOperationTests_IInlineArrayAccessOperation.Buffer10Definition, targetFramework: TargetFramework.Net80); 7859var comp = CreateCompilation(source + IOperationTests_IInlineArrayAccessOperation.Buffer10Definition, targetFramework: TargetFramework.Net80); 7954var comp = CreateCompilation(source + IOperationTests_IInlineArrayAccessOperation.Buffer10Definition, targetFramework: TargetFramework.Net80); 8003var comp = CreateCompilation(source + IOperationTests_IInlineArrayAccessOperation.Buffer10Definition, targetFramework: TargetFramework.Net80);
IOperation\IOperationTests_IInlineArrayAccessOperation.cs (10)
48var comp = CreateCompilation(source + Buffer10Definition, targetFramework: TargetFramework.Net80); 90var comp = CreateCompilation(source + Buffer10Definition, targetFramework: TargetFramework.Net80); 180var comp = CreateCompilation(source + Buffer10Definition, targetFramework: TargetFramework.Net80); 273var comp = CreateCompilation(source + Buffer10Definition, targetFramework: TargetFramework.Net80); 399var comp = CreateCompilation(source + Buffer10Definition, targetFramework: TargetFramework.Net80); 426var comp = CreateCompilation(source + Buffer10Definition, targetFramework: TargetFramework.Net80); 472var comp = CreateCompilation(source + Buffer10Definition, targetFramework: TargetFramework.Net80); 568var comp = CreateCompilation(source + Buffer10Definition, targetFramework: TargetFramework.Net80); 657var comp = CreateCompilation(source + Buffer10Definition, targetFramework: TargetFramework.Net80); 800var comp = CreateCompilation(source + Buffer10Definition, targetFramework: TargetFramework.Net80);
IOperation\IOperationTests_ILocalFunctionStatement.cs (1)
266VerifyOperationTreeAndDiagnosticsForTest<LocalFunctionStatementSyntax>(source, expectedOperationTree, expectedDiagnostics, targetFramework: TargetFramework.Mscorlib46Extended);
IOperation\IOperationTests_ILockStatement.cs (1)
786targetFramework: Roslyn.Test.Utilities.TargetFramework.Empty,
IOperation\IOperationTests_IUtf8StringOperation.cs (4)
36VerifyOperationTreeAndDiagnosticsForTest<ReturnStatementSyntax>(source, expectedOperationTree, expectedDiagnostics, targetFramework: Roslyn.Test.Utilities.TargetFramework.NetCoreApp); 74VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(source, expectedFlowGraph, expectedDiagnostics, targetFramework: Roslyn.Test.Utilities.TargetFramework.NetCoreApp); 101VerifyOperationTreeAndDiagnosticsForTest<ReturnStatementSyntax>(source, expectedOperationTree, expectedDiagnostics, targetFramework: Roslyn.Test.Utilities.TargetFramework.NetCoreApp); 142VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(source, expectedFlowGraph, expectedDiagnostics, targetFramework: Roslyn.Test.Utilities.TargetFramework.NetCoreApp);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (995)
Semantics\AccessCheckTests.cs (1)
963c = CreateEmptyCompilation(source, TargetFrameworkUtil.GetReferences(TargetFramework.Standard).AddRange(new[] { r1, r2 }));
Semantics\AwaitExpressionTests.cs (1)
80var csCompilation = CreateCompilation(text, targetFramework: TargetFramework.NetCoreApp);
Semantics\BindingAsyncTasklikeMoreTests.cs (1)
1625var compilation = CreateCompilation(source, parseOptions: useCSharp9 ? TestOptions.Regular9 : TestOptions.Regular10, targetFramework: TargetFramework.Net70);
Semantics\BindingAsyncTasklikeTests.cs (3)
194CompileAndVerify(source, targetFramework: TargetFramework.Empty, references: new[] { MscorlibRef_v4_0_30316_17626 }, expectedOutput: "better"); 516CompileAndVerify(source, targetFramework: TargetFramework.Empty, references: new[] { MscorlibRef_v4_0_30316_17626 }, expectedOutput: "1"); 567CompileAndVerify(source, targetFramework: TargetFramework.Empty, references: new[] { MscorlibRef_v4_0_30316_17626 }, expectedOutput: "bbbb");
Semantics\BindingTests.cs (1)
2213CreateCompilation(source, parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
Semantics\DelegateTypeTests.cs (13)
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: 14226var comp = CreateCompilation(UnscopedRefAttributeDefinition, targetFramework: TargetFramework.Net60, assemblyName: attributeAssemblyName); 14237comp = CreateCompilation(sourceA, references: new[] { refAttribute }, targetFramework: TargetFramework.Net60); 14252comp = CreateCompilation(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net60); 14258comp = CreateCompilation(sourceB, references: new[] { refA, refAttribute }, targetFramework: TargetFramework.Net60); 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); 16499var verifier = CompileAndVerify(source, targetFramework: TargetFramework.Net60, 16537CreateCompilation(source, targetFramework: TargetFramework.Net60).VerifyDiagnostics(
Semantics\DynamicTests.cs (130)
1059}", targetFramework: TargetFramework.StandardAndCSharp, expectedOutput: @" 1641CompileAndVerify(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net70, 3195CompileAndVerify(source, targetFramework: TargetFramework.StandardAndCSharp); 4676var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 4720CreateCompilation(code, targetFramework: TargetFramework.StandardAndCSharp).VerifyDiagnostics( 4751CreateCompilation(code, targetFramework: TargetFramework.StandardAndCSharp).VerifyDiagnostics( 4834CreateCompilation(code, targetFramework: TargetFramework.StandardAndCSharp).VerifyDiagnostics( 4895CreateCompilation(code, targetFramework: TargetFramework.StandardAndCSharp).VerifyDiagnostics( 4973var comp1 = CreateCompilation(source1, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions); 5055var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions); 5097var comp1 = CreateCompilation(source1, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions); 5178var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions); 5220var comp1 = CreateCompilation(source1, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions); 5302var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions); 5338var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions); 5379var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 5423var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithAllowUnsafe(true), targetFramework: TargetFramework.StandardAndCSharp); 5467var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions); 5511var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 5550var comp = CreateCompilation(source, targetFramework: TargetFramework.StandardAndCSharp); 5575var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 5613var comp = CreateCompilation(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), targetFramework: TargetFramework.StandardAndCSharp); 5652var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions); 5688var comp = CreateCompilation(source, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions); 5729var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 5774var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithAllowUnsafe(true), targetFramework: TargetFramework.StandardAndCSharp); 5819var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions); 5864var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 5905var comp = CreateCompilation(source, targetFramework: TargetFramework.StandardAndCSharp); 5932var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 5971var comp = CreateCompilation(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), targetFramework: TargetFramework.StandardAndCSharp); 6019var comp = CreateCompilation(source, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions); 6100var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions); 6142var comp = CreateCompilation(source, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions); 6223var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions); 6262var comp = CreateCompilation(source, targetFramework: TargetFramework.StandardAndCSharp); 6343var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.StandardAndCSharp); 6373var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 6416var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithAllowUnsafe(true), targetFramework: TargetFramework.StandardAndCSharp); 6462var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions); 6506var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 6549var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 6603var comp = CreateCompilation(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), targetFramework: TargetFramework.StandardAndCSharp); 6668var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 6732var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.StandardAndCSharp); 6777var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 6841var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.StandardAndCSharp); 6887var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 6952var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.StandardAndCSharp); 6988var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 7056var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 7114var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.StandardAndCSharp); 7159var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 7226var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.StandardAndCSharp); 7272var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 7339var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.StandardAndCSharp); 7388var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 7456var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.StandardAndCSharp); 7501var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 7578var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 7638var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.StandardAndCSharp); 7683var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 7744var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.StandardAndCSharp); 7789var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 7850var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.StandardAndCSharp); 7892var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 7964var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 8025var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.StandardAndCSharp); 8070var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 8131var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.StandardAndCSharp); 8175var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 8235var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.StandardAndCSharp); 8280var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 8344var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.StandardAndCSharp); 8389var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 8453var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.StandardAndCSharp); 8498var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 8562var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.StandardAndCSharp); 8608var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 8673var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.StandardAndCSharp); 8721var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 8790var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 8858var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 8921var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 9011var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 9102var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 9192var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 9248var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 9309var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 9398var comp3 = CreateCompilation(source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 9430var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 9519var comp3 = CreateCompilation(source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 9550var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 9637var comp3 = CreateCompilation(source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 9664var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 9748var comp3 = CreateCompilation(source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 9775var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 9859var comp3 = CreateCompilation(source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 9886var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 9968var comp3 = CreateCompilation(source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 10006var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 10086var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.StandardAndCSharp); 10134var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 10214var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.StandardAndCSharp); 10262var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 10342var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.StandardAndCSharp); 10379var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 10416var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 10495var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.StandardAndCSharp); 10550var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 10637var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.StandardAndCSharp); 10698var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 10786var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.StandardAndCSharp); 10847var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 10887var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 10923var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 10968var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 11054var comp3 = CreateCompilation(source3, targetFramework: TargetFramework.StandardAndCSharp); 11097var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 11181var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 11259var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 11314var comp1 = CreateCompilation(source1, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: TestOptions.Regular12); 11367var comp1 = CreateCompilation(source1, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: TestOptions.Regular12); 11414var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: TestOptions.Regular12); 11447var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: TestOptions.Regular12); 11491var comp = CreateCompilation(source, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: TestOptions.Regular12); 11532var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: TestOptions.Regular12); 11581var comp = CreateCompilation(source, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: TestOptions.Regular12); 11633var comp = CreateCompilation(source, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: TestOptions.Regular12); 11676var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: TestOptions.Regular12);
Semantics\FunctionPointerTests.cs (8)
19private static CSharpCompilation CreateCompilationWithFunctionPointers(string source, CSharpCompilationOptions? options = null, CSharpParseOptions? parseOptions = null, TargetFramework? targetFramework = null) 21return CreateCompilation(source, options: options ?? TestOptions.UnsafeReleaseDll, parseOptions: parseOptions, targetFramework: targetFramework ?? TargetFramework.Standard); 971}", targetFramework: TargetFramework.NetCoreApp); 1334}", targetFramework: TargetFramework.NetCoreApp); 2082var comp = CreateCompilationWithIL(code, il, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.UnsafeReleaseExe); 2120var comp = CreateCompilationWithIL("", il, references: new[] { cComp.ToMetadataReference() }, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.UnsafeReleaseDll); 2878", options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.NetCoreApp); 4055}", targetFramework: TargetFramework.NetCoreApp);
Semantics\ImportsTests.cs (2)
105targetFramework: TargetFramework.Mscorlib40, 146var comp = CreateCompilation(trees, targetFramework: TargetFramework.Mscorlib40, references: new[] { SystemCoreRef.WithAliases(externAliases) });
Semantics\InheritanceBindingTests.cs (4)
2996new[] { source1 }, TargetFrameworkUtil.GetReferences(TargetFramework.Standard, null).ToArray(), TestOptions.DebugDll.WithPublicSign(true)); 2999new[] { source1 }, TargetFrameworkUtil.GetReferences(TargetFramework.Standard, null).ToArray(), TestOptions.DebugDll.WithPublicSign(true)); 4988CSharpCompilation comp = CreateCompilation(text, targetFramework: TargetFramework.NetLatest); 5049var compilation = CreateCompilation(text, targetFramework: TargetFramework.NetLatest);
Semantics\InitOnlyMemberTests.cs (4)
2283targetFramework: TargetFramework.NetCoreApp, 2376targetFramework: TargetFramework.NetCoreApp, 4194targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 4201targetFramework: TargetFramework.Mscorlib46, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9);
Semantics\InterceptorsTests.cs (2)
8417var comp = CreateCompilation(source, targetFramework: TargetFramework.Net90); 8437comp = CreateCompilation([source, interceptors, s_attributesTree], targetFramework: TargetFramework.Net90);
Semantics\InterpolationTests.cs (124)
906source, references: new[] { MscorlibRef_v4_0_30316_17626, SystemRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929 }, expectedOutput: "Hello, world!", targetFramework: TargetFramework.Empty); 1135[InlineData(TargetFramework.Net60)] 1136[InlineData(TargetFramework.Net50)] 1138[InlineData(TargetFramework.NetFramework)] 1139[InlineData(TargetFramework.NetStandard20)] 1140[InlineData(TargetFramework.Mscorlib461)] 1141[InlineData(TargetFramework.Mscorlib40)] 1143public void InterpolatedStringWithCurlyBracesAndFormatSpecifier(TargetFramework framework) 1177case TargetFramework.Net60: 1242[InlineData(TargetFramework.Net60)] 1243[InlineData(TargetFramework.Net50)] 1245[InlineData(TargetFramework.NetFramework)] 1246[InlineData(TargetFramework.NetStandard20)] 1247[InlineData(TargetFramework.Mscorlib461)] 1248[InlineData(TargetFramework.Mscorlib40)] 1250public void RawInterpolatedStringWithCurlyBracesAndFormatSpecifier(TargetFramework framework) 1280case TargetFramework.Net60: 1345[InlineData(TargetFramework.Net60)] 1346[InlineData(TargetFramework.Net50)] 1348[InlineData(TargetFramework.NetFramework)] 1349[InlineData(TargetFramework.NetStandard20)] 1350[InlineData(TargetFramework.Mscorlib461)] 1351[InlineData(TargetFramework.Mscorlib40)] 1353public void InterpolatedStringWithCurlyBracesAndAllStringValues(TargetFramework framework) 1401[InlineData(TargetFramework.Net60)] 1402[InlineData(TargetFramework.Net50)] 1404[InlineData(TargetFramework.NetFramework)] 1405[InlineData(TargetFramework.NetStandard20)] 1406[InlineData(TargetFramework.Mscorlib461)] 1407[InlineData(TargetFramework.Mscorlib40)] 1409public void RawInterpolatedStringWithCurlyBracesAndAllStringValues(TargetFramework framework) 2222var comp = CreateCompilation(new[] { source, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: true, useDefaultParameters: false, useBoolReturns: false) }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.NetCoreApp); 2257var verifier = CompileAndVerify(new[] { source, interpolatedStringBuilder }, expectedOutput: expectedOutput, targetFramework: TargetFramework.Net50, parseOptions: TestOptions.Regular10); 2260var comp1 = CreateCompilation(interpolatedStringBuilder, targetFramework: TargetFramework.Net50); 2264var comp2 = CreateCompilation(source, new[] { reference }, targetFramework: TargetFramework.Net50, parseOptions: TestOptions.Regular10); 3660var comp = CreateCompilation(new[] { source, interpolatedStringBuilder }, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.NetCoreApp); 3964var verifier = CompileAndVerify(new[] { source, interpolatedStringBuilder }, targetFramework: TargetFramework.NetCoreApp, expectedOutput: @" 4054targetFramework: TargetFramework.NetCoreApp); 4106var comp = CreateCompilation(new[] { source, interpolatedStringBuilder }, targetFramework: TargetFramework.NetCoreApp); 5494var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial class", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp); 5559var comp = CreateCompilation(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net50); 5569comp = CreateCompilation(source, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50); 5617var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp); 5684var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50); 5754var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp); 5817var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50); 5871var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp); 5932var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50); 6003var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50); 6029var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp); 6089var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50); 6116var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50); 6173var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50); 6200var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50); 6279var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp); 6343var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp); 6408var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50); 6435var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp); 6491var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp); 6536var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: false) }, targetFramework: TargetFramework.Net50); 6557var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp); 6600var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp); 6646var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp); 6692var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp); 13923var comp = CreateCompilation(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp); 13968var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp); 14013var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp); 14056var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp); 14105var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp); 14161var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp); 14257var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp); 14356var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp); 14479var comp = CreateCompilation([source, InterpolatedStringHandlerAttribute], targetFramework: TargetFramework.StandardAndCSharp); 14531CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics( 14588CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics( 14628var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50); 14631comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50); 14660var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50); 14697var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50); 14700comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50); 14737var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50); 14740comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50); 14777var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50); 14786comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50); 14835var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50); 14838comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50); 14869var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50); 14872comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50); 14903var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50); 14906comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50); 14940var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), targetFramework: TargetFramework.Net50); 14978var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50); 14988comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular11, targetFramework: TargetFramework.Net50); 15033var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50); 15036comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular11, targetFramework: TargetFramework.Net50); 15081var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), targetFramework: TargetFramework.Net50); 15122var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50); 15158var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), targetFramework: TargetFramework.Net50); 15209var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50); 15255var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), targetFramework: TargetFramework.Net50); 15295var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50); 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); 18342CreateCompilation(code, targetFramework: TargetFramework.Net60).VerifyDiagnostics( 18379CreateCompilation(code, targetFramework: TargetFramework.Net60).VerifyDiagnostics( 18416CreateCompilation(code, targetFramework: TargetFramework.Net60).VerifyDiagnostics( 18453CreateCompilation(code, targetFramework: TargetFramework.Net60).VerifyDiagnostics( 18488CreateCompilation(code, targetFramework: TargetFramework.Net60).VerifyDiagnostics( 18515var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp); 18551var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp);
Semantics\LambdaTests.cs (4)
417targetFramework: TargetFramework.NetFramework, 433targetFramework: TargetFramework.NetFramework, 445targetFramework: TargetFramework.NetFramework, 7094var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70);
Semantics\LocalFunctionTests.cs (4)
2844var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe); 8467", targetFramework: TargetFramework.NetCoreApp); 8558var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp); 8638var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp);
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\NativeIntegerTests.cs (6)
776var comp = CreateCompilation(sourceA, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Mscorlib40); 791comp = CreateCompilation(sourceB, references: new[] { refA }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Mscorlib461); 1048var references = TargetFrameworkUtil.GetReferences(TargetFramework.Standard).ToArray(); 1064comp = CreateCompilation(sourceB, references: new[] { refA1 }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Standard); 1080comp = CreateCompilation(sourceC, references: new[] { refA2, refB }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Standard); 4488var comp = CreateCompilation(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.StandardAndCSharp);
Semantics\NullableReferenceTypesTests.cs (42)
15340var comp = CreateCompilation(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable()); 15361var comp = CreateCompilation(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable()); 15558var comp = CreateCompilation(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable()); 15579var comp = CreateCompilation(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable()); 15794var comp = CreateCompilation(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable()); 15853var comp = CreateCompilation(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable()); 15899var comp = CreateCompilation(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable()); 15927var comp = CreateCompilation(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable()); 16010var comp = CreateCompilation(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable()); 16038var comp = CreateCompilation(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable()); 88719var comp = CreateCompilation(new[] { source }, options: WithNullableEnable(), targetFramework: TargetFramework.Mscorlib46); 88778var comp = CreateCompilation(new[] { source }, options: WithNullableEnable(), targetFramework: TargetFramework.Mscorlib46); 101655var compilation = CreateCompilation(new[] { Tuple2NonNullable, source }, targetFramework: TargetFramework.Mscorlib46); 101683var compilation = CreateCompilation(new[] { Tuple2NonNullable, source }, targetFramework: TargetFramework.Mscorlib46); 101712var compilation = CreateCompilation(source, targetFramework: TargetFramework.Mscorlib46); 101745var compilation = CreateCompilation(new[] { Tuple2NonNullable, TupleRestNonNullable, source }, targetFramework: TargetFramework.Mscorlib46); 101791var compilation = CreateCompilation(new[] { Tuple2NonNullable, TupleRestNonNullable, source }, targetFramework: TargetFramework.Mscorlib46); 101841var compilation = CreateCompilation(new[] { Tuple2NonNullable, source }, targetFramework: TargetFramework.Mscorlib46); 101861var compilation = CreateCompilation(new[] { Tuple2NonNullable, TupleRestNonNullable, source }, targetFramework: TargetFramework.Mscorlib46, parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true); 115726CompileAndVerify(source, targetFramework: TargetFramework.StandardAndCSharp, options: WithNullableEnable()); 138489var verifier1 = CompileAndVerify(source1, symbolValidator: validate, targetFramework: TargetFramework.Mscorlib40); 138542var verifier = CompileAndVerify(source, targetFramework: TargetFramework.Net60, 138580var verifier = CompileAndVerify(source, targetFramework: TargetFramework.Net60, 138611var verifier = CompileAndVerify(source, targetFramework: TargetFramework.Net60, 138645var verifier = CompileAndVerify(source, targetFramework: TargetFramework.Net60, 138690var verifier = CompileAndVerify(source, targetFramework: TargetFramework.Net60, 143305var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp); 143334var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp); 143364var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp); 143408var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp); 146495var compilation1 = CreateCompilation(source, parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 146528var compilation1 = CreateCompilation(source, parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 146557var compilation1 = CreateCompilation(source, parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 146635var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp); 156057targetFramework: TargetFramework.NetCoreApp, 156089var comp = CreateCompilation([source], options: WithNullableEnable(), targetFramework: TargetFramework.NetCoreApp); 156122var comp = CreateCompilation([source], options: WithNullableEnable(), targetFramework: TargetFramework.NetCoreApp); 158160var comp = CreateCompilation(src, targetFramework: TargetFramework.NetCoreApp); 158445var comp = CreateCompilation(src, targetFramework: TargetFramework.NetCoreApp); 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\ObjectAndCollectionInitializerTests.cs (2)
4220var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 4274var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
Semantics\OperatorTests.cs (2)
7852var compilation = CreateCompilation(source, targetFramework: TargetFramework.Mscorlib461Extended, options: TestOptions.ReleaseDll.WithOverflowChecks(true)); 8012var compilation = CreateCompilation(source, targetFramework: TargetFramework.Mscorlib40Extended, options: TestOptions.ReleaseDll.WithOverflowChecks(true));
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\RawInterpolationTests.cs (1)
919source, references: new[] { MscorlibRef_v4_0_30316_17626, SystemRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929 }, expectedOutput: "Hello, world!", targetFramework: TargetFramework.Empty);
Semantics\RawInterpolationTests_Handler.cs (50)
590var comp = CreateCompilation(new[] { source, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: true, useDefaultParameters: false, useBoolReturns: false) }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.NetCoreApp); 627var verifier = CompileAndVerify(new[] { source, interpolatedStringBuilder }, expectedOutput: expectedOutput, targetFramework: TargetFramework.Net50, parseOptions: TestOptions.RegularPreview); 630var comp1 = CreateCompilation(interpolatedStringBuilder, targetFramework: TargetFramework.Net50); 634var comp2 = CreateCompilation(source, new[] { reference }, targetFramework: TargetFramework.Net50, parseOptions: TestOptions.RegularPreview); 2023var comp = CreateCompilation(new[] { source, interpolatedStringBuilder }, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.NetCoreApp); 2365var verifier = CompileAndVerify(new[] { source, interpolatedStringBuilder }, targetFramework: TargetFramework.NetCoreApp, expectedOutput: @" 2455targetFramework: TargetFramework.NetCoreApp); 2507var comp = CreateCompilation(new[] { source, interpolatedStringBuilder }, targetFramework: TargetFramework.NetCoreApp); 3707var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial class", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp); 3774var comp = CreateCompilation(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net50); 3802comp = CreateCompilation(source, parseOptions: TestOptions.RegularPreview, targetFramework: TargetFramework.NetCoreApp); 3850var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp); 3917var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50); 3987var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp); 4050var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50); 4127var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp); 4188var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50); 4259var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50); 4284var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp); 4344var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50); 4370var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp); 4427var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50); 4453var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50); 4532var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp); 4596var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp); 4661var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50); 4687var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp); 4743var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp); 4788var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: false) }, targetFramework: TargetFramework.Net50); 4808var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp); 4851var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp); 4897var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp); 4943var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp); 10544var comp = CreateCompilation(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp); 10595var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp); 10646var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp); 10691var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp); 10742var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp); 10803var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp); 10902var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp); 11007var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50); 11042var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50); 11077var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50); 11119var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50); 11164var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50); 11197var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50); 11230var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50); 11264var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50); 11302var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50); 11340var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
Semantics\ReadOnlyStructsTests.cs (8)
1611var moduleMetadata = CreateCompilation(csharp, options: TestOptions.DebugModule, targetFramework: TargetFramework.Mscorlib461).EmitToImageReference(); 1616var dllMetadata = CreateCompilation(csharp, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461).EmitToImageReference(); 1639var moduleMetadata = CreateCompilation(csharp, options: TestOptions.DebugModule, targetFramework: TargetFramework.Mscorlib461).EmitToImageReference(); 1644var dllMetadata = CreateCompilation(csharp, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461).EmitToImageReference(); 1667var moduleComp = CreateCompilation(csharp, options: TestOptions.DebugModule, targetFramework: TargetFramework.Mscorlib461); 1673var dllComp = CreateCompilation(csharp, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461); 1689var moduleComp = CreateCompilation(csharp, options: TestOptions.DebugModule, targetFramework: TargetFramework.Mscorlib461); 1695var dllComp = CreateCompilation(csharp, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461);
Semantics\RecordStructTests.cs (3)
509var comp = CreateCompilation(src, targetFramework: TargetFramework.Mscorlib40); 510var comp2 = CreateCompilation("", targetFramework: TargetFramework.Mscorlib46, references: new[] { comp.ToMetadataReference() }); 11434var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
Semantics\RefEscapingTests.cs (51)
3146var comp = CreateCompilation([code], targetFramework: TargetFramework.Net90); 3364var comp = CreateCompilation(tree, targetFramework: TargetFramework.Net90, options: TestOptions.UnsafeDebugDll); 3886var comp = CreateCompilation([code], targetFramework: TargetFramework.Net90); 5621var comp = CreateCompilation(text, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), targetFramework: TargetFramework.NetCoreApp); 5656var comp = CreateCompilation(text, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), targetFramework: TargetFramework.NetCoreApp); 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 (348)
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); 329var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Mscorlib40); 338comp = CreateCompilation(sourceB, new[] { refA }, targetFramework: TargetFramework.Mscorlib461); 370var comp = CreateCompilation(sourceB, new[] { refA }, targetFramework: TargetFramework.Net70); 394var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 425var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 506var comp = CreateCompilation(sourceB, targetFramework: TargetFramework.Mscorlib40, references: new[] { refA }); 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); 5513targetFramework: TargetFramework.NetCoreApp); 5537targetFramework: TargetFramework.NetCoreApp); 5558targetFramework: TargetFramework.NetCoreApp); 5579targetFramework: TargetFramework.NetCoreApp); 5608targetFramework: TargetFramework.NetCoreApp); 5643targetFramework: TargetFramework.NetCoreApp); 5670targetFramework: TargetFramework.NetCoreApp); 5693targetFramework: TargetFramework.NetCoreApp); 5716targetFramework: TargetFramework.NetCoreApp); 5739targetFramework: TargetFramework.NetCoreApp); 5762targetFramework: TargetFramework.NetCoreApp); 5785targetFramework: TargetFramework.NetCoreApp); 5805targetFramework: TargetFramework.NetCoreApp); 5828targetFramework: TargetFramework.NetCoreApp); 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); 9079var references = TargetFrameworkUtil.GetReferences(TargetFramework.Standard, additionalReferences: null); 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); 11964var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Mscorlib40); 11975comp = CreateCompilation(sourceB, new[] { refA }, targetFramework: TargetFramework.Mscorlib461); 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); 20068var comp = CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), targetFramework: TargetFramework.Net50); 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); 21333var references = TargetFrameworkUtil.GetReferences(TargetFramework.NetCoreApp, additionalReferences: null); 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); 23237var comp = CreateCompilation(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net60); 23282var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 23417var comp = CreateCompilation(new[] { sourceA, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Mscorlib40); 23441comp = CreateCompilation(sourceB, new[] { refA }, targetFramework: TargetFramework.Mscorlib461); 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); 25188var comp = CreateCompilation(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net50, options: TestOptions.ReleaseDll); 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); 26493var comp = CreateCompilation(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net60); 26570var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 26632var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 26677var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 27081[InlineData(LanguageVersion.CSharp10, TargetFramework.Net60, false, false)] 27082[InlineData(LanguageVersion.CSharp11, TargetFramework.Net60, false, true)] 27083[InlineData(LanguageVersion.Latest, TargetFramework.Net60, false, true)] 27084[InlineData(LanguageVersion.CSharp10, TargetFramework.Net70, true, true)] 27085[InlineData(LanguageVersion.CSharp11, TargetFramework.Net70, true, true)] 27086[InlineData(LanguageVersion.Latest, TargetFramework.Net70, true, true)] 27087public void UseUpdatedEscapeRules(LanguageVersion languageVersion, TargetFramework targetFramework, bool supportsRefFields, bool expectedUseUpdatedEscapeRules) 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); 30895targetFramework: TargetFramework.NetCoreApp, 30949targetFramework: TargetFramework.NetCoreApp, 31017targetFramework: TargetFramework.NetCoreApp, 31080targetFramework: TargetFramework.NetCoreApp, 31096targetFramework: TargetFramework.NetCoreApp); 31129targetFramework: TargetFramework.NetCoreApp); 31170targetFramework: TargetFramework.NetCoreApp); 31203targetFramework: TargetFramework.NetCoreApp); 31243targetFramework: TargetFramework.NetCoreApp); 31276targetFramework: TargetFramework.NetCoreApp); 31319targetFramework: TargetFramework.NetCoreApp); 31358targetFramework: TargetFramework.NetCoreApp); 31400targetFramework: TargetFramework.NetCoreApp); 31444targetFramework: TargetFramework.NetCoreApp); 31485targetFramework: TargetFramework.NetCoreApp); 31533targetFramework: TargetFramework.NetCoreApp); 31576targetFramework: TargetFramework.NetCoreApp); 31614targetFramework: TargetFramework.NetCoreApp); 31639targetFramework: TargetFramework.NetCoreApp); 31666targetFramework: TargetFramework.NetCoreApp); 31691targetFramework: TargetFramework.NetCoreApp); 31716targetFramework: TargetFramework.NetCoreApp); 31744targetFramework: TargetFramework.NetCoreApp); 31769targetFramework: TargetFramework.NetCoreApp); 31797targetFramework: TargetFramework.NetCoreApp); 31825targetFramework: TargetFramework.NetCoreApp); 31850targetFramework: TargetFramework.NetCoreApp); 31878targetFramework: TargetFramework.NetCoreApp); 31906targetFramework: TargetFramework.NetCoreApp); 31931targetFramework: TargetFramework.NetCoreApp);
Semantics\RefLocalsAndReturnsTests.cs (13)
1998var comp = CreateCompilation(text, targetFramework: TargetFramework.Empty, references: new[] { MscorlibRef, SystemCoreRef }); 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\SemanticErrorTests.cs (10)
2215CreateCompilation(text, parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics( 6810CreateCompilation(source, targetFramework: TargetFramework.Mscorlib461).VerifyDiagnostics( 7239var comp = CreateCompilation(source, targetFramework: TargetFramework.Mscorlib461); 11528var comp = CreateCompilation(text, targetFramework: TargetFramework.Mscorlib461); 11553var comp = CreateCompilation(text, targetFramework: TargetFramework.Mscorlib461); 18448var comp = CreateCompilation(text, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 18542var comp = CreateCompilation(text, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 18568var comp = CreateCompilation(text, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 21579var compilation = CreateCompilation(text, targetFramework: TargetFramework.Mscorlib461, options: TestOptions.DebugExe); 25064var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp);
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\StructConstructorTests.cs (7)
3218var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.Mscorlib40); 3235comp = CreateCompilation(sourceB, references: new[] { refA }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Mscorlib461); 3719var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp); 3792var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp); 3819var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp); 3846var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp); 3870var comp = CreateCompilation(source, parseOptions: TestOptions.Script, targetFramework: TargetFramework.NetCoreApp);
Semantics\StructsTests.cs (1)
613CreateCompilation(source, targetFramework: TargetFramework.Mscorlib461).VerifyDiagnostics(
Semantics\TopLevelStatementsTests.cs (2)
2775var comp = CreateCompilation(text, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7465var comp = CreateCompilation(text, targetFramework: TargetFramework.Minimal, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
Semantics\UninitializedNonNullableFieldTests.cs (2)
1982var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp); 2028var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp);
Semantics\UnsafeTests.cs (1)
6097var comp = CreateCompilation(libSrc, targetFramework: TargetFramework.Net70);
Semantics\Utf8StringsLiteralsTests.cs (121)
54var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 83var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 111var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 142var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 175var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 199var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 226var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 255var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 283var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 314var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 338var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 362var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 384var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 416var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 453comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11); 461comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10); 487var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 518var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 561var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 821var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 873var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 924var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 981var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1037var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1095var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1151var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1205var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1257var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1308var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1366var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1396var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1420var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1453var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1475var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1515var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1536var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1540comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10); 1575var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1602var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1605comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10); 1623var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1649var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1666comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11); 1672comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10); 1702var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1719comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11); 1725comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10); 1755var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1772comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11); 1778comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10); 1817var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1834comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11); 1840comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10); 1877var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1916var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1943var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe); 1972var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 2002var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 2037var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 2074var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 2102var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 2122var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 2143var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 2169var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 2198var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 2235var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 2276var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 2325var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 2362var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 2399var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 2433var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 2457var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 2461comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10); 2482var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 2513var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 2540var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll); 2573var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll); 2606var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll); 2639var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll); 2687var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll); 2732var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll); 2780var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll); 2810var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll); 2852var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll); 2890var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll); 2916var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll); 2942var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll); 2967var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll); 2995var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll); 3023var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll); 3051var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll); 3079var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll); 3107var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll); 3135var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll); 3163var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll); 3191var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll); 3219var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll); 3247var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll); 3275var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll); 3303var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll); 3332var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseDll); 3384var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseDll); 3446var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 3494var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 3536var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 3585var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 3634var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 3684var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 3731var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 3772var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 3794var comp = CreateCompilation(new[] { source + HelpersSource, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll); 3827var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 3853var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 4061var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 4132var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 4155var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 4186var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 4225var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 4250var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 4275var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 4300var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp);
Semantics\ValueTupleTests.cs (3)
294var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp); 330var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp); 360var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1279)
Compilation\CompilationAPITests.cs (3)
2368var vbComp = CreateVisualBasicCompilation("", referencedAssemblies: TargetFrameworkUtil.GetReferences(TargetFramework.Standard)); 2778var compilation = CreateCompilation("", references: Array.Empty<MetadataReference>(), targetFramework: TargetFramework.Empty); 2968var compilation = CreateCompilation("", references: Array.Empty<MetadataReference>(), targetFramework: TargetFramework.Empty);
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (5)
1205", targetFramework: TargetFramework.NetStandard20); 1241", targetFramework: TargetFramework.NetStandard20); 1275", targetFramework: TargetFramework.NetStandard20); 1375", targetFramework: TargetFramework.NetStandard20); 1588", targetFramework: TargetFramework.NetStandard20);
Compilation\UsedAssembliesTests.cs (8)
287private ImmutableArray<MetadataReference> CompileWithUsedAssemblyReferences(string source, TargetFramework targetFramework, params MetadataReference[] references) 292private ImmutableArray<MetadataReference> CompileWithUsedAssemblyReferences(string source, TargetFramework targetFramework, CSharpCompilationOptions options, params MetadataReference[] references) 353return CompileWithUsedAssemblyReferences(source, TargetFramework.Standard, references); 358CompileWithUsedAssemblyReferences(source, TargetFramework.Standard, options: options, references); 5227var comp1 = CreateVisualBasicCompilation(source1, referencedAssemblies: TargetFrameworkUtil.GetReferences(TargetFramework.Standard, new[] { comp0ImageRef })); 5540CompileWithUsedAssemblyReferences(source3, targetFramework: TargetFramework.StandardAndCSharp); 5558CompileWithUsedAssemblyReferences(source3, targetFramework: TargetFramework.StandardAndCSharp); 5665CompileWithUsedAssemblyReferences(source2, targetFramework: TargetFramework.Mscorlib40AndSystemCore);
DocumentationComments\CrefTests.cs (7)
6919var compilation = CreateCompilation(source, parseOptions: parseOptions, options: options, targetFramework: TargetFramework.StandardAndCSharp); 6943var compilation = CreateCompilation(source, parseOptions: parseOptions, options: options, targetFramework: TargetFramework.StandardAndCSharp); 6968var comp = CreateCompilation(source, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.NetCoreApp); 6993var comp = CreateCompilation(source, parseOptions: TestOptions.RegularWithDocumentationComments.WithLanguageVersion(LanguageVersion.CSharp10), targetFramework: TargetFramework.NetCoreApp); 7017var comp = CreateCompilation(source, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.NetCoreApp); 7038var comp = CreateCompilation(source, parseOptions: TestOptions.RegularWithDocumentationComments.WithLanguageVersion(LanguageVersion.CSharp10), targetFramework: TargetFramework.NetCoreApp); 7057var comp = CreateCompilation(source, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.NetCoreApp);
DocumentationComments\DocumentationCommentCompilerTests.cs (1)
35targetFramework: TargetFramework.Mscorlib40,
SymbolDisplay\SymbolDisplayTests.cs (1)
3029TargetFrameworkUtil.GetReferences(TargetFramework.Standard).Concat(hostReference),
Symbols\CompilationCreationTests.cs (3)
3016compilation = CreateCompilation("Compilation", targetFramework: TargetFramework.Net50); 3024compilation = CreateCompilation("Compilation", targetFramework: TargetFramework.Net60); 3032compilation = CreateCompilation("Compilation", targetFramework: TargetFramework.Net70);
Symbols\CorLibrary\CorTypes.cs (3)
617var comp = CreateCompilation(source, targetFramework: TargetFramework.Mscorlib40AndSystemCore, options: TestOptions.DebugExe); 627comp = CreateCompilation(source, targetFramework: TargetFramework.Mscorlib40AndSystemCore, options: TestOptions.DebugExe); 635comp = CreateCompilation(source, targetFramework: TargetFramework.Mscorlib40AndSystemCore, options: TestOptions.DebugExe);
Symbols\CovariantReturnTests.cs (18)
410targetFramework: TargetFramework.Empty, 429targetFramework: TargetFramework.Empty, 465var result = CreateCompilation(assignments, references: references, targetFramework: TargetFramework.Empty); 487var result = CreateCompilation(assignments, references: references, targetFramework: TargetFramework.Empty); 514targetFramework: TargetFramework.Empty, 544targetFramework: TargetFramework.Empty) 3871var baseCompilation = CreateCompilation(baseSource, references: new[] { corlibRef }, targetFramework: TargetFramework.Empty, parseOptions: parseOptions); 3888var comp = CreateCompilation(compilationSource, references: references, parseOptions: parseOptions, targetFramework: TargetFramework.Empty); 3947var baseCompilation = CreateCompilation(baseSource, references: new[] { corlibRef }, targetFramework: TargetFramework.Empty, parseOptions: parseOptions); 4007var comp = CreateCompilation(compilationSource, references: references, parseOptions: parseOptions, targetFramework: TargetFramework.Empty); 4113var baseCompilation = CreateCompilation(baseSource, references: new[] { corlibRef }, targetFramework: TargetFramework.Empty, parseOptions: parseOptions); 4130var comp = CreateCompilation(compilationSource, references: references, parseOptions: parseOptions, targetFramework: TargetFramework.Empty); 4228var baseCompilation = CreateCompilation(baseSource, references: new[] { corlibRef }, targetFramework: TargetFramework.Empty, parseOptions: parseOptions); 4245var comp = CreateCompilation(compilationSource, references: references, parseOptions: parseOptions, targetFramework: TargetFramework.Empty); 4337var baseCompilation = CreateCompilation(baseSource, references: new[] { corlibRef }, targetFramework: TargetFramework.Empty, parseOptions: parseOptions); 4354var comp = CreateCompilation(compilationSource, references: references, parseOptions: parseOptions, targetFramework: TargetFramework.Empty); 4500var baseCompilation = CreateCompilation(baseSource, references: new[] { corlibRef }, targetFramework: TargetFramework.Empty, parseOptions: parseOptions); 4526var comp = CreateCompilation(compilationSource, references: references, parseOptions: parseOptions, targetFramework: TargetFramework.Empty);
Symbols\CustomModifiersTests.cs (4)
1830var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Mscorlib40, references: new[] { SystemCoreRef }); 2594var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, references: new[] { CSharpRef }, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Standard); 2708var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, references: new[] { CSharpRef }, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Standard); 2802var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, references: new[] { CSharpRef }, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Standard);
Symbols\DefaultInterfaceImplementationTests.cs (1060)
117var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net60, 170targetFramework: TargetFramework.Net60); 289targetFramework: TargetFramework.Net60); 346targetFramework: TargetFramework.Net60); 362targetFramework: TargetFramework.Net60); 429targetFramework: TargetFramework.Net60); 486targetFramework: TargetFramework.Net60); 502targetFramework: TargetFramework.Net60); 580targetFramework: TargetFramework.Net60); 678targetFramework: TargetFramework.Net60); 780targetFramework: TargetFramework.Net60); 882targetFramework: TargetFramework.Net60); 969targetFramework: TargetFramework.Net60); 1044targetFramework: TargetFramework.Net60); 1123targetFramework: TargetFramework.Net60); 1202targetFramework: TargetFramework.Net60); 1281targetFramework: TargetFramework.Net60); 1365targetFramework: TargetFramework.Net60); 1453targetFramework: TargetFramework.Net60); 1541targetFramework: TargetFramework.Net60); 1585var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended, 1623options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 1666var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60, 1679options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 1725targetFramework: TargetFramework.Net60); 1745targetFramework: TargetFramework.Mscorlib461Extended, 1776var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended, 1820options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 1873targetFramework: isStatic ? TargetFramework.Net60 : TargetFramework.NetCoreApp); 1912targetFramework: isStatic ? TargetFramework.Net60 : TargetFramework.NetCoreApp); 1930targetFramework: isStatic ? TargetFramework.Net60 : TargetFramework.NetCoreApp); 1971var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended, 2017targetFramework: TargetFramework.NetCoreApp); 2040targetFramework: TargetFramework.Mscorlib461Extended); 2104targetFramework: TargetFramework.Net60); 2183targetFramework: TargetFramework.Net60); 2205targetFramework: TargetFramework.Net60); 2262targetFramework: TargetFramework.NetCoreApp); 2269targetFramework: TargetFramework.NetCoreApp); 2331targetFramework: TargetFramework.NetCoreApp); 2338targetFramework: TargetFramework.NetCoreApp); 2404targetFramework: TargetFramework.NetCoreApp); 2411targetFramework: TargetFramework.NetCoreApp); 2477targetFramework: TargetFramework.NetCoreApp); 2484targetFramework: TargetFramework.NetCoreApp); 2581targetFramework: TargetFramework.Net60); 2635targetFramework: TargetFramework.Net60); 2652targetFramework: TargetFramework.Net60); 2972targetFramework: TargetFramework.NetCoreApp); 3008targetFramework: TargetFramework.Net60); 3044targetFramework: TargetFramework.Net60); 3085targetFramework: TargetFramework.NetCoreApp); 3110targetFramework: TargetFramework.Net60); 3135targetFramework: TargetFramework.Net60); 3165targetFramework: TargetFramework.NetCoreApp); 3199targetFramework: TargetFramework.Net60); 3233targetFramework: TargetFramework.Net60); 3272targetFramework: TargetFramework.NetCoreApp); 3297targetFramework: TargetFramework.Net60); 3322targetFramework: TargetFramework.Net60); 3361targetFramework: TargetFramework.Net60); 3450targetFramework: TargetFramework.Net60); 3516targetFramework: TargetFramework.Net60); 3601targetFramework: TargetFramework.Net60); 3724targetFramework: TargetFramework.Net60); 3866targetFramework: TargetFramework.Net60); 3984targetFramework: TargetFramework.Net60); 4136targetFramework: TargetFramework.Net60); 4225var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended, 4278options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended, 4395targetFramework: TargetFramework.Net60); 4406options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended, 4472targetFramework: TargetFramework.Net60); 4490targetFramework: TargetFramework.Mscorlib461Extended, options: TestOptions.DebugDll, 4534var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 4580options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 4634var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50, 4676options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50, 4737targetFramework: TargetFramework.Net60); 4788targetFramework: TargetFramework.Net60); 4804targetFramework: TargetFramework.Net60); 4869targetFramework: TargetFramework.NetCoreApp); 5105targetFramework: TargetFramework.NetCoreApp); 5142targetFramework: TargetFramework.NetCoreApp); 5170targetFramework: TargetFramework.NetCoreApp); 5207targetFramework: TargetFramework.NetCoreApp); 5246targetFramework: TargetFramework.NetCoreApp); 5299targetFramework: TargetFramework.NetCoreApp); 5385targetFramework: TargetFramework.NetCoreApp); 5502targetFramework: TargetFramework.NetCoreApp); 5593targetFramework: TargetFramework.NetCoreApp); 5738targetFramework: TargetFramework.NetCoreApp); 5826var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 5856options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 5955targetFramework: TargetFramework.NetCoreApp); 5966options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 6013targetFramework: TargetFramework.NetCoreApp); 6031targetFramework: TargetFramework.Mscorlib461Extended, 6081var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 6127options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 6191targetFramework: TargetFramework.NetCoreApp); 6222targetFramework: TargetFramework.NetCoreApp); 6238targetFramework: TargetFramework.NetCoreApp); 6285targetFramework: TargetFramework.NetCoreApp); 6356targetFramework: TargetFramework.Net60); 6370targetFramework: TargetFramework.Net60); 6543targetFramework: TargetFramework.Net60); 6600targetFramework: TargetFramework.Net60); 6621targetFramework: TargetFramework.Net60); 6945targetFramework: TargetFramework.Net60); 7048targetFramework: TargetFramework.Net60); 7139targetFramework: TargetFramework.Net60); 7246targetFramework: TargetFramework.Net60); 7309var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended, 7344options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended, 7419targetFramework: TargetFramework.Net60); 7430targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended, options: TestOptions.DebugDll, 7479targetFramework: TargetFramework.Net60); 7497targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended, 7532var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 7560options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 7597var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50, 7621options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50, 7665targetFramework: TargetFramework.Net60); 7698targetFramework: TargetFramework.Net60); 7714targetFramework: TargetFramework.Net60); 7762targetFramework: TargetFramework.NetCoreApp); 7814targetFramework: TargetFramework.NetCoreApp); 7971targetFramework: TargetFramework.NetCoreApp); 8087targetFramework: TargetFramework.NetCoreApp); 8247targetFramework: TargetFramework.NetCoreApp); 8365targetFramework: TargetFramework.NetCoreApp); 8401targetFramework: TargetFramework.NetCoreApp); 8614targetFramework: TargetFramework.NetCoreApp); 8680targetFramework: TargetFramework.Mscorlib461Extended); 8872parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 8939targetFramework: TargetFramework.Net60); 9043targetFramework: TargetFramework.NetCoreApp); 9094targetFramework: TargetFramework.NetCoreApp); 9232targetFramework: TargetFramework.Net60); 9259targetFramework: TargetFramework.Net60); 9267targetFramework: TargetFramework.Net60); 9284targetFramework: TargetFramework.Net60); 9297targetFramework: TargetFramework.Net60); 9310targetFramework: TargetFramework.Net60); 9449targetFramework: TargetFramework.Net60); 9457targetFramework: TargetFramework.Net60); 9464targetFramework: TargetFramework.Net60); 9474targetFramework: TargetFramework.Net60); 9483targetFramework: TargetFramework.Net60); 9889targetFramework: TargetFramework.NetCoreApp); 9901targetFramework: TargetFramework.NetCoreApp); 9909targetFramework: TargetFramework.NetCoreApp); 9921targetFramework: TargetFramework.NetCoreApp); 9966targetFramework: TargetFramework.NetCoreApp); 9978targetFramework: TargetFramework.NetCoreApp); 9986targetFramework: TargetFramework.NetCoreApp); 9998targetFramework: TargetFramework.NetCoreApp); 10045targetFramework: TargetFramework.NetCoreApp, 10052targetFramework: TargetFramework.NetCoreApp); 10060targetFramework: TargetFramework.NetCoreApp); 10135targetFramework: TargetFramework.NetCoreApp); 10194targetFramework: TargetFramework.NetCoreApp); 10305targetFramework: TargetFramework.NetCoreApp); 10373targetFramework: TargetFramework.NetCoreApp); 10458targetFramework: TargetFramework.NetCoreApp); 10507var compilation3 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 10576targetFramework: TargetFramework.NetCoreApp); 10678targetFramework: TargetFramework.NetCoreApp); 10829targetFramework: TargetFramework.NetCoreApp); 10883targetFramework: TargetFramework.NetCoreApp); 10917targetFramework: TargetFramework.NetCoreApp); 10929targetFramework: TargetFramework.NetCoreApp); 10940targetFramework: TargetFramework.NetCoreApp); 10978parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 11001parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 11056targetFramework: TargetFramework.NetCoreApp); 11162targetFramework: TargetFramework.NetCoreApp); 11258targetFramework: TargetFramework.NetCoreApp); 11300targetFramework: TargetFramework.NetCoreApp); 11355targetFramework: TargetFramework.Mscorlib461Extended); 11457targetFramework: TargetFramework.NetCoreApp); 11524targetFramework: TargetFramework.NetCoreApp); 11554targetFramework: TargetFramework.NetCoreApp); 11581targetFramework: TargetFramework.NetCoreApp); 11608targetFramework: TargetFramework.NetCoreApp); 11635targetFramework: TargetFramework.Mscorlib461Extended); 11648targetFramework: TargetFramework.Mscorlib461Extended); 11694targetFramework: TargetFramework.NetCoreApp); 11718targetFramework: TargetFramework.NetCoreApp); 11726targetFramework: TargetFramework.NetCoreApp); 11760targetFramework: TargetFramework.NetCoreApp); 11770targetFramework: TargetFramework.NetCoreApp); 11787targetFramework: TargetFramework.NetCoreApp); 11849targetFramework: TargetFramework.NetCoreApp); 11883targetFramework: TargetFramework.NetCoreApp); 11892targetFramework: TargetFramework.NetCoreApp); 11909targetFramework: TargetFramework.NetCoreApp); 11917targetFramework: TargetFramework.NetCoreApp); 11925targetFramework: TargetFramework.NetCoreApp); 11985targetFramework: TargetFramework.NetCoreApp); 11998targetFramework: TargetFramework.NetCoreApp); 12007targetFramework: TargetFramework.NetCoreApp); 12024targetFramework: TargetFramework.NetCoreApp); 12039targetFramework: TargetFramework.NetCoreApp); 12046targetFramework: TargetFramework.NetCoreApp); 12105targetFramework: TargetFramework.NetCoreApp); 12121targetFramework: TargetFramework.NetCoreApp); 12130targetFramework: TargetFramework.NetCoreApp); 12147targetFramework: TargetFramework.NetCoreApp); 12162targetFramework: TargetFramework.NetCoreApp); 12175targetFramework: TargetFramework.NetCoreApp); 12218targetFramework: TargetFramework.Net50); 12228targetFramework: TargetFramework.Net50); 12236var targetFramework = ExecutionConditionUtil.IsMonoOrCoreClr ? TargetFramework.Net50 : TargetFramework.NetFramework; 12280targetFramework: TargetFramework.Net50); 12290targetFramework: TargetFramework.Net50); 12298var targetFramework = ExecutionConditionUtil.IsMonoOrCoreClr ? TargetFramework.Net50 : TargetFramework.NetFramework; 12342targetFramework: TargetFramework.Net50); 12352targetFramework: TargetFramework.Net50); 12362targetFramework: TargetFramework.Net50); 12614targetFramework: TargetFramework.NetCoreApp); 12625targetFramework: TargetFramework.NetCoreApp); 12639targetFramework: TargetFramework.NetCoreApp); 12702targetFramework: TargetFramework.NetCoreApp); 12713targetFramework: TargetFramework.NetCoreApp); 12727targetFramework: TargetFramework.NetCoreApp); 12790targetFramework: TargetFramework.NetCoreApp); 12801targetFramework: TargetFramework.NetCoreApp); 12815targetFramework: TargetFramework.NetCoreApp); 12894targetFramework: TargetFramework.NetCoreApp); 12949targetFramework: TargetFramework.NetCoreApp); 13022targetFramework: TargetFramework.NetCoreApp); 13079targetFramework: TargetFramework.NetCoreApp); 13569targetFramework: TargetFramework.NetCoreApp); 13659targetFramework: TargetFramework.Mscorlib461Extended); 13899targetFramework: TargetFramework.NetCoreApp); 14213parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 14231parseOptions: TestOptions.Regular, targetFramework: TargetFramework.Mscorlib461Extended); 14361targetFramework: TargetFramework.Net60); 14608targetFramework: TargetFramework.NetCoreApp); 14707targetFramework: TargetFramework.NetCoreApp); 14914targetFramework: TargetFramework.NetCoreApp); 14922targetFramework: TargetFramework.NetCoreApp); 14934targetFramework: TargetFramework.NetCoreApp); 14960targetFramework: TargetFramework.NetCoreApp); 14968targetFramework: TargetFramework.NetCoreApp); 14987targetFramework: TargetFramework.NetCoreApp); 15112targetFramework: TargetFramework.NetCoreApp); 15120targetFramework: TargetFramework.NetCoreApp); 15131targetFramework: TargetFramework.NetCoreApp); 15139targetFramework: TargetFramework.NetCoreApp); 15147targetFramework: TargetFramework.NetCoreApp); 15235ValidatePropertyModifiers_11_03(source1, source2, TargetFramework.Standard, 15242private void ValidatePropertyModifiers_11_03(string source1, string source2, TargetFramework targetFramework, 15249CompileAndVerify(compilation1, expectedOutput: !(targetFramework == TargetFramework.Standard || ExecutionConditionUtil.IsMonoOrCoreClr) ? null : 15271CompileAndVerify(compilation3, expectedOutput: !(targetFramework == TargetFramework.Standard || ExecutionConditionUtil.IsMonoOrCoreClr) ? null : 15839targetFramework: TargetFramework.NetCoreApp); 15847targetFramework: TargetFramework.NetCoreApp); 15858targetFramework: TargetFramework.NetCoreApp); 15866targetFramework: TargetFramework.NetCoreApp); 15874targetFramework: TargetFramework.NetCoreApp); 15957targetFramework: TargetFramework.NetCoreApp, 15964targetFramework: TargetFramework.NetCoreApp, 15971targetFramework: TargetFramework.NetCoreApp); 16177targetFramework: TargetFramework.NetCoreApp); 16309targetFramework: TargetFramework.NetCoreApp); 16581targetFramework: TargetFramework.NetCoreApp); 16769targetFramework: TargetFramework.NetCoreApp); 16919targetFramework: TargetFramework.NetCoreApp); 16925var compilation3 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 17017targetFramework: TargetFramework.NetCoreApp); 17267targetFramework: TargetFramework.NetCoreApp); 17458targetFramework: TargetFramework.NetCoreApp); 17512targetFramework: TargetFramework.NetCoreApp); 17529targetFramework: TargetFramework.NetCoreApp); 17543targetFramework: TargetFramework.NetCoreApp); 17590targetFramework: TargetFramework.NetCoreApp); 17622targetFramework: TargetFramework.NetCoreApp); 17728targetFramework: TargetFramework.NetCoreApp); 18284targetFramework: TargetFramework.NetCoreApp); 18317targetFramework: TargetFramework.NetCoreApp); 18331targetFramework: TargetFramework.NetCoreApp); 18459targetFramework: TargetFramework.NetCoreApp); 18467targetFramework: TargetFramework.NetCoreApp); 18486targetFramework: TargetFramework.NetCoreApp); 18497targetFramework: TargetFramework.NetCoreApp); 18506targetFramework: TargetFramework.NetCoreApp); 18619ValidatePropertyModifiers_11_03(source1, source2, TargetFramework.Standard, 19282ValidatePropertyModifiers_11_03(source1, source2, TargetFramework.Standard, 19839targetFramework: TargetFramework.NetCoreApp); 19893targetFramework: TargetFramework.NetCoreApp); 19910targetFramework: TargetFramework.NetCoreApp); 19924targetFramework: TargetFramework.NetCoreApp); 19970parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 20001parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 20039parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 20172targetFramework: TargetFramework.NetCoreApp); 20316targetFramework: TargetFramework.NetCoreApp, 20355targetFramework: TargetFramework.NetCoreApp); 20369targetFramework: TargetFramework.NetCoreApp); 20429targetFramework: TargetFramework.NetCoreApp); 20447targetFramework: TargetFramework.NetCoreApp); 20459targetFramework: TargetFramework.NetCoreApp); 20494targetFramework: TargetFramework.NetCoreApp); 20915ValidatePropertyModifiers_11_03(source1, source2, TargetFramework.NetCoreApp); 20955ValidatePropertyModifiers_11_03(source1, source2, TargetFramework.NetCoreApp); 20995ValidatePropertyModifiers_11_03(source1, source2, TargetFramework.NetCoreApp, 21039ValidatePropertyModifiers_11_03(source1, source2, TargetFramework.NetCoreApp); 21079ValidatePropertyModifiers_11_03(source1, source2, TargetFramework.NetCoreApp); 21119ValidatePropertyModifiers_11_03(source1, source2, TargetFramework.NetCoreApp, 21554targetFramework: TargetFramework.NetCoreApp); 22043targetFramework: TargetFramework.NetCoreApp); 22133targetFramework: TargetFramework.Mscorlib461Extended); 22372targetFramework: TargetFramework.NetCoreApp); 22627targetFramework: TargetFramework.NetCoreApp); 22819ValidatePropertyModifiers_11_03(source1, source2, TargetFramework.Standard, 23690targetFramework: TargetFramework.NetCoreApp); 23756targetFramework: TargetFramework.NetCoreApp); 23873targetFramework: TargetFramework.NetCoreApp); 23939targetFramework: TargetFramework.NetCoreApp); 24509targetFramework: TargetFramework.NetCoreApp); 24541targetFramework: TargetFramework.NetCoreApp); 25272ValidatePropertyModifiers_11_03(source1, source2, TargetFramework.Standard, 25935ValidatePropertyModifiers_11_03(source1, source2, TargetFramework.Standard, 26533targetFramework: TargetFramework.NetCoreApp); 26570targetFramework: TargetFramework.NetCoreApp); 26609targetFramework: TargetFramework.NetCoreApp); 26745targetFramework: TargetFramework.NetCoreApp); 26801targetFramework: TargetFramework.NetCoreApp); 27135targetFramework: TargetFramework.NetCoreApp); 27225targetFramework: TargetFramework.Mscorlib461Extended); 27790parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 27864parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 27884parseOptions: TestOptions.Regular, targetFramework: TargetFramework.Mscorlib461Extended); 27942targetFramework: TargetFramework.Net60); 28119targetFramework: TargetFramework.NetCoreApp); 28197targetFramework: TargetFramework.NetCoreApp); 28420targetFramework: TargetFramework.NetCoreApp); 28428targetFramework: TargetFramework.NetCoreApp); 28480targetFramework: TargetFramework.NetCoreApp); 28503targetFramework: TargetFramework.NetCoreApp); 28511targetFramework: TargetFramework.NetCoreApp); 28530targetFramework: TargetFramework.NetCoreApp); 28617targetFramework: TargetFramework.NetCoreApp); 28625targetFramework: TargetFramework.NetCoreApp); 28636targetFramework: TargetFramework.NetCoreApp); 28644targetFramework: TargetFramework.NetCoreApp); 28652targetFramework: TargetFramework.NetCoreApp); 28741ValidateEventModifiers_11_03(source1, source2, TargetFramework.Standard, 28748private void ValidateEventModifiers_11_03(string source1, string source2, TargetFramework targetFramework, 28754CompileAndVerify(compilation1, expectedOutput: !(targetFramework == TargetFramework.Standard || ExecutionConditionUtil.IsMonoOrCoreClr) ? null : 28774CompileAndVerify(compilation3, expectedOutput: !(targetFramework == TargetFramework.Standard || ExecutionConditionUtil.IsMonoOrCoreClr) ? null : 29351targetFramework: TargetFramework.NetCoreApp); 29359targetFramework: TargetFramework.NetCoreApp); 29370targetFramework: TargetFramework.NetCoreApp); 29378targetFramework: TargetFramework.NetCoreApp); 29386targetFramework: TargetFramework.NetCoreApp); 29462targetFramework: TargetFramework.NetCoreApp, 29469targetFramework: TargetFramework.NetCoreApp, 29476targetFramework: TargetFramework.NetCoreApp); 29580targetFramework: TargetFramework.NetCoreApp); 29698targetFramework: TargetFramework.NetCoreApp); 29994targetFramework: TargetFramework.NetCoreApp); 30105targetFramework: TargetFramework.NetCoreApp); 30267targetFramework: TargetFramework.NetCoreApp); 30319var compilation3 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 30440targetFramework: TargetFramework.NetCoreApp); 30661targetFramework: TargetFramework.NetCoreApp); 30863targetFramework: TargetFramework.NetCoreApp); 30917targetFramework: TargetFramework.NetCoreApp); 30932targetFramework: TargetFramework.NetCoreApp); 30946targetFramework: TargetFramework.NetCoreApp); 30992targetFramework: TargetFramework.NetCoreApp); 31023targetFramework: TargetFramework.NetCoreApp); 31097targetFramework: TargetFramework.NetCoreApp); 31123targetFramework: TargetFramework.NetCoreApp); 31132targetFramework: TargetFramework.NetCoreApp); 31171targetFramework: TargetFramework.NetCoreApp); 31183targetFramework: TargetFramework.NetCoreApp); 31209targetFramework: TargetFramework.NetCoreApp); 31482ValidateEventModifiers_11_03(source1, source2, TargetFramework.NetCoreApp); 31525ValidateEventModifiers_11_03(source1, source2, TargetFramework.NetCoreApp); 31568ValidateEventModifiers_11_03(source1, source2, TargetFramework.NetCoreApp, 31748private void ValidateNestedTypes_01(string source1, Accessibility expected = Accessibility.Public, TargetFramework targetFramework = TargetFramework.Standard, bool execute = true, Verification verify = default) 31930ValidateNestedTypes_01(source0 + source1, Accessibility.Protected, targetFramework: TargetFramework.NetCoreApp, execute: ExecutionConditionUtil.IsMonoOrCoreClr, verify: VerifyOnMonoOrCoreClr_FailsIlVerify); 31934targetFramework: TargetFramework.Mscorlib461Extended); 31985targetFramework: TargetFramework.NetCoreApp); 32018targetFramework: TargetFramework.NetCoreApp); 32027targetFramework: TargetFramework.NetCoreApp); 32041targetFramework: TargetFramework.NetCoreApp); 32120ValidateNestedTypes_01(source0 + source1, Accessibility.ProtectedOrInternal, targetFramework: TargetFramework.NetCoreApp, execute: ExecutionConditionUtil.IsMonoOrCoreClr, verify: VerifyOnMonoOrCoreClr); 32121ValidateNestedTypes_01(source0 + source2, Accessibility.ProtectedOrInternal, targetFramework: TargetFramework.NetCoreApp, execute: ExecutionConditionUtil.IsMonoOrCoreClr, verify: VerifyOnMonoOrCoreClr); 32125targetFramework: TargetFramework.Mscorlib461Extended); 32152targetFramework: TargetFramework.NetCoreApp); 32161targetFramework: TargetFramework.NetCoreApp); 32175targetFramework: TargetFramework.NetCoreApp); 32479ValidateNestedTypes_01(source0 + source1, Accessibility.ProtectedAndInternal, targetFramework: TargetFramework.NetCoreApp, execute: ExecutionConditionUtil.IsMonoOrCoreClr, verify: VerifyOnMonoOrCoreClr_FailsIlVerify); 32483targetFramework: TargetFramework.Mscorlib461Extended); 32510targetFramework: TargetFramework.NetCoreApp); 32543targetFramework: TargetFramework.NetCoreApp); 32552targetFramework: TargetFramework.NetCoreApp); 32559targetFramework: TargetFramework.NetCoreApp); 32689targetFramework: TargetFramework.NetCoreApp); 32802targetFramework: TargetFramework.NetCoreApp); 32829targetFramework: TargetFramework.NetCoreApp); 32871targetFramework: TargetFramework.NetCoreApp); 32961targetFramework: TargetFramework.Net60); 32977targetFramework: TargetFramework.Net60); 32993targetFramework: TargetFramework.Net60); 33119targetFramework: TargetFramework.NetCoreApp); 33143targetFramework: TargetFramework.NetCoreApp); 33195targetFramework: TargetFramework.Net60); 33216targetFramework: TargetFramework.Net60).VerifyEmitDiagnostics(); 33229targetFramework: TargetFramework.Net60); 33245targetFramework: TargetFramework.Net60).VerifyEmitDiagnostics(); 33283var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 33308options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 33357var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50, 33387options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50, 33435targetFramework: TargetFramework.Net60); 33483targetFramework: TargetFramework.Net60); 33532targetFramework: TargetFramework.Net60); 33590targetFramework: TargetFramework.Net60); 33652targetFramework: TargetFramework.Net60); 33716targetFramework: TargetFramework.Net60); 33762targetFramework: TargetFramework.Net60); 33801targetFramework: TargetFramework.Net60); 33832var compilation3 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended, 33886targetFramework: TargetFramework.Net60); 33982targetFramework: TargetFramework.Net60); 34143targetFramework: TargetFramework.Net60); 34159targetFramework: TargetFramework.Net60); 34175targetFramework: TargetFramework.Net60); 34190targetFramework: TargetFramework.Net60); 34196targetFramework: TargetFramework.Net60); 34212targetFramework: TargetFramework.Net60); 34284targetFramework: TargetFramework.Net60); 34465targetFramework: TargetFramework.Net60); 34491targetFramework: TargetFramework.Net60); 34503targetFramework: TargetFramework.Net60); 34542targetFramework: TargetFramework.Net60); 34587targetFramework: TargetFramework.Net60); 34685targetFramework: TargetFramework.Net60); 34691targetFramework: TargetFramework.Net60); 34705targetFramework: TargetFramework.Net60); 34799targetFramework: TargetFramework.Net60); 34896targetFramework: TargetFramework.Net60); 34914targetFramework: TargetFramework.Net60); 34970targetFramework: TargetFramework.Net60); 34975targetFramework: TargetFramework.Net60); 34999targetFramework: TargetFramework.Net60); 35061targetFramework: TargetFramework.Net60); 35066targetFramework: TargetFramework.Net60); 35094targetFramework: TargetFramework.Net60); 35162targetFramework: TargetFramework.Net60); 35167targetFramework: TargetFramework.Net60); 35192targetFramework: TargetFramework.Net60); 35258targetFramework: TargetFramework.Net60); 35263targetFramework: TargetFramework.Net60); 35287targetFramework: TargetFramework.Net60); 35353targetFramework: TargetFramework.Net60); 35368targetFramework: TargetFramework.Net60); 35464targetFramework: TargetFramework.Net60); 35471targetFramework: TargetFramework.Net60); 35573targetFramework: TargetFramework.Net60); 35580targetFramework: TargetFramework.Net60); 35686targetFramework: TargetFramework.Net60); 35693targetFramework: TargetFramework.Net60); 35799targetFramework: TargetFramework.Net60); 35806targetFramework: TargetFramework.Net60); 35901targetFramework: TargetFramework.Net60); 35912targetFramework: TargetFramework.Net60); 36010targetFramework: TargetFramework.Net60); 36017targetFramework: TargetFramework.Net60); 36104targetFramework: TargetFramework.Net60); 36115targetFramework: TargetFramework.Net60); 36222targetFramework: TargetFramework.Net60); 36229targetFramework: TargetFramework.Net60); 36388targetFramework: TargetFramework.Net60); 36406targetFramework: TargetFramework.Net60); 36423targetFramework: TargetFramework.Net60); 36431targetFramework: TargetFramework.Net60); 36576targetFramework: TargetFramework.Net60); 36594targetFramework: TargetFramework.Net60); 36611targetFramework: TargetFramework.Net60); 36619targetFramework: TargetFramework.Net60); 36764targetFramework: TargetFramework.Net60); 36782targetFramework: TargetFramework.Net60); 36799targetFramework: TargetFramework.Net60); 36807targetFramework: TargetFramework.Net60); 36861targetFramework: TargetFramework.Net60); 36889targetFramework: TargetFramework.NetCoreApp); 36988targetFramework: TargetFramework.Net60); 37004targetFramework: TargetFramework.Net60); 37020targetFramework: TargetFramework.Net60); 37276targetFramework: TargetFramework.Net60); 37293targetFramework: TargetFramework.Net60); 37375var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended, 37392options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended, 37524targetFramework: TargetFramework.Net60); 37607targetFramework: TargetFramework.Net60); 37651targetFramework: TargetFramework.Net60); 37717targetFramework: TargetFramework.Net60); 37954targetFramework: TargetFramework.Net60); 37989targetFramework: TargetFramework.Net60); 37995var compilation3 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended, 38004targetFramework: TargetFramework.Net60); 38403targetFramework: TargetFramework.Net60); 38422targetFramework: TargetFramework.Net60); 38440targetFramework: TargetFramework.Net60); 38448targetFramework: TargetFramework.Net60); 38743targetFramework: TargetFramework.Net60); 38802targetFramework: TargetFramework.Net60); 38828targetFramework: TargetFramework.Net60); 38840targetFramework: TargetFramework.Net60); 38882targetFramework: TargetFramework.Net60); 38911targetFramework: TargetFramework.Net60); 39004targetFramework: TargetFramework.Net60); 39010targetFramework: TargetFramework.Net60); 39017targetFramework: TargetFramework.Net60); 39108targetFramework: TargetFramework.Net60); 39177targetFramework: TargetFramework.Net60); 39195targetFramework: TargetFramework.Net60); 39494targetFramework: TargetFramework.Net60); 39512targetFramework: TargetFramework.Net60); 40016targetFramework: TargetFramework.Net60); 40034targetFramework: TargetFramework.Net60); 40052targetFramework: TargetFramework.Net60); 40214targetFramework: TargetFramework.NetCoreApp); 40244targetFramework: TargetFramework.NetCoreApp); 40305targetFramework: TargetFramework.Net60); 40335targetFramework: TargetFramework.Net60); 40393var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 40424options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 40482var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50, 40512options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50, 40574targetFramework: TargetFramework.Net60); 40617targetFramework: TargetFramework.Net60); 40665targetFramework: TargetFramework.Net60); 40725targetFramework: TargetFramework.Net60); 40789targetFramework: TargetFramework.Net60); 40855targetFramework: TargetFramework.Net60); 40929targetFramework: TargetFramework.Net60); 41071targetFramework: TargetFramework.Net60); 41089targetFramework: TargetFramework.Net60); 41107targetFramework: TargetFramework.Net60); 41124targetFramework: TargetFramework.Net60); 41130targetFramework: TargetFramework.Net60); 41143targetFramework: TargetFramework.Net60); 41240targetFramework: TargetFramework.Net60); 41464targetFramework: TargetFramework.Net60); 41490targetFramework: TargetFramework.Net60); 41502targetFramework: TargetFramework.Net60); 41544targetFramework: TargetFramework.Net60); 41589targetFramework: TargetFramework.Net60); 41670targetFramework: TargetFramework.Net60); 41676targetFramework: TargetFramework.Net60); 41690targetFramework: TargetFramework.Net60); 41784targetFramework: TargetFramework.Net60); 41853targetFramework: TargetFramework.Net60); 41871targetFramework: TargetFramework.Net60); 42021targetFramework: TargetFramework.Net60); 42041targetFramework: TargetFramework.Net60); 42060targetFramework: TargetFramework.Net60); 42068targetFramework: TargetFramework.Net60); 42225targetFramework: TargetFramework.Net60); 42245targetFramework: TargetFramework.Net60); 42264targetFramework: TargetFramework.Net60); 42272targetFramework: TargetFramework.Net60); 42429targetFramework: TargetFramework.Net60); 42449targetFramework: TargetFramework.Net60); 42468targetFramework: TargetFramework.Net60); 42476targetFramework: TargetFramework.Net60); 43591targetFramework: TargetFramework.Net60); 43628targetFramework: TargetFramework.Net60); 43671targetFramework: TargetFramework.Net60); 43698targetFramework: TargetFramework.Mscorlib461Extended); 43722targetFramework: TargetFramework.NetCoreApp); 43790parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 43835parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 43840parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 43846targetFramework: TargetFramework.NetCoreApp); 43870targetFramework: TargetFramework.Mscorlib461Extended); 43920parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 43972parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 43977parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 43982parseOptions: TestOptions.Regular7_3, targetFramework: TargetFramework.NetCoreApp); 44005parseOptions: TestOptions.Regular, targetFramework: TargetFramework.Mscorlib461Extended); 44055parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 44102parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 44107parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 44112parseOptions: TestOptions.Regular7_3, targetFramework: TargetFramework.NetCoreApp); 44135parseOptions: TestOptions.Regular, targetFramework: TargetFramework.Mscorlib461Extended); 44194targetFramework: TargetFramework.NetCoreApp); 44224targetFramework: TargetFramework.NetCoreApp); 44244targetFramework: TargetFramework.NetCoreApp); 44270targetFramework: TargetFramework.NetCoreApp); 44290targetFramework: TargetFramework.NetCoreApp); 44344parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 44391targetFramework: TargetFramework.NetCoreApp); 44422targetFramework: TargetFramework.Mscorlib461Extended); 44546targetFramework: TargetFramework.NetCoreApp); 44643parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 44690parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 44724parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 44748parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 44840targetFramework: TargetFramework.NetCoreApp); 44885targetFramework: TargetFramework.NetCoreApp); 44921targetFramework: TargetFramework.NetCoreApp); 44966targetFramework: TargetFramework.NetCoreApp); 44984targetFramework: TargetFramework.NetCoreApp); 45004targetFramework: TargetFramework.NetCoreApp); 45057parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 45102parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 45107parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 45113targetFramework: TargetFramework.NetCoreApp); 45146targetFramework: TargetFramework.Mscorlib461Extended); 45208parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 45255parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 45260parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 45266targetFramework: TargetFramework.NetCoreApp); 45299targetFramework: TargetFramework.Mscorlib461Extended); 45351parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 45394parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 45399parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 45405targetFramework: TargetFramework.NetCoreApp); 45441targetFramework: TargetFramework.Mscorlib461Extended); 45541parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 45586parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 45591parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 45596parseOptions: TestOptions.Regular7_3, targetFramework: TargetFramework.NetCoreApp); 45628parseOptions: TestOptions.Regular, targetFramework: TargetFramework.Mscorlib461Extended); 45681parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 45723parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 45728parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 45733parseOptions: TestOptions.Regular7_3, targetFramework: TargetFramework.NetCoreApp); 45765parseOptions: TestOptions.Regular, targetFramework: TargetFramework.Mscorlib461Extended); 45840targetFramework: TargetFramework.Net50); 45846targetFramework: TargetFramework.Net50); 45904targetFramework: TargetFramework.Net50); 45922targetFramework: TargetFramework.Net50); 45936var compilation4 = CreateCompilation(source4, options: TestOptions.DebugExe, targetFramework: TargetFramework.Mscorlib461Extended, 46003targetFramework: TargetFramework.NetCoreApp); 46035targetFramework: TargetFramework.Mscorlib461Extended, 46114targetFramework: TargetFramework.NetCoreApp); 46161targetFramework: TargetFramework.Mscorlib461Extended, 46199targetFramework: TargetFramework.Mscorlib461Extended, 46258targetFramework: TargetFramework.NetCoreApp); 46304targetFramework: TargetFramework.Mscorlib461Extended, 46318targetFramework: TargetFramework.Mscorlib461Extended, 46348targetFramework: TargetFramework.NetCoreApp); 46374targetFramework: TargetFramework.NetCoreApp); 46589targetFramework: TargetFramework.NetCoreApp, 46599targetFramework: TargetFramework.NetCoreApp, 46612targetFramework: TargetFramework.NetCoreApp, 46691targetFramework: TargetFramework.Mscorlib461Extended, 46767targetFramework: TargetFramework.NetCoreApp, 46845targetFramework: TargetFramework.NetCoreApp, 46865targetFramework: TargetFramework.NetCoreApp, 46949var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp); 46952var compilation2 = CreateCompilation(source1 + source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp, 46995var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp, 47012CreateCompilation(source1 + source2, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp, 47025parseOptions: TestOptions.RegularPreview, targetFramework: TargetFramework.NetCoreApp); 47029parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics( 47156var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp, 47222var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp, 47232parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 47238parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 47257parseOptions: TestOptions.Regular7_3, targetFramework: TargetFramework.NetCoreApp); 47268parseOptions: TestOptions.Regular7_3, targetFramework: TargetFramework.NetCoreApp); 47315parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 47324parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 47330parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 47391parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 47400parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 47406parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 47464parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 47471parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 47521parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 47530parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 47536parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 47602parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 47611parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 47617parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 47677parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 47685parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 47690parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 47709parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 47717parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 47722parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 47738parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 47746parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 47751parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 47810parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 47818parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 47823parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 47842parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 47850parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 47855parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 47871parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 47879parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 47884parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 47938parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 47946parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 47951parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 48005parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 48013parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 48018parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 48080parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 48089parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 48095parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 48137parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 48146parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 48152parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 48204parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 48213parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 48219parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 48239parseOptions: TestOptions.Regular7_3, targetFramework: TargetFramework.NetCoreApp); 48253parseOptions: TestOptions.Regular7_3, targetFramework: TargetFramework.NetCoreApp); 48301parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 48310parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 48316parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 48371parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 48380parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 48386parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 48435parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 48444parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 48450parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 48514parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 48523parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 48529parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 48586parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 48595parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 48601parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 48659parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 48667parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 48672parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 48729parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 48737parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 48742parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 48799parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 48806parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 48891parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 48900parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 48906parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 48957parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 48966parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 48972parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 49064parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 49073parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 49079parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 49119parseOptions: TestOptions.RegularPreview, targetFramework: TargetFramework.NetCoreApp); 49223parseOptions: TestOptions.RegularPreview, targetFramework: TargetFramework.NetCoreApp); 49296parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 49305parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 49311parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 49529targetFramework: TargetFramework.NetCoreApp, 49545targetFramework: TargetFramework.NetCoreApp, 49577targetFramework: TargetFramework.NetCoreApp, 49608targetFramework: TargetFramework.Empty); 49619targetFramework: TargetFramework.Empty); 49653targetFramework: TargetFramework.Empty); 49662targetFramework: TargetFramework.Empty); 49769targetFramework: TargetFramework.Empty); 49778targetFramework: TargetFramework.Empty); 49919targetFramework: TargetFramework.Empty); 49955var compilation0 = CreateCompilation(source0 + source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp); 49981var compilation1 = CreateCompilation(source0 + source2, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp); 50010var compilation2 = CreateCompilation(source0 + source3, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp); 50044var compilation0 = CreateCompilation(source0, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp); 50083var compilation0 = CreateCompilation(source0 + source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp); 50109var compilation1 = CreateCompilation(source0 + source2, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp); 50129var compilation2 = CreateCompilation(source0 + source3, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp); 50164var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp); 50202var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp); 50246var compilation0 = CreateCompilation(source0 + source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp); 50262var compilation2 = CreateCompilation(source0 + source3, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp); 50306var compilation0 = CreateCompilation(source0 + source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp); 50361var piaCompilation = CreateCompilation(pia, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.Net50); 50369var compilation1 = CreateCompilation(consumer, options: TestOptions.ReleaseDll, references: new[] { piaCompilation.ToMetadataReference(embedInteropTypes: true) }, targetFramework: TargetFramework.Net50); 50397var piaCompilation = CreateCompilation(pia, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.Net50); 50409var compilation1 = CreateCompilation(consumer, options: TestOptions.ReleaseDll, references: new[] { piaCompilation.ToMetadataReference(embedInteropTypes: true) }, targetFramework: TargetFramework.Net50); 50438var piaCompilation = CreateCompilation(pia, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.Net50); 50450var compilation1 = CreateCompilation(consumer, options: TestOptions.ReleaseDll, references: new[] { piaCompilation.ToMetadataReference(embedInteropTypes: true) }, targetFramework: TargetFramework.Net50); 50478var piaCompilation = CreateCompilation(pia, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.Net50); 50490var compilation1 = CreateCompilation(consumer, options: TestOptions.ReleaseDll, references: new[] { piaCompilation.ToMetadataReference(embedInteropTypes: true) }, targetFramework: TargetFramework.Net50); 50518var piaCompilation = CreateCompilation(pia, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.Net50); 50530var compilation1 = CreateCompilation(consumer, options: TestOptions.ReleaseDll, references: new[] { piaCompilation.ToMetadataReference(embedInteropTypes: true) }, targetFramework: TargetFramework.Net50); 50562var piaCompilation = CreateCompilation(pia, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.Net50); 50577var compilation1 = CreateCompilation(consumer, options: TestOptions.ReleaseDll, references: new[] { reference }, targetFramework: TargetFramework.Net50); 50606var piaCompilation = CreateCompilation(pia, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.Net50); 50622var compilation1 = CreateCompilation(consumer, options: TestOptions.ReleaseDll, references: new[] { reference }, targetFramework: TargetFramework.Net50); 50658var piaCompilation = CreateCompilation(pia, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.Net50); 50670var compilation1 = CreateCompilation(consumer, options: TestOptions.ReleaseDll, references: new[] { piaCompilation.ToMetadataReference(embedInteropTypes: true) }, targetFramework: TargetFramework.Net50); 50682IEnumerable<MetadataReference> baseReferences = TargetFrameworkUtil.GetReferencesWithout(TargetFramework.Net50, "System.Runtime.InteropServices.dll"); 50683var attributes = CreateCompilation(NoPiaAttributes, options: TestOptions.ReleaseDll, references: baseReferences, targetFramework: TargetFramework.Empty); 50711var piaCompilation = CreateCompilation(pia, options: TestOptions.ReleaseDll, references: baseReferences, targetFramework: TargetFramework.Empty); 50749var pia2Compilation = CreateCompilation(pia2, baseReferences, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.Empty); 50752baseReferences = TargetFrameworkUtil.GetReferencesWithout(TargetFramework.NetLatest, "System.Runtime.InteropServices.dll").Concat(new[] { attributesRef }); 50753var compilation1 = CreateCompilation(consumer1, options: TestOptions.ReleaseDll, references: baseReferences.Concat(new[] { piaCompilation.ToMetadataReference(embedInteropTypes: true) }), targetFramework: TargetFramework.Empty); 50757var compilation2 = CreateCompilation(consumer2, options: TestOptions.ReleaseExe, references: baseReferences.Concat(new[] { reference2, pia2Reference }), targetFramework: TargetFramework.Empty); 50791var piaCompilation = CreateCompilation(pia, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.Net50); 50807var compilation1 = CreateCompilation(consumer, options: TestOptions.ReleaseDll, references: new[] { reference }, targetFramework: TargetFramework.Net50); 50843var compilation0 = CreateCompilation(source0, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net50); 50896var compilation0 = CreateCompilation(source0, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net50); 50949var compilation0 = CreateCompilation(source0, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net50); 50994var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp); 51044targetFramework: TargetFramework.Net60); 51065targetFramework: TargetFramework.Net60); 51072targetFramework: TargetFramework.Net60); 51222targetFramework: TargetFramework.Net60); 51232targetFramework: TargetFramework.Net60); 51239targetFramework: TargetFramework.Net60); 51362targetFramework: TargetFramework.Net60); 51376targetFramework: TargetFramework.Net60); 51383targetFramework: TargetFramework.Net60); 51503targetFramework: TargetFramework.Net60); 51513targetFramework: TargetFramework.Net60); 51520targetFramework: TargetFramework.Net60); 51646targetFramework: TargetFramework.Net60); 51660targetFramework: TargetFramework.Net60); 51667targetFramework: TargetFramework.Net60); 51786targetFramework: TargetFramework.Net60); 51800targetFramework: TargetFramework.Net60); 51807targetFramework: TargetFramework.Net60); 51896targetFramework: TargetFramework.Net60); 51906targetFramework: TargetFramework.Net60); 51913targetFramework: TargetFramework.Net60); 51961targetFramework: TargetFramework.Net60); 52016targetFramework: TargetFramework.Net60); 52081targetFramework: TargetFramework.Net60); 52139targetFramework: TargetFramework.Net60); 52204targetFramework: TargetFramework.Net60); 52259targetFramework: TargetFramework.Net60); 52340targetFramework: TargetFramework.Net60); 52410targetFramework: TargetFramework.Net60); 52434targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended); 52499targetFramework: TargetFramework.Net60); 52505targetFramework: TargetFramework.Net60); 52512targetFramework: TargetFramework.Net60); 52691targetFramework: TargetFramework.Net60); 52701targetFramework: TargetFramework.Net60); 52708targetFramework: TargetFramework.Net60); 52856targetFramework: TargetFramework.Net60); 52862targetFramework: TargetFramework.Net60); 52869targetFramework: TargetFramework.Net60); 53019targetFramework: TargetFramework.Net60); 53029targetFramework: TargetFramework.Net60); 53036targetFramework: TargetFramework.Net60); 53194targetFramework: TargetFramework.Net60); 53200targetFramework: TargetFramework.Net60); 53208targetFramework: TargetFramework.Net60); 53356targetFramework: TargetFramework.Net60); 53362targetFramework: TargetFramework.Net60); 53370targetFramework: TargetFramework.Net60); 53488targetFramework: TargetFramework.Net60); 53498targetFramework: TargetFramework.Net60); 53505targetFramework: TargetFramework.Net60); 53595targetFramework: TargetFramework.Net60); 53727targetFramework: TargetFramework.Net60); 53873targetFramework: TargetFramework.Net60); 54195targetFramework: TargetFramework.Net60); 54203targetFramework: TargetFramework.Net60); 54376var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 54449var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 54549var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 54620var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 54688var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 54782var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 54876var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 54964var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 57031targetFramework: TargetFramework.Net60); 57221targetFramework: TargetFramework.NetCoreApp); 57233targetFramework: TargetFramework.Mscorlib461Extended); 57262targetFramework: TargetFramework.Net60); 57274targetFramework: TargetFramework.Net50); 57306targetFramework: TargetFramework.NetCoreApp); 57315targetFramework: TargetFramework.Mscorlib461Extended); 57341targetFramework: TargetFramework.Net60); 57353targetFramework: TargetFramework.Net50); 57382targetFramework: TargetFramework.NetCoreApp); 57391targetFramework: TargetFramework.Mscorlib461Extended); 57417targetFramework: TargetFramework.Net60); 57429targetFramework: TargetFramework.Net50); 57477targetFramework: TargetFramework.Net60); 57483targetFramework: TargetFramework.Net60); 57490targetFramework: TargetFramework.Net60); 57649targetFramework: TargetFramework.Net60); 57659targetFramework: TargetFramework.Net60); 57666targetFramework: TargetFramework.Net60); 57807targetFramework: TargetFramework.Net60); 57813targetFramework: TargetFramework.Net60); 57820targetFramework: TargetFramework.Net60); 57958targetFramework: TargetFramework.Net60); 57968targetFramework: TargetFramework.Net60); 57975targetFramework: TargetFramework.Net60); 58121targetFramework: TargetFramework.Net60); 58127targetFramework: TargetFramework.Net60); 58134targetFramework: TargetFramework.Net60); 58270targetFramework: TargetFramework.Net60); 58276targetFramework: TargetFramework.Net60); 58283targetFramework: TargetFramework.Net60); 58390targetFramework: TargetFramework.Net60); 58400targetFramework: TargetFramework.Net60); 58407targetFramework: TargetFramework.Net60); 58483targetFramework: TargetFramework.Net60); 58675targetFramework: TargetFramework.Net60); 59247targetFramework: TargetFramework.Net60); 59255targetFramework: TargetFramework.Net60); 59315targetFramework: TargetFramework.Net60); 59415targetFramework: TargetFramework.NetCoreApp); 59424targetFramework: TargetFramework.Mscorlib461Extended); 59450targetFramework: TargetFramework.Net60); 59462targetFramework: TargetFramework.Net50); 62199targetFramework: TargetFramework.NetCoreApp); 62211targetFramework: TargetFramework.Mscorlib461Extended); 62240targetFramework: TargetFramework.NetCoreApp); 62249targetFramework: TargetFramework.Mscorlib461Extended); 62275targetFramework: TargetFramework.NetCoreApp); 62284targetFramework: TargetFramework.Mscorlib461Extended); 62375var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp); 62468var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp); 62513var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.NetCoreApp); 62528compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 62557targetFramework: TargetFramework.NetCoreApp); 62569targetFramework: TargetFramework.NetCoreApp); 62622var windowsRuntimeRef = CompilationExtensions.CreateWindowsRuntimeMetadataReference(TargetFramework.Net50); 62707var comp = CreateCompilationWithIL(source, ilSource, options: options, targetFramework: TargetFramework.Net60, references: new[] { windowsRuntimeRef }); 62780var comp = CreateCompilation(source, options: TestOptions.DebugWinMD, targetFramework: TargetFramework.NetCoreApp, references: new[] { CompilationExtensions.CreateWindowsRuntimeMetadataReference() }); 62833var comp = CreateCompilation(source, options: TestOptions.DebugWinMD, targetFramework: TargetFramework.NetCoreApp, references: new[] { CompilationExtensions.CreateWindowsRuntimeMetadataReference() }); 63101var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 63325var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 63491var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 63667var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 63858var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net60); 64039var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 64200var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 64316var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 64437var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 64527var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 64607var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net60); 64678var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 64757var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net60); 64789targetFramework: TargetFramework.NetCoreApp); 64815targetFramework: TargetFramework.NetCoreApp); 64845targetFramework: TargetFramework.NetCoreApp); 64875targetFramework: TargetFramework.NetCoreApp); 64905targetFramework: TargetFramework.NetCoreApp); 64924targetFramework: TargetFramework.NetCoreApp); 64943targetFramework: TargetFramework.NetCoreApp); 64969targetFramework: TargetFramework.NetCoreApp); 64991targetFramework: TargetFramework.NetCoreApp); 65021targetFramework: TargetFramework.NetCoreApp); 65053targetFramework: TargetFramework.NetCoreApp); 65079targetFramework: TargetFramework.NetCoreApp); 65113targetFramework: TargetFramework.NetCoreApp); 65160targetFramework: TargetFramework.NetCoreApp); 65204targetFramework: TargetFramework.NetCoreApp); 65248targetFramework: TargetFramework.NetCoreApp); 65382targetFramework: TargetFramework.NetCoreApp); 65427targetFramework: TargetFramework.NetCoreApp); 65807targetFramework: TargetFramework.NetCoreApp); 65848targetFramework: TargetFramework.NetCoreApp); 65883targetFramework: TargetFramework.NetCoreApp); 65925targetFramework: TargetFramework.NetCoreApp); 65960targetFramework: TargetFramework.NetCoreApp); 66002targetFramework: TargetFramework.NetCoreApp); 66177targetFramework: TargetFramework.NetCoreApp); 66222targetFramework: TargetFramework.NetCoreApp); 66258targetFramework: TargetFramework.NetCoreApp); 66301targetFramework: TargetFramework.NetCoreApp); 66333targetFramework: TargetFramework.NetCoreApp); 66381targetFramework: TargetFramework.NetCoreApp); 66412targetFramework: TargetFramework.NetCoreApp); 66454targetFramework: TargetFramework.NetCoreApp); 66525targetFramework: TargetFramework.NetCoreApp); 66636targetFramework: TargetFramework.NetCoreApp); 66747targetFramework: TargetFramework.NetCoreApp); 66753targetFramework: TargetFramework.NetCoreApp); 66806targetFramework: TargetFramework.NetCoreApp); 66841targetFramework: TargetFramework.NetCoreApp); 66872targetFramework: TargetFramework.NetCoreApp); 66927targetFramework: TargetFramework.NetCoreApp); 66933targetFramework: TargetFramework.NetCoreApp); 66956targetFramework: TargetFramework.NetCoreApp); 66993targetFramework: TargetFramework.NetCoreApp); 67005targetFramework: TargetFramework.NetCoreApp); 67034targetFramework: TargetFramework.NetCoreApp); 67046targetFramework: TargetFramework.NetCoreApp); 67098targetFramework: TargetFramework.NetCoreApp); 67110targetFramework: TargetFramework.NetCoreApp); 67131targetFramework: TargetFramework.NetCoreApp); 67165targetFramework: TargetFramework.NetCoreApp); 67201targetFramework: TargetFramework.NetCoreApp); 67235targetFramework: TargetFramework.NetCoreApp); 67276targetFramework: TargetFramework.NetCoreApp); 67313targetFramework: TargetFramework.NetCoreApp); 67349targetFramework: TargetFramework.NetCoreApp); 67385targetFramework: TargetFramework.NetCoreApp); 67422targetFramework: TargetFramework.NetCoreApp); 67463targetFramework: TargetFramework.NetCoreApp); 67501targetFramework: TargetFramework.NetCoreApp); 67539targetFramework: TargetFramework.NetCoreApp); 67576targetFramework: TargetFramework.NetCoreApp); 67615targetFramework: TargetFramework.NetCoreApp); 67657targetFramework: TargetFramework.NetCoreApp); 67694targetFramework: TargetFramework.NetCoreApp); 67712targetFramework: TargetFramework.NetCoreApp); 67752targetFramework: TargetFramework.NetCoreApp); 67794targetFramework: TargetFramework.NetCoreApp); 67827targetFramework: TargetFramework.NetCoreApp); 67932targetFramework: TargetFramework.NetCoreApp); 67998targetFramework: TargetFramework.NetCoreApp); 68063targetFramework: TargetFramework.NetCoreApp); 68159var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net60, 68193targetFramework: TargetFramework.Net60); 68487targetFramework: TargetFramework.Net60); 68531targetFramework: TargetFramework.Net60); 68550targetFramework: TargetFramework.Net60); 68554compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50, 68593options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50, 68606options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50, 68684targetFramework: TargetFramework.Net60); 68690targetFramework: TargetFramework.Net60); 68701targetFramework: TargetFramework.Net60); 68845targetFramework: TargetFramework.Net60); 68861targetFramework: TargetFramework.Net60); 68868targetFramework: TargetFramework.Net60); 68927targetFramework: TargetFramework.Net60); 68946targetFramework: TargetFramework.Net60); 68953targetFramework: TargetFramework.Net60); 69045var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 69143var verifier = CompileAndVerify(source, targetFramework: TargetFramework.Net70, 69322targetFramework: TargetFramework.NetCoreApp, 69390targetFramework: TargetFramework.NetCoreApp,
Symbols\ExtendedPartialMethodsTests.cs (6)
1735var comp = CreateCompilation(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods, targetFramework: TargetFramework.NetCoreApp); 1755var comp = CreateCompilation(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods, targetFramework: TargetFramework.NetCoreApp); 1782var comp = CreateCompilation(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods, targetFramework: TargetFramework.NetCoreApp); 1812var comp = CreateCompilation(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods, targetFramework: TargetFramework.NetCoreApp); 1856var comp = CreateCompilation(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods, targetFramework: TargetFramework.NetCoreApp); 2592var vbComp = CreateVisualBasicCompilation(vb, referencedAssemblies: TargetFrameworkUtil.GetReferences(TargetFramework.Standard).Add(comp.EmitToImageReference()));
Symbols\ExtensionMethodTests.cs (1)
4124var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp);
Symbols\FunctionPointerTypeSymbolTests.cs (3)
21private static CSharpCompilation CreateFunctionPointerCompilation(string source, TargetFramework targetFramework = TargetFramework.Standard) 241var compWithMissingMembers = CreateFunctionPointerCompilation(source, targetFramework: TargetFramework.Minimal);
Symbols\GenericConstraintTests.cs (4)
4317CompileWithCustomILSource(csharpSource, ilSource, compilationVerifier: compilationVerifier, targetFramework: TargetFramework.Mscorlib40); 7298targetFramework: TargetFramework.Mscorlib461); 7357var metadataComp = CreateCompilation(code, new[] { remappedComp11.EmitToImageReference() }, assemblyName: "intermediate", targetFramework: TargetFramework.NetStandard20); 7365targetFramework: TargetFramework.NetStandard20);
Symbols\IndexerTests.cs (3)
1788CreateCompilation(source, parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics( 1903CreateCompilation(source, parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics( 2952var compilation = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp);
Symbols\Metadata\PE\LoadingFields.cs (1)
148var comp = CreateCompilation("", targetFramework: TargetFramework.Net60);
Symbols\ModuleInitializers\AccessibilityTests.cs (1)
377targetFramework: TargetFramework.NetCoreApp,
Symbols\ModuleInitializers\ModuleInitializersTests.cs (2)
276targetFramework: TargetFramework.NetCoreApp, 355targetFramework: TargetFramework.NetCoreApp,
Symbols\ModuleInitializers\SignatureTests.cs (1)
56var compilation = CreateCompilation(source, parseOptions: s_parseOptions, targetFramework: TargetFramework.NetCoreApp);
Symbols\PartialPropertiesTests.cs (1)
2918targetFramework: TargetFramework.Net70,
Symbols\RelaxedShiftOperatorTests.cs (5)
136var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp, 180var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp, 224var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp, 268var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp, 312var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp,
Symbols\RequiredMembersTests.cs (29)
22private static CSharpCompilation CreateCompilationWithRequiredMembers(CSharpTestSource source, IEnumerable<MetadataReference>? references = null, CSharpParseOptions? parseOptions = null, CSharpCompilationOptions? options = null, string? assemblyName = null, TargetFramework targetFramework = TargetFramework.Standard) 1379var comp = CreateCompilation(source, targetFramework: TargetFramework.Net70); 1798var comp = CreateCompilation(new[] { c }, references: new[] { ilRef }, targetFramework: TargetFramework.Net70); 2203var baseComp = CreateCompilationWithRequiredMembers(@base, new[] { originalC.ToMetadataReference() }, targetFramework: TargetFramework.Standard); 2217var comp = CreateCompilation(code, new[] { baseComp.ToMetadataReference(), retargetedC.ToMetadataReference() }, targetFramework: TargetFramework.Standard); 2253var baseComp = CreateCompilationWithRequiredMembers(@base, new[] { originalCRef }, targetFramework: TargetFramework.Standard); 2268var derivedComp = CreateCompilation(derived, new[] { baseRef, originalCRef }, targetFramework: TargetFramework.Standard); 2276var comp = CreateCompilation(code, new[] { baseRef, derivedComp.ToMetadataReference(), retargetedC.ToMetadataReference() }, targetFramework: TargetFramework.Standard); 2298var baseComp = CreateCompilationWithRequiredMembers(@base, new[] { originalC.ToMetadataReference() }, targetFramework: TargetFramework.Standard); 2312var comp = CreateCompilation(code, new[] { baseComp.ToMetadataReference(), retargetedC.ToMetadataReference() }, targetFramework: TargetFramework.Standard); 2540var comp = CreateCompilation(code, new[] { baseRef }, targetFramework: TargetFramework.Net70); 2557var baseComp = CreateCompilationWithRequiredMembers(@base, new[] { originalC.ToMetadataReference() }, targetFramework: TargetFramework.Standard); 2588var baseComp = CreateCompilationWithRequiredMembers(@base, new[] { originalC.ToMetadataReference() }, targetFramework: TargetFramework.Standard); 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); 7529""", TupleWithRequiredMemberDefinition(setsRequiredMembers) }, targetFramework: TargetFramework.Mscorlib461 /* Using 461 to get a framework without ValueTuple */); 7594""", TupleWithRequiredMemberDefinition(setsRequiredMembers) }, targetFramework: TargetFramework.Mscorlib461 /* Using 461 to get a framework without ValueTuple */); 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); 7888CreateCompilation(source, targetFramework: TargetFramework.NetStandard20).VerifyEmitDiagnostics(
Symbols\Retargeting\NoPia.cs (5)
650targetFramework: TargetFramework.Standard, 655targetFramework: TargetFramework.Standard, 950var Pia1 = CreateCompilation(s_sourcePia1, options: TestOptions.ReleaseDll, assemblyName: "Pia1", targetFramework: TargetFramework.Standard); 954targetFramework: TargetFramework.Standard, 959targetFramework: TargetFramework.Standard,
Symbols\Retargeting\RetargetingTests.cs (3)
940var consistent = CreateCompilation("public class C {}", assemblyName: "Con", targetFramework: TargetFramework.Standard); 975}}", new[] { retargeted1Ref, consistentRef, ilRef }, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Standard); 981targetFramework: TargetFramework.Standard);
Symbols\Source\BaseClassTests.cs (1)
1805CreateCompilationWithILAndMscorlib40(csharp, il, appendDefaultHeader: false, targetFramework: TargetFramework.Standard).VerifyDiagnostics(
Symbols\Source\CustomModifierCopyTests.cs (2)
882targetFramework: TargetFramework.Standard, 914var comp = CreateCompilationWithILAndMscorlib40(source, il, targetFramework: TargetFramework.Standard);
Symbols\Source\EventTests.cs (2)
521targetFramework: TargetFramework.StandardAndCSharp, 580targetFramework: TargetFramework.StandardAndCSharp,
Symbols\Source\ExpressionBodiedMethodTests.cs (1)
91}", parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp);
Symbols\Source\ExpressionBodiedPropertyTests.cs (1)
52}", parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp);
Symbols\Source\FileModifierTests.cs (8)
2836var comp = CreateCompilation(new[] { (source1, "F1.cs") }, targetFramework: TargetFramework.Net70); 2866var comp = CreateCompilation(new[] { (source1, "F1.cs") }, targetFramework: TargetFramework.Net70); 4355var comp = CreateCompilation(source1, targetFramework: TargetFramework.Mscorlib40); 4376var comp2 = CreateCompilation(source2, references: new[] { comp.ToMetadataReference() }, targetFramework: TargetFramework.Mscorlib461); 4564targetFramework: TargetFramework.Mscorlib461, 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);
Symbols\Source\NullablePublicAPITests.cs (1)
4962var comp = CreateCompilation(source, targetFramework: TargetFramework.Minimal);
Symbols\StaticAbstractMembersInInterfacesTests.cs (75)
28internal const TargetFramework _supportingFramework = TargetFramework.Net60; 5372targetFramework: TargetFramework.Mscorlib461Extended); 5387targetFramework: TargetFramework.Net50); 5413targetFramework: TargetFramework.Mscorlib461Extended); 5428targetFramework: TargetFramework.Net50); 5702targetFramework: TargetFramework.Mscorlib461Extended); 5749targetFramework: TargetFramework.Mscorlib461Extended); 5779targetFramework: TargetFramework.Mscorlib461Extended); 5828targetFramework: TargetFramework.Mscorlib461Extended); 5953targetFramework: TargetFramework.Mscorlib461Extended); 6070targetFramework: TargetFramework.Mscorlib461Extended); 6094targetFramework: TargetFramework.Mscorlib461Extended); 6209targetFramework: TargetFramework.Mscorlib461Extended); 6230targetFramework: TargetFramework.Mscorlib461Extended); 8508targetFramework: TargetFramework.Mscorlib461Extended, 8519targetFramework: TargetFramework.Mscorlib461Extended); 9118targetFramework: TargetFramework.Mscorlib461Extended, 9129targetFramework: TargetFramework.Mscorlib461Extended); 9403targetFramework: TargetFramework.Mscorlib461Extended, 9414targetFramework: TargetFramework.Mscorlib461Extended); 9808targetFramework: TargetFramework.Mscorlib461Extended, 9819targetFramework: TargetFramework.Mscorlib461Extended); 12187targetFramework: TargetFramework.Mscorlib461Extended, 12198targetFramework: TargetFramework.Mscorlib461Extended); 12250targetFramework: TargetFramework.Mscorlib461Extended, 12268targetFramework: TargetFramework.Mscorlib461Extended); 12337targetFramework: TargetFramework.Mscorlib461Extended, 12348targetFramework: TargetFramework.Mscorlib461Extended); 12387targetFramework: TargetFramework.Mscorlib461Extended, 12398targetFramework: TargetFramework.Mscorlib461Extended); 13442targetFramework: TargetFramework.Mscorlib461Extended, 13453targetFramework: TargetFramework.Mscorlib461Extended); 13494targetFramework: TargetFramework.Mscorlib461Extended, 13505targetFramework: TargetFramework.Mscorlib461Extended); 13546targetFramework: TargetFramework.Mscorlib461Extended, 13560targetFramework: TargetFramework.Mscorlib461Extended); 14152targetFramework: TargetFramework.Mscorlib461Extended, 14163targetFramework: TargetFramework.Mscorlib461Extended); 14201targetFramework: TargetFramework.Mscorlib461Extended, 14212targetFramework: TargetFramework.Mscorlib461Extended); 14754targetFramework: TargetFramework.Mscorlib461Extended, 14765targetFramework: TargetFramework.Mscorlib461Extended); 15160targetFramework: TargetFramework.Mscorlib461Extended, 15171targetFramework: TargetFramework.Mscorlib461Extended); 15428targetFramework: TargetFramework.Mscorlib461Extended, 15439targetFramework: TargetFramework.Mscorlib461Extended); 15966targetFramework: TargetFramework.Mscorlib461Extended, 15977targetFramework: TargetFramework.Mscorlib461Extended); 16013targetFramework: TargetFramework.Mscorlib461Extended, 16024targetFramework: TargetFramework.Mscorlib461Extended); 19065targetFramework: TargetFramework.Mscorlib461Extended, 19076targetFramework: TargetFramework.Mscorlib461Extended); 19117targetFramework: TargetFramework.Mscorlib461Extended, 19128targetFramework: TargetFramework.Mscorlib461Extended); 19169targetFramework: TargetFramework.Mscorlib461Extended, 19180targetFramework: TargetFramework.Mscorlib461Extended); 19224targetFramework: TargetFramework.Mscorlib461Extended, 19235targetFramework: TargetFramework.Mscorlib461Extended); 22816targetFramework: TargetFramework.Mscorlib461Extended, 22833targetFramework: TargetFramework.Mscorlib461Extended); 22872targetFramework: TargetFramework.Mscorlib461Extended, 22883targetFramework: TargetFramework.Mscorlib461Extended); 25600targetFramework: TargetFramework.Mscorlib461Extended, 25617targetFramework: TargetFramework.Mscorlib461Extended); 25653targetFramework: TargetFramework.Mscorlib461Extended, 25664targetFramework: TargetFramework.Mscorlib461Extended); 28525targetFramework: TargetFramework.Mscorlib461Extended, 28536targetFramework: TargetFramework.Mscorlib461Extended); 28577targetFramework: TargetFramework.Mscorlib461Extended, 28588targetFramework: TargetFramework.Mscorlib461Extended); 30522targetFramework: TargetFramework.Mscorlib461Extended, 30533targetFramework: TargetFramework.Mscorlib461Extended); 30580targetFramework: TargetFramework.Mscorlib461Extended, 30591targetFramework: TargetFramework.Mscorlib461Extended);
Symbols\SymbolErrorTests.cs (10)
840targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics( 849targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics( 877targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics( 899targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics( 1763CreateCompilation(text, parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics( 7960var comp = CreateCompilation(text, targetFramework: TargetFramework.NetLatest); 9180var comp = CreateCompilation(text, parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp); 9311var comp = CreateCompilation(text, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics( 9799CreateCompilation(text, parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics( 18813CSharpCompilation comp = CreateCompilation(text, targetFramework: TargetFramework.NetLatest);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Syntax\SyntaxTreeTests.cs (1)
96var compilation = CSharpCompilation.Create("test", new[] { tree }, TargetFrameworkUtil.GetReferences(TargetFramework.Standard), TestOptions.DebugDll);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (44)
CSharpTestBase.cs (44)
830TargetFramework.Mscorlib40, 866TargetFramework.Mscorlib46, 907TargetFramework.Mscorlib46, 944TargetFramework.WinRT, 980TargetFramework.StandardAndCSharp, 999TargetFramework targetFramework = TargetFramework.Standard, 1120TargetFramework targetFramework = TargetFramework.Standard, 1129TargetFramework targetFramework = TargetFramework.Mscorlib40, 1146string sourceFileName = "") => CreateCompilation(source, references, options, parseOptions, TargetFramework.Mscorlib40, assemblyName, sourceFileName); 1155bool skipUsesIsNullable = false) => CreateCompilation(source, references, options, parseOptions, TargetFramework.Mscorlib461, assemblyName, sourceFileName, skipUsesIsNullable); 1164bool skipUsesIsNullable = false) => CreateCompilation(source, references, options, parseOptions, TargetFramework.Mscorlib461, assemblyName, sourceFileName, skipUsesIsNullable); 1172string sourceFileName = "") => CreateCompilation(source, references, options, parseOptions, TargetFramework.Mscorlib46, assemblyName, sourceFileName); 1182bool skipUsesIsNullable = false) => CreateCompilationCore(source, TargetFrameworkUtil.GetReferences(TargetFramework.Mscorlib461, references), options, parseOptions, assemblyName, sourceFileName, skipUsesIsNullable, experimentalFeature: feature); 1190string sourceFileName = "") => CreateCompilation(source, references, options, parseOptions, TargetFramework.WinRT, assemblyName, sourceFileName); 1198string sourceFileName = "") => CreateCompilation(source, references, options, parseOptions, TargetFramework.Mscorlib461AndCSharp, assemblyName, sourceFileName); 1206string sourceFileName = "") => CreateCompilation(source, references, options, parseOptions, TargetFramework.Mscorlib40AndSystemCore, assemblyName, sourceFileName); 1214string sourceFileName = "") => CreateCompilation(source, references, options, parseOptions, TargetFramework.Mscorlib40AndSystemCore, assemblyName, sourceFileName); 1222string sourceFileName = "") => CreateCompilation(source, references, options, parseOptions, TargetFramework.StandardAndCSharp, assemblyName, sourceFileName); 1234return CreateCompilation(source, references, options, parseOptions, TargetFramework.Mscorlib40, assemblyName, sourceFileName); 1261return CreateCompilation(source, allReferences, options, parseOptions, TargetFramework.Empty, assemblyName, sourceFileName); 1269TargetFramework targetFramework = TargetFramework.Standard, 1497public CompilationVerifier CompileWithCustomILSource(string cSharpSource, string ilSource, Action<CSharpCompilation> compilationVerifier = null, bool importInternals = true, string expectedOutput = null, TargetFramework targetFramework = TargetFramework.Standard) 2061var targetFramework = useLatestFrameworkReferences ? TargetFramework.Mscorlib46Extended : TargetFramework.Standard; 2148TargetFramework targetFramework = TargetFramework.Standard) 2163TargetFramework targetFramework, 2194targetFramework: useLatestFrameworkReferences ? TargetFramework.Mscorlib46Extended : TargetFramework.Standard); 2212targetFramework: useLatestFrameworkReferences ? TargetFramework.Mscorlib46Extended : TargetFramework.Standard, 2222TargetFramework targetFramework, 2245TargetFramework targetFramework = TargetFramework.Standard) 2339protected static CSharpCompilation CreateCompilationWithSpanAndMemoryExtensions(CSharpTestSource text, CSharpCompilationOptions options = null, CSharpParseOptions parseOptions = null, TargetFramework targetFramework = TargetFramework.NetCoreApp) 2357protected static CSharpCompilation CreateCompilationWithIndexAndRangeAndSpanAndMemoryExtensions(CSharpTestSource text, CSharpCompilationOptions options = null, CSharpParseOptions parseOptions = null, TargetFramework targetFramework = TargetFramework.NetCoreApp)
Microsoft.CodeAnalysis.CSharp.WinRT.UnitTests (5)
Metadata\WinMdEventTests.cs (3)
330targetFramework: TargetFramework.Empty, 2443targetFramework: TargetFramework.Empty, 3499var compilation = CreateCompilationWithIL("", il, targetFramework: TargetFramework.Empty, references: WinRtRefs);
Metadata\WinMdMetadataTests.cs (2)
158CompileAndVerify(text, WinRtRefs, targetFramework: TargetFramework.Empty, expectedOutput: "#FF000000"); 235targetFramework: TargetFramework.Empty,
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
EditAndContinue\EditAndContinueLanguageServiceTests.cs (2)
118.AddMetadataReferences(projectId, TargetFrameworkUtil.GetReferences(TargetFramework.Mscorlib40)) 249AddMetadataReferences(projectId, TargetFrameworkUtil.GetReferences(TargetFramework.Mscorlib40)).
Microsoft.CodeAnalysis.Features.Test.Utilities (5)
EditAndContinue\EditAndContinueTestVerifier.cs (3)
101TargetFramework.NetStandard20, 108TargetFramework targetFramework, 434private void CreateProjects(EditScriptDescription[] editScripts, AdhocWorkspace workspace, TargetFramework targetFramework, out Project oldProject, out Project newProject)
EditAndContinue\EditAndContinueWorkspaceTestBase.cs (2)
43private protected const TargetFramework DefaultTargetFramework = TargetFramework.NetStandard20;
Microsoft.CodeAnalysis.Features.UnitTests (11)
EditAndContinue\CompileTimeSolutionProviderTests.cs (1)
46WithProjectMetadataReferences(projectId, TargetFrameworkUtil.GetReferences(TargetFramework.NetStandard20)).
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (7)
401AddMetadataReferences(TargetFrameworkUtil.GetReferences(TargetFramework.Mscorlib40)). 680AddMetadataReferences(TargetFrameworkUtil.GetReferences(TargetFramework.Mscorlib40)). 765AddMetadataReferences(TargetFrameworkUtil.GetReferences(TargetFramework.Mscorlib40)); 922AddMetadataReferences(projectId, TargetFrameworkUtil.GetReferences(TargetFramework.Mscorlib40)). 2293AddMetadataReferences(TargetFrameworkUtil.GetReferences(TargetFramework.Mscorlib40)). 2361AddMetadataReferences(TargetFrameworkUtil.GetReferences(TargetFramework.Mscorlib40)); 2422AddMetadataReferences(TargetFrameworkUtil.GetReferences(TargetFramework.Mscorlib40)).
EditAndContinue\EditSessionActiveStatementsTests.cs (1)
70.WithMetadataReferences(TargetFrameworkUtil.GetReferences(TargetFramework.Standard));
EditAndContinue\EmitSolutionUpdateResultsTests.cs (1)
72WithMetadataReferences(TargetFrameworkUtil.GetReferences(TargetFramework.Standard)).
EditAndContinue\RemoteEditAndContinueServiceTests.cs (1)
80.AddMetadataReferences(projectId, TargetFrameworkUtil.GetReferences(TargetFramework.Mscorlib40))
Microsoft.CodeAnalysis.Rebuild.UnitTests (2)
CSharpDeterministicKeyBuilderTests.cs (2)
78targetFramework: TargetFramework.NetCoreApp, 220targetFramework: TargetFramework.NetCoreApp,
Microsoft.CodeAnalysis.Test.Utilities (35)
Compilation\CompilationExtensions.cs (2)
463public static PortableExecutableReference CreateWindowsRuntimeMetadataReference(TargetFramework targetFramework = TargetFramework.NetCoreApp)
PDB\DeterministicBuildCompilationTestHelpers.cs (1)
76public static void VerifyReferenceInfo(TestMetadataReferenceInfo[] references, TargetFramework targetFramework, BlobReader metadataReferenceReader)
TargetFrameworkUtil.cs (32)
292Debug.Assert(GetReferences(TargetFramework.NetCoreApp).SequenceEqual(NetCoreApp.References)); 293Debug.Assert(GetReferences(TargetFramework.NetFramework).SequenceEqual(NetFramework.References)); 298public static ImmutableArray<MetadataReference> GetReferences(TargetFramework targetFramework) => targetFramework switch 302TargetFramework.Empty => ImmutableArray<MetadataReference>.Empty, 303TargetFramework.NetStandard20 => NetStandard20References, 304TargetFramework.Net50 => ImmutableArray.CreateRange<MetadataReference>(LoadDynamicReferences("Net50")), 305TargetFramework.Net60 => ImmutableArray.CreateRange<MetadataReference>(LoadDynamicReferences("Net60")), 306TargetFramework.NetCoreApp or TargetFramework.Net70 => ImmutableArray.CreateRange<MetadataReference>(Net70.References.All), 307TargetFramework.Net80 => ImmutableArray.CreateRange<MetadataReference>(LoadDynamicReferences("Net80")), 308TargetFramework.Net90 => ImmutableArray.CreateRange<MetadataReference>(LoadDynamicReferences("Net90")), 309TargetFramework.NetFramework => NetFramework.References, 310TargetFramework.NetLatest => NetLatest, 311TargetFramework.Standard => StandardReferences, 314TargetFramework.Mscorlib40 => Mscorlib40References, 315TargetFramework.Mscorlib40Extended => Mscorlib40ExtendedReferences, 316TargetFramework.Mscorlib40AndSystemCore => Mscorlib40andSystemCoreReferences, 317TargetFramework.Mscorlib40AndVBRuntime => Mscorlib40andVBRuntimeReferences, 318TargetFramework.Mscorlib46 => Mscorlib46References, 319TargetFramework.Mscorlib46Extended => Mscorlib46ExtendedReferences, 320TargetFramework.Mscorlib461 => Mscorlib46References, 321TargetFramework.Mscorlib461Extended => Mscorlib461ExtendedReferences, 322TargetFramework.Mscorlib461AndCSharp => Mscorlib461AndCSharpReferences, 323TargetFramework.Mscorlib461AndVBRuntime => Mscorlib461AndVBRuntimeReferences, 324TargetFramework.WinRT => WinRTReferences, 325TargetFramework.StandardAndCSharp => StandardAndCSharpReferences, 326TargetFramework.StandardAndVBRuntime => StandardAndVBRuntimeReferences, 327TargetFramework.DefaultVb => DefaultVbReferences, 328TargetFramework.Minimal => MinimalReferences, 329TargetFramework.MinimalAsync => MinimalAsyncReferences, 333public static ImmutableArray<MetadataReference> GetReferences(TargetFramework tf, IEnumerable<MetadataReference> additionalReferences) 398public static IEnumerable<MetadataReference> GetReferencesWithout(TargetFramework targetFramework, params string[] excludeReferenceNames) =>
Microsoft.CodeAnalysis.UnitTests (2)
Analyzers\AnalyzerFileReferenceTests.cs (1)
486TargetFrameworkUtil.GetReferences(TargetFramework.Standard, new[] { MetadataReference.CreateFromAssemblyInternal(typeof(ISourceGenerator).Assembly) }),
Symbols\DocumentationCommentIdTests.cs (1)
23code, referencedAssemblies: TargetFrameworkUtil.GetReferences(TargetFramework.NetStandard20));
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (7)
CommandLineIVTTests.vb (6)
22Dim comp1 = CreateCompilation(source1, assemblyName:="N1", targetFramework:=TargetFramework.Mscorlib461) 120Dim comp1 = CreateCompilation(source1, assemblyName:="N1", targetFramework:=TargetFramework.Mscorlib461) 221Dim comp1 = CreateCompilation(source1, assemblyName:="N1", targetFramework:=TargetFramework.Mscorlib461) 331Dim comp1 = CreateCompilation(source1, assemblyName:="N1", targetFramework:=TargetFramework.Mscorlib461) 438Dim comp1 = CreateCompilation(source1, assemblyName:="N1", targetFramework:=TargetFramework.Mscorlib461) 450Dim comp2 = CreateCompilation(source2, assemblyName:="N2", references:={comp1.ToMetadataReference()}, targetFramework:=TargetFramework.Mscorlib461)
CommandLineTests.vb (1)
10926TargetFrameworkUtil.GetReferences(Roslyn.Test.Utilities.TargetFramework.Standard, {MetadataReference.CreateFromAssemblyInternal(GetType(ISourceGenerator).Assembly)}),
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (379)
Attributes\AttributeTests_CallerArgumentExpression.vb (52)
32Dim compilation = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.RegularLatest) 53Dim compilation = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.Regular16) 90Dim compilation = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.RegularLatest) 127Dim compilation = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.RegularLatest) 148Dim compilation = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.RegularLatest) 193Dim csCompilation = CreateCSharpCompilation("Program2.Log(5 + 2);", referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Net50, {compilation.EmitToImageReference()}), compilationOptions:=New CSharp.CSharpCompilationOptions(OutputKind.ConsoleApplication)) 280Dim compilation = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.RegularLatest) 302Dim compilation = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.RegularLatest) 319Dim comp1 = CreateCompilation(source, targetFramework:=TargetFramework.Net50, parseOptions:=TestOptions.Regular16_9) 331Dim compilation = CreateCompilation(source2, references:={ref1}, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.RegularLatest) 354Dim compilation = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.RegularLatest) 377Dim compilation = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.RegularLatest) 400Dim compilation = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.RegularLatest) 427Dim compilation = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.Regular16_9) 454Dim compilation = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.Regular16_9) 475Dim compilation = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.RegularLatest) 496Dim compilation = CreateCompilation(Parse(source, "C:\\Program.cs", options:=TestOptions.Regular16_9), targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe) 517Dim compilation = CreateCompilation(Parse(source, "C:\\Program.cs", options:=TestOptions.RegularLatest), targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe) 538Dim compilation = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.Regular16_9) 559Dim compilation = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.RegularLatest) 580Dim compilation = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.Regular16_9) 601Dim compilation = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.RegularLatest) 622Dim compilation = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.RegularLatest) 648Dim compilation = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.Regular16_9) 692Dim compilation = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.RegularLatest) 728Dim compilation = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.RegularLatest) 752Dim compilation = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.RegularLatest) 782Dim compilation = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.RegularLatest) 815Dim compilation = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.RegularLatest) 840Dim compilation = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.RegularLatest) 861Dim compilation = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.RegularLatest) 933Dim compilation = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseDll, parseOptions:=TestOptions.RegularLatest) 954Dim compilation = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.RegularLatest) 980Dim compilation = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.RegularLatest) 1006Dim compilation = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.RegularLatest) 1023Dim comp1 = CreateCompilation(source, targetFramework:=TargetFramework.Net50) 1037Dim compilation = CreateCompilation(source2, references:={ref1}, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.RegularLatest) 1061Dim compilation = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.RegularLatest) 1096Dim compilation = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.RegularLatest) 1127Dim compilation = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.RegularLatest) 1164Dim compilation = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.RegularLatest) 1195Dim compilation = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.RegularLatest) 1220Dim compilation = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.RegularLatest) 1259Dim compilation = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.RegularLatest) 1342Dim comp1 = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseDll, parseOptions:=TestOptions.RegularLatest) 1407Dim compilation = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.RegularLatest) 1501Dim compilation = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.RegularLatest) 1533Dim compilation = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.RegularLatest) 1565Dim compilation = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.RegularLatest) 1599Dim compilation = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.RegularLatest) 1633Dim compilation = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.RegularLatest) 1664Dim compilation = CreateCompilation(source, targetFramework:=TargetFramework.Net50, options:=TestOptions.ReleaseExe, parseOptions:=TestOptions.RegularLatest)
Attributes\AttributeTests_WellKnownAttributes.vb (1)
5737Dim validator = CompileAndVerifyEx(source, sourceSymbolValidator:=sourceValidator, symbolValidator:=metadataValidator, verify:=Verification.Fails, targetFramework:=TargetFramework.Mscorlib461)
CodeGen\CodeGenAsyncTests.vb (9)
2892Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:="GetName: '3'").VerifyDiagnostics() 2991CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:="GetName: '3'").VerifyDiagnostics() 3042Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:="GetName: '3'").VerifyDiagnostics() 3237CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:="GetName: '3'").VerifyDiagnostics() 3287Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:="GetName: '3'").VerifyDiagnostics() 3376CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:="GetName: '3'").VerifyDiagnostics() 3426Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:="GetName: '3'").VerifyDiagnostics() 3521CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:="GetName: '3'").VerifyDiagnostics() 3652Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:="Done").VerifyDiagnostics()
CodeGen\CodeGenCallTests.vb (274)
86Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 125CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 207Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 272CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 348Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 363CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 439Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 478CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 554Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 569CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 651Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 852CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 934Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 1021CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 1087Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 1372CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 1438Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 1567CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 1657Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 1884CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 1970Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 2078CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 2174Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 2630CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 2729Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 2939CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 3015Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 3060CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 3128Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 3129CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 3205Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 3253CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 3321Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 3322CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 3404Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput, verify:=Verification.Skipped).VerifyDiagnostics() 3629CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput, verify:=Verification.Skipped).VerifyDiagnostics() 3703Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 3704CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 3770Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput, verify:=Verification.Skipped).VerifyDiagnostics() 4079CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput, verify:=Verification.Skipped).VerifyDiagnostics() 4136Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 4137CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 4203Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 4252CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 4318Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 4337CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 4403Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 4453CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 4519Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 4538CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 4610Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 4835CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 4907Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 5003CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 5077Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 5386CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 5460Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 5598CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 5664Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 5732CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 5798Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 5822CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 5888Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 5958CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 6024Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 6048CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 6120Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 6352CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 6424Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 6521CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 6595Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 6911CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 6985Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 7124CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 7190Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 7243CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 7309Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 7330CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 7396Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 7450CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 7516Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 7537CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 7609Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 7838CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 7910Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 8008CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 8074Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 8144CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 8210Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 8235CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 8301Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 8373CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 8439Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 8464CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 8536Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 8796CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 8868Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 8979CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 9051Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 9287CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 9359Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 9458CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 9530Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 9868CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 9940Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 10090CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 10160Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 10228CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 10298Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 10322CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 10392Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 10462CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 10532Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 10556CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 10632Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 10869CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 10945Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 11042CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 11112Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 11165CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 11235Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 11256CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 11326Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 11380CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 11450Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 11471CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 11547Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 11781CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 11857Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 11955CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 12029Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 12118CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 12188Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 12224CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 12304Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 12586CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 12662Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 12796CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 12870Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 12937CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 13007Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 13040CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 13120Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 13391CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 13467Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 13602CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 13680Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 13771CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 13845Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 13883CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 13967Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 14253CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 14333Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 14466CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 14544Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 14613CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 14687Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 14722CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 14806Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 15076CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 15156Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 15285CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 15355Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 15429CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 15499Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 15527CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 15603Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 15855CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 15931Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 16041CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 16107Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 16179CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 16245Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 16271CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 16337Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 16411CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 16477Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 16503CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 16575Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 16811CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 16883Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 16982CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 17056Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 17376CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 17450Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 17591CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 17657Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 17718CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 17784Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 17809CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 17875Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 17937CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 18003Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 18028CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 18100Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 18343CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 18415Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 18520CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 18586Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 18664CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 18730Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 18759CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 18825Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 18905CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 18971Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 19000CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 19072Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 19346CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 19418Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 19536CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 19608Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 19852CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 19924Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 20027CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 20099Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 20451CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 20523Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 20680CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 20766Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 20850CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 20926Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 20947CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 21030Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 21058CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 21154Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 21155CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 21225Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 21298CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 21368Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 21396CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 21466Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 21541CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 21611Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 21639CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 21715Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 21955CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 22031Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 22132CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 22210Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 22534CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 22612Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 22755CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 22825Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 22892CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 22962Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 22987CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 23057Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 23126CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 23196Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 23221CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 23297Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 23523CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 23599Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 23699CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 23769Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 23844CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 23914Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 23943CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 24013Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 24090CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 24160Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 24189CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 24265Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 24509CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 24585Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 24694CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 24770Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 25014CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 25090Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 25193CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 25269Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 25603CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 25679Dim verifier = CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.ReleaseExe, expectedOutput:=expectedOutput).VerifyDiagnostics() 25827CompileAndVerifyEx(comp, targetFramework:=TargetFramework.StandardAndVBRuntime, options:=TestOptions.DebugExe, expectedOutput:=expectedOutput).VerifyDiagnostics()
CodeGen\CodeGenTuples.vb (26)
17350referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.StandardAndVBRuntime)) 21327referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.StandardAndVBRuntime)) 21463referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.StandardAndVBRuntime)) 22885Dim comp1 = CreateCompilation(source0 + source1, targetFramework:=TargetFramework.Mscorlib40, options:=TestOptions.DebugExe) 22892Dim comp4 = CreateCompilation(source0 + source2, targetFramework:=TargetFramework.Mscorlib40, options:=TestOptions.DebugExe) 22895Dim comp5 = CreateCompilation(source2, targetFramework:=TargetFramework.Mscorlib40, options:=TestOptions.DebugExe, references:=comp1Ref) 22899Dim comp6 = CreateCompilation(source2, targetFramework:=TargetFramework.Mscorlib40, options:=TestOptions.DebugExe, references:=comp1ImageRef) 22903Dim comp7 = CreateCompilation(source2, targetFramework:=TargetFramework.Mscorlib46, options:=TestOptions.DebugExe, references:=comp1Ref) 22955Dim comp1 = CreateCompilation(source0 + source1, targetFramework:=TargetFramework.Mscorlib40, options:=TestOptions.DebugExe) 22962Dim comp4 = CreateCompilation(source0 + source2, targetFramework:=TargetFramework.Mscorlib40, options:=TestOptions.DebugExe) 22965Dim comp5 = CreateCompilation(source2, targetFramework:=TargetFramework.Mscorlib40, options:=TestOptions.DebugExe, references:=comp1Ref) 22969Dim comp6 = CreateCompilation(source2, targetFramework:=TargetFramework.Mscorlib40, options:=TestOptions.DebugExe, references:=comp1ImageRef) 22973Dim comp7 = CreateCompilation(source2, targetFramework:=TargetFramework.Mscorlib46, options:=TestOptions.DebugExe, references:=comp1Ref) 23017Dim comp1 = CreateCompilation(source0 + source1, targetFramework:=TargetFramework.Mscorlib40, options:=TestOptions.DebugExe) 23024Dim comp4 = CreateCompilation(source0 + source2, targetFramework:=TargetFramework.Mscorlib40, options:=TestOptions.DebugExe) 23027Dim comp5 = CreateCompilation(source2, targetFramework:=TargetFramework.Mscorlib40, options:=TestOptions.DebugExe, references:=comp1Ref) 23031Dim comp6 = CreateCompilation(source2, targetFramework:=TargetFramework.Mscorlib40, options:=TestOptions.DebugExe, references:=comp1ImageRef) 23035Dim comp7 = CreateCompilation(source2, targetFramework:=TargetFramework.Mscorlib46, options:=TestOptions.DebugExe, references:=comp1Ref) 23083Dim comp1 = CreateCompilation(source0 + source1, targetFramework:=TargetFramework.Mscorlib40, options:=TestOptions.DebugExe) 23090Dim comp4 = CreateCompilation(source0 + source2, targetFramework:=TargetFramework.Mscorlib40, options:=TestOptions.DebugExe) 23093Dim comp5 = CreateCompilation(source2, targetFramework:=TargetFramework.Mscorlib40, options:=TestOptions.DebugExe, references:=comp1Ref) 23097Dim comp6 = CreateCompilation(source2, targetFramework:=TargetFramework.Mscorlib40, options:=TestOptions.DebugExe, references:=comp1ImageRef) 23101Dim comp7 = CreateCompilation(source2, targetFramework:=TargetFramework.Mscorlib46, options:=TestOptions.DebugExe, references:=comp1Ref) 23119Dim comp = CreateCSharpCompilation(source, referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Standard)) 23444Dim comp = CreateCompilation(source, targetFramework:=TargetFramework.NetCoreApp) 23484Dim comp = CreateCompilation(source, targetFramework:=TargetFramework.NetCoreApp)
Emit\DynamicAnalysis\DynamicInstrumentationTests.vb (1)
2836targetFramework:=TargetFramework.Empty)
Emit\EditAndContinue\EditAndContinueTest.vb (3)
19Private ReadOnly _targetFramework As TargetFramework 26Optional targetFramework As TargetFramework = TargetFramework.StandardAndVBRuntime,
Emit\EditAndContinue\EditAndContinueTests.vb (3)
1789Dim compilation0 = CreateCompilation(source0, options:=TestOptions.DebugDll, targetFramework:=TargetFramework.NetStandard20) 1917Dim compilation0 = CreateCompilation(source0, options:=TestOptions.DebugDll, targetFramework:=TargetFramework.NetStandard20) 7201Dim compilation0 = CreateCompilation(source0.Tree, targetFramework:=TargetFramework.NetStandard20, options:=ComSafeDebugDll)
Emit\NoPiaEmbedTypes.vb (8)
2677Dim dispIdDefinition = CreateCSharpCompilation(dispId, assemblyName:="DispId", referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Mscorlib461Extended, Nothing)).EmitToImageReference(aliases:=ImmutableArray.Create("dispId")) 2697Dim piaCompilation = CreateCSharpCompilation(pia, assemblyName:="Pia", referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Mscorlib461Extended, {dispIdDefinition})). 2718Dim compilation1 = CreateCompilation(sources1, references:={piaCompilation}, targetFramework:=TargetFramework.Mscorlib461Extended) 2734Dim empty = CreateCompilation("", targetFramework:=TargetFramework.Mscorlib461Extended).EmitToImageReference() 2750Dim piaCompilation = CreateCompilation(pia, references:={empty}, targetFramework:=TargetFramework.Mscorlib461Extended) 2777Dim compilation1 = CreateCompilation(sources1, references:={piaCompilation.ToMetadataReference(embedInteropTypes:=True)}, targetFramework:=TargetFramework.Mscorlib461Extended) 2802Dim piaCompilation = CreateCompilation(pia, targetFramework:=TargetFramework.Mscorlib461Extended) 2829Dim compilation1 = CreateCompilation(sources1, references:={piaCompilation.ToMetadataReference(embedInteropTypes:=True)}, targetFramework:=TargetFramework.Mscorlib461Extended)
PDB\PDBAsyncTests.vb (1)
943Dim v = CompileAndVerifyEx(src, references:=LatestVbReferences, options:=TestOptions.DebugDll, targetFramework:=TargetFramework.Empty)
PDB\VisualBasicDeterministicBuildCompilationTests.vb (1)
41Dim tf = TargetFramework.NetStandard20
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (25)
Binding\BindingErrorTests.vb (1)
17862</compilation>, targetFramework:=TargetFramework.Mscorlib461AndVBRuntime, references:=Net461XmlReferences)
Binding\SyncLockTests.vb (2)
513CreateCompilation(source, targetFramework:=TargetFramework.Net90).AssertTheseDiagnostics( 544Dim comp = CreateCompilation(source, options:=TestOptions.ReleaseExe, targetFramework:=TargetFramework.Net90)
Compilation\CompilationAPITests.vb (3)
1807Dim compilation = CreateCompilation("", references:={}, targetFramework:=TargetFramework.Empty) 1894Dim compilation = CreateCompilation("", references:={}, targetFramework:=TargetFramework.Empty) 2505Dim csComp = CreateCSharpCompilation("", referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Standard))
Semantics\NativeIntegerTests.vb (1)
68Dim comp = VisualBasicCompilation.Create(assemblyName:=GetUniqueName(), references:=TargetFrameworkUtil.GetReferences(TargetFramework.DefaultVb), options:=TestOptions.ReleaseDll)
Semantics\RefFieldTests.vb (4)
27Dim compA = CreateCSharpCompilation(GetUniqueName(), sourceA, referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Net70)) 68Dim comp = CreateCompilation(source, targetFramework:=TargetFramework.Net60) 75comp = CreateCompilation(source, targetFramework:=TargetFramework.Net70) 147Dim compB = CreateCSharpCompilation(GetUniqueName(), sourceB, referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Net70, {refA}))
Semantics\RequiredMembersTests.vb (14)
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) 1975End Class", {csharpCompReference}, targetFramework:=TargetFramework.Mscorlib461) 2027", {csharpCompReference}, targetFramework:=TargetFramework.Mscorlib461) 2157End Class", {csharpComp.EmitToImageReference()}, targetFramework:=TargetFramework.Mscorlib461) 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 (383)
DocumentationComments\DocCommentTests.vb (2)
12459Dim references = TargetFrameworkUtil.GetReferences(TargetFramework.StandardAndVBRuntime) 12489Dim references = TargetFrameworkUtil.GetReferences(TargetFramework.StandardAndVBRuntime)
SymbolsTests\AttributeTests_UnmanagedCallersOnly.vb (3)
15Private ReadOnly _csharpReferences As ImmutableArray(Of MetadataReference) = TargetFrameworkUtil.GetReferences(TargetFramework.Net50) 74Dim comp = CreateCompilation(source, targetFramework:=TargetFramework.Net50) 121Dim comp = CreateCompilation(source, references:={reference}, targetFramework:=TargetFramework.Net50)
SymbolsTests\CheckedUserDefinedOperatorsTests.vb (3)
184Dim comp3 = CreateCSharpCompilation("", referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Standard, {ilReference})) 371Dim comp3 = CreateCSharpCompilation("", referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Standard, {ilReference})) 550Dim comp3 = CreateCSharpCompilation("", referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Standard, {ilReference}))
SymbolsTests\CompilationCreationTests.vb (3)
2245compilation = VisualBasicCompilation.Create("Compilation", references:=TargetFrameworkUtil.GetReferences(TargetFramework.Net50, Nothing)) 2253compilation = VisualBasicCompilation.Create("Compilation", references:=TargetFrameworkUtil.GetReferences(TargetFramework.Net60, Nothing)) 2261compilation = VisualBasicCompilation.Create("Compilation", references:=TargetFrameworkUtil.GetReferences(TargetFramework.Net70, Nothing))
SymbolsTests\CorLibrary\CorTypes.vb (9)
394referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Standard), 403referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Standard), 453Dim comp = CreateCompilation(source, targetFramework:=TargetFramework.Mscorlib40AndSystemCore, options:=TestOptions.DebugExe) 463comp = CreateCompilation(source, targetFramework:=TargetFramework.Mscorlib40AndSystemCore, options:=TestOptions.DebugExe) 473comp = CreateCompilation(source, targetFramework:=TargetFramework.Mscorlib40AndSystemCore, options:=TestOptions.DebugExe) 697referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Standard), 715referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Standard), 921referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Standard), 939referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Standard),
SymbolsTests\DefaultInterfaceImplementationTests.vb (316)
24Optional targetFramework As TargetFramework = TargetFramework.NetCoreApp, 69Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 116Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 149Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 201Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 232Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 278Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 307Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 355Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 397Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 426Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 492Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 500Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 537Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 569Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 599Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 606Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 640Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 674Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 708Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 715Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 755Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 789Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 797Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 841Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 880Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 915Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 922Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 961Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 997Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 1036Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 1072Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 1111Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 1118Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 1154Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.Mscorlib461Extended, references:={csCompilation}) 1199Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.Mscorlib461Extended, references:={csCompilation}) 1245Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.Mscorlib461Extended, references:={csCompilation}) 1300Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.Mscorlib461Extended, references:={csCompilation}) 1354Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.Mscorlib461Extended, references:={csCompilation}) 1392Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 1419Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 1427Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 1461Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 1490Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 1518Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 1525Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 1557Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 1589Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 1621Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 1628Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 1662Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.Mscorlib461Extended, references:={csCompilation}) 1696Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.Mscorlib461Extended, references:={csCompilation}) 1741Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 1789Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 1830Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 1879Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 1936Dim csCompilation = GetCSharpCompilation(csSource, targetFramework:=TargetFramework.Net50).EmitToImageReference(embedInteropTypes:=True) 1948Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 1977Dim csCompilation = GetCSharpCompilation(csSource, targetFramework:=TargetFramework.Net50).EmitToImageReference(embedInteropTypes:=True) 1990Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 2027Dim csCompilation = GetCSharpCompilation(csSource, targetFramework:=TargetFramework.Net50).EmitToImageReference(embedInteropTypes:=True) 2040Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 2075Dim csCompilation = GetCSharpCompilation(csSource, targetFramework:=TargetFramework.Standard).EmitToImageReference() 2101Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.Standard, references:={csCompilation}) 2164Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 2225Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 2307Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.Mscorlib461Extended, references:={csCompilation}) 2388Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 2450Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 2532Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.Mscorlib461Extended, references:={csCompilation}) 2613Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 2694Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 2775Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 2858Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 2927Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 2962Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugDll, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 3000Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugDll, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 3036Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugDll, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 3068Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugDll, targetFramework:=TargetFramework.NetCoreApp) 3151Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugDll, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 3208Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugDll, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 3305Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugDll, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 3362Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugDll, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 3402Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 3449Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 3481Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 3532Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 3565Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 3617Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 3659Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugDll, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 3707Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugDll, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 3755Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugDll, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 3810Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 3859Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 3908Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 3957Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 4006Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 4055Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 4097Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugDll, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 4145Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugDll, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 4193Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugDll, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 4242Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 4268comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 4303Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 4329comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 4370Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 4396comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 4433Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 4459comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 4496Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 4499comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 4537Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 4540comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 4577Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 4580comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 4636Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 4647Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 4683Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 4691Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 4724Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 4732Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 4767Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 4797Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 4827Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 4857Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 4887Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 4917Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 4946Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 4957Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 4994Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 5002Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 5036Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 5044Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 5077Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 5113Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 5146Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 5179Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 5215Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 5248Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 5281Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 5292Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 5328Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 5336Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 5369Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 5377Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 5418Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 5452Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 5460Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 5497Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 5505Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 5542Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 5550Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 5595Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 5637Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 5679Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 5721Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 5763Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 5805Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 5839Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 5847Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 5884Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 5892Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 5929Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 5937Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 5974Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 6011Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 6048Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 6082Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 6116Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 6150Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 6187Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 6224Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 6261Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 6295Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 6329Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 6363Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 6400Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 6408Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 6445Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 6453Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 6490Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 6498Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 6533Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.Mscorlib461Extended, references:={csCompilation}) 6571Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.Mscorlib461Extended, references:={csCompilation}) 6606Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.Mscorlib461Extended, references:={csCompilation}) 6641Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.Mscorlib461Extended, references:={csCompilation}) 6679Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.Mscorlib461Extended, references:={csCompilation}) 6714Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.Mscorlib461Extended, references:={csCompilation}) 6752Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.Mscorlib461Extended, references:={csCompilation}) 6799Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.Mscorlib461Extended, references:={csCompilation}) 6846Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.Mscorlib461Extended, references:={csCompilation}) 6890Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.Mscorlib461Extended, references:={csCompilation}) 6934Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.Mscorlib461Extended, references:={csCompilation}) 6981Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.Mscorlib461Extended, references:={csCompilation}) 7025Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.Mscorlib461Extended, references:={csCompilation}) 7056Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 7100Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 7130Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 7178Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 7209Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 7258Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 7296Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugDll, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 7348Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 7392Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 7430Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugDll, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 7492Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 7500Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 7534Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 7563Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 7591Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 7599Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 7631Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 7663Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 7695Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 7703Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 7743Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 7775Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 7783Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 7827Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 7866Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 7898Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 7906Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 7943Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 7977Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 8014Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 8048Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 8085Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 8093Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 8127Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.Mscorlib461Extended, references:={csCompilation}) 8161Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.Mscorlib461Extended, references:={csCompilation}) 8199Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.Mscorlib461Extended, references:={csCompilation}) 8243Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.Mscorlib461Extended, references:={csCompilation}) 8287Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.Mscorlib461Extended, references:={csCompilation}) 8318Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 8361Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 8391Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 8438Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 8469Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 8517Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 8554Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugDll, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 8606Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 8649Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 8686Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugDll, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 8751Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 8759Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 8796Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 8828Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 8856Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 8864Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 8896Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 8928Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 8960Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 8968Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 9008Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 9040Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 9048Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 9092Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 9131Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 9163Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 9171Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 9208Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 9242Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 9279Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 9313Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 9350Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 9358Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 9392Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.Mscorlib461Extended, references:={csCompilation}) 9426Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.Mscorlib461Extended, references:={csCompilation}) 9464Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.Mscorlib461Extended, references:={csCompilation}) 9508Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.Mscorlib461Extended, references:={csCompilation}) 9552Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.Mscorlib461Extended, references:={csCompilation}) 9583Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 9632Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 9664Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 9717Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 9750Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 9804Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 9847Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugDll, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 9904Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 9955Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 9998Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugDll, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 10077Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 10088Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 10137Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 10180Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 10212Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 10223Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 10259Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 10295Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 10331Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 10342Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 10387Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 10422Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 10433Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 10482Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 10525Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 10560Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 10571Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 10612Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 10650Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 10691Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 10729Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 10770Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 10781Dim comp2 = CreateCompilation(source1, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}, options:=TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 10819Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.Mscorlib461Extended, references:={csCompilation}) 10857Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.Mscorlib461Extended, references:={csCompilation}) 10899Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.Mscorlib461Extended, references:={csCompilation}) 10947Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.Mscorlib461Extended, references:={csCompilation}) 10995Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.Mscorlib461Extended, references:={csCompilation}) 11047Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 11129Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugExe, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 11297Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugDll, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 11414Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugDll, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation}) 11459targetFramework:=TargetFramework.NetCoreApp, 11495Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugDll, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation, CompilationExtensions.CreateWindowsRuntimeMetadataReference()})
SymbolsTests\Metadata\PE\LoadingFields.vb (1)
277Dim comp = CreateCompilation("", targetFramework:=TargetFramework.Net60)
SymbolsTests\ParamsCollectionTests.vb (6)
29referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Standard)).EmitToImageReference() 47Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.Standard, references:={csCompilation}, options:=TestOptions.DebugExe) 75referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Standard)) 93Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.Standard, references:={csCompilation.EmitToImageReference()}, options:=TestOptions.DebugExe) 114referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Standard)).EmitToImageReference() 128Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.Standard, references:={csCompilation}, options:=TestOptions.DebugDll)
SymbolsTests\RefStructInterfacesTests.vb (4)
15Private Shared ReadOnly s_targetFrameworkSupportingByRefLikeGenerics As TargetFramework = TargetFramework.Net90 23comp = CreateCompilation("", targetFramework:=TargetFramework.Mscorlib461Extended) 26comp = CreateCompilation("", targetFramework:=TargetFramework.Net80)
SymbolsTests\RelaxedShiftOperatorTests.vb (1)
30referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Standard)).EmitToImageReference()
SymbolsTests\StaticAbstractMembersInInterfacesTests.vb (3)
15Private Const _supportingFramework As TargetFramework = TargetFramework.Net60 20Optional targetFramework As TargetFramework = _supportingFramework,
SymbolsTests\SymbolErrorTests.vb (3)
6679</compilation>, targetFramework:=TargetFramework.NetFramework) 6702</compilation>, targetFramework:=TargetFramework.NetFramework) 6748</compilation>, targetFramework:=TargetFramework.NetFramework)
SymbolsTests\UnmanagedTypeConstraintTests.vb (1)
939Dim compilation = CreateCompilation(source, references:={reference}, targetFramework:=TargetFramework.Net90)
SymbolsTests\UnsignedRightShiftTests.vb (4)
31referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Standard)).EmitToImageReference() 44Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.Standard, references:={csCompilation}, options:=TestOptions.DebugExe) 70referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Standard)).EmitToImageReference() 83Dim comp1 = CreateCompilation(source1, targetFramework:=TargetFramework.Standard, references:={csCompilation}, options:=TestOptions.DebugExe)
UsedAssembliesTests.vb (24)
137Private Function CompileWithUsedAssemblyReferences(source As BasicTestSource, targetFramework As TargetFramework, ParamArray references As MetadataReference()) As ImmutableArray(Of MetadataReference) 141Private Function CompileWithUsedAssemblyReferences(source As BasicTestSource, targetFramework As TargetFramework, options As VisualBasicCompilationOptions, ParamArray references As MetadataReference()) As ImmutableArray(Of MetadataReference) 174Return CompileWithUsedAssemblyReferences(source, TargetFramework.Standard, references) 178Return CompileWithUsedAssemblyReferences(source, TargetFramework.Standard, options:=options, references) 1159Dim comp0 = CreateCompilation(source0, targetFramework:=TargetFramework.StandardAndVBRuntime) 1172CompileWithUsedAssemblyReferences(source1, TargetFramework.StandardAndVBRuntime, comp0Ref) 1173CompileWithUsedAssemblyReferences(source1, TargetFramework.StandardAndVBRuntime, comp0ImageRef) 1807Dim comp0 = CreateCompilation(source0, targetFramework:=TargetFramework.StandardAndVBRuntime) 1820CompileWithUsedAssemblyReferences(source1, TargetFramework.StandardAndVBRuntime, comp0Ref) 1821CompileWithUsedAssemblyReferences(source1, TargetFramework.StandardAndVBRuntime, comp0ImageRef) 1835Dim comp0 = CreateCompilation(source0, targetFramework:=TargetFramework.StandardAndVBRuntime) 1848CompileWithUsedAssemblyReferences(source1, TargetFramework.StandardAndVBRuntime, comp0Ref) 1849CompileWithUsedAssemblyReferences(source1, TargetFramework.StandardAndVBRuntime, comp0ImageRef) 4423Dim comp0 = CreateCompilation(source0, targetFramework:=TargetFramework.StandardAndVBRuntime) 4436CompileWithUsedAssemblyReferences(source1, TargetFramework.StandardAndVBRuntime, comp0Ref) 4437CompileWithUsedAssemblyReferences(source1, TargetFramework.StandardAndVBRuntime, comp0ImageRef) 4572Dim comp0 = CreateCompilation(source0, targetFramework:=TargetFramework.StandardAndVBRuntime) 4585CompileWithUsedAssemblyReferences(source1, TargetFramework.StandardAndVBRuntime, comp0Ref) 4586CompileWithUsedAssemblyReferences(source1, TargetFramework.StandardAndVBRuntime, comp0ImageRef) 4614Dim comp0 = CreateCompilation(source0, targetFramework:=TargetFramework.StandardAndVBRuntime) 4627CompileWithUsedAssemblyReferences(source1, TargetFramework.StandardAndVBRuntime, comp0Ref) 4628CompileWithUsedAssemblyReferences(source1, TargetFramework.StandardAndVBRuntime, comp0ImageRef) 4715CompileWithUsedAssemblyReferences(source3, targetFramework:=TargetFramework.Standard) 4729CompileWithUsedAssemblyReferences(source3, targetFramework:=TargetFramework.StandardAndVBRuntime)
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (9)
BasicTestBase.vb (2)
318Optional targetFramework As TargetFramework = TargetFramework.StandardAndVBRuntime
CompilationTestUtils.vb (7)
30Optional targetFramework As TargetFramework = TargetFramework.StandardAndVBRuntime, 40Optional targetFramework As TargetFramework = TargetFramework.StandardAndVBRuntime) As VisualBasicCompilation 144Return CreateCompilation(source, references, options, parseOptions, TargetFramework.Mscorlib40, assemblyName) 153Return CreateCompilation(source, references, options, parseOptions, TargetFramework.Mscorlib461, assemblyName) 162Return CreateCompilation(source, references, options, parseOptions, TargetFramework.Mscorlib461AndVBRuntime, assemblyName)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (3)
Workspaces\TestWorkspace_XmlConsumption.cs (3)
923references = [.. TargetFrameworkUtil.GetReferences(TargetFramework.Net60)]; 931references = [.. TargetFrameworkUtil.GetReferences(TargetFramework.Net70)]; 939references = [.. TargetFrameworkUtil.GetReferences(TargetFramework.Net80)];