2595 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)
14238options: TestOptions.DebugDll.WithCryptoKeyFile(Path.GetFileName(snk.Path)).WithStrongNameProvider(virtualSnProvider),
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (215)
CodeGen\CodeGenAsyncIteratorTests.cs (4)
1093var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugDll); 1140var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugDll); 1167var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugDll); 10634options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
CodeGen\CodeGenAsyncLocalsTests.cs (2)
249CompileAndVerify(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), symbolValidator: module => 306var 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 (5)
596var v = CompileAndVerify(source, options: TestOptions.DebugDll); 912CompileAndVerify(source, options: TestOptions.DebugDll); 960CompileAndVerify(source, verify: Verification.Passes, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), symbolValidator: module => 1144CompileAndVerify(source, options: TestOptions.DebugDll); 3910CreateCompilation(source, options: TestOptions.DebugDll).VerifyDiagnostics().VerifyEmitDiagnostics(expectedDiagnostics);
CodeGen\CodeGenAsyncTests.cs (7)
4236var v = CompileAndVerify(source, null, options: TestOptions.DebugDll); 5042var compilation = CreateCompilation(source, options: TestOptions.DebugDll); 5088var compilation = CreateCompilation(source, options: TestOptions.DebugDll); 5122var compilation = CreateCompilation(source, options: TestOptions.DebugDll); 5753var c = CreateCompilation(source, options: TestOptions.DebugDll); 5907var comp = CreateCompilation(source, options: TestOptions.DebugDll); 6342options: 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)
1659CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M()", @" 1699CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M", @" 1737CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M", @" 1775CompileAndVerify(text, options: TestOptions.DebugDll, verify: Verification.Fails).VerifyIL("Program.M", @" 1815CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M<T>", @" 1853CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M<T>", @" 1893CompileAndVerify(text, options: TestOptions.DebugDll, verify: Verification.Fails).VerifyIL("Program.M<T>", @" 1933CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M<T>", @" 1972CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M", @" 2009CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M", @" 2047CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M<T>", @" 2086CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M(ref int)", @" 2112CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M(out int)", @" 2141CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M(ref int)", @" 2172CompileAndVerify(text, options: TestOptions.DebugDll, verify: Verification.Fails).VerifyIL("Program.M()", @" 2205var comp = CompileAndVerify(text, options: TestOptions.DebugDll, verify: Verification.Fails); 2276var comp = CompileAndVerify(text, options: TestOptions.DebugDll, verify: Verification.Fails); 2366var comp = CompileAndVerify(text, options: TestOptions.DebugDll); 2428var comp = CompileAndVerify(text, options: TestOptions.DebugDll, verify: Verification.Fails); 2495var comp = CompileAndVerify(text, options: TestOptions.DebugDll, verify: Verification.Fails); 2577var comp = CompileAndVerify(text, options: TestOptions.DebugDll); 2638CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M()", @" 2672var comp = CompileAndVerify(text, options: TestOptions.DebugDll); 2713CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M()", @" 2748var comp = CompileAndVerify(text, options: TestOptions.DebugDll); 2799var comp = CompileAndVerify(text, options: TestOptions.DebugDll); 2843CompileAndVerify(text, options: TestOptions.DebugDll, verify: Verification.Fails).VerifyIL("Program.M()", @" 2880var comp = CompileAndVerify(text, options: TestOptions.DebugDll, verify: Verification.Fails); 2951var comp = CompileAndVerify(text, options: TestOptions.DebugDll, verify: Verification.Fails); 3048var comp = CompileAndVerify(text, options: TestOptions.DebugDll, verify: Verification.Fails); 3118CompileAndVerify(text, options: TestOptions.DebugDll, verify: Verification.Fails).VerifyIL("Program.M(ref int, ref int, object)", @" 3158var comp = CompileAndVerify(text, options: TestOptions.DebugDll, verify: Verification.Fails); 3235var comp = CompileAndVerify(text, options: TestOptions.DebugDll, verify: Verification.Fails); 3341var comp = CompileAndVerify(text, options: TestOptions.DebugDll, verify: Verification.Fails); 3421CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M(D)", @" 3450CompileAndVerify(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( 4288CompileAndVerify(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)
1128var options = TestOptions.DebugDll.WithSourceReferenceResolver(resolver);
CodeGen\ITuplePatternTests.cs (1)
229var verifier = CompileAndVerify(CreatePatternCompilation(source, TestOptions.DebugDll));
CodeGen\PatternTests.cs (2)
333var compilation = CreateCompilation(source, options: TestOptions.DebugDll); 6550var 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 (2)
5413var missing = CreateCompilationWithMscorlib461(missing_cs, options: TestOptions.DebugDll, assemblyName: "missing"); 5424var lib = CreateCompilationWithMscorlib461(lib_cs, references: new[] { missing.EmitToImageReference() }, options: TestOptions.DebugDll);
Emit\CompilationEmitTests.cs (48)
897options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 1051var comp = CreateCompilation(source, options: TestOptions.DebugDll, 1205CSharpCompilation comp1 = CreateCompilation(Parse(source1), options: TestOptions.DebugDll.WithDeterministic(true), assemblyName: name); 1209Compilation comp2 = CreateCompilation(Parse(source2), options: TestOptions.DebugDll.WithDeterministic(true), assemblyName: name); 1310options: TestOptions.DebugDll.WithDeterministic(true).WithOutputKind(OutputKind.NetModule)); 1888options: TestOptions.DebugDll.WithDeterministic(true), assemblyName: name); 1893options: TestOptions.DebugDll.WithAllowUnsafe(true)); 1904var options = TestOptions.DebugDll.WithDeterministic(false); 2096options: TestOptions.DebugDll.WithDeterministic(true), assemblyName: name); 2125options: TestOptions.DebugDll.WithDeterministic(true)); 2133options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2164options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2192options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2221options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2263options: TestOptions.DebugDll.WithDeterministic(true)); 2270options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2280options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2292options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2330options: TestOptions.DebugDll.WithDeterministic(true)); 2337options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2347options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2359options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2397options: TestOptions.DebugDll.WithDeterministic(true)); 2404options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2414options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2426options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2457options: TestOptions.DebugDll.WithDeterministic(true)); 2465options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2502options: TestOptions.DebugDll.WithDeterministic(true)); 2510options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2524options: TestOptions.DebugDll.WithDeterministic(true)); 2538options: TestOptions.DebugDll.WithDeterministic(true)); 2552options: TestOptions.DebugDll.WithDeterministic(true)); 2567options: TestOptions.DebugDll.WithDeterministic(true)); 2580options: TestOptions.DebugDll.WithDeterministic(true).WithOutputKind(OutputKind.NetModule)); 2594options: TestOptions.DebugDll.WithDeterministic(true).WithOutputKind(OutputKind.NetModule)); 2607options: TestOptions.DebugDll); 2633options: TestOptions.DebugDll); 2653options: TestOptions.DebugDll.WithDeterministic(true)); 3523options: TestOptions.DebugDll.WithPlatform(Platform.X86)); 3557options: TestOptions.DebugDll.WithPlatform(Platform.X64)); 3607options: TestOptions.DebugDll.WithPlatform(Platform.Arm)); 5043var comp = CreateEmptyCompilation("", new[] { TestReferences.SymbolsTests.netModule.x64COFF }, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 5206var compilation = CreateCompilation(source, null, TestOptions.DebugDll); 5571var options = TestOptions.DebugDll.WithGeneralDiagnosticOption(ReportDiagnostic.Error); 5579var options = TestOptions.DebugDll.WithSpecificDiagnosticOptions("CS0169", ReportDiagnostic.Error); 5616var options = TestOptions.DebugDll.WithGeneralDiagnosticOption(ReportDiagnostic.Error); 5624var 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)
230options: TestOptions.DebugDll.WithOutputKind(OutputKind.NetModule)); 2714options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 3668options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 3710options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 3744options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
Emit\OptionalArgumentsTests.cs (1)
144var comp1 = CreateCompilation(source1, options: TestOptions.DebugDll);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (490)
Emit\EditAndContinue\AssemblyReferencesTests.cs (13)
202var lib0 = CreateCompilation(srcLib, assemblyName: "Lib", options: TestOptions.DebugDll); 205var lib1 = CreateCompilation(srcLib, assemblyName: "Lib", options: TestOptions.DebugDll); 208var lib2 = CreateCompilation(srcLib, assemblyName: "Lib", options: TestOptions.DebugDll); 211var compilation0 = CreateEmptyCompilation(src0, new[] { MscorlibRef, lib0.ToMetadataReference() }, assemblyName: "C", options: TestOptions.DebugDll); 301var lib0 = CreateCompilation(srcLib, assemblyName: "Lib", options: TestOptions.DebugDll); 306var lib1 = CreateCompilation(srcLib, assemblyName: "Lib", options: TestOptions.DebugDll); 310var lib2 = CreateCompilation(srcLib, assemblyName: "Lib", options: TestOptions.DebugDll); 315var compilation0 = CreateEmptyCompilation(src0, new[] { MscorlibRef, lib0.ToMetadataReference() }, assemblyName: "C", options: TestOptions.DebugDll); 386var lib0 = CreateCompilation(srcLib, assemblyName: "Lib", options: TestOptions.DebugDll); 390var lib1 = CreateCompilation(srcLib, assemblyName: "Lib", options: TestOptions.DebugDll); 394var lib2 = CreateCompilation(srcLib, assemblyName: "Lib", options: TestOptions.DebugDll); 398var compilation0 = CreateEmptyCompilation(src0, new[] { MscorlibRef, lib0.EmitToImageReference() }, assemblyName: "C", options: TestOptions.DebugDll); 482var 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)
33internal static readonly CSharpCompilationOptions ComSafeDebugDll = TestOptions.DebugDll.WithConcurrentBuild(false);
Emit\EditAndContinue\EditAndContinueTests.cs (73)
259var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable)); 308var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 561var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 856using var _ = new EditAndContinueTest(options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20) 1005using var _ = new EditAndContinueTest(options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20) 2633using var _ = new EditAndContinueTest(options: TestOptions.DebugDll) 2789using var _ = new EditAndContinueTest(options: TestOptions.DebugDll) 2838using var _ = new EditAndContinueTest(options: TestOptions.DebugDll) 3106var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20); 3434var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 3829var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 3891var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 3956var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 5421var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 5986var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20); 6109var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20); 6442var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20); 6527var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20); 6608var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 6718var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 6773var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 6945var compilation0 = CreateCompilation(source, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 7015var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 7092var compilation0 = CreateCompilation(source, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 7174var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50); 7353var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 7513var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 7577var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 7634var compilation0 = CreateCompilation(Parse(source0, "a.cs", parseOptions), options: TestOptions.DebugDll); 7741var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 7799var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 7840var compilation0 = CreateCompilation(parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, source: 8605var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 8691var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 8822var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 9035var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 9124var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 9172var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll); 9367var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 9702var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 9812var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20); 10097var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 10214var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 10879var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll); 10949var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll); 11022var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll); 11089var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll); 11213var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20); 11270var compilation0 = CreateCompilation(source, new[] { CSharpRef }, options: TestOptions.DebugDll); 11336var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll, references: new[] { CSharpRef }); 11722var compilationPIA = CreateCompilation(sourcePIA, options: TestOptions.DebugDll); 11775var compilationPIA = CreateCompilation(sourcePIA, options: TestOptions.DebugDll); 11861var compilationPIA = CreateCompilation(sourcePIA, options: TestOptions.DebugDll); 11863var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular10, options: TestOptions.DebugDll, references: new MetadataReference[] { referencePIA, CSharpRef }); 11949var compilationPIA = CreateCompilation(sourcePIA, options: TestOptions.DebugDll); 11951var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll, references: new MetadataReference[] { referencePIA, CSharpRef }); 12093var compilation0 = CreateCompilation(source, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20); 12200var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20); 12272var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 12357var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 12405var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 12446var compilation0 = CreateCompilation(new[] { sourceA0, sourceB0 }, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll); 12492var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20); 12557var compilationA0 = CreateCompilation(sourceA0, options: TestOptions.DebugDll, assemblyName: "LibA"); 12559var compilationB0 = CreateCompilation(sourceB0, new[] { compilationA0.ToMetadataReference() }, options: TestOptions.DebugDll, assemblyName: "LibB"); 12560var compilationB1 = CreateCompilation(sourceB1, new[] { compilationA1.ToMetadataReference() }, options: TestOptions.DebugDll, assemblyName: "LibB"); 12622var compilationA = CreateCompilation(sourceA, options: TestOptions.DebugDll, assemblyName: "AssemblyA"); 12625var compilationB0 = CreateCompilation(sourceB0, new[] { aRef }, options: TestOptions.DebugDll, assemblyName: "AssemblyB"); 12742var compilation0 = CreateCompilation(String.Format(source, 1), options: TestOptions.DebugDll); 12818var compilation0 = CreateCompilation(source0.Tree, options: TestOptions.DebugDll, assemblyName: "PdbReadingErrorsAssembly"); 15672using var _ = new EditAndContinueTest(options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20) 15756using var _ = new EditAndContinueTest(options: TestOptions.DebugDll, targetFramework: TargetFramework.NetLatest, verification: Verification.Skipped) 15897using var _ = new EditAndContinueTest(options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20, verification: Verification.Skipped)
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)
30var compilation = CreateCompilation(source, options: TestOptions.DebugDll); 77var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll); 140var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll); 166var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll); 190var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll, references: new[] { metadataRef }); 231var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 276var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll).WithSource(source1); 304var lib0 = CreateCompilation(libSource, options: TestOptions.DebugDll, assemblyName: "Lib"); 305var lib1 = CreateCompilation(libSource, options: TestOptions.DebugDll, assemblyName: "Lib"); 307var compilation0 = CreateCompilation(source, new[] { lib0.ToMetadataReference() }, options: TestOptions.DebugDll); 341var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 372var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 404var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 439var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 490var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll); 545var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 561var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll); 600var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 624var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 648var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 672var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 696var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 720var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 744var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 768var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 792var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 816var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 854var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 902var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 943var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll); 948var compilation1 = CreateCompilation(source, options: TestOptions.DebugDll); 983var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 1008var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 1033var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 1056var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 1100var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 1115var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll); 1162var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll); 1319var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 1341var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 1364var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 1385var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 1411var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 1469var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll); 1715var compilation0 = CreateCompilation(source, options: TestOptions.DebugDll); 1757var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 1809var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 1856var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll); 1901var 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 (193)
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)
1081options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 1105options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 1128options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 1152options: 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)
3385var options = TestOptions.DebugDll.WithSyntaxTreeOptionsProvider( 3428var options = TestOptions.DebugDll.WithSyntaxTreeOptionsProvider( 3480var options = TestOptions.DebugDll.WithSyntaxTreeOptionsProvider( 3532var options = TestOptions.DebugDll.WithSyntaxTreeOptionsProvider( 3553options = TestOptions.DebugDll.WithSyntaxTreeOptionsProvider(
Diagnostics\DiagnosticSuppressorTests.cs (1)
670var options = TestOptions.DebugDll.WithConcurrentBuild(concurrent);
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 (7)
1204options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 1971options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 2042options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 2406CreateCompilation(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable)).VerifyDiagnostics(expectedDiagnostics); 2407CreateCompilation(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Annotations)).VerifyDiagnostics(expectedDiagnostics); 2436CreateCompilation(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable)).VerifyDiagnostics(expectedDiagnostics); 2437CreateCompilation(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Annotations)).VerifyDiagnostics(expectedDiagnostics);
Semantics\CollectionExpressionTests.cs (1)
30082var comp = CreateCompilation(new[] { sourceA, s_collectionExtensions }, targetFramework: TargetFramework.Net80, options: ExecutionConditionUtil.IsMonoOrCoreClr ? TestOptions.DebugExe : TestOptions.DebugDll);
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); 19882var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithAllowUnsafe(true)); 19923var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithAllowUnsafe(true));
Semantics\OutVarTests.cs (8)
5253var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular); 20179var comp = CreateCompilation(text, options: TestOptions.DebugDll, references: new[] { CSharpRef }); 32944var compilation = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular); 33328var comp = CreateCompilation(source, options: TestOptions.DebugDll); 33444var comp = CreateCompilation(source, options: TestOptions.DebugDll); 33476var comp = CreateCompilationWithMscorlib40(source, options: TestOptions.DebugDll, references: new[] { Net40.References.SystemCore }); 33502var comp = CreateCompilation(source, options: TestOptions.DebugDll); 35692var comp = CreateCompilation(source, options: TestOptions.DebugDll);
Semantics\ParamsCollectionTests.cs (10)
8677options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 8778options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 8875options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 8918options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 8962options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 13155var options = TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All); 13215var options = TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All); 13278var options = TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All); 13539var comp3 = CreateCompilation(source3, references: [comp1Ref], options: TestOptions.DebugDll); 13640var 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)
7644var 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); 4101var compilation = CreatePatternCompilation(source, options: TestOptions.DebugDll); 4328var compilation = CreatePatternCompilation(source, options: TestOptions.DebugDll); 4875var compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
Semantics\PatternMatchingTests4.cs (6)
3430var compilation = CreatePatternCompilation(source, options: TestOptions.DebugDll.WithAllowUnsafe(true)); 3465var compilation = CreatePatternCompilation(source, options: TestOptions.DebugDll.WithAllowUnsafe(true)); 3727var compilation = CreatePatternCompilation(source, options: TestOptions.DebugDll); 3747var compilation = CreatePatternCompilation(source, options: TestOptions.DebugDll); 3774var compilation = CreatePatternCompilation(source, options: TestOptions.DebugDll); 4155var comp = CreatePatternCompilation(source, TestOptions.DebugDll);
Semantics\PatternMatchingTests5.cs (2)
3033var comp = CreateCompilation(source, options: TestOptions.DebugDll.WithNullableContextOptions(nullableEnable ? NullableContextOptions.Enable : NullableContextOptions.Disable)); 3130var comp = CreateCompilation(source, options: TestOptions.DebugDll.WithNullableContextOptions(nullableEnable ? NullableContextOptions.Enable : NullableContextOptions.Disable));
Semantics\PatternSwitchTests.cs (2)
900var compilation = CreateCompilation(source, options: TestOptions.DebugDll); 1688var compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular8);
Semantics\PrimaryConstructorTests.cs (16)
6806var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 15711var comp = CreateCompilation(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 15733var comp = CreateCompilation(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 15754var comp = CreateCompilation(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 15775var comp = CreateCompilation(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 22433options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 22436var comp2 = CreateCompilation([source2], references: [comp1.ToMetadataReference()], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 22439var comp3 = CreateCompilation([source2], references: [comp1.EmitToImageReference()], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 22482options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 22485var comp2 = CreateCompilation([source2, IsExternalInitTypeDefinition], references: [comp1.ToMetadataReference()], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 22488var comp3 = CreateCompilation([source2, IsExternalInitTypeDefinition], references: [comp1.EmitToImageReference()], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 22523options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 22577options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 22579var comp2 = CreateCompilation([source2], references: [comp1.ToMetadataReference()], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 22636options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 22638var comp2 = CreateCompilation([source2], references: [comp1.ToMetadataReference()], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
Semantics\RecordTests.cs (8)
25215options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 25275options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 25352options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 25409options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 25484options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 25568options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 25638options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 30422var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (6)
EndToEndTests.cs (6)
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));
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (2)
Diagnostics\Suppression\RemoveUnnecessaryPragmaSuppressionsTests.cs (2)
52=> parameters.WithCompilationOptions((parameters.compilationOptions ?? TestOptions.DebugDll).WithReportSuppressedDiagnostics(true)); 1063var compilationOptions = TestOptions.DebugDll.WithSpecificDiagnosticOptions(
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (242)
Semantics\BindingAsyncTasklikeMoreTests.cs (3)
916var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugDll); 1005var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugDll); 1090var 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( 3916var verifier = CompileAndVerify(source, options: TestOptions.DebugDll.WithAllowUnsafe(true), verify: Verification.FailsPEVerify).VerifyDiagnostics(); 3944var verifier = CompileAndVerify(source, options: TestOptions.DebugDll.WithAllowUnsafe(true), verify: Verification.FailsPEVerify).VerifyDiagnostics(); 3971CreateCompilation(source, options: TestOptions.DebugDll.WithAllowUnsafe(true)).VerifyDiagnostics( 3995var verifier = CompileAndVerify(source, new[] { CSharpRef }, options: TestOptions.DebugDll).VerifyDiagnostics(); 4067var compilation = CreateCompilation(source, new[] { CSharpRef }, options: TestOptions.DebugDll); 4094var compilation = CreateCompilation(source, new[] { CSharpRef }, options: TestOptions.DebugDll);
Semantics\ForEachTests.cs (3)
3442var comp1 = CreateEmptyCompilation(source1, options: TestOptions.DebugDll, assemblyName: "MissingBaseType1"); 3470var comp2 = CreateEmptyCompilation(source2, new[] { comp1.ToMetadataReference() }, options: TestOptions.DebugDll); 3485var 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)
404var comp = CreateCompilation(source, options: TestOptions.DebugDll); 2787var comp = CreateCompilation(source, options: TestOptions.DebugDll); 3709var comp = CreateCompilation(text, options: TestOptions.DebugDll);
Semantics\InheritanceBindingTests.cs (2)
2996new[] { source1 }, TargetFrameworkUtil.GetReferences(TargetFramework.Standard, null).ToArray(), TestOptions.DebugDll.WithPublicSign(true)); 2999new[] { source1 }, TargetFrameworkUtil.GetReferences(TargetFramework.Standard, null).ToArray(), TestOptions.DebugDll.WithPublicSign(true));
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)
5463options: TestOptions.DebugDll.WithSourceReferenceResolver(
Semantics\IteratorTests.cs (2)
511var comp = CreateCompilation(text, options: TestOptions.DebugDll); 734options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
Semantics\LambdaTests.cs (2)
2812var comp = CreateCompilation(src, options: TestOptions.DebugDll); 8863options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
Semantics\LocalFunctionTests.cs (1)
6891CompileAndVerify(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)
5189var comp = CreateCompilation(source, options: TestOptions.DebugDll); 5239var comp = CreateCompilation(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "always"), options: TestOptions.DebugDll); 5285var comp = CreateCompilation(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "always"), options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Disable)); 5331var comp = CreateCompilation(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "always"), options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable)); 5393var comp = CreateCompilation(new[] { source0, source1, source2 }, options: TestOptions.DebugDll); 5406comp = CreateCompilation(new[] { source0, source1, source2 }, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Disable)); 5419comp = CreateCompilation(new[] { source0, source1, source2 }, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable)); 5556var comp = CreateCompilation(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable)); 5576var comp = CreateCompilation(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable)); 5598var comp = CreateCompilation(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable)); 5616var comp = CreateCompilation(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable)); 5638var comp = CreateCompilation(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable)); 5667var comp = CreateCompilation(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable)); 5701var comp = CreateCompilation(new[] { source1, source2 }, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable)); 5736var comp = CreateCompilation(new[] { source1, source2 }, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable)); 5814options: TestOptions.DebugDll 6364var comp2 = CreateCompilation(source, options: TestOptions.DebugDll.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Suppress)); 6381var comp = CreateCompilation(source, options: TestOptions.DebugDll); 6398var comp = CreateCompilation(source, options: TestOptions.DebugDll); 6418var comp = CreateCompilation(source, options: TestOptions.DebugDll); 6442var comp = CreateCompilation(source, options: TestOptions.DebugDll); 6465var comp = CreateCompilation(source, options: TestOptions.DebugDll); 6487var comp = CreateCompilation(source, options: TestOptions.DebugDll); 6509var comp = CreateCompilation(source, options: TestOptions.DebugDll); 6532var comp = CreateCompilation(source, options: TestOptions.DebugDll); 6554var comp = CreateCompilation(source, options: TestOptions.DebugDll); 6576var comp = CreateCompilation(source, options: TestOptions.DebugDll); 14435var comp = CreateCompilation(source, options: TestOptions.DebugDll); 14485var comp = CreateCompilation(source, options: TestOptions.DebugDll); 19669", options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7); 19805", options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7); 19873", options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7); 19918", options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7); 19989", options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7); 20039", options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7); 20119", options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7); 20187", options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7); 61530var piaCompilation = CreateCompilationWithMscorlib461(pia, options: WithNullableEnable(TestOptions.DebugDll)); 61588var piaCompilation = CreateCompilationWithMscorlib461(pia, options: WithNullableEnable(TestOptions.DebugDll)); 63840", options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7); 76905var piaCompilation = CreateCompilationWithMscorlib461(pia, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7); 77072" }, options: WithNullableEnable(TestOptions.DebugDll)); 77121" }, options: WithNullableEnable(TestOptions.DebugDll)); 80252var comp = CreateCompilation(src, options: WithNullableEnable(TestOptions.DebugDll)); 160343var piaCompilation = CreateCompilationWithMscorlib461(pia, options: WithNullableEnable(TestOptions.DebugDll)); 160401var piaCompilation = CreateCompilationWithMscorlib461(pia, options: WithNullableEnable(TestOptions.DebugDll)); 160450var piaCompilation = CreateCompilationWithMscorlib461(pia, options: WithNullableEnable(TestOptions.DebugDll));
Semantics\OperatorTests.cs (1)
11219var 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)); 4486var verifier = CompileAndVerify(source, options: TestOptions.DebugDll.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings)); 4527var comp = CreateCompilation(source, options: TestOptions.DebugDll.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings)); 4549var comp = CreateCompilation(source, options: TestOptions.DebugDll.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings)); 4591var verifier = CompileAndVerify(source, options: TestOptions.DebugDll.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings)); 4622verifier = CompileAndVerify(source, options: TestOptions.DebugDll);
Semantics\TargetTypedConditionalOperatorTests.cs (5)
333var comp = CreateCompilation(tree, options: TestOptions.DebugDll.WithAllowUnsafe(true)); 432CreateCompilation(source, parseOptions: TestOptions.Regular8, options: TestOptions.DebugDll.WithAllowUnsafe(true)) 434CreateCompilation(source, parseOptions: TestOptions.Regular.WithLanguageVersion(MessageID.IDS_FeatureTargetTypedConditional.RequiredVersion()), options: TestOptions.DebugDll.WithAllowUnsafe(true)) 451CreateCompilation(source, parseOptions: TestOptions.Regular8, options: TestOptions.DebugDll) 453CreateCompilation(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)
8061var comp = CreateCompilation(text, options: TestOptions.DebugDll, parseOptions: DefaultParseOptions); 9675var 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)
3665Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions); 3696Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions); 3711compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions); 3727compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions); 3740Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions); 3772Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions); 3806Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions); 3835Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions); 3866Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions, sourceFileName: "/original"); 3898Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions, sourceFileName: "/original"); 3931Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions, sourceFileName: "/original"); 3960Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions, sourceFileName: "/original"); 3990Compilation compilation = CreateCompilation(source, options: TestOptions.DebugDll, parseOptions: parseOptions); 4022Compilation 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 (1410)
Compilation\CompilationAPITests.cs (9)
40=> TestOptions.DebugDll.WithSyntaxTreeOptionsProvider(new TestSyntaxTreeOptionsProvider(tree, options)); 71var options = TestOptions.DebugDll 167var options = TestOptions.DebugDll.WithSyntaxTreeOptionsProvider( 194var options = TestOptions.DebugDll.WithSyntaxTreeOptionsProvider( 204options = TestOptions.DebugDll.WithSyntaxTreeOptionsProvider( 239var options = TestOptions.DebugDll 288var compilationOptions = TestOptions.DebugDll.WithWarningLevel(0); 2384var compilationOptions = TestOptions.DebugDll; 336342", returnType: typeof(int), options: TestOptions.DebugDll.WithSourceReferenceResolver(resolver));
Compilation\LoadDirectiveTests.cs (6)
21var options = TestOptions.DebugDll.WithSourceReferenceResolver(TestSourceReferenceResolver.Default); 34var options = TestOptions.DebugDll.WithSourceReferenceResolver(TestSourceReferenceResolver.Default); 53var options = TestOptions.DebugDll.WithSourceReferenceResolver(resolver); 78var options = TestOptions.DebugDll.WithSourceReferenceResolver(resolver); 156var options = TestOptions.DebugDll.WithSourceReferenceResolver(resolver); 176options = 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 (74)
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); 249var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 311var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 347var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 372var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 398var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 427var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 445var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 472var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 895var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: options); 926var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: options); 969var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 1005var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 1251var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 1254compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular10); 1262compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular11); 1296var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 1331var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 1362var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 1395var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 1418var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 1481var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 1517var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 1544var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 1571var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 1605var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 1623var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 1650var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 2158var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: options); 2214var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 2429var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 2456var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 2485var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 2488compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular10); 2496compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular11); 2532var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 2572var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 2605var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 2637var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 2656var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 2715var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 2749var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 2772var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 2795var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 2821var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 3179var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: options); 3208var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 3442var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 3835var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 3880var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 4217var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 4678var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 4797var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 4840var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 5110var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 5228var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 5696var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 6326var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 6431var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 6550var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 6607var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 6757var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 6806var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 6855var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 7006var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview); 7051var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
Symbols\DefaultInterfaceImplementationTests.cs (575)
1585var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended, 1623options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 1666var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60, 1679options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 1723var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 1744var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugDll, 1776var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended, 1820options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 1871var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 1910var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 1928var compilation3 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 1971var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended, 2015var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 2038var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 2260var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 2329var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 2402var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 2475var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 2970var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 3006var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 3042var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 3083var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 3108var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 3133var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 3163var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 3197var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 3231var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 3270var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 3295var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 3320var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 3359var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 3448var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 3514var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 3599var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 4225var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended, 4278options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended, 4393var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 4406options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended, 4470var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 4490targetFramework: TargetFramework.Mscorlib461Extended, options: TestOptions.DebugDll, 4534var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 4580options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 4634var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50, 4676options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50, 4735var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 4786var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 4802var compilation3 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 4867var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 5103var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 5140var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 5168var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 5205var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 5244var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 5297var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 5826var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 5856options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 5953var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 5966options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 6011var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 6030var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll, 6081var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 6127options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 6189var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 6220var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 6236var compilation3 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 6283var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 6354var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 6368var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 7309var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended, 7344options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended, 7417var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 7430targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended, options: TestOptions.DebugDll, 7477var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 7496var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll, 7532var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 7560options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 7597var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50, 7621options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50, 7663var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 7696var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 7712var compilation3 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 7760var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 7812var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 8085var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 8363var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 8399var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 8612var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 8678var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 8812var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 8937var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 9092var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 9265var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 9308var compilation5 = CreateCompilation(source3, new[] { reference }, options: TestOptions.DebugDll, 9462var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 9536var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 9835var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 9899var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 9984var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 10043var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 10081var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 10192var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 10303var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 10371var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 10456var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 10507var compilation3 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 10574var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 10676var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 10915var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 10977var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 11000options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 11233var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 11256var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 11298var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 11353var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 11455var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 11522var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 11552var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 11606var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 11633var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 11646var compilation2 = CreateCompilation(source1 + source2, options: TestOptions.DebugDll, 11724var compilation3 = CreateCompilation(source0, options: TestOptions.DebugDll, 11890var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 11923var compilation5 = CreateCompilation(source3, new[] { reference }, options: TestOptions.DebugDll, 12005var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 12044var compilation5 = CreateCompilation(source3, new[] { reference }, options: TestOptions.DebugDll, 12128var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 12173var compilation5 = CreateCompilation(source3, new[] { reference }, options: TestOptions.DebugDll, 12226var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 12288var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 12350var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 12623var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 12711var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 12799var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 12892var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 12947var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 13020var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 13077var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 13567var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 13657var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 13897var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 14065var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 14359var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 14705var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 14932var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 14985var compilation5 = CreateCompilation(source3, new[] { reference }, options: TestOptions.DebugDll, 15129var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 15255var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 15669var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 15750var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 15837var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 15856var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 15864var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugDll, 15955var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 15962compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 16002var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 16307var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 16579var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 16767var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 16917var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 16925var compilation3 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 17015var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 17265var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 17510var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 17588var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 17620options: TestOptions.DebugDll, 18315var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(metadataImportOptions), 18484var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 19891var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 19969var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 20000options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 20038var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 20170var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 20367var compilation3 = CreateCompilation(source0, options: TestOptions.DebugDll, 21552var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 22041var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 22131var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 22370var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 22447var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 22625var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 23381var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 23688var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 23754var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 23871var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 23937var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 24507var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 24539options: TestOptions.DebugDll, 26531var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 26568options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 26607var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 26743var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 26799var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 27133var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 27223var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 27693var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 27940var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 28195var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 28478var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 28528var compilation5 = CreateCompilation(source3, new[] { reference }, options: TestOptions.DebugDll, 28634var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 28760var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: targetFramework, 29178var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 29262var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 29349var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 29368var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 29376var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugDll, 29460var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 29467compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 29500var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 29696var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 29992var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 30103var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 30265var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 30319var compilation3 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 30438var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 30659var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 30915var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 30990var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 31021options: TestOptions.DebugDll, 31130var compilation3 = CreateCompilation(source0, options: TestOptions.DebugDll, 32016var compilation3 = CreateCompilation(source0, options: TestOptions.DebugDll, 32150var compilation3 = CreateCompilation(source0, options: TestOptions.DebugDll, 32254var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32381var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32541var compilation3 = CreateCompilation(source0, options: TestOptions.DebugDll, 32687var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32764var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32801var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32828var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32870var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33117var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33141var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 33193var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33214CreateCompilation(source1, options: TestOptions.DebugDll, 33227var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 33243CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 33283var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 33308options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 33357var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50, 33387options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50, 33433var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33481var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33530var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33588var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33650var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33714var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33760var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33799var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 33832var compilation3 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended, 33884var compilation4 = CreateCompilation(source2, options: TestOptions.DebugDll, 34188var compilation4 = CreateCompilation(source1, options: TestOptions.DebugDll, 34194var compilation5 = CreateCompilation(source2 + source3, new[] { compilation4.ToMetadataReference() }, options: TestOptions.DebugDll, 34210var compilation6 = CreateCompilation(source2 + source3, new[] { compilation4.EmitToImageReference() }, options: TestOptions.DebugDll, 34282var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 34463var compilation2 = CreateCompilation(source2, new[] { ref1 }, options: TestOptions.DebugDll, 34489compilation2 = CreateCompilation(source2, new[] { ref1 }, options: TestOptions.DebugDll, 34540var compilation3 = CreateCompilation(source3, new[] { ref1, ref2 }, options: TestOptions.DebugDll, 34683var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 34689var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 34703var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll, 34968var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 34973var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 34997var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll, 35059var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 35064var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 35092var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll, 35160var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 35165var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 35190var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll, 35256var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 35261var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 35285var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll, 35351var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 35366var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 35462var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 35571var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 35684var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 35797var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 35899var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 36008var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 36102var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 36220var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 36421var compilation4 = CreateCompilation(source1, options: TestOptions.DebugDll, 36609var compilation4 = CreateCompilation(source1, options: TestOptions.DebugDll, 36797var compilation4 = CreateCompilation(source1, options: TestOptions.DebugDll, 36805var compilation5 = CreateCompilation(source2 + source3, new[] { reference }, options: TestOptions.DebugDll, 36859var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 36887var comp = CreateCompilation(source1, options: TestOptions.DebugDll, 37274var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 37291var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 37375var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended, 37392options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended, 37522var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 37605var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 37649var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 37715var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 37952var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 37987var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 37995var compilation3 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended, 38002var compilation4 = CreateCompilation(source2, options: TestOptions.DebugDll, 38438var compilation4 = CreateCompilation(source1, options: TestOptions.DebugDll, 38741var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 38800var compilation2 = CreateCompilation(source2, new[] { ref1 }, options: TestOptions.DebugDll, 38826compilation2 = CreateCompilation(source2, new[] { ref1 }, options: TestOptions.DebugDll, 38880var compilation3 = CreateCompilation(source3, new[] { ref1, ref2 }, options: TestOptions.DebugDll.WithConcurrentBuild(false), 39002var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 39008var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 39015var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll, 39492var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 39510var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 40212var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 40242var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 40303var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 40333var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 40393var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 40424options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended, 40482var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50, 40512options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50, 40572var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 40615var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 40663var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 40723var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 40787var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 40853var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 40927var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 41122var compilation4 = CreateCompilation(source1, options: TestOptions.DebugDll, 41128var compilation5 = CreateCompilation(source2 + source3, new[] { compilation4.ToMetadataReference() }, options: TestOptions.DebugDll, 41141var compilation6 = CreateCompilation(source2 + source3, new[] { compilation4.EmitToImageReference() }, options: TestOptions.DebugDll, 41238var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 41462var compilation2 = CreateCompilation(source2, new[] { ref1 }, options: TestOptions.DebugDll, 41488compilation2 = CreateCompilation(source2, new[] { ref1 }, options: TestOptions.DebugDll, 41542var compilation3 = CreateCompilation(source3, new[] { ref1, ref2 }, options: TestOptions.DebugDll.WithConcurrentBuild(false), 41668var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 41674var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 41688var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll, 42058var compilation4 = CreateCompilation(source1, options: TestOptions.DebugDll, 42262var compilation4 = CreateCompilation(source1, options: TestOptions.DebugDll, 42466var compilation4 = CreateCompilation(source1, options: TestOptions.DebugDll, 42474var compilation5 = CreateCompilation(source2 + source3, new[] { reference }, options: TestOptions.DebugDll, 43696var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 43720var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 44343var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 44389var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 44420var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 44544var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 44753var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), 45008var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 45484var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 45844var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll, 45850var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 46007var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll, 46118var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 46262var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 46323var compilation4 = CreateCompilation(source4, options: TestOptions.DebugDll, 46617var compilation6 = CreateCompilation(source1 + source2, options: TestOptions.DebugDll, 46696var compilation61 = CreateCompilation(source1 + source2, options: TestOptions.DebugDll, 47162var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp, 47682var compilation0 = CreateCompilation(source0 + source1 + source2, options: TestOptions.DebugDll, 47714var compilation3 = CreateCompilation(source4 + source1 + source2, options: TestOptions.DebugDll, 47743var compilation6 = CreateCompilation(source4 + source1 + source5, options: TestOptions.DebugDll, 47815var compilation0 = CreateCompilation(source0 + source1 + source2, options: TestOptions.DebugDll, 47847var compilation3 = CreateCompilation(source4 + source1 + source2, options: TestOptions.DebugDll, 47876var compilation6 = CreateCompilation(source4 + source1 + source5, options: TestOptions.DebugDll, 47943var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 48010var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 48664var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 48734var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 49124var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 49228var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 49582var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 49612var compilation1 = CreateCompilation("", options: TestOptions.DebugDll, 49623var compilation1 = CreateCompilation("", options: TestOptions.DebugDll, 49658var compilation1 = CreateCompilation(source, parseOptions: parseOptions, options: TestOptions.DebugDll, 49666var compilation2 = CreateCompilation("", parseOptions: parseOptions, options: TestOptions.DebugDll, 49774var compilation1 = CreateCompilation(source, parseOptions: parseOptions, options: TestOptions.DebugDll, 49782var compilation2 = CreateCompilation("", parseOptions: parseOptions, options: TestOptions.DebugDll, 49923var compilation1 = CreateCompilation(source, options: TestOptions.DebugDll, 50016var compilation2 = CreateCompilation(source0 + source3, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp); 50135var compilation2 = CreateCompilation(source0 + source3, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp); 50170var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp); 50208var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp); 50268var compilation2 = CreateCompilation(source0 + source3, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp); 51000var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp); 51048var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 51069var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 51076var compilation3 = CreateCompilation(source2, options: TestOptions.DebugDll, references: new[] { reference }, 51236var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 51366var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 51380var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 51387var compilation3 = CreateCompilation(source2, options: TestOptions.DebugDll, references: new[] { reference }, 51517var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 51650var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 51664var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 51671var compilation3 = CreateCompilation(source2, options: TestOptions.DebugDll, references: new[] { reference }, 51790var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 51804var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 51811var compilation3 = CreateCompilation(source2, options: TestOptions.DebugDll, references: new[] { reference }, 51910var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 51965var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 52020var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 52085var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 52143var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 52208var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 52263var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 52344var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 52414var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 52438var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 52503var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 52509var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 52516var compilation3 = CreateCompilation(source2, options: TestOptions.DebugDll, references: new[] { reference }, 52705var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 52860var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 52866var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 52873var compilation3 = CreateCompilation(source2, options: TestOptions.DebugDll, references: new[] { reference }, 53033var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 53198var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 53204var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 53212var compilation3 = CreateCompilation(source2, options: TestOptions.DebugDll, references: new[] { reference }, 53360var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 53366var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 53374var compilation3 = CreateCompilation(source2, options: TestOptions.DebugDll, references: new[] { reference }, 53502var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 53599var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 53731var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 53877var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 54199var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 54206var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 54382var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 54455var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 54555var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 54626var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 54694var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 54788var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 54882var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 54970var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 57035var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 57225var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 57237var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 57266var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 57278var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 57310var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 57319var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 57345var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 57357var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 57386var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 57395var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 57421var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 57433var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 57481var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 57487var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 57494var compilation3 = CreateCompilation(source2, options: TestOptions.DebugDll, references: new[] { reference }, 57663var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 57811var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 57817var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 57824var compilation3 = CreateCompilation(source2, options: TestOptions.DebugDll, references: new[] { reference }, 57972var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 58125var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 58131var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 58138var compilation3 = CreateCompilation(source2, options: TestOptions.DebugDll, references: new[] { reference }, 58274var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 58280var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 58287var compilation3 = CreateCompilation(source2, options: TestOptions.DebugDll, references: new[] { reference }, 58404var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 58487var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 58679var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 59251var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 59258var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 59319var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 59419var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 59428var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 59454var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 59466var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 62203var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 62215var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 62244var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 62253var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 62279var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 62288var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 62561var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 62573compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 62711foreach (var options in new[] { TestOptions.DebugDll, TestOptions.DebugWinMD }) 63107var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 63331var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 63497var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 63673var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 64045var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 64206var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 64322var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 64443var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 64533var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 64684var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 64793var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 64819var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 64849var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 64879var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 64909var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 64928var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 64947var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 64973var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 64995var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 65025var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 65057var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 65083var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 65117var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 65386var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 65431var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 65481var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 65526var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 65566var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 65612var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 65650var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 65695var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 65733var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 65778var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 65811var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 65852var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 65887var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 65929var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 65964var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 66006var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 66046var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 66085var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 66137var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 66181var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 66226var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 66262var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 66305var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 66337var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 66385var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 66416var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 66458var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 66529var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 66640var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 66751var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 66931var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 66960var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 67135var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 67169var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 67205var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 67239var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 67280var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 67317var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 67353var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 67389var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 67426var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 67467var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 67505var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 67543var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 67580var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 67619var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 67661var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 67698var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 67716var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 67756var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 67798var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 67831var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 67870var compilation1 = CreateEmptyCompilation(source1, options: TestOptions.DebugDll, 67901var compilation1 = CreateEmptyCompilation(source1, options: TestOptions.DebugDll, 68491var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 68535var compilation3 = CreateCompilation(source3, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 68554var compilation4 = CreateCompilation(source4, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 68560compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50, 68599options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50, 68612options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50, 68688var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 68694var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll, 68705var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll, 68849var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 68865var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 68872var compilation3 = CreateCompilation(source2, options: TestOptions.DebugDll, references: new[] { reference }, 68931var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 68950var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 68957var compilation3 = CreateCompilation(source2, options: TestOptions.DebugDll, references: new[] { reference }, 69051var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60); 69327var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 69395var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll,
Symbols\ExtendedPartialMethodsTests.cs (1)
2556options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
Symbols\GenericConstraintTests.cs (2)
5689compilationOptions: TestOptions.DebugDll); 6933CompileAndVerify(source, options: TestOptions.DebugDll).VerifyDiagnostics(
Symbols\LocalFunctionTests.cs (3)
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));
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 (4)
1143var comp1 = CreateCompilation([], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), references: [reference]); 1190var comp1 = CreateCompilation([], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), references: [reference]); 1624var comp = CreateCompilation(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable)); 1639comp = CreateCompilation(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Annotations));
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)
2605options: TestOptions.DebugDll, 2697options: TestOptions.DebugDll, 3051options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 3084options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
Symbols\StaticAbstractMembersInInterfacesTests.cs (588)
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, 10059var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 10273var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 10393var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 10516var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 10799var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 10971var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 11184var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 11349var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 11686var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 11979var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 12163var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 12167var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 12178var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 12226var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 12230var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 12248var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 12313var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 12317var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 12328var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 12363var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 12367var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 12378var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 12420var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 12424var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 12460var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 12533var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 12537var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 12555var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 12620var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 12624var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 12660var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 12720var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 12724var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 12735var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 12799var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 12890var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 12984var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 13082var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 13123var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 13208var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 13299var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 13418var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 13422var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 13433var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 13470var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 13474var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 13485var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 13522var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 13526var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 13540var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 13577var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 13581var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 13592var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 13629var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 13633var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 13644var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 13681var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 13685var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 13696var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 13760var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 13857var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 13952var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 13999var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 14128var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 14132var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 14143var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 14177var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 14181var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 14192var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 14226var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 14230var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 14241var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 14278var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 14282var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 14293var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 14383var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 14411var compilation2 = CreateCompilationWithIL(source2, ilSource, options: TestOptions.DebugDll, 14478var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 14501var compilation2 = CreateCompilationWithIL(source2, ilSource, options: TestOptions.DebugDll, 14577var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 14639var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 14730var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 14734var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 14745var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 14779var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 14783var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 14794var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 14995var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 15057var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 15136var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 15140var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 15151var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 15185var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 15189var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 15200var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 15264var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll.WithAllowUnsafe(true), 15329var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll.WithAllowUnsafe(true), 15404var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 15408var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll.WithAllowUnsafe(true), 15419var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll.WithAllowUnsafe(true), 15453var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 15457var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll.WithAllowUnsafe(true), 15468var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll.WithAllowUnsafe(true), 15530var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 15610var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 15672var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 15748var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 15825var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 15886var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 15890var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 15904var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 15942var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 15946var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 15957var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 15989var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 15993var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 16004var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 16041var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 16103var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 16159var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 16176var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 16275var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 16302compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 16336var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 16349compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 16367var compilation2 = CreateCompilationWithIL(source2, ilSource, options: TestOptions.DebugDll, 16413var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 16454var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 16539var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 16640var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 16657var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 16728var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 16743var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 16818var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 16837var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 16900var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 16919var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 16982var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 17001var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 17052var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 17072var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 17127var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 17146var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 17214var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 17233var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 17304var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 17410var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 17588var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 17731var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 17867var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 18010var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 18119var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 18266var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 18419var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 18605var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 18753var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 18757var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 18795var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 18881var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 18885var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 18939var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 19041var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 19045var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 19056var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 19093var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 19097var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 19108var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 19145var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 19149var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 19160var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 19200var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 19204var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 19215var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 19275var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 19356var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 19448var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 19536var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 19619var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 19711var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 19800var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 19887var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 19904var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 19959var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 19978var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 20044var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 20061var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 20124var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 20141var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 20252var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 20285compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 20387var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 20420compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 20465var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 20479compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 20497var compilation2 = CreateCompilationWithIL(source2, ilSource, options: TestOptions.DebugDll, 20545var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 20559compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 20577var compilation2 = CreateCompilationWithIL(source2, ilSource, options: TestOptions.DebugDll, 20635var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 20700var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 20770var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 20887var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 20998var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 21133var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 21252var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 21269var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 21312var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 21329var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 21415var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 21432var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 21535var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 21550var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 21656var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 21675var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 21765var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 21784var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 21867var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 21886var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 22024var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll.WithAllowUnsafe(true), 22174var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll.WithAllowUnsafe(true), 22244var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 22289var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 22360var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 22440var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 22502var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 22578var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 22659var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 22730var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 22734var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 22754var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 22792var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 22796var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 22813var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 22848var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 22852var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 22863var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 22903var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 22998var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 23089var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 23177var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 23194var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 23356var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 23397compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 23457var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 23474compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 23495var compilation2 = CreateCompilationWithIL(source2, ilSource, options: TestOptions.DebugDll, 23525var compilation3 = CreateCompilationWithIL(source3, ilSource, options: TestOptions.DebugDll, 23587var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 23616var compilation2 = CreateCompilationWithIL(source2, ilSource, options: TestOptions.DebugDll, 23677var compilation3 = CreateCompilationWithIL(source3, ilSource, options: TestOptions.DebugDll, 23757var compilation4 = CreateCompilationWithIL(source4, ilSource, options: TestOptions.DebugDll, 23787var compilation5 = CreateCompilationWithIL(source5, ilSource, options: TestOptions.DebugDll, 23847var compilation6 = CreateCompilationWithIL(source6, ilSource, options: TestOptions.DebugDll, 23877var compilation7 = CreateCompilationWithIL(source7, ilSource, options: TestOptions.DebugDll, 23939var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 23968var compilation2 = CreateCompilationWithIL(source2, ilSource, options: TestOptions.DebugDll, 24029var compilation3 = CreateCompilationWithIL(source3, ilSource, options: TestOptions.DebugDll, 24109var compilation4 = CreateCompilationWithIL(source4, ilSource, options: TestOptions.DebugDll, 24139var compilation5 = CreateCompilationWithIL(source5, ilSource, options: TestOptions.DebugDll, 24199var compilation6 = CreateCompilationWithIL(source6, ilSource, options: TestOptions.DebugDll, 24229var compilation7 = CreateCompilationWithIL(source7, ilSource, options: TestOptions.DebugDll, 24320var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 24368var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 24557var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 24738var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 24755var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 24853var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 24868var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 24978var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 24997var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 25048var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 25068var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 25139var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 25219var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 25281var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 25357var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 25439var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 25508var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 25512var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 25535var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 25576var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 25580var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 25597var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 25629var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 25633var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 25644var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 25681var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 25776var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 25864var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 25881var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 26048var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 26089compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 26150var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 26167compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 26188var compilation2 = CreateCompilationWithIL(source2, ilSource, options: TestOptions.DebugDll, 26214var compilation3 = CreateCompilationWithIL(source3, ilSource, options: TestOptions.DebugDll, 26269var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 26298var compilation2 = CreateCompilationWithIL(source2, ilSource, options: TestOptions.DebugDll, 26327var compilation3 = CreateCompilationWithIL(source3, ilSource, options: TestOptions.DebugDll, 26400var compilation4 = CreateCompilationWithIL(source4, ilSource, options: TestOptions.DebugDll, 26426var compilation5 = CreateCompilationWithIL(source5, ilSource, options: TestOptions.DebugDll, 26453var compilation6 = CreateCompilationWithIL(source6, ilSource, options: TestOptions.DebugDll, 26483var compilation7 = CreateCompilationWithIL(source7, ilSource, options: TestOptions.DebugDll, 26543var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 26572var compilation2 = CreateCompilationWithIL(source2, ilSource, options: TestOptions.DebugDll, 26601var compilation3 = CreateCompilationWithIL(source3, ilSource, options: TestOptions.DebugDll, 26674var compilation4 = CreateCompilationWithIL(source4, ilSource, options: TestOptions.DebugDll, 26700var compilation5 = CreateCompilationWithIL(source5, ilSource, options: TestOptions.DebugDll, 26727var compilation6 = CreateCompilationWithIL(source6, ilSource, options: TestOptions.DebugDll, 26757var compilation7 = CreateCompilationWithIL(source7, ilSource, options: TestOptions.DebugDll, 26848var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 26896var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 27097var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 27403var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 27420var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 27518var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 27533var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 27644var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 27663var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 27714var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 27734var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 27873var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 28016var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 28125var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 28282var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 28400var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 28404var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 28438var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 28501var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 28505var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 28516var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 28553var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 28557var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 28568var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 28632var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 28749var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 28851var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 28868var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 28991var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 29024compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 29070var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 29084compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 29102var compilation2 = CreateCompilationWithIL(source2, ilSource, options: TestOptions.DebugDll, 29164var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 29229var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 29345var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 29476var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 29493var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 29591var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 29610var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 29697var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 29716var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 29836var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll.WithAllowUnsafe(true), 29903var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 29968var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 30036var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 30122var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 30307var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 30498var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 30502var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 30513var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 30556var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 30560var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 30571var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 30613var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 30617var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 30642var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 30699var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 30703var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 30714var compilation3 = CreateCompilation(source2 + source1, options: TestOptions.DebugDll, 30765var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 30969var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 31020var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 31064var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 31118var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 31178var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 31226var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 31269var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 31323var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 31372var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 31597var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 31681var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll, 31693var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 31753var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll, 31766var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 31816var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 31851var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 31885var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 32019var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugDll, 32067var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 32118var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 32162var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32196var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32250var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32291var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32326var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32367var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32409var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32455var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32497var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32533var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32575var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32597var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32637var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32675var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32707var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32745var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32777var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32815var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32847var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32885var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32917var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32955var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 32987var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33025var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33047var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33078var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 33114var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33145var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 33181var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33212var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 33248var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, 33279var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, 33390""", options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview, targetFramework: _supportingFramework).VerifyDiagnostics( 33637var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugDll, 33642var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, references: new[] { compilation1.ToMetadataReference() }, 33647var compilation3 = CreateCompilation(source2, options: TestOptions.DebugDll, references: new[] { compilation1.EmitToImageReference() }, 33694var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugDll, 33699var compilation2 = CreateCompilation(source2, options: TestOptions.DebugDll, references: new[] { compilation1.ToMetadataReference() }, 33704var compilation3 = CreateCompilation(source2, options: TestOptions.DebugDll, references: new[] { compilation1.EmitToImageReference() },
Symbols\SymbolErrorTests.cs (19)
18451var comp = CreateCompilation(source, options: TestOptions.DebugDll); 18479var comp = CreateCompilation(source, options: TestOptions.DebugDll); 18504var comp = CreateCompilation(source, options: TestOptions.DebugDll); 18529var comp = CreateCompilation(source, options: TestOptions.DebugDll); 18555var comp = CreateCompilation(source, options: TestOptions.DebugDll); 18575var comp = CreateCompilation(source, options: TestOptions.DebugDll); 18601var comp = CreateCompilation(source, options: TestOptions.DebugDll); 18624var comp = CreateCompilation(source, options: TestOptions.DebugDll); 20905options: TestOptions.DebugDll, 20970options: TestOptions.DebugDll, 21336comp = CreateCompilation(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.WithWarningLevel(6)); 21339comp = CreateCompilation(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.WithWarningLevel(7)); 21397comp = CreateCompilation(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.WithWarningLevel(6)); 21400comp = CreateCompilation(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.WithWarningLevel(7)); 21442comp = CreateCompilation(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.WithWarningLevel(6)); 21461comp = CreateCompilation(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.WithWarningLevel(7)); 21484var comp = CreateCompilation(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.WithWarningLevel(7)); 21502comp = CreateCompilation(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.WithWarningLevel(7)); 21529comp = 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, 3428var compilation1 = CreateCompilation(source0 + source1, options: TestOptions.DebugDll, 3436compilation1 = CreateCompilation(source0 + source1, options: TestOptions.DebugDll, 3440var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll, 3445var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, references: new[] { reference }, 3453compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, references: new[] { reference }, 3480var compilation1 = CreateCompilation(source0 + source1, options: TestOptions.DebugDll, 3488compilation1 = CreateCompilation(source0 + source1, options: TestOptions.DebugDll, 3492var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll, 3497var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, references: new[] { reference }, 3505compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, references: new[] { reference }, 3532var compilation1 = CreateCompilation(source0 + source1, options: TestOptions.DebugDll, 3540compilation1 = CreateCompilation(source0 + source1, options: TestOptions.DebugDll, 3544var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll, 3549var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, references: new[] { reference }, 3557compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, references: new[] { reference }, 3584var compilation1 = CreateCompilation(source0 + source1, options: TestOptions.DebugDll, 3592compilation1 = CreateCompilation(source0 + source1, options: TestOptions.DebugDll, 3596var compilation0 = CreateCompilation(source0, options: TestOptions.DebugDll, 3601var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, references: new[] { reference }, 3609compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, references: new[] { reference }, 3629var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll,
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (12)
Diagnostics\DiagnosticTest.cs (1)
2149var 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)
2631new object[] { WithNullableEnable(TestOptions.DebugDll) }, 2632new object[] { WithNullableDisable(TestOptions.DebugDll) }
MockCSharpCompiler.cs (1)
68ResolveAnalyzersFromArguments(diagnostics, this.MessageProvider, TestOptions.DebugDll, skipAnalyzers, out analyzers, out generators);
TestOptions.cs (3)
82public static readonly CSharpCompilationOptions DebugDllThrowing = DebugDll.WithMetadataReferenceResolver(new ThrowingMetadataReferenceResolver()); 94public static readonly CSharpCompilationOptions UnsafeDebugDll = DebugDll.WithAllowUnsafe(true); 100public 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)
279Compilation compilation = CSharpTestBase.CreateCompilation(trees.ToArray(), options: TestOptions.DebugDll, targetFramework: DefaultTargetFramework, assemblyName: assemblyName);
EditAndContinue\Extensions.cs (1)
100compilationOptions: TestOptions.DebugDll,
Microsoft.CodeAnalysis.Features.UnitTests (6)
EditAndContinue\EditAndContinueMethodDebugInfoReaderTests.cs (1)
64var compilation = CSharpTestBase.CreateCompilationWithMscorlib40AndSystemCore(tree, options: TestOptions.DebugDll);
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (5)
73var compilation = CSharpTestBase.CreateCompilation([sourceTreeA1, sourceTreeB1, sourceTreeC1], options: TestOptions.DebugDll, targetFramework: DefaultTargetFramework, assemblyName: "P"); 2592var compilationV1 = CSharpTestBase.CreateCompilation(sourceV1, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: DefaultTargetFramework, assemblyName: "lib"); 3164var compilationA = CSharpTestBase.CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: DefaultTargetFramework, assemblyName: "A"); 3165var compilationB = CSharpTestBase.CreateCompilation(source1, options: TestOptions.DebugDll, targetFramework: DefaultTargetFramework, assemblyName: "B"); 3336var compilationV1 = CSharpTestBase.CreateCompilationWithMscorlib40(sourceV1, options: TestOptions.DebugDll, assemblyName: "lib");
Microsoft.CodeAnalysis.UnitTests (1)
AnalyzerAssemblyLoaderTests.cs (1)
1322TestOptions.DebugDll.WithPublicSign(true).WithCryptoPublicKey(SigningTestHelpers.PublicKey));
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (2)
ProjectSystemShim\VisualStudioCompilationOutputFilesTests.cs (2)
38var compilation = CSharpTestBase.CreateCompilationWithMscorlib40AndSystemCore(source, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, assemblyName: "lib"); 87var compilation = CSharpTestBase.CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll, assemblyName: "lib");