2703 references to DebugDll
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)
14224options: TestOptions.DebugDll.WithCryptoKeyFile(Path.GetFileName(snk.Path)).WithStrongNameProvider(virtualSnProvider),
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (263)
CodeGen\CodeGenAsyncIteratorTests.cs (16)
1095var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugDll); 1142var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugDll); 1169var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugDll); 11110options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 11159var comp1 = CreateCompilation([source1, source2, CompilerLoweringPreserveAttributeDefinition], targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 11180comp1 = CreateCompilation([source1, source3, CompilerLoweringPreserveAttributeDefinition], targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 11234options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 11293options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 11403options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 11425options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 11477var comp1 = CreateCompilation([source1, source2, CompilerLoweringPreserveAttributeDefinition], targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 11501comp1 = CreateCompilation([source1, source3, CompilerLoweringPreserveAttributeDefinition], targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 11525comp1 = CreateCompilation([source1, source4, CompilerLoweringPreserveAttributeDefinition], targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 11582options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 11644options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 11671options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
CodeGen\CodeGenAsyncLocalsTests.cs (2)
250CompileAndVerify(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), symbolValidator: module => 307var vd = CompileAndVerify(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), symbolValidator: module =>
CodeGen\CodeGenAsyncMainTests.cs (4)
362var corCompilation = CreateEmptyCompilation(corAssembly, options: TestOptions.DebugDll); 369var taskCompilation = CreateCompilationWithMscorlib461(taskAssembly, options: TestOptions.DebugDll); 402var corCompilation = CreateEmptyCompilation(corAssembly, options: TestOptions.DebugDll); 409var taskCompilation = CreateCompilationWithMscorlib461(taskAssembly, options: TestOptions.DebugDll);
CodeGen\CodeGenAsyncSpillTests.cs (3)
1120var v = CompileAndVerify(source, options: TestOptions.DebugDll); 2090CompileAndVerify(source, options: TestOptions.DebugDll); 10974CreateCompilation(source, options: TestOptions.DebugDll).VerifyDiagnostics().VerifyEmitDiagnostics(expectedDiagnostics);
CodeGen\CodeGenAsyncTests.cs (19)
5852var v = CompileAndVerify(source, null, options: TestOptions.DebugDll); 6658var compilation = CreateCompilation(source, options: TestOptions.DebugDll); 6704var compilation = CreateCompilation(source, options: TestOptions.DebugDll); 6738var compilation = CreateCompilation(source, options: TestOptions.DebugDll); 7369var c = CreateCompilation(source, options: TestOptions.DebugDll); 7577var comp = CreateCompilation(source, options: TestOptions.DebugDll); 8012options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 8055var comp1 = CreateCompilation([source1, source2, CompilerLoweringPreserveAttributeDefinition], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 8075comp1 = CreateCompilation([source1, source3, CompilerLoweringPreserveAttributeDefinition], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 8128options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 8181options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 8287options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 8307options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 8353var comp1 = CreateCompilation([source1, source2, CompilerLoweringPreserveAttributeDefinition], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 8376comp1 = CreateCompilation([source1, source3, CompilerLoweringPreserveAttributeDefinition], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 8399comp1 = CreateCompilation([source1, source4, CompilerLoweringPreserveAttributeDefinition], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 8455options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 8511options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 8536options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
CodeGen\CodeGenClosureLambdaTests.cs (3)
3970CompileAndVerify(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), symbolValidator: m => 4041CompileAndVerify(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), symbolValidator: m => 4082CompileAndVerify(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), symbolValidator: m =>
CodeGen\CodeGenConstructorInitTests.cs (5)
690var options = TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All); 757options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 779options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 846options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 925options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
CodeGen\CodeGenDeconstructTests.cs (14)
6680var comp = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugDll); 8228var comp = CreateCompilationWithMscorlib461(source, references: s_valueTupleRefs, options: TestOptions.DebugDll); 8259var comp = CreateCompilationWithMscorlib461(source, references: s_valueTupleRefs, options: TestOptions.DebugDll); 8294var comp = CreateCompilationWithMscorlib461(source, references: s_valueTupleRefs, options: TestOptions.DebugDll); 8324var comp = CreateCompilationWithMscorlib461(source, references: s_valueTupleRefs, options: TestOptions.DebugDll); 8353var comp = CreateCompilationWithMscorlib461(source, references: s_valueTupleRefs, options: TestOptions.DebugDll); 8409var comp = CreateCompilationWithMscorlib461(source, references: s_valueTupleRefs, options: TestOptions.DebugDll); 8432var comp = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugDll); // no ValueTuple reference 8444var missing = CreateCompilationWithMscorlib461(missing_cs, options: TestOptions.DebugDll, assemblyName: "missing"); 8447var lib = CreateCompilationWithMscorlib461(lib_cs, references: new[] { missing.EmitToImageReference() }, options: TestOptions.DebugDll); 8461var comp = CreateCompilationWithMscorlib461(source, references: new[] { lib.EmitToImageReference() }, options: TestOptions.DebugDll); // no ValueTuple reference 8473var missing = CreateCompilationWithMscorlib461(missing_cs, options: TestOptions.DebugDll, assemblyName: "missing"); 8476var lib = CreateCompilationWithMscorlib461(lib_cs, references: new[] { missing.ToMetadataReference() }, options: TestOptions.DebugDll); 8490var comp = CreateCompilationWithMscorlib461(source, references: new[] { lib.ToMetadataReference() }, options: TestOptions.DebugDll); // no ValueTuple reference
CodeGen\CodeGenDynamicTests.cs (1)
41var unoptimizedCompilation = CreateCompilationWithMscorlib461(source, references, parseOptions: parseOptions, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All).WithAllowUnsafe(allowUnsafe));
CodeGen\CodeGenFieldInitTests.cs (1)
569options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
CodeGen\CodeGenInterfaceImplementation.cs (2)
2639var comp = CreateCompilationWithILAndMscorlib40(source, il, options: TestOptions.DebugDll); 2734var comp = CreateCompilationWithILAndMscorlib40(source, il, options: TestOptions.DebugDll);
CodeGen\CodeGenIterators.cs (3)
1197var dbg = CompileAndVerify(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), symbolValidator: module => 1253CompileAndVerify(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), symbolValidator: module => 1297CompileAndVerify(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), symbolValidator: module =>
CodeGen\CodeGenLocalFunctionTests.cs (16)
5228options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 5277options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 5318options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 5351options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 5385options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 5418options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 5621options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 5627options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 5673options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 5739options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 5814options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 5889options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 5957options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 5997options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 6053options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 6110options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
CodeGen\CodeGenNullCoalescingAssignmentTests.cs (1)
126CompileAndVerify(source, options: TestOptions.DebugDll).VerifyIL("C.TestObject()", expectedIL: @"
CodeGen\CodeGenRefLocalTests.cs (36)
1668CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M()", @" 1708CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M", @" 1746CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M", @" 1784CompileAndVerify(text, options: TestOptions.DebugDll, verify: Verification.Fails).VerifyIL("Program.M", @" 1824CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M<T>", @" 1862CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M<T>", @" 1902CompileAndVerify(text, options: TestOptions.DebugDll, verify: Verification.Fails).VerifyIL("Program.M<T>", @" 1942CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M<T>", @" 1981CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M", @" 2018CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M", @" 2056CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M<T>", @" 2095CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M(ref int)", @" 2121CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M(out int)", @" 2150CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M(ref int)", @" 2181CompileAndVerify(text, options: TestOptions.DebugDll, verify: Verification.Fails).VerifyIL("Program.M()", @" 2214var comp = CompileAndVerify(text, options: TestOptions.DebugDll, verify: Verification.Fails); 2285var comp = CompileAndVerify(text, options: TestOptions.DebugDll, verify: Verification.Fails); 2375var comp = CompileAndVerify(text, options: TestOptions.DebugDll); 2437var comp = CompileAndVerify(text, options: TestOptions.DebugDll, verify: Verification.Fails); 2504var comp = CompileAndVerify(text, options: TestOptions.DebugDll, verify: Verification.Fails); 2586var comp = CompileAndVerify(text, options: TestOptions.DebugDll); 2647CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M()", @" 2681var comp = CompileAndVerify(text, options: TestOptions.DebugDll); 2722CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M()", @" 2757var comp = CompileAndVerify(text, options: TestOptions.DebugDll); 2808var comp = CompileAndVerify(text, options: TestOptions.DebugDll); 2852CompileAndVerify(text, options: TestOptions.DebugDll, verify: Verification.Fails).VerifyIL("Program.M()", @" 2889var comp = CompileAndVerify(text, options: TestOptions.DebugDll, verify: Verification.Fails); 2960var comp = CompileAndVerify(text, options: TestOptions.DebugDll, verify: Verification.Fails); 3057var comp = CompileAndVerify(text, options: TestOptions.DebugDll, verify: Verification.Fails); 3127CompileAndVerify(text, options: TestOptions.DebugDll, verify: Verification.Fails).VerifyIL("Program.M(ref int, ref int, object)", @" 3167var comp = CompileAndVerify(text, options: TestOptions.DebugDll, verify: Verification.Fails); 3244var comp = CompileAndVerify(text, options: TestOptions.DebugDll, verify: Verification.Fails); 3350var comp = CompileAndVerify(text, options: TestOptions.DebugDll, verify: Verification.Fails); 3430CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M(D)", @" 3459CompileAndVerify(text, options: TestOptions.DebugDll, verify: Verification.Fails).VerifyIL("Program.M(D, ref int, ref int, object)", @"
CodeGen\CodeGenRefReturnTests.cs (1)
2480var compilation = CreateCompilation("", options: TestOptions.DebugDll, references: new[] { ref1 });
CodeGen\CodeGenTests.cs (6)
81var result = CompileAndVerify(source, verify: Verification.FailsILVerify, options: TestOptions.DebugDll); 169var result = CompileAndVerify(source, verify: Verification.FailsILVerify, options: TestOptions.DebugDll); 239var result = CompileAndVerify(source, options: TestOptions.DebugDll); 300var result = CompileAndVerify(source, options: TestOptions.DebugDll); 608var compilation = CreateCompilationWithILAndMscorlib40(source, il, TargetFramework.Mscorlib461, options: TestOptions.DebugDll); 932options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
CodeGen\CodeGenTryFinally.cs (5)
3956verifier = CompileAndVerify(source, options: TestOptions.DebugDll).VerifyDiagnostics(); 4103verifier = CompileAndVerify(source, options: TestOptions.DebugDll).VerifyDiagnostics( 4166verifier = CompileAndVerify(source, options: TestOptions.DebugDll).VerifyDiagnostics( 4230verifier = CompileAndVerify(source, options: TestOptions.DebugDll).VerifyDiagnostics( 4285CompileAndVerify(source, options: TestOptions.DebugDll).VerifyDiagnostics(expectedDiagnostics);
CodeGen\CodeGenTupleTest.cs (12)
3884var comp = CreateCompilationWithMscorlib40(source, references: new[] { ValueTupleRef, SystemRuntimeFacadeRef }, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7_1); 21296options: TestOptions.DebugDll); 21308options: TestOptions.DebugDll); 21324options: TestOptions.DebugDll); 23419var libComp = CreateCompilationWithMscorlib461AndCSharp(lib, references: s_valueTupleRefs, options: TestOptions.DebugDll); 23473var libComp = CreateCompilationWithMscorlib461AndCSharp(lib, options: TestOptions.DebugDll, references: s_valueTupleRefs); 23875var libComp = CreateCompilationWithMscorlib461AndCSharp(lib, references: s_valueTupleRefs, options: TestOptions.DebugDll); 25324var libWithVT = CreateEmptyCompilation(valuetuple_cs, references: new[] { corlibWithoutVTRef }, parseOptions: parseOptions, options: TestOptions.DebugDll); 27537var comp0 = CreateCompilation(new[] { source0, source1 }, options: TestOptions.DebugDll); 27540var comp1 = CreateCompilation(source0, options: TestOptions.DebugDll); 27543var comp2 = CreateCompilation(source1, references: new[] { comp1.EmitToImageReference() }, options: TestOptions.DebugDll); 27563var comp = CreateCompilation(new[] { source }, options: TestOptions.DebugDll);
CodeGen\EventTests.cs (1)
842var compilation = CreateCompilation(source, options: TestOptions.DebugDll);
CodeGen\GotoTest.cs (1)
1129var options = TestOptions.DebugDll.WithSourceReferenceResolver(resolver);
CodeGen\ITuplePatternTests.cs (1)
229var verifier = CompileAndVerify(CreatePatternCompilation(source, TestOptions.DebugDll));
CodeGen\PatternTests.cs (2)
334var compilation = CreateCompilation(source, options: TestOptions.DebugDll); 6545var verifier = CompileAndVerify(source, options: TestOptions.DebugDll);
CodeGen\PropertyTests.cs (1)
30var compilation = CreateCompilation(source, options: TestOptions.DebugDll);
CodeGen\SwitchTests.cs (19)
8809options: TestOptions.DebugDll.WithOutputKind(OutputKind.ConsoleApplication), 8882options: TestOptions.DebugDll.WithOutputKind(OutputKind.ConsoleApplication), 8952options: TestOptions.DebugDll.WithOutputKind(OutputKind.ConsoleApplication), 9022options: TestOptions.DebugDll.WithOutputKind(OutputKind.ConsoleApplication), 9093options: TestOptions.DebugDll.WithOutputKind(OutputKind.ConsoleApplication), 9167options: TestOptions.DebugDll.WithOutputKind(OutputKind.ConsoleApplication), 9242options: TestOptions.DebugDll.WithOutputKind(OutputKind.ConsoleApplication), 9319options: TestOptions.DebugDll.WithOutputKind(OutputKind.ConsoleApplication), 9385options: TestOptions.DebugDll.WithOutputKind(OutputKind.ConsoleApplication), 9476options: TestOptions.DebugDll.WithOutputKind(OutputKind.ConsoleApplication), 9625options: TestOptions.DebugDll.WithOutputKind(OutputKind.ConsoleApplication), 9723options: TestOptions.DebugDll.WithOutputKind(OutputKind.ConsoleApplication), 9774options: TestOptions.DebugDll.WithOutputKind(OutputKind.ConsoleApplication), 9829options: TestOptions.DebugDll.WithOutputKind(OutputKind.ConsoleApplication), 9882options: TestOptions.DebugDll.WithOutputKind(OutputKind.ConsoleApplication), 9934options: TestOptions.DebugDll.WithOutputKind(OutputKind.ConsoleApplication), 10027options: TestOptions.DebugDll.WithOutputKind(OutputKind.ConsoleApplication)) 10246options: TestOptions.DebugDll.WithOutputKind(OutputKind.ConsoleApplication).WithMetadataImportOptions(MetadataImportOptions.All)); 10520options: TestOptions.DebugDll.WithOutputKind(OutputKind.ConsoleApplication))
CodeGen\UnsafeTests.cs (3)
921CompileAndVerify(source, options: TestOptions.DebugDll).VerifyIL("C.M", """ 5689var missing = CreateCompilationWithMscorlib461(missing_cs, options: TestOptions.DebugDll, assemblyName: "missing"); 5700var lib = CreateCompilationWithMscorlib461(lib_cs, references: new[] { missing.EmitToImageReference() }, options: TestOptions.DebugDll);
Emit\CompilationEmitTests.cs (48)
898options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 1052var comp = CreateCompilation(source, options: TestOptions.DebugDll, 1206CSharpCompilation comp1 = CreateCompilation(Parse(source1), options: TestOptions.DebugDll.WithDeterministic(true), assemblyName: name); 1210Compilation comp2 = CreateCompilation(Parse(source2), options: TestOptions.DebugDll.WithDeterministic(true), assemblyName: name); 1311options: TestOptions.DebugDll.WithDeterministic(true).WithOutputKind(OutputKind.NetModule)); 1889options: TestOptions.DebugDll.WithDeterministic(true), assemblyName: name); 1894options: TestOptions.DebugDll.WithAllowUnsafe(true)); 1905var options = TestOptions.DebugDll.WithDeterministic(false); 2097options: TestOptions.DebugDll.WithDeterministic(true), assemblyName: name); 2126options: TestOptions.DebugDll.WithDeterministic(true)); 2134options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2165options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2193options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2222options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2264options: TestOptions.DebugDll.WithDeterministic(true)); 2271options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2281options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2293options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2331options: TestOptions.DebugDll.WithDeterministic(true)); 2338options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2348options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2360options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2398options: TestOptions.DebugDll.WithDeterministic(true)); 2405options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2415options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2427options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2458options: TestOptions.DebugDll.WithDeterministic(true)); 2466options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2503options: TestOptions.DebugDll.WithDeterministic(true)); 2511options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2525options: TestOptions.DebugDll.WithDeterministic(true)); 2539options: TestOptions.DebugDll.WithDeterministic(true)); 2553options: TestOptions.DebugDll.WithDeterministic(true)); 2568options: TestOptions.DebugDll.WithDeterministic(true)); 2581options: TestOptions.DebugDll.WithDeterministic(true).WithOutputKind(OutputKind.NetModule)); 2595options: TestOptions.DebugDll.WithDeterministic(true).WithOutputKind(OutputKind.NetModule)); 2608options: TestOptions.DebugDll); 2634options: TestOptions.DebugDll); 2654options: TestOptions.DebugDll.WithDeterministic(true)); 3524options: TestOptions.DebugDll.WithPlatform(Platform.X86)); 3558options: TestOptions.DebugDll.WithPlatform(Platform.X64)); 3608options: TestOptions.DebugDll.WithPlatform(Platform.Arm)); 5044var comp = CreateEmptyCompilation("", new[] { TestReferences.SymbolsTests.netModule.x64COFF }, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 5207var compilation = CreateCompilation(source, null, TestOptions.DebugDll); 5572var options = TestOptions.DebugDll.WithGeneralDiagnosticOption(ReportDiagnostic.Error); 5580var options = TestOptions.DebugDll.WithSpecificDiagnosticOptions("CS0169", ReportDiagnostic.Error); 5617var options = TestOptions.DebugDll.WithGeneralDiagnosticOption(ReportDiagnostic.Error); 5625var options = TestOptions.DebugDll.WithSpecificDiagnosticOptions("CS0612", ReportDiagnostic.Error);
Emit\DeterministicTests.cs (4)
77options: TestOptions.DebugDll.WithDeterministic(true)); 82options: TestOptions.DebugDll.WithDeterministic(false)); 175var mvid1 = CompiledGuid(source.Replace("CHANGE", ""), "X1", TestOptions.DebugDll, emitRefAssembly); 176var mvid2 = CompiledGuid(source.Replace("CHANGE", "private void M() { }"), "X1", TestOptions.DebugDll, emitRefAssembly);
Emit\DynamicAnalysis\DynamicAnalysisResourceTests.cs (1)
1022options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
Emit\EmitErrorTests.cs (1)
306var compilation1 = CreateCompilation(builder.ToString(), null, TestOptions.DebugDll.WithSpecificDiagnosticOptions(warnOpts));
Emit\EmitMetadataTests.cs (5)
231options: TestOptions.DebugDll.WithOutputKind(OutputKind.NetModule)); 2715options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 3767options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 3809options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 3843options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
Emit\InAttributeModifierTests.cs (25)
1784var comp = CreateCompilation(code, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 1787comp = CreateCompilation(code, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 1828var comp = CreateCompilation(code, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 1849var comp = CreateCompilation(code, options: TestOptions.DebugDll); 1896var comp = CreateCompilation(code, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 1908comp = CreateCompilation(code, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 1953var comp = CreateCompilation(code, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 1993var comp = CreateCompilation(code, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2048var comp = CreateCompilation(code, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2089var comp = CreateCompilation(code, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2101comp = CreateCompilation(code, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2138var comp = CreateCompilation(code, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2180var comp = CreateCompilation(code, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2231var comp = CreateCompilation(code, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2243comp = CreateCompilation(code, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2289var comp = CreateCompilation(code, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2330var comp = CreateCompilation(code, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2364var comp = CreateCompilation(code, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2412var comp = CreateCompilation(code, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2467var comp = CreateCompilationWithIL(code, ilSrc, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2493var comp1 = CreateCompilation(code1, options: TestOptions.DebugDll); 2518var comp = CreateCompilation(code2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2562var comp = CreateCompilation(code, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2596var comp = CreateCompilation(code, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2630var comp = CreateCompilation(code, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
Emit\OptionalArgumentsTests.cs (1)
144var comp1 = CreateCompilation(source1, options: TestOptions.DebugDll);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (489)
Emit\EditAndContinue\AssemblyReferencesTests.cs (13)
210var lib0 = CreateCompilation(srcLib, assemblyName: "Lib", options: TestOptions.DebugDll); 213var lib1 = CreateCompilation(srcLib, assemblyName: "Lib", options: TestOptions.DebugDll); 216var lib2 = CreateCompilation(srcLib, assemblyName: "Lib", options: TestOptions.DebugDll); 219var compilation0 = CreateEmptyCompilation(src0, new[] { MscorlibRef, lib0.ToMetadataReference() }, assemblyName: "C", options: TestOptions.DebugDll); 309var lib0 = CreateCompilation(srcLib, assemblyName: "Lib", options: TestOptions.DebugDll); 314var lib1 = CreateCompilation(srcLib, assemblyName: "Lib", options: TestOptions.DebugDll); 318var lib2 = CreateCompilation(srcLib, assemblyName: "Lib", options: TestOptions.DebugDll); 323var compilation0 = CreateEmptyCompilation(src0, new[] { MscorlibRef, lib0.ToMetadataReference() }, assemblyName: "C", options: TestOptions.DebugDll); 394var lib0 = CreateCompilation(srcLib, assemblyName: "Lib", options: TestOptions.DebugDll); 398var lib1 = CreateCompilation(srcLib, assemblyName: "Lib", options: TestOptions.DebugDll); 402var lib2 = CreateCompilation(srcLib, assemblyName: "Lib", options: TestOptions.DebugDll); 406var compilation0 = CreateEmptyCompilation(src0, new[] { MscorlibRef, lib0.EmitToImageReference() }, assemblyName: "C", options: TestOptions.DebugDll); 490var compilation0 = CreateEmptyCompilation(src0, new[] { MscorlibRef, ref01, ref11 }, assemblyName: "C", options: TestOptions.DebugDll);
Emit\EditAndContinue\EditAndContinueClosureTests.cs (2)
4685var compilation0 = CreateCompilation(source0.Tree, options: TestOptions.DebugDll); 4733var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20);
Emit\EditAndContinue\EditAndContinueStateMachineTests.cs (6)
48var compilation0 = CreateCompilation(Parse(source0, "a.cs", parseOptions), options: TestOptions.DebugDll); 229var compilation0 = CreateCompilationWithMscorlib461(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 346var compilation0 = CreateCompilationWithMscorlib461(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 448var compilation0 = CreateCompilationWithMscorlib461(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 521var compilation0 = CreateCompilationWithMscorlib461(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 572var compilation0 = CreateCompilationWithMscorlib461(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
Emit\EditAndContinue\EditAndContinueTest.cs (1)
27private readonly CSharpCompilationOptions _compilationOptions = (options ?? TestOptions.DebugDll).WithConcurrentBuild(false);
Emit\EditAndContinue\EditAndContinueTestBase.cs (1)
41internal static readonly CSharpCompilationOptions ComSafeDebugDll = TestOptions.DebugDll.WithConcurrentBuild(false);
Emit\EditAndContinue\EditAndContinueTests.cs (72)
296var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable)); 345var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 598var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 893using var _ = new EditAndContinueTest(options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20) 1030using var _ = new EditAndContinueTest(options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20) 2865using var _ = new EditAndContinueTest(options: TestOptions.DebugDll) 3034using var _ = new EditAndContinueTest(options: TestOptions.DebugDll) 3083using var _ = new EditAndContinueTest(options: TestOptions.DebugDll) 3351var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20); 3655var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 4050var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 4112var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 4177var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 6144var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 6919var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20); 7042var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20); 7375var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20); 7460var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20); 7541var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 7651var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 7706var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 7878var compilation0 = CreateCompilation(source, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 7948var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 8025var compilation0 = CreateCompilation(source, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 8107var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50); 8286var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 8429var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 8493var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 8550var compilation0 = CreateCompilation(Parse(source0, "a.cs", parseOptions), options: TestOptions.DebugDll); 8657var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 8715var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 8756var compilation0 = CreateCompilation(parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, source: 9521var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 9607var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 9738var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 9951var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 10040var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 10088var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll); 10283var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 10796var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20); 11081var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 11198var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 11863var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll); 11933var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll); 12006var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll); 12073var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll); 12197var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20); 12254var compilation0 = CreateCompilation(source, new[] { CSharpRef }, options: TestOptions.DebugDll); 12320var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll, references: new[] { CSharpRef }); 12706var compilationPIA = CreateCompilation(sourcePIA, options: TestOptions.DebugDll); 12759var compilationPIA = CreateCompilation(sourcePIA, options: TestOptions.DebugDll); 12845var compilationPIA = CreateCompilation(sourcePIA, options: TestOptions.DebugDll); 12847var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular10, options: TestOptions.DebugDll, references: new MetadataReference[] { referencePIA, CSharpRef }); 12933var compilationPIA = CreateCompilation(sourcePIA, options: TestOptions.DebugDll); 12935var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll, references: new MetadataReference[] { referencePIA, CSharpRef }); 13089var compilation0 = CreateCompilation(source, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20); 13196var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20); 13268var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 13356var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 13405var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 13446var compilation0 = CreateCompilation(new[] { sourceA0, sourceB0 }, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 13492var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20); 13557var compilationA0 = CreateCompilation(sourceA0, options: TestOptions.DebugDll, assemblyName: "LibA"); 13559var compilationB0 = CreateCompilation(sourceB0, new[] { compilationA0.ToMetadataReference() }, options: TestOptions.DebugDll, assemblyName: "LibB"); 13560var compilationB1 = CreateCompilation(sourceB1, new[] { compilationA1.ToMetadataReference() }, options: TestOptions.DebugDll, assemblyName: "LibB"); 13622var compilationA = CreateCompilation(sourceA, options: TestOptions.DebugDll, assemblyName: "AssemblyA"); 13625var compilationB0 = CreateCompilation(sourceB0, new[] { aRef }, options: TestOptions.DebugDll, assemblyName: "AssemblyB"); 13742var compilation0 = CreateCompilation(String.Format(source, 1), options: TestOptions.DebugDll); 13818var compilation0 = CreateCompilation(source0.Tree, options: TestOptions.DebugDll, assemblyName: "PdbReadingErrorsAssembly"); 16672using var _ = new EditAndContinueTest(options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20) 16759using var _ = new EditAndContinueTest(options: TestOptions.DebugDll, targetFramework: TargetFramework.NetLatest, verification: Verification.Skipped) 16904using var _ = new EditAndContinueTest(options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20, verification: Verification.Skipped)
Emit\EditAndContinue\LocalSlotMappingTests.cs (42)
47var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 340var debug = CreateCompilation(source, options: TestOptions.DebugDll); 426var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll); 530var compilation0 = CreateCompilation(source0.Tree, options: TestOptions.DebugDll); 642var compilation0 = CreateCompilation(source0.Tree, options: TestOptions.DebugDll); 752var compilation0 = CreateCompilationWithTasksExtensions(new[] { source0.Tree, asyncStreamsTree }, options: TestOptions.DebugDll); 843var compilation0 = CreateCompilationWithTasksExtensions(new[] { source0.Tree, asyncStreamsTree }, options: TestOptions.DebugDll); 1147var compilation0 = CreateEmptyCompilation(source, options: TestOptions.DebugDll, references: new[] { MscorlibRef_v20 }); 1148var compilation1 = CreateEmptyCompilation(source, options: TestOptions.DebugDll, references: new[] { MscorlibRef_v20 }); 1480var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll); 1663var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll); 1848var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll); 2008var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll); 2040options: TestOptions.DebugDll, 2148var compilation0 = CreateCompilation(source0.Tree, options: TestOptions.DebugDll); 2194var compilation1 = CreateCompilation(source1.Tree, options: TestOptions.DebugDll); 2341var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 2418var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll); 2598var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 2736var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll); 2881var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 2990var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 3117var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll); 3331var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 3438var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 3551var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 3659var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 3751var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll); 3970var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll); 4079var compilation0 = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugDll); 4233var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll); 4280var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll); 4336var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll); 4391var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll); 4443var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll); 4499var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll); 4568var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll); 4648var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll); 4741var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll); 4802var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll); 4862var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll); 4951var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll);
Emit\EditAndContinue\SymbolMatcherTests.cs (49)
31var compilation = CreateCompilation(source, options: TestOptions.DebugDll); 78var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll); 141var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll); 167var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll); 191var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll, references: new[] { metadataRef }); 232var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 277var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll).WithSource(source1); 305var lib0 = CreateCompilation(libSource, options: TestOptions.DebugDll, assemblyName: "Lib"); 306var lib1 = CreateCompilation(libSource, options: TestOptions.DebugDll, assemblyName: "Lib"); 308var compilation0 = CreateCompilation(source, new[] { lib0.ToMetadataReference() }, options: TestOptions.DebugDll); 342var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 373var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 405var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 440var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 491var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll); 546var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 562var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll); 601var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 625var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 649var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 673var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 697var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 721var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 745var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 769var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 793var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 817var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 855var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 903var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 944var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll); 949var compilation1 = CreateCompilation(source, options: TestOptions.DebugDll); 984var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 1009var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 1034var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 1057var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 1101var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 1116var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll); 1163var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll); 1320var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 1342var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 1365var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 1386var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 1412var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 1470var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll); 1716var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll); 1758var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 1810var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 1857var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 1902var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll);
PDB\CheckSumTest.cs (2)
26TestOptions.DebugDll.WithSourceReferenceResolver(new SourceFileResolver(ImmutableArray.Create<string>(), baseDirectory))); 304TestOptions.DebugDll.WithSourceReferenceResolver(null));
PDB\CSharpDeterministicBuildCompilationTests.cs (6)
129}", options: TestOptions.DebugDll); 134}", options: TestOptions.DebugDll); 189}", options: TestOptions.DebugDll); 194}", options: TestOptions.DebugDll); 253}", options: TestOptions.DebugDll); 258}", options: TestOptions.DebugDll);
PDB\PDBAsyncTests.cs (14)
70var compilation = CreateCompilationWithMscorlib461(text, options: TestOptions.DebugDll).VerifyDiagnostics(); 386var compilation = CreateCompilationWithMscorlib461(text, options: TestOptions.DebugDll).VerifyDiagnostics(); 545options: TestOptions.DebugDll, 621var v = CompileAndVerify(CreateCompilationWithMscorlib461(text, options: TestOptions.DebugDll)); 847var v = CompileAndVerify(CreateCompilationWithMscorlib461(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)), symbolValidator: module => 1039var v = CompileAndVerify(CreateCompilationWithMscorlib461(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)), symbolValidator: module => 1259var v = CompileAndVerify(CreateCompilationWithMscorlib461(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)), symbolValidator: module => 1366var v = CompileAndVerify(CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef, CSharpRef }, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)), symbolValidator: module => 1550var v = CompileAndVerify(CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef, CSharpRef }, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)), symbolValidator: module => 1658var v = CompileAndVerify(CreateCompilationWithMscorlib461(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)), symbolValidator: module => 1694var v = CompileAndVerify(CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef, CSharpRef }, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)), symbolValidator: module => 1948var v = CompileAndVerify(CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef, CSharpRef }, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)), symbolValidator: module => 2017var compilation = CreateCompilationWithMscorlib461(src, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 2100var v = CreateEmptyCompilation(src, LatestVbReferences, options: TestOptions.DebugDll);
PDB\PDBConstantTests.cs (11)
34var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 100var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 209var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 287CompileAndVerify(text, options: TestOptions.DebugDll).VerifyPdb("C.M", @" 337var c = CompileAndVerify(text, options: TestOptions.DebugDll); 409var v = CompileAndVerify(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), symbolValidator: module => 487CompileAndVerify(text, options: TestOptions.DebugDll).VerifyPdb("C.M", @" 609var c = CompileAndVerify(text, options: TestOptions.DebugDll); 666var c = CompileAndVerify(text, options: TestOptions.DebugDll); 726var c = CompileAndVerify(text, options: TestOptions.DebugDll); 781CompileAndVerify(text, options: TestOptions.DebugDll).VerifyPdb("C.M", @"
PDB\PDBDynamicLocalsTests.cs (30)
49var c = CreateCompilationWithMscorlib40AndSystemCore(source, references: new[] { CSharpRef }, options: TestOptions.DebugDll); 147var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 213var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 272var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 337var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 393var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 451var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 527var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 609var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 676var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 764var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 844var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 926var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 1012var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 1138var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 1286var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 1535var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 1708var c = CreateCompilation(source, options: TestOptions.DebugDll); 1778var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 1832var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 1882var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 1940var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 1998var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 2057var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 2117var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 2171var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 2226var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 2290var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 2352var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 2412var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll);
PDB\PDBEmbeddedSourceTests.cs (2)
44var c = CreateCompilation(new[] { tree1, tree2 }, options: TestOptions.DebugDll); 104var c = CreateCompilation(tree, options: TestOptions.DebugDll);
PDB\PDBIteratorTests.cs (14)
34var c = CreateCompilationWithMscorlib40AndSystemCore(text, options: TestOptions.DebugDll); 79var c = CreateCompilationWithMscorlib40AndSystemCore(text, options: TestOptions.DebugDll); 124var c = CreateCompilationWithMscorlib40AndSystemCore(text, options: TestOptions.DebugDll); 251var c = CompileAndVerify(text, options: TestOptions.DebugDll, symbolValidator: module => 339var c = CreateCompilationWithMscorlib40AndSystemCore(text, options: TestOptions.DebugDll); 736var v = CompileAndVerify(text, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), symbolValidator: module => 807var v = CompileAndVerify(text, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), symbolValidator: module => 931var v = CompileAndVerify(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), symbolValidator: module => 1027var v = CompileAndVerify(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), symbolValidator: module => 1225var v = CompileAndVerify(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), symbolValidator: module => 1371var v = CompileAndVerify(source, new[] { CSharpRef }, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), symbolValidator: module => 1519var v = CompileAndVerify(source, new[] { CSharpRef }, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), symbolValidator: module => 1587var c = CreateCompilationWithMscorlib40AndSystemCore(text, options: TestOptions.DebugDll); 1624var compilation = CreateCompilation(src, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp);
PDB\PDBLambdaTests.cs (29)
35var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 109var compilation = CreateCompilationWithMscorlib40AndSystemCore(source.Tree, options: TestOptions.DebugDll); 129var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 203var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 319var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 439var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 553var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 638var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 748var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 827var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 912var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 992var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 1068var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 1156var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 1229var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 1301var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 1377var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 1447var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 1523var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 1599var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 1675var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 1759var v = CompileAndVerify(source, options: TestOptions.DebugDll); 1801var v = CompileAndVerify(source, options: TestOptions.DebugDll); 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); 2146var c = CompileAndVerify(source, options: TestOptions.DebugDll);
PDB\PDBLocalFunctionTests.cs (5)
42var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 157var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 235var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 326var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 407var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll);
PDB\PDBSourceLinkTests.cs (5)
51var c = CreateCompilation(Parse(source, "f:/build/goo.cs"), options: TestOptions.DebugDll); 81var c = CreateCompilation(Parse(source, "f:/build/goo.cs"), options: TestOptions.DebugDll); 121var c = CreateCompilation(Parse(source, "f:/build/goo.cs"), options: TestOptions.DebugDll); 143var c = CreateCompilation(Parse(source, "f:/build/goo.cs"), options: TestOptions.DebugDll); 185var c = CreateCompilation(Parse(source, "f:/build/goo.cs"), options: TestOptions.DebugDll);
PDB\PDBTests.cs (134)
94Compilation compilation = CreateCompilation("class C { }", options: TestOptions.DebugDll, parseOptions: TestOptions.Regular); 140var comp = CSharpCompilation.Create("test", new[] { tree1, tree2 }, TargetFrameworkUtil.StandardReferences, TestOptions.DebugDll); 174options: TestOptions.DebugDll.WithSourceReferenceResolver(SourceFileResolver.Default)); 218options: TestOptions.DebugDll.WithSourceReferenceResolver(SourceFileResolver.Default)); 250var compilation = CreateCompilation(source0, options: TestOptions.DebugDll); 282var compilation = CreateCompilation(source0, options: TestOptions.DebugDll); 314var compilation = CreateCompilation(source0, options: TestOptions.DebugDll.WithDeterministic(true)); 447CreateCompilation(source, options: TestOptions.DebugDll).VerifyEmitDiagnostics( 648var c = CreateCompilation(source, options: TestOptions.DebugDll); 697var c1 = CreateCompilation(source1, options: TestOptions.DebugDll); 698var c2 = CreateCompilation(source2, options: TestOptions.DebugDll); 745var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 802var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 838var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 879var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 933var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 998var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 1066var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 1240var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 1327var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 1423var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 1491var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 1567var v = CompileAndVerify(source, options: TestOptions.DebugDll); 1622var v = CompileAndVerify(source, options: TestOptions.DebugDll); 1677var v = CompileAndVerify(source, options: TestOptions.DebugDll); 1699var v = CompileAndVerify(source, options: TestOptions.DebugDll); 1732var v = CompileAndVerify(source, options: TestOptions.DebugDll); 1829var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 2023var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 2074var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 2116var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 2226var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 2297var v = CompileAndVerify(source, options: TestOptions.DebugDll); 2393var v = CompileAndVerify(source, options: TestOptions.DebugDll); 2531var v = CompileAndVerify(source, options: TestOptions.DebugDll); 2589var v = CompileAndVerify(source, options: TestOptions.DebugDll); 2671var v = CompileAndVerify(source, options: TestOptions.DebugDll); 2721var v = CompileAndVerify(source, options: TestOptions.DebugDll); 2866var v = CompileAndVerify(source, options: TestOptions.DebugDll); 2978var v = CompileAndVerify(source, options: TestOptions.DebugDll.WithModuleName("MODULE")); 3106var v = CompileAndVerify(source, options: TestOptions.DebugDll); 3195var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 3267var c = CreateCompilation(source, options: TestOptions.DebugDll); 3428var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 3519var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 3618var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 4079var v = CompileAndVerify(source, options: TestOptions.DebugDll); 4169var v = CompileAndVerify(source, options: TestOptions.DebugDll); 4413var v = CompileAndVerify(source, options: TestOptions.DebugDll); 4535var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 4621var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 4726var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 4822}", TestOptions.DebugDll); 4832}", TestOptions.DebugDll); 4843}", TestOptions.DebugDll); 4855}", TestOptions.DebugDll); 4868}", TestOptions.DebugDll); 4897var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 5062var compilation = CreateCompilation(new[] { Parse(text1, "a.cs"), Parse(text2, "b.cs"), Parse(text3, "a.cs") }, options: TestOptions.DebugDll); 5109var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 5150var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 5189var comp = CreateCompilation(source, options: TestOptions.DebugDll); 5240}", TestOptions.DebugDll); 5248}", TestOptions.DebugDll); 5256}", TestOptions.DebugDll); 5264}", TestOptions.DebugDll, TestOptions.Regular); 5282var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 5316var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 5399var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 5548var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 5626var v = CompileAndVerify(CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll)); 5775var v = CompileAndVerify(CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll)); 5864var v = CompileAndVerify(CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll)); 6035var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 6104var c = CreateCompilation(source, options: TestOptions.DebugDll); 6221var c = CreateCompilation(source, options: TestOptions.DebugDll); 6347var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 6440var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 6527var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 6588var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 6652var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 6736var c = CreateCompilation(source, options: TestOptions.DebugDll); 6851var c = CreateCompilation(source, options: TestOptions.DebugDll); 6953var c = CreateCompilation(source, options: TestOptions.DebugDll); 7064var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 7105var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 7748var compilation = CreateCompilation(text1, options: TestOptions.DebugDll); 7854var c = CreateCompilationWithMscorlib40AndSystemCore(src, references: new[] { CSharpRef, ValueTupleRef, SystemRuntimeFacadeRef }, options: TestOptions.DebugDll); 7955var c = CreateCompilationWithMscorlib40AndSystemCore(src, references: new[] { CSharpRef, ValueTupleRef, SystemRuntimeFacadeRef }, options: TestOptions.DebugDll); 8407var c = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugDll, references: new[] { SystemCoreRef }); 8452var c = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugDll, references: new[] { SystemCoreRef }); 8507var c = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugDll, references: new[] { SystemCoreRef }); 8559var c = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugDll, references: new[] { SystemCoreRef }); 8619var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 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); 9687var c = CreateCompilation(source, options: TestOptions.DebugDll); 10082var verifier = CompileAndVerify(source, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 10291var verifier = CompileAndVerify(source, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 10529var c = CreateCompilation(source, options: TestOptions.DebugDll); 10700var c = CreateCompilation(source, options: TestOptions.DebugDll); 10840var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 10883var c = CreateCompilation(source, options: TestOptions.DebugDll); 10970var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 11147var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll, references: s_valueTupleRefs); 11249var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll, references: s_valueTupleRefs); 11286var c = CreateCompilation(source, options: TestOptions.DebugDll); 11320var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll, references: s_valueTupleRefs); 11344var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll, references: s_valueTupleRefs); 11368var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll, references: s_valueTupleRefs); 11423var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 11438var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 11487var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 11533var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 11575var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 11620var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 11676var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 11732var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 11848var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 11908var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 11975var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 12032var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 12068var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 12308var c = CSharpCompilation.Create("Compilation", new[] { tree }, new[] { MscorlibRef_v46 }, options: TestOptions.DebugDll.WithDebugPlusMode(true)); 12404options: TestOptions.DebugDll); 12468var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 12541var v = CompileAndVerify(source, options: TestOptions.DebugDll); 12625var v = CompileAndVerify(source, options: TestOptions.DebugDll); 12706var v = CompileAndVerify(source, options: TestOptions.DebugDll); 12798var v = CompileAndVerify(source, options: TestOptions.DebugDll); 12911var c = CreateCompilation(new[] { tree1, tree2 }, options: TestOptions.DebugDll); 12949var c = CreateCompilation(new[] { tree }, options: TestOptions.DebugDll); 12972options: TestOptions.DebugDll);
PDB\PDBTupleTests.cs (6)
27var comp = CreateCompilation(source, options: TestOptions.DebugDll); 74var comp = CreateCompilation(source, options: TestOptions.DebugDll); 126var comp = CreateCompilation(source, options: TestOptions.DebugDll); 193var comp = CreateCompilation(source, options: TestOptions.DebugDll); 244var comp = CreateCompilation(source, options: TestOptions.DebugDll); 310var c = CreateCompilation(source, options: TestOptions.DebugDll);
PDB\PDBUsingTests.cs (38)
33options: TestOptions.DebugDll); 60CompileAndVerify(text, options: TestOptions.DebugDll).VerifyPdb(@" 140CompileAndVerify(text, options: TestOptions.DebugDll).VerifyPdb(@" 220CompileAndVerify(text, options: TestOptions.DebugDll).VerifyPdb(@" 300CompileAndVerify(text, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetFramework).VerifyPdb(@" 380CompileAndVerify(text, options: TestOptions.DebugDll).VerifyPdb(@" 574options: TestOptions.DebugDll, 664var compilation1 = CreateCompilation(source1, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, assemblyName: "TestExternAliases2"); 674options: TestOptions.DebugDll, 717var compilation1 = CreateCompilation(source1, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, assemblyName: "TestExternAliases3"); 727options: TestOptions.DebugDll, 771var dummyCompilation = CreateCompilation(src1, assemblyName: "A", options: TestOptions.DebugDll); 790options: TestOptions.DebugDll, 818comp = CreateCompilation(sourceB, references: new[] { refA }, options: TestOptions.DebugDll); 882comp = CreateCompilation([sourceB, sourceC], references: new[] { refA1, refA4 }, options: TestOptions.DebugDll); 968comp = CreateCompilation([sourceB, sourceC], references: new[] { refA1, refA4 }, options: TestOptions.DebugDll); 1055comp = CreateCompilation([sourceB, sourceC], references: new[] { refA1, refA4 }, options: TestOptions.DebugDll); 1148comp = CreateCompilation([sourceB, sourceC], references: new[] { refA1, refA4 }, options: TestOptions.DebugDll); 1241comp = CreateCompilation([sourceB, sourceC], references: new[] { refA1, refA4 }, options: TestOptions.DebugDll); 1333comp = CreateCompilation([sourceB, sourceC], references: new[] { refA1, refA4 }, options: TestOptions.DebugDll); 1398CSharpCompilation dummyCompilation1 = CreateCompilation(dummySource, assemblyName: "A", options: TestOptions.DebugDll); 1399CSharpCompilation dummyCompilation2 = CreateCompilation(dummySource, assemblyName: "B", options: TestOptions.DebugDll); 1412options: TestOptions.DebugDll, 1485options: TestOptions.DebugDll, 1559options: TestOptions.DebugDll, 1692var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll); 1715options: TestOptions.DebugDll, 1765var compilation1 = CreateCompilation(source1, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 1783options: TestOptions.DebugDll, 1865options: TestOptions.DebugDll, 2043options: TestOptions.DebugDll, 2210CompileAndVerify(text, options: TestOptions.DebugDll).VerifyPdb(@" 2259CompileAndVerify(text, options: TestOptions.DebugDll).VerifyPdb(@" 2340CompileAndVerify(text, options: TestOptions.DebugDll).VerifyPdb(@" 2444CompileAndVerify(text, options: TestOptions.DebugDll).VerifyPdb(@" 2502CompileAndVerify(text, options: TestOptions.DebugDll).VerifyPdb(@" 2558var v = CompileAndVerify(source, options: TestOptions.DebugDll); 2834var comp1 = CreateCompilation(source1, options: TestOptions.DebugDll, assemblyName: "Comp1");
PDB\PortablePdbTests.cs (6)
42var c = CreateCompilation(source, options: TestOptions.DebugDll); 166var c = CreateCompilation(Parse(source, "goo.cs"), options: TestOptions.DebugDll); 226var c = CreateCompilation(Parse(source, "goo.cs"), options: TestOptions.DebugDll.WithDeterministic(true)); 301var c = CreateCompilation(Parse(source, "f:/build/goo.cs"), options: TestOptions.DebugDll); 342var c = CreateCompilation(Parse(source, "f:/build/goo.cs"), options: TestOptions.DebugDll); 381var c = CreateCompilation(Parse(source, "f:/build/goo.cs"), options: TestOptions.DebugDll);
PDB\TypeDefinitionDocumentTests.cs (1)
464var compilation = CreateCompilation(trees, options: TestOptions.DebugDll);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (216)
Attributes\AttributeTests.cs (17)
40var comp = CreateCompilation(source, options: TestOptions.DebugDll.WithDeterministic(true)); 641}", options: TestOptions.DebugDll); 1837options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 1871options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 1932options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 1995options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2214options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2280options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2351options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2483options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 4882options: TestOptions.DebugDll, 4889options: TestOptions.DebugDll, 9992var compilation = CreateCompilation(source, options: TestOptions.DebugDll); 10021var compilation1 = CreateCompilationWithMscorlib40(source1, options: TestOptions.DebugDll); 10034var compilation2 = CreateCompilationWithMscorlib40(source2, new[] { new CSharpCompilationReference(compilation1) }, options: TestOptions.DebugDll, assemblyName: "Test.dll"); 10045var compilation3 = CreateCompilationWithMscorlib461(source2, new[] { new CSharpCompilationReference(compilation1) }, options: TestOptions.DebugDll); 11010var verifier = CompileAndVerify(source, symbolValidator: validateMetadata, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
Attributes\AttributeTests_Dynamic.cs (4)
822options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 853options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 888options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 910options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
Attributes\AttributeTests_IsByRefLike.cs (3)
356var options = TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All); 452var options = TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All); 606var options = TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All);
Attributes\AttributeTests_IsUnmanaged.cs (5)
626var options = TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All); 722var options = TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All); 771CreateCompilation(text, options: TestOptions.DebugDll.WithOutputKind(outputKind)).VerifyDiagnostics( 794CreateCompilation(text, options: TestOptions.DebugDll.WithOutputKind(outputKind)).VerifyDiagnostics( 814CreateCompilation(text, options: TestOptions.DebugDll.WithOutputKind(outputKind)).VerifyDiagnostics(
Attributes\AttributeTests_LifetimeAnnotation.cs (4)
454options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 491options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 518options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 554options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
Attributes\AttributeTests_MarshalAs.cs (1)
32options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
Attributes\AttributeTests_NativeInteger.cs (4)
1083options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 1107options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 1130options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 1154options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
Attributes\AttributeTests_Nullable.cs (8)
2166options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 2193options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 2220options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 2273options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 2297options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 2506options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 2531options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 2557options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
Attributes\AttributeTests_ReadOnlyStruct.cs (3)
346var options = TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All); 444var options = TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All); 598var options = TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All);
Attributes\AttributeTests_RefReadOnly.cs (15)
594var options = TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All); 622var options = TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All); 648var options = TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All); 682var options = TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All); 721var options = TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All); 753var options = TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All); 780var options = TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All); 815var options = TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All); 1051var options = TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All); 1169var options = TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All); 1325var options = TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All); 2342options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 2366options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 2389options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 2413options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
Attributes\AttributeTests_Security.cs (1)
1586CreateCompilationWithMscorlib40(source, options: TestOptions.DebugDll.WithXmlReferenceResolver(resolver)).VerifyDiagnostics(
Attributes\AttributeTests_Synthesized.cs (1)
371var comp = CreateCompilation(source, options: TestOptions.DebugDll);
Attributes\AttributeTests_WellKnownAttributes.cs (11)
8787verify(TestOptions.DebugDll.WithGeneralDiagnosticOption(ReportDiagnostic.Warn), 8793verify(TestOptions.DebugDll.WithGeneralDiagnosticOption(ReportDiagnostic.Error), 8799verify(TestOptions.DebugDll.WithGeneralDiagnosticOption(ReportDiagnostic.Hidden), 8804verify(TestOptions.DebugDll.WithGeneralDiagnosticOption(ReportDiagnostic.Suppress)); 8807verify(TestOptions.DebugDll.WithSpecificDiagnosticOptions(ImmutableDictionary<string, ReportDiagnostic>.Empty.Add("TEST1", ReportDiagnostic.Warn)), 8813verify(TestOptions.DebugDll.WithSpecificDiagnosticOptions(ImmutableDictionary<string, ReportDiagnostic>.Empty.Add("TEST1", ReportDiagnostic.Error)), 8819verify(TestOptions.DebugDll.WithSpecificDiagnosticOptions(ImmutableDictionary<string, ReportDiagnostic>.Empty.Add("TEST1", ReportDiagnostic.Hidden)), 8825verify(TestOptions.DebugDll.WithSpecificDiagnosticOptions(ImmutableDictionary<string, ReportDiagnostic>.Empty.Add("TEST1", ReportDiagnostic.Suppress))); 8828verify(TestOptions.DebugDll.WithSpecificDiagnosticOptions(ImmutableDictionary<string, ReportDiagnostic>.Empty.Add("CS0618", ReportDiagnostic.Error)), 8834verify(TestOptions.DebugDll.WithSpecificDiagnosticOptions(ImmutableDictionary<string, ReportDiagnostic>.Empty.Add("CS0618", ReportDiagnostic.Suppress)), 12904var comp = CreateCompilation(source, options: TestOptions.DebugDll.WithAllowUnsafe(true));
Attributes\EmitTestStrongNameProvider.cs (2)
33var options = TestOptions.DebugDll 53var options = TestOptions.DebugDll
Attributes\InternalsVisibleToAndStrongNameTests.cs (4)
2813var options = TestOptions.DebugDll; 2825var options = TestOptions.DebugDll.WithCryptoKeyFile(string.Empty); 2836var options = TestOptions.DebugDll.WithPublicSign(true); 2848var options = TestOptions.DebugDll.WithCryptoKeyFile(string.Empty).WithPublicSign(true);
Diagnostics\DiagnosticAnalyzerTests.cs (5)
3386var options = TestOptions.DebugDll.WithSyntaxTreeOptionsProvider( 3429var options = TestOptions.DebugDll.WithSyntaxTreeOptionsProvider( 3481var options = TestOptions.DebugDll.WithSyntaxTreeOptionsProvider( 3533var options = TestOptions.DebugDll.WithSyntaxTreeOptionsProvider( 3554options = TestOptions.DebugDll.WithSyntaxTreeOptionsProvider(
Diagnostics\DiagnosticSuppressorTests.cs (1)
670var options = TestOptions.DebugDll.WithConcurrentBuild(concurrent);
FieldKeywordTests.cs (1)
11665var comp1 = CreateCompilation("", references: [comp0.EmitToImageReference()], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
FirstClassSpanTests.cs (1)
4298var comp = CreateCompilationWithSpanAndMemoryExtensions(source, TestOptions.DebugDll);
FlowAnalysis\FlowDiagnosticTests.cs (1)
1467comp = CreateCompilation(text, options: TestOptions.DebugDll.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings), parseOptions: TestOptions.Regular11);
PartialEventsAndConstructorsTests.cs (12)
1100options: TestOptions.DebugDll 1252options: TestOptions.DebugDll 1389options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 1452options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 1459CompileAndVerifyWithWinRt(source1, options: TestOptions.DebugDll).VerifyDiagnostics().GetImageReference() 1693options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 2460options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 2531options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 2895CreateCompilation(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable)).VerifyDiagnostics(expectedDiagnostics); 2896CreateCompilation(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Annotations)).VerifyDiagnostics(expectedDiagnostics); 2925CreateCompilation(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable)).VerifyDiagnostics(expectedDiagnostics); 2926CreateCompilation(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Annotations)).VerifyDiagnostics(expectedDiagnostics);
Semantics\CollectionExpressionTests.cs (1)
32421var comp = CreateCompilation(new[] { sourceA, s_collectionExtensions }, targetFramework: TargetFramework.Net80, options: ExecutionConditionUtil.IsMonoOrCoreClr ? TestOptions.DebugExe : TestOptions.DebugDll);
Semantics\ExtensionOperatorsTests.cs (13)
4190var comp = CreateCompilation(src, options: TestOptions.DebugDll.WithAllowUnsafe(true)); 4224var comp = CreateCompilation(src, options: TestOptions.DebugDll.WithAllowUnsafe(true)); 10418var comp = CreateCompilation(src, options: TestOptions.DebugDll.WithAllowUnsafe(true)); 10448var comp = CreateCompilation([src, CompilerFeatureRequiredAttribute], options: TestOptions.DebugDll.WithAllowUnsafe(true)); 13914var comp1 = CreateCompilation(src1, options: TestOptions.DebugDll); 19562var comp = CreateCompilation(src, options: TestOptions.DebugDll.WithAllowUnsafe(true)); 19598var comp = CreateCompilation(src, options: TestOptions.DebugDll.WithAllowUnsafe(true)); 19630var comp = CreateCompilation(src, options: TestOptions.DebugDll.WithAllowUnsafe(true)); 19666var comp = CreateCompilation(src, options: TestOptions.DebugDll.WithAllowUnsafe(true)); 19870var comp = CreateCompilation(src, options: TestOptions.DebugDll.WithAllowUnsafe(true)); 27134var comp = CreateCompilation(src, options: TestOptions.DebugDll.WithAllowUnsafe(true)); 27166var comp = CreateCompilation(src, options: TestOptions.DebugDll.WithAllowUnsafe(true)); 27327var comp = CreateCompilation([src, CompilerFeatureRequiredAttribute], options: TestOptions.DebugDll.WithAllowUnsafe(true));
Semantics\ExtensionTests2.cs (2)
6360options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 6395var comp = CreateCompilation(src, references: [libComp.EmitToImageReference()], parseOptions: TestOptions.RegularPreviewWithDocumentationComments, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
Semantics\InlineArrayTests.cs (25)
294comp = CreateCompilationWithIL("", ilSource, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 360comp = CreateCompilationWithIL("", ilSource, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 426comp = CreateCompilationWithIL("", ilSource, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 492comp = CreateCompilationWithIL("", ilSource, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 556comp = CreateCompilationWithIL("", ilSource, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 648comp = CreateCompilationWithIL("", ilSource, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 685var comp = CreateCompilation(src, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 737comp = CreateCompilationWithIL("", ilSource, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 775var comp = CreateCompilation(src, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 819comp = CreateCompilationWithIL("", ilSource, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 854var comp = CreateCompilation(src, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 922comp = CreateCompilationWithIL("", ilSource, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 960var comp = CreateCompilation(src, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 1046comp = CreateCompilationWithIL(consumer, ilSource, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 1136comp = CreateCompilationWithIL(consumer, ilSource, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 1533var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithAllowUnsafe(true)); 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); 2279var comp1 = CreateCompilation(src1, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll); 2324var comp1 = CreateCompilation(src1, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll); 19952var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithAllowUnsafe(true)); 19993var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithAllowUnsafe(true));
Semantics\OutVarTests.cs (8)
5251var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular); 20168var comp = CreateCompilation(text, options: TestOptions.DebugDll, references: new[] { CSharpRef }); 32933var compilation = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular); 33317var comp = CreateCompilation(source, options: TestOptions.DebugDll); 33433var comp = CreateCompilation(source, options: TestOptions.DebugDll); 33465var comp = CreateCompilationWithMscorlib40(source, options: TestOptions.DebugDll, references: new[] { Net40.References.SystemCore }); 33491var comp = CreateCompilation(source, options: TestOptions.DebugDll); 35681var comp = CreateCompilation(source, options: TestOptions.DebugDll);
Semantics\ParamsCollectionTests.cs (10)
8661options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 8762options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 8859options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 8902options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 8946options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 13139var options = TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All); 13199var options = TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All); 13262var options = TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All); 13523var comp3 = CreateCompilation(source3, references: [comp1Ref], options: TestOptions.DebugDll); 13624var comp3 = CreateCompilation(source3, references: [comp1Ref], options: TestOptions.DebugDll);
Semantics\PatternMatchingTests.cs (9)
3714var compilation = CreateCompilation(source, options: TestOptions.DebugDll); 3773var compilation = CreateCompilation(source, options: TestOptions.DebugDll); 4245var compilation = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular); 4339CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics( 4347CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular8).VerifyDiagnostics( 4379var compilation = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll); 5250CreateCompilation(program, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7).VerifyDiagnostics( 5258CreateCompilation(program, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7_1).VerifyDiagnostics( 6159var compilation = CreateCompilation(program, options: TestOptions.DebugDll.WithAllowUnsafe(true));
Semantics\PatternMatchingTests_ListPatterns.cs (1)
7832var verifier = CompileAndVerify(new[] { source, TestSources.Index }, options: TestOptions.DebugDll);
Semantics\PatternMatchingTests_Scope.cs (1)
3420var compilation = CreateCompilation(source, options: TestOptions.DebugDll);
Semantics\PatternMatchingTests3.cs (6)
501var compilation = CreateCompilationWithMscorlibAndSpan(source, options: TestOptions.DebugDll); 522var compilation = CreateCompilationWithMscorlibAndSpan(source, options: TestOptions.DebugDll); 540var compilation = CreateCompilationWithMscorlibAndSpan(source, options: TestOptions.DebugDll); 4095var compilation = CreatePatternCompilation(source, options: TestOptions.DebugDll); 4322var compilation = CreatePatternCompilation(source, options: TestOptions.DebugDll); 4867var compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
Semantics\PatternMatchingTests4.cs (6)
3429var compilation = CreatePatternCompilation(source, options: TestOptions.DebugDll.WithAllowUnsafe(true)); 3464var compilation = CreatePatternCompilation(source, options: TestOptions.DebugDll.WithAllowUnsafe(true)); 3726var compilation = CreatePatternCompilation(source, options: TestOptions.DebugDll); 3746var compilation = CreatePatternCompilation(source, options: TestOptions.DebugDll); 3773var compilation = CreatePatternCompilation(source, options: TestOptions.DebugDll); 4154var comp = CreatePatternCompilation(source, TestOptions.DebugDll);
Semantics\PatternMatchingTests5.cs (2)
3037var comp = CreateCompilation(source, options: TestOptions.DebugDll.WithNullableContextOptions(nullableEnable ? NullableContextOptions.Enable : NullableContextOptions.Disable)); 3134var comp = CreateCompilation(source, options: TestOptions.DebugDll.WithNullableContextOptions(nullableEnable ? NullableContextOptions.Enable : NullableContextOptions.Disable));
Semantics\PatternSwitchTests.cs (2)
897var compilation = CreateCompilation(source, options: TestOptions.DebugDll); 1684var compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular8);
Semantics\PrimaryConstructorTests.cs (16)
6946var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 15851var comp = CreateCompilation(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 15873var comp = CreateCompilation(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 15894var comp = CreateCompilation(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 15915var comp = CreateCompilation(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 22573options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 22576var comp2 = CreateCompilation([source2], references: [comp1.ToMetadataReference()], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 22579var comp3 = CreateCompilation([source2], references: [comp1.EmitToImageReference()], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 22622options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 22625var comp2 = CreateCompilation([source2, IsExternalInitTypeDefinition], references: [comp1.ToMetadataReference()], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 22628var comp3 = CreateCompilation([source2, IsExternalInitTypeDefinition], references: [comp1.EmitToImageReference()], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 22663options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 22717options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 22719var comp2 = CreateCompilation([source2], references: [comp1.ToMetadataReference()], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 22776options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 22778var comp2 = CreateCompilation([source2], references: [comp1.ToMetadataReference()], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
Semantics\RecordTests.cs (8)
25205options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 25265options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 25342options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 25399options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 25474options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 25558options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 25628options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 30522var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
Symbols\UserDefinedCompoundAssignmentOperatorsTests.cs (2)
7554var comp2 = CreateCompilation("", references: [comp1Ref], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 19457var comp2 = CreateCompilation("", references: [comp1Ref], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (8)
EndToEndTests.cs (8)
169var options = TestOptions.DebugDll.WithConcurrentBuild(false); 250var options = TestOptions.DebugDll.WithConcurrentBuild(false); 359var options = TestOptions.DebugDll.WithConcurrentBuild(concurrent); 451var comp = CreateCompilation(source, options: TestOptions.DebugDll.WithConcurrentBuild(false)); 580var comp = CreateCompilation(source, options: TestOptions.DebugDll.WithConcurrentBuild(false)); 775var comp = CreateCompilation(source, options: TestOptions.DebugDll.WithConcurrentBuild(false)); 947var comp = CreateCompilation(source, options: TestOptions.DebugDll.WithConcurrentBuild(false)); 1011var comp = CreateCompilation(source, options: TestOptions.DebugDll.WithConcurrentBuild(false));
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (2)
Diagnostics\Suppression\RemoveUnnecessaryPragmaSuppressionsTests.cs (2)
47=> parameters.WithCompilationOptions((parameters.compilationOptions ?? TestOptions.DebugDll).WithReportSuppressedDiagnostics(true)); 1250var compilationOptions = TestOptions.DebugDll.WithSpecificDiagnosticOptions(
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (259)
Semantics\BindingAsyncTasklikeMoreTests.cs (3)
923var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugDll); 1012var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugDll); 1097var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugDll);
Semantics\BindingTests.cs (4)
2715var compilation = CreateCompilation(sourceText, options: TestOptions.DebugDll); 2771var compilation = CreateCompilation(sourceText, options: TestOptions.DebugDll); 2826var compilation = CreateCompilationWithMscorlib40AndSystemCore(sourceText, options: TestOptions.DebugDll); 2875var compilation = CreateCompilationWithMscorlib40(sourceText, new[] { Net40.References.SystemCore }, options: TestOptions.DebugDll);
Semantics\ConditionalOperatorTests.cs (1)
1438var compilation = CreateCompilation(source, options: TestOptions.DebugDll);
Semantics\DynamicTests.cs (7)
3255CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugDll).VerifyEmitDiagnostics( 4014var verifier = CompileAndVerify(source, options: TestOptions.DebugDll.WithAllowUnsafe(true), verify: Verification.FailsPEVerify).VerifyDiagnostics(); 4042var verifier = CompileAndVerify(source, options: TestOptions.DebugDll.WithAllowUnsafe(true), verify: Verification.FailsPEVerify).VerifyDiagnostics(); 4069CreateCompilation(source, options: TestOptions.DebugDll.WithAllowUnsafe(true)).VerifyDiagnostics( 4093var verifier = CompileAndVerify(source, new[] { CSharpRef }, options: TestOptions.DebugDll).VerifyDiagnostics(); 4165var compilation = CreateCompilation(source, new[] { CSharpRef }, options: TestOptions.DebugDll); 4192var compilation = CreateCompilation(source, new[] { CSharpRef }, options: TestOptions.DebugDll);
Semantics\ForEachTests.cs (3)
3958var comp1 = CreateEmptyCompilation(source1, options: TestOptions.DebugDll, assemblyName: "MissingBaseType1"); 3986var comp2 = CreateEmptyCompilation(source2, new[] { comp1.ToMetadataReference() }, options: TestOptions.DebugDll); 4001var comp3 = CreateEmptyCompilation(source3, options: TestOptions.DebugDll, assemblyName: "MissingBaseType2");
Semantics\GlobalUsingDirectiveTests.cs (1)
5022CreateCompilation(new[] { source1, source2 }, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
Semantics\ImplicitObjectCreationTests.cs (3)
399var comp = CreateCompilation(source, options: TestOptions.DebugDll); 2778var comp = CreateCompilation(source, options: TestOptions.DebugDll); 3700var comp = CreateCompilation(text, options: TestOptions.DebugDll);
Semantics\InheritanceBindingTests.cs (5)
2996new[] { source1 }, TargetFrameworkUtil.GetReferences(TargetFramework.Standard, null).ToArray(), TestOptions.DebugDll.WithPublicSign(true)); 2999new[] { source1 }, TargetFrameworkUtil.GetReferences(TargetFramework.Standard, null).ToArray(), TestOptions.DebugDll.WithPublicSign(true)); 9844var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 9890var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 9946options: TestOptions.DebugDll,
Semantics\InitOnlyMemberTests.cs (5)
1443options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 4594var piaCompilation = CreateCompilationWithMscorlib461(new[] { IsExternalInitTypeDefinition, pia }, options: TestOptions.DebugDll); 4715options: TestOptions.DebugDll.WithTopLevelBinderFlags(BinderFlags.IgnoreCorLibraryDuplicatedTypes)); 4736options: TestOptions.DebugDll.WithTopLevelBinderFlags(BinderFlags.IgnoreCorLibraryDuplicatedTypes)); 4761options: TestOptions.DebugDll.WithTopLevelBinderFlags(BinderFlags.IgnoreCorLibraryDuplicatedTypes));
Semantics\InteractiveUsingTests.cs (10)
53options: TestOptions.DebugDll.WithUsings("System", "System.IO.Path")); 66options: TestOptions.DebugDll.WithUsings("System.Text")); 159var options = TestOptions.DebugDll.WithUsings("System"); 268var options = TestOptions.DebugDll.WithUsings("System"); 292CreateSubmission("typeof(String)", options: TestOptions.DebugDll.WithUsings("System", "System")).VerifyDiagnostics(); 298var options = TestOptions.DebugDll.WithUsings("System"); 325var options = TestOptions.DebugDll.WithUsings("B"); 365options: TestOptions.DebugDll.WithSourceReferenceResolver(resolver)); 436options: TestOptions.DebugDll.WithSourceReferenceResolver(resolver), 486options: TestOptions.DebugDll.WithSourceReferenceResolver(resolver).WithUsings("System.IO", "System.IO.Path"));
Semantics\InterceptorsTests.cs (1)
5464options: TestOptions.DebugDll.WithSourceReferenceResolver(
Semantics\IteratorTests.cs (14)
609var comp = CreateCompilation(text, options: TestOptions.DebugDll); 832options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 878var comp1 = CreateCompilation([source1, source2, CompilerLoweringPreserveAttributeDefinition], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 897comp1 = CreateCompilation([source1, source3, CompilerLoweringPreserveAttributeDefinition], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 949options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 1060options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 1079options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 1128var comp1 = CreateCompilation([source1, source2, CompilerLoweringPreserveAttributeDefinition], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 1150comp1 = CreateCompilation([source1, source3, CompilerLoweringPreserveAttributeDefinition], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 1172comp1 = CreateCompilation([source1, source4, CompilerLoweringPreserveAttributeDefinition], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 1227options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 1283options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 1336options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 1360options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
Semantics\LambdaTests.cs (4)
2812var comp = CreateCompilation(src, options: TestOptions.DebugDll); 9193options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 9290options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 9307options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
Semantics\LocalFunctionTests.cs (1)
7196CompileAndVerify(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), symbolValidator: m =>
Semantics\NameLengthTests.cs (2)
404var comp = CreateCompilation(source, options: TestOptions.DebugDll); 429var comp = CreateCompilation(source, options: TestOptions.DebugDll);
Semantics\NullableReferenceTypesTests.cs (47)
5196var comp = CreateCompilation(source, options: TestOptions.DebugDll); 5246var comp = CreateCompilation(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "always"), options: TestOptions.DebugDll); 5292var comp = CreateCompilation(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "always"), options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Disable)); 5338var comp = CreateCompilation(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "always"), options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable)); 5400var comp = CreateCompilation(new[] { source0, source1, source2 }, options: TestOptions.DebugDll); 5413comp = CreateCompilation(new[] { source0, source1, source2 }, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Disable)); 5426comp = CreateCompilation(new[] { source0, source1, source2 }, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable)); 5563var comp = CreateCompilation(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable)); 5583var comp = CreateCompilation(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable)); 5605var comp = CreateCompilation(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable)); 5623var comp = CreateCompilation(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable)); 5645var comp = CreateCompilation(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable)); 5674var comp = CreateCompilation(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable)); 5708var comp = CreateCompilation(new[] { source1, source2 }, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable)); 5743var comp = CreateCompilation(new[] { source1, source2 }, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable)); 5821options: TestOptions.DebugDll 6371var comp2 = CreateCompilation(source, options: TestOptions.DebugDll.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Suppress)); 6388var comp = CreateCompilation(source, options: TestOptions.DebugDll); 6405var comp = CreateCompilation(source, options: TestOptions.DebugDll); 6425var comp = CreateCompilation(source, options: TestOptions.DebugDll); 6449var comp = CreateCompilation(source, options: TestOptions.DebugDll); 6472var comp = CreateCompilation(source, options: TestOptions.DebugDll); 6494var comp = CreateCompilation(source, options: TestOptions.DebugDll); 6516var comp = CreateCompilation(source, options: TestOptions.DebugDll); 6539var comp = CreateCompilation(source, options: TestOptions.DebugDll); 6561var comp = CreateCompilation(source, options: TestOptions.DebugDll); 6583var comp = CreateCompilation(source, options: TestOptions.DebugDll); 14439var comp = CreateCompilation(source, options: TestOptions.DebugDll); 14489var comp = CreateCompilation(source, options: TestOptions.DebugDll); 19673", options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7); 19809", options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7); 19877", options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7); 19922", options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7); 19993", options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7); 20043", options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7); 20123", options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7); 20191", options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7); 61613var piaCompilation = CreateCompilationWithMscorlib461(pia, options: WithNullableEnable(TestOptions.DebugDll)); 61671var piaCompilation = CreateCompilationWithMscorlib461(pia, options: WithNullableEnable(TestOptions.DebugDll)); 63923", options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7); 77011var piaCompilation = CreateCompilationWithMscorlib461(pia, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7); 77178" }, options: WithNullableEnable(TestOptions.DebugDll)); 77227" }, options: WithNullableEnable(TestOptions.DebugDll)); 80353var comp = CreateCompilation(src, options: WithNullableEnable(TestOptions.DebugDll)); 160526var piaCompilation = CreateCompilationWithMscorlib461(pia, options: WithNullableEnable(TestOptions.DebugDll)); 160584var piaCompilation = CreateCompilationWithMscorlib461(pia, options: WithNullableEnable(TestOptions.DebugDll)); 160633var piaCompilation = CreateCompilationWithMscorlib461(pia, options: WithNullableEnable(TestOptions.DebugDll));
Semantics\OperatorTests.cs (1)
12269var compilation = CreateCompilation(source, options: TestOptions.DebugDll);
Semantics\OverloadResolutionTests.cs (1)
1375var compilation = CreateCompilation(source, options: TestOptions.DebugDll);
Semantics\ReadOnlyStructsTests.cs (4)
1616var dllMetadata = CreateCompilation(csharp, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461).EmitToImageReference(); 1644var dllMetadata = CreateCompilation(csharp, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461).EmitToImageReference(); 1673var dllComp = CreateCompilation(csharp, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461); 1695var dllComp = CreateCompilation(csharp, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461);
Semantics\RecordStructTests.cs (2)
10586options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 11506var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
Semantics\StructConstructorTests.cs (17)
3895CreateCompilation(source, options: TestOptions.DebugDll.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings), parseOptions: TestOptions.Regular11) 3901CreateCompilation(source, options: TestOptions.DebugDll.WithSpecificDiagnosticOptions(GetIdForErrorCode(ErrorCode.WRN_UnassignedThisSupportedVersion), ReportDiagnostic.Error), parseOptions: TestOptions.Regular11) 3990CreateCompilation(source, options: TestOptions.DebugDll.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings), parseOptions: TestOptions.Regular11) 4021var verifier = CompileAndVerify(source, options: TestOptions.DebugDll.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings), parseOptions: TestOptions.Regular11); 4064var verifier = CompileAndVerify(source, options: TestOptions.DebugDll.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings), parseOptions: TestOptions.Regular11); 4202var verifier = CompileAndVerify(source, options: TestOptions.DebugDll.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings)); 4241var verifier = CompileAndVerify(source, options: TestOptions.DebugDll.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings)); 4274var verifier = CompileAndVerify(source, options: TestOptions.DebugDll.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings)); 4309var verifier = CompileAndVerify(source, options: TestOptions.DebugDll.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings)); 4349var verifier = CompileAndVerify(source, options: TestOptions.DebugDll.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings)); 4399var verifier = CompileAndVerify(source, options: TestOptions.DebugDll.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings)); 4443var verifier = CompileAndVerify(source, options: TestOptions.DebugDll.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings)); 4485var verifier = CompileAndVerify(source, options: TestOptions.DebugDll.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings)); 4525var comp = CreateCompilation(source, options: TestOptions.DebugDll.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings)); 4547var comp = CreateCompilation(source, options: TestOptions.DebugDll.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings)); 4589var verifier = CompileAndVerify(source, options: TestOptions.DebugDll.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings)); 4620verifier = CompileAndVerify(source, options: TestOptions.DebugDll);
Semantics\TargetTypedConditionalOperatorTests.cs (5)
334var comp = CreateCompilation(tree, options: TestOptions.DebugDll.WithAllowUnsafe(true)); 433CreateCompilation(source, parseOptions: TestOptions.Regular8, options: TestOptions.DebugDll.WithAllowUnsafe(true)) 435CreateCompilation(source, parseOptions: TestOptions.Regular.WithLanguageVersion(MessageID.IDS_FeatureTargetTypedConditional.RequiredVersion()), options: TestOptions.DebugDll.WithAllowUnsafe(true)) 452CreateCompilation(source, parseOptions: TestOptions.Regular8, options: TestOptions.DebugDll) 454CreateCompilation(source, parseOptions: TestOptions.Regular.WithLanguageVersion(MessageID.IDS_FeatureTargetTypedConditional.RequiredVersion()), options: TestOptions.DebugDll)
Semantics\TargetTypedDefaultTests.cs (3)
2855var comp = CreateCompilation(text, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugDll); 2903var comp = CreateCompilation(text, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugDll); 2926var comp = CreateCompilation(text, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugDll);
Semantics\TopLevelStatementsTests.cs (2)
8197var comp = CreateCompilation(text, options: TestOptions.DebugDll, parseOptions: DefaultParseOptions); 9811var compilation = CreateCompilation(source, options: TestOptions.DebugDll);
Semantics\TryCatchTests.cs (1)
157CompileAndVerify(source, options: TestOptions.DebugDll).VerifyDiagnostics();
Semantics\UnsafeTests.cs (6)
12726var comp = CreateCompilation(csharp, options: TestOptions.DebugDll); 12746var comp = CreateCompilation(csharp, options: TestOptions.DebugDll); 12762var comp = CreateCompilation(csharp, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular11); 12781var comp = CreateCompilation(csharp, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular11); 12832var comp = CreateCompilation(csharp, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular11); 13098var comp = CreateCompilation(csharp, options: TestOptions.DebugDll);
Semantics\Utf8StringsLiteralsTests.cs (26)
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); 3794var comp = CreateCompilation(new[] { source + HelpersSource, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
Semantics\WarningVersionTests.cs (24)
157options: TestOptions.DebugDll.WithWarningLevel(CodeAnalysis.Diagnostic.DefaultWarningLevel), 166options: TestOptions.DebugDll.WithWarningLevel(5), 179options: TestOptions.DebugDll.WithWarningLevel(5), 188options: TestOptions.DebugDll 235options: TestOptions.DebugDll.WithWarningLevel(CodeAnalysis.Diagnostic.DefaultWarningLevel), 244options: TestOptions.DebugDll.WithWarningLevel(5), 257options: TestOptions.DebugDll 267options: TestOptions.DebugDll 321options: TestOptions.DebugDll.WithWarningLevel(CodeAnalysis.Diagnostic.DefaultWarningLevel), 330options: TestOptions.DebugDll.WithWarningLevel(5), 346options: TestOptions.DebugDll.WithWarningLevel(5), 358options: TestOptions.DebugDll 445options: TestOptions.DebugDll.WithWarningLevel(CodeAnalysis.Diagnostic.DefaultWarningLevel), 454options: TestOptions.DebugDll.WithWarningLevel(5), 467options: TestOptions.DebugDll.WithWarningLevel(5), 476options: TestOptions.DebugDll 532options: TestOptions.DebugDll.WithWarningLevel(CodeAnalysis.Diagnostic.DefaultWarningLevel), 541options: TestOptions.DebugDll.WithWarningLevel(5), 554options: TestOptions.DebugDll.WithWarningLevel(5), 563options: TestOptions.DebugDll 619options: TestOptions.DebugDll.WithWarningLevel(CodeAnalysis.Diagnostic.DefaultWarningLevel), 628options: TestOptions.DebugDll.WithWarningLevel(5), 641options: TestOptions.DebugDll.WithWarningLevel(5), 650options: TestOptions.DebugDll
SourceGeneration\GeneratorDriverTests.cs (14)
3667Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions); 3698Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions); 3713compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions); 3729compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions); 3742Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions); 3774Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions); 3808Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions); 3837Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions); 3868Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions, sourceFileName: "/original"); 3900Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions, sourceFileName: "/original"); 3933Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions, sourceFileName: "/original"); 3962Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions, sourceFileName: "/original"); 3992Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions); 4024Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
SourceGeneration\SyntaxAwareGeneratorTests.cs (42)
33Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions); 59Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions); 84Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions); 110Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions); 135Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions); 162Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions); 234Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions); 273Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions); 314Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions); 370Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions); 412Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions); 454Compilation compilation = CreateCompilation(new[] { source1, source2 }, options: TestOptions.DebugDll, parseOptions: parseOptions); 496Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions); 550Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions); 580Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions); 618Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions); 672Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions); 729Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions); 772Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions); 817Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions); 852Compilation compilation = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: parseOptions); 892Compilation compilation = CreateCompilation(new[] { source1, source2 }, options: TestOptions.DebugDll, parseOptions: parseOptions); 934Compilation compilation = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: parseOptions); 1011Compilation compilation = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: parseOptions); 1086Compilation compilation = CreateCompilation(new[] { source1, source2 }, options: TestOptions.DebugDll, parseOptions: parseOptions); 1167Compilation compilation = CreateCompilation(new[] { source1, source2 }, options: TestOptions.DebugDll, parseOptions: parseOptions); 1217Compilation compilation = CreateCompilation(new[] { source1, source2, source3 }, options: TestOptions.DebugDll, parseOptions: parseOptions); 1300Compilation compilation = CreateCompilation(new[] { source1, source2, source3 }, options: TestOptions.DebugDll, parseOptions: parseOptions); 1377Compilation compilation = CreateCompilation(new[] { source1, source2, source3 }, options: TestOptions.DebugDll, parseOptions: parseOptions); 1510Compilation compilation = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: parseOptions); 1565Compilation compilation = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: parseOptions); 1614Compilation compilation = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: parseOptions); 1675Compilation compilation = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: parseOptions); 1734Compilation compilation = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: parseOptions); 1787Compilation compilation = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: parseOptions); 1850Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions); 1891Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions); 1932Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions); 1981Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions); 2007Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions); 2045Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions); 2079Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1428)
Compilation\CompilationAPITests.cs (9)
39=> TestOptions.DebugDll.WithSyntaxTreeOptionsProvider(new TestSyntaxTreeOptionsProvider(tree, options)); 70var options = TestOptions.DebugDll 166var options = TestOptions.DebugDll.WithSyntaxTreeOptionsProvider( 193var options = TestOptions.DebugDll.WithSyntaxTreeOptionsProvider( 203options = TestOptions.DebugDll.WithSyntaxTreeOptionsProvider( 238var options = TestOptions.DebugDll 287var compilationOptions = TestOptions.DebugDll.WithWarningLevel(0); 2383var compilationOptions = TestOptions.DebugDll; 336242", returnType: typeof(int), options: TestOptions.DebugDll.WithSourceReferenceResolver(resolver));
Compilation\LoadDirectiveTests.cs (6)
22var options = TestOptions.DebugDll.WithSourceReferenceResolver(TestSourceReferenceResolver.Default); 35var options = TestOptions.DebugDll.WithSourceReferenceResolver(TestSourceReferenceResolver.Default); 54var options = TestOptions.DebugDll.WithSourceReferenceResolver(resolver); 79var options = TestOptions.DebugDll.WithSourceReferenceResolver(resolver); 157var options = TestOptions.DebugDll.WithSourceReferenceResolver(resolver); 177options = TestOptions.DebugDll.WithSourceReferenceResolver(resolver);
Compilation\UsedAssembliesTests.cs (9)
2339AssertUsedAssemblyReferences(CreateCompilation(Parse(source, options: TestOptions.Script), references: new[] { reference }, options: TestOptions.DebugDll.WithUsings(@using)), 4013options: TestOptions.DebugDll.WithUsings("C0")), 4017options: TestOptions.DebugDll.WithUsings("C0")), 4608options: TestOptions.DebugDll.WithUsings("N1.N2")), 4612options: TestOptions.DebugDll.WithUsings("N1.N2")), 4616options: TestOptions.DebugDll.WithUsings("N1")), 4620options: TestOptions.DebugDll.WithUsings("N1")), 4799options: TestOptions.DebugDll.WithUsings("N1.N2.E0")), 4803options: TestOptions.DebugDll.WithUsings("N1.N2.E0")),
DocumentationComments\DocumentationCommentIDTests.cs (2)
415var comp = CreateCompilation(source, options: TestOptions.DebugDll.WithNullableContextOptions(nullableContextOptions)); 435var comp = CreateCompilation(source, options: TestOptions.DebugDll.WithNullableContextOptions(nullableContextOptions));
SymbolDisplay\SymbolDisplayTests.cs (2)
2297var comp2 = CreateCompilation("", references: [comp1.ToMetadataReference()], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2370var comp2 = CreateCompilation("", references: [comp1.EmitToImageReference()], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
Symbols\CheckedUserDefinedOperatorsTests.cs (75)
34var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 37compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular10); 45compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular11); 78var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 112var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 142var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 187var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 208var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 227var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 247var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 268var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 330var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 366var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 391var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 423var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 452var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 470var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 497var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 920var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: options); 951var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: options); 994var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 1030var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 1276var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 1279compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular10); 1287compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular11); 1321var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 1356var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 1387var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 1420var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 1443var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 1506var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 1542var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 1569var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 1596var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 1630var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 1648var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 1675var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 2183var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: options); 2239var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 2454var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 2481var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 2510var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 2513compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular10); 2521compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular11); 2557var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 2597var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 2630var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 2662var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 2681var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 2740var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 2774var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 2797var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 2820var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 2846var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 3204var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: options); 3233var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 3467var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 3860var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 3905var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 4242var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 4703var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 4822var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 4865var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 5135var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 5253var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 5721var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 6351var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 6456var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 6575var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 6632var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 6782var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 6831var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 6880var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 7031var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 7076var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
Symbols\DefaultInterfaceImplementationTests.cs (575)
1588var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended, 1626options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 1669var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60, 1682options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 1726var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 1747var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugDll, 1779var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended, 1823options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 1874var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 1913var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 1931var compilation3 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 1974var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended, 2018var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 2041var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 2263var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 2332var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 2405var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 2478var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 2973var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 3009var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 3045var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 3086var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 3111var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 3136var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 3166var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 3200var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 3234var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 3273var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 3298var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 3323var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 3362var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 3453var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 3521var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 3608var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 4236var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended, 4289options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended, 4404var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 4417options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended, 4481var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 4501targetFramework: TargetFramework.Mscorlib461Extended, options: TestOptions.DebugDll, 4545var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 4591options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 4645var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50, 4687options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50, 4746var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 4797var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 4813var compilation3 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 4878var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 5114var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 5151var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 5179var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 5216var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 5255var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 5308var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 5837var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 5867options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 5964var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 5977options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 6022var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 6041var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll, 6092var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 6138options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 6200var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 6231var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 6247var compilation3 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 6294var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 6365var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 6379var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 7320var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended, 7355options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended, 7428var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 7441targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended, options: TestOptions.DebugDll, 7488var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 7507var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll, 7543var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 7571options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 7608var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50, 7632options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50, 7674var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 7707var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 7723var compilation3 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 7771var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 7823var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 8096var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 8374var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 8410var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 8623var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 8689var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 8823var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 8948var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 9103var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 9276var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 9319var compilation5 = CreateCompilation(source3, new[] { reference }, options: TestOptions.DebugDll, 9473var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 9547var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 9846var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 9910var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 9995var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 10054var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 10092var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 10203var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 10314var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 10382var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 10467var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 10518var compilation3 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 10585var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 10687var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 10926var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 10988var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 11011options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 11244var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 11267var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 11309var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 11364var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 11466var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 11533var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 11563var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 11617var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 11644var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 11657var compilation2 = CreateCompilation(source1 + source2, options: TestOptions.DebugDll, 11735var compilation3 = CreateCompilation(source0, options: TestOptions.DebugDll, 11901var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 11934var compilation5 = CreateCompilation(source3, new[] { reference }, options: TestOptions.DebugDll, 12016var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 12055var compilation5 = CreateCompilation(source3, new[] { reference }, options: TestOptions.DebugDll, 12139var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 12184var compilation5 = CreateCompilation(source3, new[] { reference }, options: TestOptions.DebugDll, 12237var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 12299var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 12361var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 12634var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 12722var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 12810var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 12903var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 12958var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 13031var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 13088var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 13578var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 13668var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 13908var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 14076var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 14370var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 14716var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 14943var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 14996var compilation5 = CreateCompilation(source3, new[] { reference }, options: TestOptions.DebugDll, 15140var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 15266var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 15680var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 15761var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 15848var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 15867var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 15875var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugDll, 15966var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 15973compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 16013var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 16318var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 16590var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 16778var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 16928var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 16936var compilation3 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 17026var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 17276var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 17521var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 17599var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 17631options: TestOptions.DebugDll, 18326var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(metadataImportOptions), 18495var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 19902var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 19980var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 20011options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 20049var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 20181var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 20378var compilation3 = CreateCompilation(source0, options: TestOptions.DebugDll, 21563var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 22052var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 22142var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 22381var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 22458var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 22636var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 23392var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 23699var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 23765var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 23882var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 23948var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 24518var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 24550options: TestOptions.DebugDll, 26542var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 26579options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 26618var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 26754var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 26810var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 27144var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 27234var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 27704var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 27951var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 28206var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 28489var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 28539var compilation5 = CreateCompilation(source3, new[] { reference }, options: TestOptions.DebugDll, 28645var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 28771var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: targetFramework, 29189var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 29273var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 29360var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 29379var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 29387var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugDll, 29471var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 29478compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 29511var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 29707var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 30003var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 30114var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 30276var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 30330var compilation3 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 30449var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 30670var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 30926var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 31001var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 31032options: TestOptions.DebugDll, 31141var compilation3 = CreateCompilation(source0, options: TestOptions.DebugDll, 32027var compilation3 = CreateCompilation(source0, options: TestOptions.DebugDll, 32161var compilation3 = CreateCompilation(source0, options: TestOptions.DebugDll, 32265var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32392var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32552var compilation3 = CreateCompilation(source0, options: TestOptions.DebugDll, 32698var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32775var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32812var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32839var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32881var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33128var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33152var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 33204var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33225CreateCompilation(source1, options: TestOptions.DebugDll, 33238var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 33254CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 33294var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 33319options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 33368var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50, 33398options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50, 33444var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33492var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33541var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33599var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33661var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33725var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33771var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33810var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 33843var compilation3 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended, 33895var compilation4 = CreateCompilation(source2, options: TestOptions.DebugDll, 34199var compilation4 = CreateCompilation(source1, options: TestOptions.DebugDll, 34205var compilation5 = CreateCompilation(source2 + source3, new[] { compilation4.ToMetadataReference() }, options: TestOptions.DebugDll, 34221var compilation6 = CreateCompilation(source2 + source3, new[] { compilation4.EmitToImageReference() }, options: TestOptions.DebugDll, 34293var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 34474var compilation2 = CreateCompilation(source2, new[] { ref1 }, options: TestOptions.DebugDll, 34500compilation2 = CreateCompilation(source2, new[] { ref1 }, options: TestOptions.DebugDll, 34551var compilation3 = CreateCompilation(source3, new[] { ref1, ref2 }, options: TestOptions.DebugDll, 34694var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 34700var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 34714var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll, 34979var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 34984var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 35008var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll, 35070var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 35075var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 35103var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll, 35171var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 35176var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 35201var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll, 35267var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 35272var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 35296var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll, 35362var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 35377var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 35473var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 35582var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 35695var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 35808var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 35910var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 36019var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 36113var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 36231var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 36432var compilation4 = CreateCompilation(source1, options: TestOptions.DebugDll, 36620var compilation4 = CreateCompilation(source1, options: TestOptions.DebugDll, 36808var compilation4 = CreateCompilation(source1, options: TestOptions.DebugDll, 36816var compilation5 = CreateCompilation(source2 + source3, new[] { reference }, options: TestOptions.DebugDll, 36870var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 36898var comp = CreateCompilation(source1, options: TestOptions.DebugDll, 37285var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 37302var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 37386var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended, 37403options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended, 37533var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 37616var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 37660var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 37726var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 37963var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 37998var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 38006var compilation3 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended, 38013var compilation4 = CreateCompilation(source2, options: TestOptions.DebugDll, 38449var compilation4 = CreateCompilation(source1, options: TestOptions.DebugDll, 38752var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 38811var compilation2 = CreateCompilation(source2, new[] { ref1 }, options: TestOptions.DebugDll, 38837compilation2 = CreateCompilation(source2, new[] { ref1 }, options: TestOptions.DebugDll, 38891var compilation3 = CreateCompilation(source3, new[] { ref1, ref2 }, options: TestOptions.DebugDll.WithConcurrentBuild(false), 39013var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 39019var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 39026var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll, 39503var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 39521var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 40223var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 40253var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 40314var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 40344var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 40404var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 40435options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 40493var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50, 40523options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50, 40583var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 40626var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 40674var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 40734var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 40798var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 40864var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 40938var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 41133var compilation4 = CreateCompilation(source1, options: TestOptions.DebugDll, 41139var compilation5 = CreateCompilation(source2 + source3, new[] { compilation4.ToMetadataReference() }, options: TestOptions.DebugDll, 41152var compilation6 = CreateCompilation(source2 + source3, new[] { compilation4.EmitToImageReference() }, options: TestOptions.DebugDll, 41249var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 41473var compilation2 = CreateCompilation(source2, new[] { ref1 }, options: TestOptions.DebugDll, 41499compilation2 = CreateCompilation(source2, new[] { ref1 }, options: TestOptions.DebugDll, 41553var compilation3 = CreateCompilation(source3, new[] { ref1, ref2 }, options: TestOptions.DebugDll.WithConcurrentBuild(false), 41679var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 41685var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 41699var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll, 42069var compilation4 = CreateCompilation(source1, options: TestOptions.DebugDll, 42273var compilation4 = CreateCompilation(source1, options: TestOptions.DebugDll, 42477var compilation4 = CreateCompilation(source1, options: TestOptions.DebugDll, 42485var compilation5 = CreateCompilation(source2 + source3, new[] { reference }, options: TestOptions.DebugDll, 43707var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 43731var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 44354var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 44400var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 44431var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 44555var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 44749var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 45004var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 45480var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 45840var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll, 45846var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 46003var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll, 46114var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 46258var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 46319var compilation4 = CreateCompilation(source4, options: TestOptions.DebugDll, 46613var compilation6 = CreateCompilation(source1 + source2, options: TestOptions.DebugDll, 46692var compilation61 = CreateCompilation(source1 + source2, options: TestOptions.DebugDll, 47158var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp, 47678var compilation0 = CreateCompilation(source0 + source1 + source2, options: TestOptions.DebugDll, 47710var compilation3 = CreateCompilation(source4 + source1 + source2, options: TestOptions.DebugDll, 47739var compilation6 = CreateCompilation(source4 + source1 + source5, options: TestOptions.DebugDll, 47811var compilation0 = CreateCompilation(source0 + source1 + source2, options: TestOptions.DebugDll, 47843var compilation3 = CreateCompilation(source4 + source1 + source2, options: TestOptions.DebugDll, 47872var compilation6 = CreateCompilation(source4 + source1 + source5, options: TestOptions.DebugDll, 47939var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 48006var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 48660var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 48730var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 49120var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 49224var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 49578var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 49608var compilation1 = CreateCompilation("", options: TestOptions.DebugDll, 49619var compilation1 = CreateCompilation("", options: TestOptions.DebugDll, 49654var compilation1 = CreateCompilation(source, parseOptions: parseOptions, options: TestOptions.DebugDll, 49662var compilation2 = CreateCompilation("", parseOptions: parseOptions, options: TestOptions.DebugDll, 49770var compilation1 = CreateCompilation(source, parseOptions: parseOptions, options: TestOptions.DebugDll, 49778var compilation2 = CreateCompilation("", parseOptions: parseOptions, options: TestOptions.DebugDll, 49919var compilation1 = CreateCompilation(source, options: TestOptions.DebugDll, 50012var compilation2 = CreateCompilation(source0 + source3, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp); 50131var compilation2 = CreateCompilation(source0 + source3, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp); 50166var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp); 50204var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp); 50264var compilation2 = CreateCompilation(source0 + source3, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp); 50996var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp); 51044var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 51065var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 51072var compilation3 = CreateCompilation(source2, options: TestOptions.DebugDll, references: new[] { reference }, 51232var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 51362var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 51376var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 51383var compilation3 = CreateCompilation(source2, options: TestOptions.DebugDll, references: new[] { reference }, 51513var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 51646var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 51660var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 51667var compilation3 = CreateCompilation(source2, options: TestOptions.DebugDll, references: new[] { reference }, 51786var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 51800var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 51807var compilation3 = CreateCompilation(source2, options: TestOptions.DebugDll, references: new[] { reference }, 51906var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 51961var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 52016var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 52081var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 52139var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 52204var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 52259var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 52340var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 52410var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 52434var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 52499var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 52505var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 52512var compilation3 = CreateCompilation(source2, options: TestOptions.DebugDll, references: new[] { reference }, 52701var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 52856var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 52862var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 52869var compilation3 = CreateCompilation(source2, options: TestOptions.DebugDll, references: new[] { reference }, 53029var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 53194var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 53200var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 53208var compilation3 = CreateCompilation(source2, options: TestOptions.DebugDll, references: new[] { reference }, 53356var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 53362var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 53370var compilation3 = CreateCompilation(source2, options: TestOptions.DebugDll, references: new[] { reference }, 53498var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 53595var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 53727var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 53873var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 54195var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 54202var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 54378var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 54451var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 54551var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 54622var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 54690var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 54784var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 54878var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 54966var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 57031var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 57221var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 57233var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 57262var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 57274var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 57306var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 57315var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 57341var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 57353var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 57382var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 57391var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 57417var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 57429var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 57477var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 57483var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 57490var compilation3 = CreateCompilation(source2, options: TestOptions.DebugDll, references: new[] { reference }, 57659var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 57807var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 57813var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 57820var compilation3 = CreateCompilation(source2, options: TestOptions.DebugDll, references: new[] { reference }, 57968var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 58121var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 58127var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 58134var compilation3 = CreateCompilation(source2, options: TestOptions.DebugDll, references: new[] { reference }, 58270var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 58276var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 58283var compilation3 = CreateCompilation(source2, options: TestOptions.DebugDll, references: new[] { reference }, 58400var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 58483var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 58675var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 59247var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 59254var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 59315var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 59415var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 59424var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 59450var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 59462var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 62199var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 62211var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 62240var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 62249var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 62275var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 62284var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 62557var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 62569compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 62707foreach (var options in new[] { TestOptions.DebugDll, TestOptions.DebugWinMD }) 63103var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 63327var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 63493var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 63669var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 64041var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 64202var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 64318var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 64439var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 64529var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 64680var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 64789var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 64815var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 64845var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 64875var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 64905var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 64924var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 64943var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 64969var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 64991var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 65021var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 65053var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 65079var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 65113var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 65382var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 65427var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 65477var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 65522var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 65562var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 65608var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 65646var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 65691var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 65729var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 65774var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 65807var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 65848var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 65883var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 65925var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 65960var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 66002var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 66042var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 66081var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 66133var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 66177var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 66222var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 66258var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 66301var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 66333var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 66381var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 66412var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 66454var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 66525var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 66636var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 66747var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 66927var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 66956var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 67131var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 67165var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 67201var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 67235var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 67276var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 67313var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 67349var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 67385var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 67422var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 67463var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 67501var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 67539var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 67576var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 67615var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 67657var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 67694var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 67712var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 67752var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 67794var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 67827var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 67866var compilation1 = CreateEmptyCompilation(source1, options: TestOptions.DebugDll, 67897var compilation1 = CreateEmptyCompilation(source1, options: TestOptions.DebugDll, 68487var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 68531var compilation3 = CreateCompilation(source3, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 68550var compilation4 = CreateCompilation(source4, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 68556compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50, 68595options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50, 68608options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50, 68684var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 68690var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 68701var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll, 68845var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 68861var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 68868var compilation3 = CreateCompilation(source2, options: TestOptions.DebugDll, references: new[] { reference }, 68927var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 68946var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 68953var compilation3 = CreateCompilation(source2, options: TestOptions.DebugDll, references: new[] { reference }, 69047var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 69323var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 69391var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll,
Symbols\ExtendedPartialMethodsTests.cs (3)
2071options: TestOptions.DebugDll 2210options: TestOptions.DebugDll 2880options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
Symbols\GenericConstraintTests.cs (2)
5730compilationOptions: TestOptions.DebugDll); 6975CompileAndVerify(source, options: TestOptions.DebugDll).VerifyDiagnostics(
Symbols\IndexerTests.cs (1)
2982var compilation = CreateCompilation(source, options: TestOptions.DebugDll);
Symbols\LocalFunctionTests.cs (10)
584var comp1 = CreateCompilation([source1, source2], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 620var comp1 = CreateCompilation([source1, source2, CompilerLoweringPreserveAttributeDefinition], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 665options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 754var comp1 = CreateCompilation([source1, source2], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 793var comp1 = CreateCompilation([source1, source2, CompilerLoweringPreserveAttributeDefinition], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 809comp1 = CreateCompilation([source1, source3, CompilerLoweringPreserveAttributeDefinition], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 857options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 875options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 911var comp1 = CreateCompilation([source1, source2, CompilerLoweringPreserveAttributeDefinition], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 951var comp1 = CreateCompilation([source1, source2, CompilerLoweringPreserveAttributeDefinition], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
Symbols\Metadata\MetadataMemberTests.cs (9)
691var options = TestOptions.DebugDll; 733options = TestOptions.DebugDll; 773var options = TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.Internal); 776options = TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All); 779options = TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.Public); 782options = TestOptions.DebugDll.WithMetadataImportOptions((MetadataImportOptions)byte.MaxValue); 796var compilation = CreateCompilation("", options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.Internal), references: new[] { compilation0.EmitToImageReference() }); 803compilation = compilation.WithOptions(TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 810compilation = compilation.WithOptions(TestOptions.DebugDll.WithMetadataImportOptions((MetadataImportOptions)byte.MaxValue));
Symbols\Metadata\PE\LoadingEvents.cs (3)
468var comp = CreateCompilation("", new[] { reference }, TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 521var comp = CreateCompilation("", new[] { ilRef }, TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 581var comp = CreateCompilation("", new[] { ilRef }, TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
Symbols\Metadata\PE\NoPia.cs (6)
1382var compilationPIA = CreateCompilation(sourcePIA, options: TestOptions.DebugDll); 1388var compilationBase = CreateCompilation(sourceBase, new[] { referencePIASource }, TestOptions.DebugDll); 1403var compilationDerived1 = CreateCompilation(sourceDerived, new[] { referencePIASource, referenceBaseSource }, TestOptions.DebugDll); 1406var compilationDerived2 = CreateCompilation(sourceDerived, new[] { referencePIAImage, referenceBaseSource }, TestOptions.DebugDll); 1409var compilationDerived3 = CreateCompilation(sourceDerived, new[] { referencePIASource, referenceBaseImage }, TestOptions.DebugDll); 1412var compilationDerived4 = CreateCompilation(sourceDerived, new[] { referencePIAImage, referenceBaseImage }, TestOptions.DebugDll);
Symbols\ModuleInitializers\IgnoredTests.cs (11)
36options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 62options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 88options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 113options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 138options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 163options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 188options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 213options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 234options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 255options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 288options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
Symbols\ModuleInitializers\ModuleInitializersTests.cs (2)
219options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 778options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
Symbols\PartialPropertiesTests.cs (6)
1170var comp1 = CreateCompilation([], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), references: [reference]); 1217var comp1 = CreateCompilation([], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), references: [reference]); 1651var comp = CreateCompilation(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable)); 1666comp = CreateCompilation(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Annotations)); 2667options: TestOptions.DebugDll 2803options: TestOptions.DebugDll
Symbols\RelaxedShiftOperatorTests.cs (7)
51var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll, 92var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 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\Retargeting\NoPia.cs (1)
2641var piaCompilation = CreateEmptyCompilation(pia, references: [Net40.References.mscorlib], options: TestOptions.DebugDll, assemblyName: "Pia");
Symbols\Retargeting\RetargetCustomAttributes.cs (7)
338var comp1 = CreateCompilation(source1, options: TestOptions.DebugDll); 346var comp2 = CreateCompilation(source2, references: new[] { comp1.ToMetadataReference() }, options: TestOptions.DebugDll); 347var comp3 = CreateCompilation("", references: new[] { comp2.ToMetadataReference() }, options: TestOptions.DebugDll); 368var comp1_1 = CreateCompilation(source1_1, options: TestOptions.DebugDll, assemblyName: "Lib65048"); 376var comp2 = CreateCompilation(source2, references: new[] { comp1_1.ToMetadataReference() }, options: TestOptions.DebugDll); 387var comp1_2 = CreateCompilation(source1_2, options: TestOptions.DebugDll, assemblyName: "Lib65048"); 389var comp3 = CreateCompilation("", references: new[] { comp2.ToMetadataReference(), comp1_2.ToMetadataReference() }, options: TestOptions.DebugDll);
Symbols\Source\EventTests.cs (2)
2513options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2651options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
Symbols\Source\ExpressionBodiedPropertyTests.cs (1)
463}", options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
Symbols\Source\FileModifierTests.cs (1)
834var options = TestOptions.DebugDll.WithDeterministic(true);
Symbols\Source\PropertyTests.cs (4)
2606options: TestOptions.DebugDll, 2698options: TestOptions.DebugDll, 3052options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 3085options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
Symbols\StaticAbstractMembersInInterfacesTests.cs (593)
68var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 309var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 420var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 507var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 588var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 708var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 814var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 899var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 954var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 994var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 1031var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 1087var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 1108var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 1125var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 1162var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 1199var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 1240var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 1301var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 1352var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 1407var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 1465var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 1520var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 1592var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 1650var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 1977var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 2088var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 2157var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 2238var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 2340var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 2456var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 2791var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 2904var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 2974var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 3057var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 3160var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 3274var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 3512var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 3617var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 3704var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 3782var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 3899var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 3995var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 4040compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 4085compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 4187var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 4250compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 4313compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 4433var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 4478compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 4523compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 4619var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 4682compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 4745compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 4847var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 4889var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 4922var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 4955var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 4991var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 5029var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 5049var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 5091var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 5133var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 5166var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 5208var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 5250var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 5280var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 5316var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 5352var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 5367var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 5393var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 5408var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 5470var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 5538var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 5577var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 5621var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 5682var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 5729var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 5759var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 5808var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 5852var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 5891var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 5933var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 5960var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 6005var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 6050var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 6074var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 6098var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 6144var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 6189var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 6210var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 6242var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 6317var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 6366compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 6397var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 6449var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 6467compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 6505var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 6580var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 6596compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 6623var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 6698var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 6732compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 6764var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 6839var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 6861compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 6893var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 6968var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 6990compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 7022var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 7050var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 7080var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 7110var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 7142var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 7221var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 7315var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 7420var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 7526var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 7620var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 7719var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 7836var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 7956var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 8053var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 8150var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 8231var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 8320var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 8372var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 8484var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 8488var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 8499var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 8532var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 8569var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 8573var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 8584var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 8654var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 8749var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 9094var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 9098var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 9109var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 9162var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 9166var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 9191var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 9254var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 9296var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 9379var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 9383var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 9394var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 9432var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 9436var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 9447var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 9507var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 9587var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 9784var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 9788var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 9799var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 9846var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 9850var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 9861var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 9930var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 10040var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 10134var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 10195var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 10315var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 10438var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 10721var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 10893var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 11106var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 11271var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 11608var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 11901var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 12085var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 12089var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 12100var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 12148var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 12152var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 12170var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 12235var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 12239var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 12250var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 12285var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 12289var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 12300var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 12342var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 12346var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 12382var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 12455var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 12459var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 12477var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 12542var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 12546var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 12582var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 12642var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 12646var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 12657var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 12721var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 12812var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 12906var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 13004var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 13045var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 13130var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 13221var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 13340var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 13344var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 13355var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 13392var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 13396var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 13407var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 13444var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 13448var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 13462var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 13499var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 13503var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 13514var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 13551var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 13555var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 13566var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 13603var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 13607var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 13618var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 13682var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 13779var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 13874var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 13921var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 14050var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 14054var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 14065var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 14099var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 14103var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 14114var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 14148var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 14152var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 14163var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 14200var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 14204var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 14215var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 14305var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 14333var compilation2 = CreateCompilationWithIL(source2, ilSource, options: TestOptions.DebugDll, 14400var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 14423var compilation2 = CreateCompilationWithIL(source2, ilSource, options: TestOptions.DebugDll, 14499var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 14561var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 14652var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 14656var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 14667var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 14701var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 14705var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 14716var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 14917var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 14979var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 15058var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 15062var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 15073var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 15107var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 15111var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 15122var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 15186var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll.WithAllowUnsafe(true), 15251var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll.WithAllowUnsafe(true), 15326var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 15330var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll.WithAllowUnsafe(true), 15341var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll.WithAllowUnsafe(true), 15375var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 15379var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll.WithAllowUnsafe(true), 15390var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll.WithAllowUnsafe(true), 15452var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 15532var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 15594var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 15670var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 15747var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 15808var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 15812var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 15826var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 15864var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 15868var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 15879var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 15911var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 15915var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 15926var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 15963var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 16025var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 16081var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 16098var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 16197var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 16224compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 16258var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 16271compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 16289var compilation2 = CreateCompilationWithIL(source2, ilSource, options: TestOptions.DebugDll, 16335var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 16376var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 16461var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 16562var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 16579var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 16650var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 16665var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 16740var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 16759var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 16822var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 16841var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 16904var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 16923var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 16974var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 16994var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 17049var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 17068var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 17136var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 17155var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 17226var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 17332var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 17510var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 17653var compilation1 = CreateCompilation([source1, CompilerFeatureRequiredAttribute], options: TestOptions.DebugDll, 17796var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 17909var compilation1 = CreateCompilation([source1, CompilerFeatureRequiredAttribute], options: TestOptions.DebugDll, 18045var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 18188var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 18297var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 18444var compilation1 = CreateCompilation([source1, CompilerFeatureRequiredAttribute], options: TestOptions.DebugDll, 18591var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 18744var compilation1 = CreateCompilation([source1, CompilerFeatureRequiredAttribute], options: TestOptions.DebugDll, 18897var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 19083var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 19231var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 19235var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 19273var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 19359var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 19363var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 19417var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 19519var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 19523var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 19534var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 19571var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 19575var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 19586var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 19623var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 19627var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 19638var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 19678var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 19682var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 19693var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 19753var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 19834var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 19926var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 20014var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 20097var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 20189var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 20278var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 20365var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 20382var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 20437var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 20456var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 20522var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 20539var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 20602var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 20619var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 20730var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 20763compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 20865var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 20898compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 20943var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 20957compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 20975var compilation2 = CreateCompilationWithIL(source2, ilSource, options: TestOptions.DebugDll, 21023var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 21037compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 21055var compilation2 = CreateCompilationWithIL(source2, ilSource, options: TestOptions.DebugDll, 21113var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 21178var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 21248var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 21365var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 21476var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 21611var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 21730var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 21747var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 21790var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 21807var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 21893var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 21910var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 22013var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 22028var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 22134var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 22153var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 22243var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 22262var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 22345var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 22364var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 22502var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll.WithAllowUnsafe(true), 22652var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll.WithAllowUnsafe(true), 22722var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 22767var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 22838var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 22918var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 22980var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 23056var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 23137var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 23208var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 23212var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 23232var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 23270var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 23274var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 23291var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 23326var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 23330var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 23341var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 23381var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 23476var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 23567var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 23655var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 23672var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 23834var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 23875compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 23935var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 23952compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 23973var compilation2 = CreateCompilationWithIL(source2, ilSource, options: TestOptions.DebugDll, 24003var compilation3 = CreateCompilationWithIL(source3, ilSource, options: TestOptions.DebugDll, 24065var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 24094var compilation2 = CreateCompilationWithIL(source2, ilSource, options: TestOptions.DebugDll, 24155var compilation3 = CreateCompilationWithIL(source3, ilSource, options: TestOptions.DebugDll, 24235var compilation4 = CreateCompilationWithIL(source4, ilSource, options: TestOptions.DebugDll, 24265var compilation5 = CreateCompilationWithIL(source5, ilSource, options: TestOptions.DebugDll, 24325var compilation6 = CreateCompilationWithIL(source6, ilSource, options: TestOptions.DebugDll, 24355var compilation7 = CreateCompilationWithIL(source7, ilSource, options: TestOptions.DebugDll, 24417var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 24446var compilation2 = CreateCompilationWithIL(source2, ilSource, options: TestOptions.DebugDll, 24507var compilation3 = CreateCompilationWithIL(source3, ilSource, options: TestOptions.DebugDll, 24587var compilation4 = CreateCompilationWithIL(source4, ilSource, options: TestOptions.DebugDll, 24617var compilation5 = CreateCompilationWithIL(source5, ilSource, options: TestOptions.DebugDll, 24677var compilation6 = CreateCompilationWithIL(source6, ilSource, options: TestOptions.DebugDll, 24707var compilation7 = CreateCompilationWithIL(source7, ilSource, options: TestOptions.DebugDll, 24798var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 24846var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 25035var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 25216var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 25233var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 25331var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 25346var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 25456var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 25475var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 25526var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 25546var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 25617var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 25697var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 25759var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 25835var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 25917var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 25986var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 25990var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 26013var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 26054var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 26058var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 26075var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 26107var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 26111var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 26122var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 26159var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 26254var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 26342var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 26359var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 26526var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 26567compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 26628var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 26645compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 26666var compilation2 = CreateCompilationWithIL(source2, ilSource, options: TestOptions.DebugDll, 26692var compilation3 = CreateCompilationWithIL(source3, ilSource, options: TestOptions.DebugDll, 26747var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 26776var compilation2 = CreateCompilationWithIL(source2, ilSource, options: TestOptions.DebugDll, 26805var compilation3 = CreateCompilationWithIL(source3, ilSource, options: TestOptions.DebugDll, 26878var compilation4 = CreateCompilationWithIL(source4, ilSource, options: TestOptions.DebugDll, 26904var compilation5 = CreateCompilationWithIL(source5, ilSource, options: TestOptions.DebugDll, 26931var compilation6 = CreateCompilationWithIL(source6, ilSource, options: TestOptions.DebugDll, 26961var compilation7 = CreateCompilationWithIL(source7, ilSource, options: TestOptions.DebugDll, 27021var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 27050var compilation2 = CreateCompilationWithIL(source2, ilSource, options: TestOptions.DebugDll, 27079var compilation3 = CreateCompilationWithIL(source3, ilSource, options: TestOptions.DebugDll, 27152var compilation4 = CreateCompilationWithIL(source4, ilSource, options: TestOptions.DebugDll, 27178var compilation5 = CreateCompilationWithIL(source5, ilSource, options: TestOptions.DebugDll, 27205var compilation6 = CreateCompilationWithIL(source6, ilSource, options: TestOptions.DebugDll, 27235var compilation7 = CreateCompilationWithIL(source7, ilSource, options: TestOptions.DebugDll, 27326var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 27374var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 27575var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 27881var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 27898var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 27996var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 28011var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 28122var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 28141var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 28192var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 28212var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 28351var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 28494var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 28603var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 28760var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 28878var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 28882var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 28916var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 28979var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 28983var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 28994var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 29031var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 29035var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 29046var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 29110var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 29227var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 29329var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 29346var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 29469var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 29502compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 29548var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 29562compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 29580var compilation2 = CreateCompilationWithIL(source2, ilSource, options: TestOptions.DebugDll, 29642var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 29707var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 29823var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 29954var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 29971var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 30069var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 30088var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 30175var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 30194var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 30314var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll.WithAllowUnsafe(true), 30381var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 30446var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 30514var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 30600var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 30785var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 30976var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 30980var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 30991var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 31034var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 31038var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 31049var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 31091var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 31095var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 31120var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 31177var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 31181var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 31192var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 31243var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 31447var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 31498var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 31542var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 31596var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 31656var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 31704var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 31747var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 31801var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 31850var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32075var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32159var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll, 32171var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32231var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll, 32244var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32294var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 32329var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 32363var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 32497var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 32545var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 32596var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 32640var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32674var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32728var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32769var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32804var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32845var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32887var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32933var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32975var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33011var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33053var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33075var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33115var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33153var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33185var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33223var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33255var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33293var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33325var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33363var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33395var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33433var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33465var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33503var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33525var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33556var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 33592var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33623var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 33659var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33690var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 33726var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33757var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 33868""", options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview, targetFramework: _supportingFramework).VerifyDiagnostics( 34115var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugDll, 34120var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, references: new[] { compilation1.ToMetadataReference() }, 34125var compilation3 = CreateCompilation(source2, options: TestOptions.DebugDll, references: new[] { compilation1.EmitToImageReference() }, 34172var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugDll, 34177var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, references: new[] { compilation1.ToMetadataReference() }, 34182var compilation3 = CreateCompilation(source2, options: TestOptions.DebugDll, references: new[] { compilation1.EmitToImageReference() },
Symbols\SymbolErrorTests.cs (19)
18515var comp = CreateCompilation(source, options: TestOptions.DebugDll); 18543var comp = CreateCompilation(source, options: TestOptions.DebugDll); 18568var comp = CreateCompilation(source, options: TestOptions.DebugDll); 18593var comp = CreateCompilation(source, options: TestOptions.DebugDll); 18619var comp = CreateCompilation(source, options: TestOptions.DebugDll); 18639var comp = CreateCompilation(source, options: TestOptions.DebugDll); 18665var comp = CreateCompilation(source, options: TestOptions.DebugDll); 18688var comp = CreateCompilation(source, options: TestOptions.DebugDll); 20969options: TestOptions.DebugDll, 21034options: TestOptions.DebugDll, 21400comp = CreateCompilation(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.WithWarningLevel(6)); 21403comp = CreateCompilation(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.WithWarningLevel(7)); 21461comp = CreateCompilation(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.WithWarningLevel(6)); 21464comp = CreateCompilation(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.WithWarningLevel(7)); 21506comp = CreateCompilation(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.WithWarningLevel(6)); 21525comp = CreateCompilation(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.WithWarningLevel(7)); 21548var comp = CreateCompilation(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.WithWarningLevel(7)); 21566comp = CreateCompilation(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.WithWarningLevel(7)); 21593comp = CreateCompilation(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.WithWarningLevel(7));
Symbols\SymbolExtensionTests.cs (4)
99var compilation = CreateCompilation(source, options: TestOptions.DebugDll); 117var compilation = CreateCompilation(source, options: TestOptions.DebugDll); 135var compilation = CreateCompilation(source, options: TestOptions.DebugDll); 154var compilation = CreateCompilation(source, options: TestOptions.DebugDll);
Symbols\UnsignedRightShiftTests.cs (58)
389var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 393compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 397compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 892var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 896compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 900compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 922var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 948var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 970var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 1007var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 1011compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 1015compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 1048var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 1052compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 1056compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 1445var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 1449compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 1453compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 1853var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 1857compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 1861compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 1883var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 1909var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 1931var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 1990var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll, 2129var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 2179var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 2242var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll, 2278var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 2280var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, references: new[] { compilation0.ToMetadataReference() }, 2288var compilation3 = CreateCompilation(source1, options: TestOptions.DebugDll, references: new[] { compilation0.EmitToImageReference() }, 2318var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 2404var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 2443var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 2538var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 2635var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 2674var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 3422var compilation1 = CreateCompilation(source0 + source1, options: TestOptions.DebugDll, 3430compilation1 = CreateCompilation(source0 + source1, options: TestOptions.DebugDll, 3434var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll, 3439var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, references: new[] { reference }, 3447compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, references: new[] { reference }, 3474var compilation1 = CreateCompilation(source0 + source1, options: TestOptions.DebugDll, 3482compilation1 = CreateCompilation(source0 + source1, options: TestOptions.DebugDll, 3486var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll, 3491var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, references: new[] { reference }, 3499compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, references: new[] { reference }, 3526var compilation1 = CreateCompilation(source0 + source1, options: TestOptions.DebugDll, 3534compilation1 = CreateCompilation(source0 + source1, options: TestOptions.DebugDll, 3538var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll, 3543var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, references: new[] { reference }, 3551compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, references: new[] { reference }, 3578var compilation1 = CreateCompilation(source0 + source1, options: TestOptions.DebugDll, 3586compilation1 = CreateCompilation(source0 + source1, options: TestOptions.DebugDll, 3590var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll, 3595var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, references: new[] { reference }, 3603compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, references: new[] { reference }, 3623var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll,
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (12)
Diagnostics\DiagnosticTest.cs (1)
2148var options = TestOptions.DebugDll.WithGeneralDiagnosticOption(ReportDiagnostic.Suppress);
Diagnostics\LineSpanDirectiveTests.cs (1)
634var verifier = CompileAndVerify(source, options: TestOptions.DebugDll);
Parsing\ReadOnlyStructs.cs (6)
40var comp = CreateCompilationWithMscorlib461(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.Latest), options: TestOptions.DebugDll); 77var comp = CreateCompilationWithMscorlib461(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7), options: TestOptions.DebugDll); 105var comp = CreateCompilationWithMscorlib461(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.Latest), options: TestOptions.DebugDll); 149var comp = CreateCompilationWithMscorlib461(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.Latest), options: TestOptions.DebugDll.WithAllowUnsafe(true)); 182var comp = CreateCompilationWithMscorlib461(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.Latest), options: TestOptions.DebugDll); 216var comp = CreateCompilationWithMscorlib461(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.Latest), options: TestOptions.DebugDll);
Parsing\RefStructs.cs (3)
38var comp = CreateCompilationWithMscorlib461(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.Latest), options: TestOptions.DebugDll); 54var comp = CreateCompilationWithMscorlib461(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7), options: TestOptions.DebugDll); 81var comp = CreateCompilationWithMscorlib461(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.Latest), options: TestOptions.DebugDll);
Syntax\SyntaxTreeTests.cs (1)
96var compilation = CSharpCompilation.Create("test", new[] { tree }, TargetFrameworkUtil.GetReferences(TargetFramework.Standard), TestOptions.DebugDll);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (6)
CSharpTestBase.cs (2)
3174new object[] { WithNullableEnable(TestOptions.DebugDll) }, 3175new object[] { WithNullableDisable(TestOptions.DebugDll) }
MockCSharpCompiler.cs (1)
68ResolveAnalyzersFromArguments(diagnostics, this.MessageProvider, TestOptions.DebugDll, skipAnalyzers, out analyzers, out generators);
TestOptions.cs (3)
83public static readonly CSharpCompilationOptions DebugDllThrowing = DebugDll.WithMetadataReferenceResolver(new ThrowingMetadataReferenceResolver()); 95public static readonly CSharpCompilationOptions UnsafeDebugDll = DebugDll.WithAllowUnsafe(true); 101public static readonly CSharpCompilationOptions SigningDebugDll = DebugDll.WithStrongNameProvider(SigningTestHelpers.DefaultDesktopStrongNameProvider);
Microsoft.CodeAnalysis.CSharp.WinRT.UnitTests (1)
Metadata\WinMdEventTests.cs (1)
3556var comp = CreateEmptyCompilation("", WinRtRefs.Concat(new[] { ilRef }), TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
Emit\CompilationOutputFilesTests.cs (1)
31var compilation = CSharpTestBase.CreateCompilationWithMscorlib40AndSystemCore(source, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, assemblyName: "lib");
Emit\CompilationOutputsTests.cs (1)
54var compilation = CSharpTestBase.CreateCompilationWithMscorlib40AndSystemCore(source, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, assemblyName: "lib");
Microsoft.CodeAnalysis.Features.Test.Utilities (2)
EditAndContinue\EditAndContinueWorkspaceTestBase.cs (1)
380compilation = CSharpCompilation.Create(assemblyName, trees, references, TestOptions.DebugDll);
EditAndContinue\Extensions.cs (1)
155LanguageNames.CSharp => TestOptions.DebugDll,
Microsoft.CodeAnalysis.Features.UnitTests (7)
EditAndContinue\EditAndContinueMethodDebugInfoReaderTests.cs (1)
66var compilation = CSharpTestBase.CreateCompilationWithMscorlib40AndSystemCore(tree, options: TestOptions.DebugDll);
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (6)
73var compilation = CSharpTestBase.CreateCompilation([sourceTreeA1, sourceTreeB1, sourceTreeC1], options: TestOptions.DebugDll, targetFramework: DefaultTargetFramework, assemblyName: "P"); 640useStrongName ? TestOptions.SigningDebugDll.WithCryptoKeyFile(SigningTestHelpers.KeyPairFile) : TestOptions.DebugDll); 3338var compilationV1 = CSharpTestBase.CreateCompilation(sourceV1, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: DefaultTargetFramework, assemblyName: "lib"); 4120var compilationA = CSharpTestBase.CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: DefaultTargetFramework, assemblyName: "A"); 4121var compilationB = CSharpTestBase.CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: DefaultTargetFramework, assemblyName: "B"); 4449var compilationV1 = CSharpTestBase.CreateCompilationWithMscorlib40(sourceV1, options: TestOptions.DebugDll, assemblyName: "lib");
Microsoft.CodeAnalysis.UnitTests (1)
AnalyzerAssemblyLoaderTests.cs (1)
1289TestOptions.DebugDll.WithPublicSign(true).WithCryptoPublicKey(SigningTestHelpers.PublicKey));
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (2)
ProjectSystemShim\VisualStudioCompilationOutputFilesTests.cs (2)
36var compilation = CSharpTestBase.CreateCompilationWithMscorlib40AndSystemCore(source, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, assemblyName: "lib"); 85var compilation = CSharpTestBase.CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll, assemblyName: "lib");