3896 references to DebugExe
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (2)
CommandLineTests.cs (2)
15651var comp = CreateCompilation(src, options: TestOptions.DebugExe.WithGeneralDiagnosticOption(ReportDiagnostic.Suppress)); 15787var comp = CreateCompilation(src, options: TestOptions.DebugExe.WithGeneralDiagnosticOption(ReportDiagnostic.Suppress));
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (767)
CodeGen\CodeGenAsyncEHTests.cs (7)
940var v = CompileAndVerify(source, s_asyncRefs, targetFramework: TargetFramework.Empty, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), expectedOutput: expected, symbolValidator: module => 2170CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 2267CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 2335CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 2413CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput, 2472CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 2543CompileAndVerify(CreateCompilationWithTasksExtensions(sources, options: TestOptions.DebugExe), expectedOutput: expectedOutput).VerifyDiagnostics();
CodeGen\CodeGenAsyncIteratorTests.cs (96)
182}", options: TestOptions.DebugExe); 361}", options: TestOptions.DebugExe); 659var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 662comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 665comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular12); 711var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular12); 717comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 720comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 870var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular12); 876comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 879comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 1863var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 2189var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations: 2), source }, options: TestOptions.DebugExe); 2362var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 2403var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.DebugExe); 2481var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.DebugExe); 2530var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.DebugExe); 2575var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.DebugExe); 2618var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.DebugExe); 2648foreach (var options in new[] { TestOptions.DebugExe, TestOptions.ReleaseExe }) 2674if (options == TestOptions.DebugExe) 2879if (options == TestOptions.DebugExe) 4248var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 4281var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 4313var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 4346var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 4397var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 4428var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 4457var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 4480var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 4514var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 4558var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 4586var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 4659var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 4694var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 4742var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 4783var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 4829var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 4878var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 4922var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 4976var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 5020var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 5066var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 5119var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 5152var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 5183var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 5248var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 5282var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 5313var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 5345var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 5380var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 5414var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 5453var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 5493var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 5571var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 5664var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 5699var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 5729var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 5760var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 5793var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 6185var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 6219var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 6260var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 6299var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 6335var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 6369var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 6411var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 6439var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 6652var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, options: TestOptions.DebugExe); 6675var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 6705var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 6751var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 6828var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 6892var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 6941var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, options: TestOptions.DebugExe); 6993var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 7044var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, options: TestOptions.DebugExe); 7092var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, options: TestOptions.DebugExe); 7141foreach (var options in new[] { TestOptions.DebugExe, TestOptions.ReleaseExe }) 7274foreach (var options in new[] { TestOptions.DebugExe, TestOptions.ReleaseExe }) 7406foreach (var options in new[] { TestOptions.DebugExe, TestOptions.ReleaseExe }) 7451var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, options: TestOptions.DebugExe); 7497var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, options: TestOptions.DebugExe); 7555foreach (var options in new[] { TestOptions.DebugExe, TestOptions.ReleaseExe }) 7615foreach (var options in new[] { TestOptions.DebugExe, TestOptions.ReleaseExe }) 7654var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, options: TestOptions.DebugExe); 7681var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, TestOptions.DebugExe); 7712var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, TestOptions.DebugExe, TestOptions.Regular9); 7938var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, options: TestOptions.DebugExe); 7982var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, options: TestOptions.DebugExe); 8040var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, options: TestOptions.DebugExe); 8233}", options: TestOptions.DebugExe); 8282}", options: TestOptions.DebugExe); 8331}", options: TestOptions.DebugExe); 8599var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe); 10297verify: Verification.Skipped, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
CodeGen\CodeGenAsyncLocalsTests.cs (3)
150CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expected); 1691verifier = CompileAndVerify(text, options: TestOptions.DebugExe, expectedOutput: @"2"); 2016verifier = CompileAndVerify(text, options: TestOptions.DebugExe, expectedOutput: @"2");
CodeGen\CodeGenAsyncMainTests.cs (41)
40var sourceCompilation = CreateCompilationWithMscorlib40(source, options: TestOptions.DebugExe.WithMainTypeName("Program"), parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 65var sourceCompilation = CreateCompilationWithMscorlib40(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7)); 93var sourceCompilation = CreateCompilationWithMscorlib40(source, options: TestOptions.DebugExe.WithMainTypeName("Program"), parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7)); 118var sourceCompilation = CreateCompilationWithMscorlib40(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 159var sourceCompilation = CreateCompilationWithMscorlib40(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7)); 202var sourceCompilation = CreateCompilationWithMscorlib40(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 233var sourceCompilation = CreateCompilationWithMscorlib40(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7)); 270var sourceCompilation = CreateCompilationWithMscorlib40(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 306var sourceCompilation = CreateCompilationWithMscorlib40(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 337var sourceCompilation = CreateCompilationWithMscorlib40(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 381var sourceCompilation = CreateEmptyCompilation(source, new[] { corCompilation.ToMetadataReference(), taskCompilation.ToMetadataReference() }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 421var sourceCompilation = CreateEmptyCompilation(source, new[] { corCompilation.ToMetadataReference(), taskCompilation.ToMetadataReference() }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 449var c = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 467var c = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 489var c = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 508var c = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 526var c = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 544var c = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 566var c = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 584var c = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 601var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 623var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 645var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 667var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7)); 690var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7)); 712var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 789var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 809var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7)); 831var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 858var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7)); 883var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 903var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 923var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7)); 945var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7)); 967var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 987var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 1007var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7)); 1029var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7)); 1411var sourceCompilation = CreateCompilationWithMscorlib40(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 1465var sourceCompilation = CreateCompilationWithMscorlib40(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 1520var sourceCompilation = CreateCompilationWithMscorlib40(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1));
CodeGen\CodeGenAsyncSpillTests.cs (11)
3032CompileAndVerify(source, expectedOutput: "", options: TestOptions.DebugExe); 3060CompileAndVerify(source, expectedOutput: "43", options: TestOptions.DebugExe); 3090CompileAndVerify(source, expectedOutput: "43", options: TestOptions.DebugExe); 3117CompileAndVerify(source, expectedOutput: "", options: TestOptions.DebugExe); 3578var v = CompileAndVerify(source, options: TestOptions.DebugExe); 3708var comp = CreateCompilationWithMscorlibAndSpan(source, options: TestOptions.DebugExe); 3750var comp = CreateCompilationWithMscorlibAndSpan(source, options: TestOptions.DebugExe); 3787foreach (var options in new[] { TestOptions.DebugExe, TestOptions.ReleaseExe }) 3845CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: "2"); 3942CompileAndVerify(source, expectedOutput: "42", options: TestOptions.DebugExe); 3980CompileAndVerify(source, expectedOutput: "True", options: TestOptions.DebugExe);
CodeGen\CodeGenAsyncTests.cs (30)
83options = TestOptions.DebugExe; 2488var c = CompileAndVerify(source, expectedOutput: expected, options: TestOptions.DebugExe); 3549var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3619var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3644var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3672var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3697var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3784var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3835var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3868var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3992var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4075var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe); 4109var comp2 = CreateCompilation(source2, options: TestOptions.DebugExe); 4383var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4420var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4457var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4498var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4508var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe); 4517var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe); 4527var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe); 4571var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe); 4605var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4700var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4741var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4791var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4844var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4902var comp = CreateCompilation(source, options: TestOptions.DebugExe); 5252var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 5291var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 5877CompileAndVerify(source, options: TestOptions.DebugExe, verify: Verification.Skipped, expectedOutput: "0123").VerifyDiagnostics(diags);
CodeGen\CodeGenAwaitForeachTests.cs (105)
176var comp_checked = CreateCompilationWithTasksExtensions(new[] { source.Replace("REPLACE", "checked"), s_IAsyncEnumerable }, options: TestOptions.DebugExe); 180var comp_unchecked = CreateCompilationWithTasksExtensions(new[] { source.Replace("REPLACE", "unchecked"), s_IAsyncEnumerable }, options: TestOptions.DebugExe); 816var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe); 851var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe); 1038var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 1082var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 1139var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 1179var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 1222var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 1269var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 1312var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 1594var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 2059var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 2561var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 2912var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 2963var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 3028var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 3066var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 3106var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 3157var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 3198var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 3287var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 3345var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 3541var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 3708var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 3781var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 4051var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 4105var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 4161var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 4216var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 4307var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 4367var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 4456var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 4529var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 4585var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 4639var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 4739var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 4818var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 4853var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 4899var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 5042var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 5123var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 5349var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 5623var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 5719var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 5764var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 5807var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 5855var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 5899var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 6033var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 6077var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 6123var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 6168var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 6322var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 6346var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 6433var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 6476var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 6506var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 6536var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 6754var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 6789var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 6820var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 6852var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 6951var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 6982var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 7012var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 7043var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 7073var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 7103var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 7133var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 7168options: TestOptions.DebugExe, 7201var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 7237var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 7352var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 7439var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 7472CreateCompilationWithCSharp(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9) 7629var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 7749var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 7825var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 7896var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 7963var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 8099var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion)); 8132var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion)); 8195var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 8225var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 8337var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 8374var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 8407var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 8440var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 8474var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 8507var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 8537var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 8573var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 8620var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 8687var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 8738var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 8787var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 8932var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 8967var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 9037var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 9088var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe, 9164var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe, 9242var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe, 9315var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 9374var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe,
CodeGen\CodeGenAwaitUsingTests.cs (40)
171var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 213var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 297var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 321var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 341comp = CreateCompilationWithTasksExtensions([source, IAsyncDisposableDefinition], parseOptions: TestOptions.Regular8, options: TestOptions.DebugExe); 401var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 516var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 552var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 579var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 842var comp = CreateCompilationWithTasksExtensions(comp_cs, references: new[] { libComp.EmitToImageReference() }, options: TestOptions.DebugExe); 879var comp = CreateCompilationWithTasksExtensions(comp_cs, references: new[] { libComp.EmitToImageReference() }, options: TestOptions.DebugExe); 909var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 989var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 1066var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe, references: new[] { CSharpRef }); 1093var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe, references: new[] { CSharpRef }); 1119var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 1293var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 1468var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 1638var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 1687var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe, references: new[] { CSharpRef }); 1713var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 1882var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 2060var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 2087var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 2114var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 2186var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 2225var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 2270var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 2369var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 2400var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 2428var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 2461var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 2491var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 2524var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 2554var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 2584var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 2697var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 2906var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 2935var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 2966var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe);
CodeGen\CodeGenClosureLambdaTests.cs (1)
4454var compilation = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: @"True
CodeGen\CodeGenConditionalOperatorTests.cs (10)
90verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput); 625options: TestOptions.DebugExe, 749options: TestOptions.DebugExe, 875options: TestOptions.DebugExe, 1004options: TestOptions.DebugExe, 1153options: TestOptions.DebugExe, 1237options: TestOptions.DebugExe, 1327options: TestOptions.DebugExe, 1433options: TestOptions.DebugExe, 2778options: TestOptions.DebugExe,
CodeGen\CodeGenDeconstructTests.cs (66)
1460var comp = CreateCompilationWithMscorlib40(source, parseOptions: TestOptions.Regular7, options: TestOptions.DebugExe); 1503var comp = CreateCompilationWithMscorlib40(source, parseOptions: TestOptions.Regular7, options: TestOptions.DebugExe); 5046var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 5119var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe, references: s_valueTupleRefs); 5137var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 5151var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 5197var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 5212var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 5321var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 5357var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 5371var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script.WithLanguageVersion(LanguageVersion.CSharp6), options: TestOptions.DebugExe, references: s_valueTupleRefs); 5391var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 5424var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 5459var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 5494var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 5525var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 5557var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 5582var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 5630var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 5671var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 5716var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 5758var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 5797var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 5847var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 5901var comp = CreateCompilation(source, options: TestOptions.DebugExe); 5945var comp = CreateCompilation(source, options: TestOptions.DebugExe); 5972var comp = CreateCompilation(source, options: TestOptions.DebugExe); 5992var comp = CreateCompilation(source, options: TestOptions.DebugExe); 6172var comp = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 6199var comp = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 6231var comp = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 6277var comp = CreateCompilation(source, options: TestOptions.DebugExe); 6298var comp = CreateCompilation(source, options: TestOptions.DebugExe); 6330var comp = CreateCompilation(source, options: TestOptions.DebugExe); 6360var comp = CreateCompilation(source, options: TestOptions.DebugExe); 6387var comp = CreateCompilation(source, options: TestOptions.DebugExe); 6474var comp = CreateCompilation(source, options: TestOptions.DebugExe); 6503var comp = CreateCompilation(source, options: TestOptions.DebugExe); 6555var comp = CreateCompilation(source, options: TestOptions.DebugExe); 6702var comp = CreateCompilation(source, options: TestOptions.DebugExe); 6727var comp = CreateCompilation(source, options: TestOptions.DebugExe); 6746var compCSharp9 = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 6762var comp = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10); 6790var comp = CreateCompilation(source, options: TestOptions.DebugExe); 6816var comp = CreateCompilation(source, options: TestOptions.DebugExe); 6836var comp = CreateCompilation(source, options: TestOptions.DebugExe); 6877var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 6896var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe); 6911var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 6946var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe, references: s_valueTupleRefs); 6968var comp = CreateCompilation(source, options: TestOptions.DebugExe); 7034var comp = CreateCompilation(source, options: TestOptions.DebugExe); 7058var comp = CreateCompilation(source, options: TestOptions.DebugExe); 7089var comp = CreateCompilation(source, options: TestOptions.DebugExe); 7114var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 7147var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 7198var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 7260var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 7460var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 7661var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 7703var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 8207var comp = CreateCompilationWithMscorlib461(source, references: s_valueTupleRefs, options: TestOptions.DebugExe); 8755var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7, options: TestOptions.DebugExe); 9038var comp = CreateCompilation(source, options: TestOptions.DebugExe); 9063var comp = CreateCompilation(source, options: TestOptions.DebugExe); 9491var comp = CreateCompilation(source, options: TestOptions.DebugExe);
CodeGen\CodeGenDisplayClassOptimisationTests.cs (1)
129var compilation = CompileAndVerify(source, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), expectedOutput: @"3", options: TestOptions.DebugExe);
CodeGen\CodeGenDynamicTests.cs (2)
15343comp = CreateCompilationWithCSharp(source, options: TestOptions.DebugExe); 15388comp = CreateCompilationWithCSharp(source, options: TestOptions.DebugExe);
CodeGen\CodeGenForEachTests.cs (3)
3298var comp = CreateCompilationWithSpan(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 3329var comp = CreateCompilationWithIndexAndRange(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 3684var comp = CreateCompilationWithCSharp(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9)
CodeGen\CodeGenLocalFunctionTests.cs (2)
5523options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 5530options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
CodeGen\CodeGenNullCoalescingAssignmentTests.cs (1)
29181", options: TestOptions.DebugExe);
CodeGen\CodeGenOperators.cs (8)
48compilation = CompileAndVerify(source, expectedOutput: "False", options: TestOptions.DebugExe); 105compilation = CompileAndVerify(source, expectedOutput: "False", options: TestOptions.DebugExe); 173compilation = CompileAndVerify(source, expectedOutput: "False", options: TestOptions.DebugExe); 247compilation = CompileAndVerify(source, expectedOutput: "False Branch not taken-True Branch taken", options: TestOptions.DebugExe); 310compilation = CompileAndVerify(source, expectedOutput: "True Branch taken", options: TestOptions.DebugExe); 363compilation = CompileAndVerify(source, expectedOutput: "True Branch taken", options: TestOptions.DebugExe); 1865options: TestOptions.DebugExe, expectedOutput: "C"); 3480var comp = CompileAndVerify(text, options: TestOptions.DebugExe, expectedOutput: @"True
CodeGen\CodeGenOptimizedNullableOperators.cs (53)
831verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput); 936verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput); 1018verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput); 2756verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 2802verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 2845verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 2882verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 2930verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 2975verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 3012verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 3049verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 3086verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 3124verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 3162verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 3202verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 3249verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 3293verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 3340verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 3389verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 3437verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 3485verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 3535verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 3585verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 3641verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 3694verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 3750verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 3803verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 3860verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 3914verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 3964verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 4019verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 4079verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 4132verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 4193verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 4254verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 4301verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 4339verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 4399verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 4452verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 4512verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 4565verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 4613verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 4652verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 4700verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 4739verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 4787verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 4826verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 4874verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 4913verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 4973verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 5026verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 5075verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output); 5115verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: output);
CodeGen\CodeGenRefConditionalOperatorTests.cs (8)
1405CompileAndVerify(source, expectedOutput: "0123-1230", options: TestOptions.DebugExe); 1540CompileAndVerify(source, expectedOutput: "0123-1230", options: TestOptions.DebugExe); 1685CompileAndVerify(source, expectedOutput: "0123-1230", options: TestOptions.DebugExe); 1838CompileAndVerify(source, expectedOutput: "0123-1230", options: TestOptions.DebugExe); 2061CompileAndVerify(source, expectedOutput: "124-123", options: TestOptions.DebugExe); 2384CompileAndVerify(source, targetFramework: TargetFramework.NetCoreApp, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? expectedOutput : null, options: TestOptions.DebugExe, verify: Verification.FailsPEVerify); 2423CompileAndVerify(source, targetFramework: TargetFramework.NetCoreApp, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? expectedOutput : null, options: TestOptions.DebugExe, verify: Verification.FailsPEVerify); 2474CompileAndVerify(source, targetFramework: TargetFramework.NetCoreApp, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? expectedOutput : null, options: TestOptions.DebugExe, verify: Verification.FailsPEVerify);
CodeGen\CodeGenRefLocalTests.cs (6)
4508var verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: ""); 4561var verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: ""); 4613var verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: ""); 4664var verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: ""); 4713var verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: ""); 4749var verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: "");
CodeGen\CodeGenScriptTests.cs (2)
496var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe); 603var compilation = CreateCompilationWithMscorlib40(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe);
CodeGen\CodeGenShortCircuitOperatorTests.cs (21)
5181var verifier = CompileAndVerify(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), verify: Verification.Fails, expectedOutput: @"--- 5232var verifier = CompileAndVerify(source, verify: Verification.FailsILVerify, options: TestOptions.DebugExe.WithAllowUnsafe(true), expectedOutput: @"--- 5289var verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: @"--- 5416var verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: @"--- 5543var verifier = CompileAndVerify(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), verify: Verification.Fails, expectedOutput: @"--- 5616var compilation = CreateCompilation(source, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 5669var verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: @" --- 5718var verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: @"--- 5807var verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: @"--- 5863source, references: new[] { SystemRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929, CSharpRef }, options: TestOptions.DebugExe); 6992var verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: 7052var verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: 7119var verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: 7179var verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: 7234var verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: 7278var verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: 7324var comp = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: @"", verify: Verification.Fails); 7349comp = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: @"", parseOptions: TestOptions.Regular.WithPEVerifyCompatFeature(), verify: Verification.Passes); 7392var verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: @""); 7469CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput); 7520CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput);
CodeGen\CodeGenStackAllocInitializerTests.cs (6)
981options: TestOptions.DebugExe).VerifyDiagnostics(); 1138options: TestOptions.DebugExe).VerifyDiagnostics(); 1237options: TestOptions.DebugExe).VerifyDiagnostics(); 1293options: TestOptions.DebugExe).VerifyDiagnostics(); 1348options: TestOptions.DebugExe).VerifyDiagnostics(); 1675options: TestOptions.DebugExe).VerifyDiagnostics();
CodeGen\CodeGenStructsAndEnum.cs (1)
525CompileAndVerify(text, options: TestOptions.DebugExe).VerifyIL("Struct.Main()", expectedIL);
CodeGen\CodeGenTests.cs (12)
1814var v = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: "42123"); 5685var v = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: @"1"); 7876var compilation = CompileAndVerify(source, options: TestOptions.DebugExe.WithModuleName("MODULE")); 13435var comp = CompileAndVerify(code, expectedOutput: "5", options: TestOptions.DebugExe); 13613var compDebug = CreateCompilation(source, options: TestOptions.DebugExe); 13656var comp = CreateCompilation(source, options: TestOptions.DebugExe); 16334comp = CreateCompilationWithMscorlibAndSpan(source, TestOptions.DebugExe); 16421comp = CreateCompilationWithMscorlibAndSpan(source, TestOptions.DebugExe); 16500comp = CreateCompilationWithMscorlibAndSpan(source, TestOptions.DebugExe); 16559comp = CreateCompilationWithMscorlibAndSpan(source, TestOptions.DebugExe); 16657comp = CreateCompilationWithMscorlibAndSpan(source, TestOptions.DebugExe); 17311var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
CodeGen\CodeGenTryFinally.cs (2)
3730CompileAndVerify(source, expectedOutput: "", options: TestOptions.DebugExe); 3858verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: "M1M4M1M2Catch",
CodeGen\CodeGenTupleEqualityTests.cs (70)
66var comp = CreateCompilation(source, options: TestOptions.DebugExe, assemblyName: name); 785var comp = CreateCompilation(source, options: TestOptions.DebugExe); 830var comp = CreateCompilation(source, options: TestOptions.DebugExe); 847var comp = CreateCompilation(source, options: TestOptions.DebugExe); 895var comp = CreateCompilation(source, options: TestOptions.DebugExe); 944var comp = CreateCompilation(source, options: TestOptions.DebugExe); 994var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1048var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1082var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1114var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1145var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1205var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1234var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1259var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1281var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1305var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1489var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1550var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1587var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1612var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1806var comp = CreateCompilation(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 1822var comp = CreateCompilation(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 1840var comp = CreateCompilation(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 1860var comp = CreateCompilation(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 1893var comp = CreateCompilation(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 1911var comp = CreateCompilation(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 2058var comp = CreateCompilationWithMscorlib40(source, options: TestOptions.DebugExe); 2098var comp = CreateCompilationWithMscorlib40(source, options: TestOptions.DebugExe); 2154var comp = CreateCompilationWithMscorlib40(source, options: TestOptions.DebugExe); 2175var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2219var comp = CreateCompilation(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 2266var comp = CreateCompilation(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 2297var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2414var comp = CreateCompilation(source.Replace("EXPRESSION", expression), options: TestOptions.DebugExe); 2502var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2732var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2819var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2983var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3013var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3271var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3356var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3391var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3426var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3642var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3677var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3776var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3801var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3904var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3997var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4075var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4116var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4177var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4231var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4333var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4381var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4478targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 4582targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 4671var comp = CreateCompilation(source.Replace("REPLACE", expression), options: TestOptions.DebugExe); 4978var comp = CreateCompilationWithMscorlib40(source, options: TestOptions.DebugExe); 5045var comp = CreateCompilation(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 5085var comp = CreateCompilation(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 5107var comp = CreateCompilation(source, options: TestOptions.DebugExe); 5150var comp = CreateCompilation(source, options: TestOptions.DebugExe); 5296var comp = CreateCompilation(source, options: TestOptions.DebugExe); 5343var comp = CreateCompilation(source, options: TestOptions.DebugExe); 5371var comp = CreateCompilation(source, options: TestOptions.DebugExe); 5392var comp = CreateCompilation(source, options: TestOptions.DebugExe); 5418var comp = CreateCompilation(source, options: TestOptions.DebugExe); 5502var comp = CreateCompilation(source, options: TestOptions.DebugExe); 5558var comp = CreateCompilation(source, options: TestOptions.DebugExe);
CodeGen\CodeGenTupleTest.cs (74)
5408CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics( 5418CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics( 5533options: TestOptions.DebugExe); 7491var comp = CreateCompilation(source, options: TestOptions.DebugExe); 7524var comp = CreateCompilation(source, options: TestOptions.DebugExe); 7561var comp = CreateCompilation(source, options: TestOptions.DebugExe); 7618var comp = CreateCompilation(source, options: TestOptions.DebugExe); 16794options: TestOptions.DebugExe); 16805options: TestOptions.DebugExe); 16816options: TestOptions.DebugExe); 16856options: TestOptions.DebugExe); 16867options: TestOptions.DebugExe); 16888options: TestOptions.DebugExe); 16928options: TestOptions.DebugExe); 16942options: TestOptions.DebugExe); 16963options: TestOptions.DebugExe); 17025options: TestOptions.DebugExe); 17048options: TestOptions.DebugExe); 17075options: TestOptions.DebugExe); 17126options: TestOptions.DebugExe); 17180options: TestOptions.DebugExe); 20541var comp = CreateCompilation(source, options: TestOptions.DebugExe); 21345var comp = CreateCompilation(source, options: TestOptions.DebugExe); 22396options: TestOptions.DebugExe); 22770var comp = CreateCompilation(source, assemblyName: "comp", options: TestOptions.DebugExe); 22810var comp = CreateCompilationWithMscorlib40(source, assemblyName: "comp", references: new[] { libComp.EmitToImageReference() }, options: TestOptions.DebugExe); 22847options: TestOptions.DebugExe, 22897var comp = CreateCompilation(source, assemblyName: "ValueTupleNotStruct", options: TestOptions.DebugExe); 22966var comp = CreateCompilation(source, assemblyName: "ValueTupleNotStruct", options: TestOptions.DebugExe); 23010var comp = CreateCompilation(source, assemblyName: "ValueTupleNotStruct", options: TestOptions.DebugExe); 23044var comp = CreateCompilation(source, assemblyName: "ValueTupleNotStruct", options: TestOptions.DebugExe); 23086var comp = CreateCompilation(source, assemblyName: "ValueTupleNotStruct", options: TestOptions.DebugExe); 23125var comp = CreateCompilation(source, assemblyName: "ValueTupleNotStruct", options: TestOptions.DebugExe); 23446var comp = CompileAndVerify(source, expectedOutput: "42qq", references: new[] { libComp.ToMetadataReference() }, options: TestOptions.DebugExe, verify: Verification.Fails); 23502var comp = CompileAndVerifyWithMscorlib40(source, expectedOutput: "42qq", references: s_valueTupleRefs.Concat(new[] { libCompRef }).ToArray(), options: TestOptions.DebugExe, verify: Verification.Fails); 23846var comp = CreateCompilationWithMscorlib461AndCSharp(source, references: (new[] { libCompRef }).Concat(s_valueTupleRefs).ToArray(), options: TestOptions.DebugExe); 23901var comp = CompileAndVerify(source, expectedOutput: "42qq", references: new[] { libCompRef }, options: TestOptions.DebugExe, verify: Verification.Passes); 24254var comp = CreateCompilation(source, options: TestOptions.DebugExe); 24317var comp = CreateCompilation(source, options: TestOptions.DebugExe); 24382var comp = CreateCompilation(source, options: TestOptions.DebugExe); 24454var comp = CreateCompilation(source, options: TestOptions.DebugExe); 24527var comp = CreateCompilation(source, options: TestOptions.DebugExe); 24597var comp = CreateCompilation(source, options: TestOptions.DebugExe); 25018var comp = CreateCompilation(source, options: TestOptions.DebugExe); 25275references: new[] { SystemXmlRef }, options: TestOptions.DebugExe); 25424var comp = CreateCompilationWithMscorlib40(source, references: new[] { ValueTupleRef, SystemRuntimeFacadeRef }, options: TestOptions.DebugExe); 25617options: TestOptions.DebugExe, expectedOutput: 26216var comp = CreateCompilation(source, options: TestOptions.DebugExe); 26447options: TestOptions.DebugExe); 26512options: TestOptions.DebugExe); 26569options: TestOptions.DebugExe); 26577options: TestOptions.DebugExe); 26631var executeComp = CreateCompilation(executable_cs, references: new[] { comp.EmitToImageReference(), libRef, missingRef }, options: TestOptions.DebugExe); 27039var comp1 = CreateCompilation(source0 + source1, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe); 27046var comp4 = CreateCompilation(source0 + source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe); 27049var comp5 = CreateCompilation(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe, references: comp1Ref); 27053var comp6 = CreateCompilation(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe, references: comp1ImageRef); 27057var comp7 = CreateCompilation(source2, targetFramework: TargetFramework.Mscorlib46, options: TestOptions.DebugExe, references: comp1Ref); 27123var comp1 = CreateCompilation(source0 + source1, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe); 27130var comp4 = CreateCompilation(source0 + source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe); 27133var comp5 = CreateCompilation(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe, references: comp1Ref); 27137var comp6 = CreateCompilation(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe, references: comp1ImageRef); 27141var comp7 = CreateCompilation(source2, targetFramework: TargetFramework.Mscorlib46, options: TestOptions.DebugExe, references: comp1Ref); 27197var comp1 = CreateCompilation(source0 + source1, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe); 27204var comp4 = CreateCompilation(source0 + source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe); 27207var comp5 = CreateCompilation(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe, references: comp1Ref); 27211var comp6 = CreateCompilation(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe, references: comp1ImageRef); 27215var comp7 = CreateCompilation(source2, targetFramework: TargetFramework.Mscorlib46, options: TestOptions.DebugExe, references: comp1Ref); 27275var comp1 = CreateCompilation(source0 + source1, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe); 27282var comp4 = CreateCompilation(source0 + source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe); 27285var comp5 = CreateCompilation(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe, references: comp1Ref); 27289var comp6 = CreateCompilation(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe, references: comp1ImageRef); 27293var comp7 = CreateCompilation(source2, targetFramework: TargetFramework.Mscorlib46, options: TestOptions.DebugExe, references: comp1Ref); 27336var comp1 = CreateCompilation(source0, options: TestOptions.DebugExe.WithAllowUnsafe(true));
CodeGen\CodeGenUsingDeclarationTests.cs (8)
681var compilation = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe).VerifyDiagnostics(); 1162var compilation = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe).VerifyDiagnostics(); 1189var compilation = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe).VerifyDiagnostics(); 1234var compilation = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe).VerifyDiagnostics(); 1281var compilation = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe).VerifyDiagnostics(); 1317var compilation = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe).VerifyDiagnostics(); 1402var compilation = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 1429var compilation = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe);
CodeGen\EventTests.cs (2)
707var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 779var compilation = CreateCompilation(source, options: TestOptions.DebugExe);
CodeGen\ForeachTest.cs (1)
867", TestOptions.DebugExe);
CodeGen\ForLoopsTests.cs (1)
1916var c = CompileAndVerify(text, options: TestOptions.DebugExe);
CodeGen\GotoTest.cs (5)
933var compilation = CreateCompilationWithMscorlib461(source, references: new[] { SystemCoreRef }, parseOptions: TestOptions.Script, options: TestOptions.DebugExe); 948var compilation = CreateCompilationWithMscorlib461(source, references: new[] { SystemCoreRef }, parseOptions: TestOptions.Script, options: TestOptions.DebugExe); 984var compilation = CreateCompilationWithMscorlib461(source, references: new[] { SystemCoreRef }, parseOptions: TestOptions.Script, options: TestOptions.DebugExe); 1067var compilation = CreateCompilationWithMscorlib461(source, references: new[] { SystemCoreRef }, parseOptions: TestOptions.Script, options: TestOptions.DebugExe); 1087var compilation = CreateCompilationWithMscorlib461(source, references: new[] { SystemCoreRef }, parseOptions: TestOptions.Script, options: TestOptions.DebugExe);
CodeGen\IndexAndRangeTests.cs (3)
1957var comp = CreateCompilationWithIndex(source, WithNullableEnable(TestOptions.DebugExe)); 2625}", options: TestOptions.DebugExe); 2689}", options: TestOptions.DebugExe);
CodeGen\ObjectAndCollectionInitializerTests.cs (2)
3534CompileAndVerify(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), expectedOutput: "1", verify: Verification.Fails); 3581var verifier = CompileAndVerify(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), verify: Verification.Fails, expectedOutput:
CodeGen\PatternTests.cs (32)
235var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 401var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 502var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 634var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2612var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2646var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithRecursivePatterns); 2667var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithRecursivePatterns); 2902var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2999var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 3055var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 3096var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 3384var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 3473var v = CompileAndVerify(source, options: TestOptions.DebugExe); 3548foreach (var options in new[] { TestOptions.DebugExe, TestOptions.ReleaseExe }) 3631foreach (var options in new[] { TestOptions.DebugExe, TestOptions.ReleaseExe }) 3703foreach (var options in new[] { TestOptions.DebugExe, TestOptions.ReleaseExe }) 3779foreach (var options in new[] { TestOptions.DebugExe, TestOptions.ReleaseExe }) 3995compilation = CreateCompilation(source, options: TestOptions.DebugExe); 4033compilation = CreateCompilation(source, options: TestOptions.DebugExe); 4327foreach (var compilationOptions in new[] { TestOptions.ReleaseExe, TestOptions.DebugExe }) 5453var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 5507var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithPatternCombinators); 5607var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithPatternCombinators); 5715var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithPatternCombinators); 5879var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithPatternCombinators); 6023var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithPatternCombinators); 6195var verifier = CompileAndVerify(source, expectedOutput: "012323", options: TestOptions.DebugExe); 6280var verifier = CompileAndVerify(source, expectedOutput: " 0 1 2 3 2 3", options: TestOptions.DebugExe); 6369var verifier = CompileAndVerify(source, expectedOutput: "0123452345", options: TestOptions.DebugExe); 6465var verifier = CompileAndVerify(source, expectedOutput: "0123233", options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 6650var verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: "012"); 6852var verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: "System.ActionSystem.Action");
CodeGen\SwitchTests.cs (3)
429var compVerifier = CompileAndVerify(text, expectedOutput: "1", options: TestOptions.DebugExe); 10607var compilation = CreateCompilation(source, options: TestOptions.DebugExe) 10802var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9)
Emit\CompilationEmitTests.cs (1)
562", options: TestOptions.DebugExe);
Emit\CovariantReturnTests.cs (3)
278var compilation = CreateCovariantCompilation(source, options: TestOptions.DebugExe); 313var compilation = CreateCovariantCompilation(source, options: TestOptions.DebugExe); 546var compilation = CreateCovariantCompilation(program, options: TestOptions.DebugExe, references: new[] { ref0, ref1b, ref2 });
Emit\DesktopStrongNameProviderTests.cs (2)
96.DebugExe 113.DebugExe
Emit\DeterministicTests.cs (3)
31return CompiledGuid(source, assemblyName, options: debug ? TestOptions.DebugExe : TestOptions.ReleaseExe, platform: platform); 53var options = (optimize ? TestOptions.ReleaseExe : TestOptions.DebugExe).WithPlatform(platform).WithDeterministic(true); 268TestOptions.DebugExe.WithDeterministic(true));
Emit\DynamicAnalysis\DynamicInstrumentationTests.cs (11)
682verifier = CompileAndVerify(source + InstrumentationHelperSource, expectedOutput: expectedOutput, options: TestOptions.DebugExe); 748verifier = CompileAndVerify(source, expectedOutput: checker.ExpectedOutput, options: TestOptions.DebugExe); 856verifier = CompileAndVerify(source + InstrumentationHelperSource, expectedOutput: expectedOutput, options: TestOptions.DebugExe); 952verifier = CompileAndVerify(source, expectedOutput: checker.ExpectedOutput, options: TestOptions.DebugExe); 1031verifier = CompileAndVerify(source + InstrumentationHelperSource, expectedOutput: expectedOutput, options: TestOptions.DebugExe); 3173verifier = CompileAndVerify(source, expectedOutput, options: TestOptions.DebugExe); 3247verifier = CompileAndVerify(source, expectedOutput, options: TestOptions.DebugExe); 3372verifier = CompileAndVerify(sources, expectedOutput, options: TestOptions.DebugExe); 3498verifier = CompileAndVerify(sources, expectedOutput, options: TestOptions.DebugExe); 3572verifier = CompileAndVerify(source, expectedOutput, options: TestOptions.DebugExe); 3622verifier = CompileAndVerify(source, expectedOutput, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9);
Emit\EmitMetadataTests.cs (2)
917}", options: TestOptions.DebugExe); 2424options: TestOptions.DebugExe.WithPlatform(Platform.X64).WithDeterministic(true),
Emit\EntryPointTests.cs (3)
1596var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 1617var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 1637var compilation = CreateCompilation(source, options: TestOptions.DebugExe);
Emit\OptionalArgumentsTests.cs (3)
108var compilation = CreateCompilationWithILAndMscorlib40(csharpSource, ilSource, TargetFramework.Mscorlib461, options: TestOptions.DebugExe); 176options: TestOptions.DebugExe); 185options: TestOptions.DebugExe);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (206)
CodeGen\CodeGenCallTests.cs (178)
117CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 192CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 291CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 366CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 626CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 776CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 1118CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 1310CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 1600CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 1773CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 1934options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 2052options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 2214options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 2332options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 2439CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 2491CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 2599CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 2651CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 2919CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 2978CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 3328CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 3388CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 3510CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 3599CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 3722CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 3811CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 4102CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 4271CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 4644CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 4855CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 5000CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 5099CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 5245CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 5344CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 5652CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 5824CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 6214CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 6428CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 6569CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 6666CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 6808CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 6905CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 7197CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 7364CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 7738CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 7947CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 8088CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 8185CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 8327CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 8424CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 8722CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 8892CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 9272CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 9484CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 9634CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 9735CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 10069CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 10263CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 10413CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 10514CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 10854CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 11051CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 11220CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 11331CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 11501CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 11612CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 11932CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 12113CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 12515CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 12738CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 12865CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 12959CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 13086CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 13180CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 13475CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 13646CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 13789CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 13887CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 14031CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 14129CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 14453CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 14633CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 14929CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 15098CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 15495CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 15711CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 15874CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 15982CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 16146CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 16254CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 16568CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 16746CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 16917CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 17029CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 17201CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 17313CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 17641CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 17826CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 18150CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 18333CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 18739CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 18963CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 19084CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 19170CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 19292CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 19378CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 19646CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 19804CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 19950CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 20053CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 20200CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 20303CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 20603CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 20779CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 20943CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 21059CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 21224CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 21340CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 21668CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 21855CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 22007CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 22120CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 22273CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 22386CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 22715CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 22910CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 23076CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 23193CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 23360CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 23477CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 23832CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 24032CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 24364CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 24553CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 24986CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 25222CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 25414CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 25544CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 25737CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 25867CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 26223CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 26424CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 26610CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 26737CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 26924CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 27051CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 27405CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 27605CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 27799CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 27930CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 28125CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 28256CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 28620CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 28825CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 29185CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 29388CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 29824CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 30065CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 30213CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 30320CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 30469CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 30576CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 30892CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 31076CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 31217CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 31317CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 31459CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 31559CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 31854CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 32024CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 32199CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 32316CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 32492CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 32609CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 32944CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 33134CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 33403CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 33506CompileAndVerify(source, options: TestOptions.DebugExe, verify: Verification.Fails, expectedOutput: expectedOutput).VerifyDiagnostics();
CodeGen\CodeGenLengthBasedSwitchTests.cs (1)
505comp = CreateCompilation(source, options: TestOptions.DebugExe);
CodeGen\CodeGenMethodGroupConversionCachingTests.cs (2)
6026var comp = CreateCompilation(source, parseOptions: TestOptions.Regular11, options: TestOptions.DebugExe); 6325var compilation = CreateCompilationWithIL(source, ilSource, options: TestOptions.DebugExe);
Emit\EditAndContinue\EditAndContinueClosureTests.cs (2)
4626var compilation0 = CreateCompilation(source0.Tree, options: TestOptions.DebugExe); 5671using var _ = new EditAndContinueTest(options: TestOptions.DebugExe)
Emit\EditAndContinue\EditAndContinueTests.cs (10)
504var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe); 798var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe, targetFramework: TargetFramework.NetStandard20); 1126var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe, targetFramework: TargetFramework.NetStandard20); 1249var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe, targetFramework: TargetFramework.NetStandard20); 2384using var _ = new EditAndContinueTest(options: TestOptions.DebugExe) 2487using var _ = new EditAndContinueTest(options: TestOptions.DebugExe) 2847var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe, targetFramework: TargetFramework.NetStandard20); 2931var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe, targetFramework: TargetFramework.NetStandard20); 8718var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe); 16216var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe);
Emit\RuntimeProbing\ModuleCancellationTests.cs (1)
139var verifier = CompileAndVerify(source, options: TestOptions.DebugExe);
Emit\RuntimeProbing\StackOverflowProbingTests.cs (1)
129var verifier = CompileAndVerify(source, options: TestOptions.DebugExe);
PDB\CheckSumTest.cs (1)
103CompileAndVerify(text, options: TestOptions.DebugExe).
PDB\PDBConstantTests.cs (1)
532var compilation = CreateCompilation(source, options: TestOptions.DebugExe);
PDB\PDBIteratorTests.cs (1)
552var c = CreateCompilationWithMscorlib40AndSystemCore(text, options: TestOptions.DebugExe);
PDB\PDBTests.cs (5)
671var c = CreateCompilation(source, options: TestOptions.DebugExe); 3719var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugExe); 3841var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_1); 4007var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_1); 7901var c = CreateCompilationWithMscorlib40AndSystemCore(src, references: new[] { CSharpRef, ValueTupleRef, SystemRuntimeFacadeRef }, options: TestOptions.DebugExe);
PDB\PDBUsingTests.cs (3)
2611CompileAndVerify(source, new[] { libRef }, options: TestOptions.DebugExe).VerifyPdb("Test.Main", @" 2851var comp2 = CreateCompilation(source2, new[] { comp1.ToMetadataReference() }, options: TestOptions.DebugExe); 2905var compilation = CreateCompilation(text, options: TestOptions.DebugExe);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1390)
Attributes\AttributeTests.cs (9)
582}", options: TestOptions.DebugExe); 615}", options: TestOptions.DebugExe); 1116}", options: TestOptions.DebugExe); 1180}", options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_2); 1219}", options: TestOptions.DebugExe); 1258}", options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_2); 1296}", options: TestOptions.DebugExe); 1336}", options: TestOptions.DebugExe); 10756var comp = CreateCompilationWithIL(source, il, options: TestOptions.DebugExe);
Attributes\AttributeTests_CallerInfoAttributes.cs (1)
3235CompileAndVerify(source, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), symbolValidator: verify);
Attributes\AttributeTests_Nullable.cs (2)
5028var comp = CreateCompilation(source, parseOptions: TestOptions.Regular8, options: TestOptions.DebugExe); 5063var comp = CreateCompilation(source, parseOptions: TestOptions.Regular8, options: TestOptions.DebugExe);
Attributes\AttributeTests_NullableContext.cs (1)
338var comp = CreateCompilation(source, parseOptions: TestOptions.Regular8, options: TestOptions.DebugExe);
Attributes\AttributeTests_WellKnownAttributes.cs (1)
5762options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All));
Diagnostics\OperationAnalyzerTests.cs (1)
187CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe)
RefReadonlyParameterTests.cs (2)
834var verifier = CompileAndVerify(source, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 858var verifier = CompileAndVerify(source, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
RefStructInterfacesTests.cs (1)
22061var comp = CreateCompilation(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.DebugExe);
Semantics\CollectionExpressionTests.cs (1)
30092var comp = CreateCompilation(new[] { sourceA, s_collectionExtensions }, targetFramework: TargetFramework.Net80, options: ExecutionConditionUtil.IsMonoOrCoreClr ? TestOptions.DebugExe : TestOptions.DebugDll);
Semantics\ExtensionOperatorsTests.cs (452)
683var comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe); 699comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 702comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 720var comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe); 723comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 726comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 782var comp = CreateCompilation(src, options: TestOptions.DebugExe); 830var comp = CreateCompilation(src, options: TestOptions.DebugExe); 901var comp = CreateCompilation(src, options: TestOptions.DebugExe); 1087var comp1 = CreateCompilation([src1, src2], options: TestOptions.DebugExe); 1090var comp2 = CreateCompilation([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 1093comp2 = CreateCompilation(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 1140var comp = CreateCompilation(src, options: TestOptions.DebugExe); 1177var comp = CreateCompilation(src, options: TestOptions.DebugExe); 1220var comp = CreateCompilation(src, options: TestOptions.DebugExe); 1270var comp = CreateCompilation(src, options: TestOptions.DebugExe); 1377var comp = CreateCompilation(src, options: TestOptions.DebugExe); 1413var comp = CreateCompilation(src, options: TestOptions.DebugExe); 1482var comp = CreateCompilation([src, OverloadResolutionPriorityAttributeDefinition], options: TestOptions.DebugExe); 1519var comp = CreateCompilation(src, options: TestOptions.DebugExe); 1579var comp2 = CreateCompilation(src2, options: TestOptions.DebugExe); 1623var comp1 = CreateCompilation([src1, src2], options: TestOptions.DebugExe); 1626var comp2 = CreateCompilation([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 1629comp2 = CreateCompilation(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 1681var comp = CreateCompilation(src, options: TestOptions.DebugExe); 1733var comp = CreateCompilation(src, options: TestOptions.DebugExe); 1795var comp = CreateCompilation(src, options: TestOptions.DebugExe); 1855var comp = CreateCompilation(src, options: TestOptions.DebugExe); 1911var comp = CreateCompilation(src, options: TestOptions.DebugExe); 1952var comp = CreateCompilation(src, options: TestOptions.DebugExe); 1989var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 2023var comp = CreateCompilation(src, options: TestOptions.DebugExe); 2065var comp = CreateCompilation(src, options: TestOptions.DebugExe); 2120var comp = CreateCompilation(src, options: TestOptions.DebugExe); 2173var comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe); 2189comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 2192comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 2212var comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe); 2215comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 2218comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 2276var comp = CreateCompilation(src, options: TestOptions.DebugExe); 2314var comp = CreateCompilation(src, options: TestOptions.DebugExe); 2376var comp = CreateCompilation(src, options: TestOptions.DebugExe); 2519var comp = CreateCompilation(src, options: TestOptions.DebugExe); 2563var comp = CreateCompilation(src, options: TestOptions.DebugExe); 2612var comp = CreateCompilation(src, options: TestOptions.DebugExe); 2658var comp = CreateCompilation(src, options: TestOptions.DebugExe); 2697var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 2747var comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe); 2750comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 2753comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 2806var comp = CreateCompilation(src, options: TestOptions.DebugExe); 2864var comp = CreateCompilation(src, options: TestOptions.DebugExe); 2913var comp = CreateCompilation(src, options: TestOptions.DebugExe); 2948var comp = CreateCompilation(src, options: TestOptions.DebugExe); 3001var comp = CreateCompilation(src, options: TestOptions.DebugExe); 3194var comp = CreateCompilation(src, options: TestOptions.DebugExe); 3233var comp = CreateCompilation(src, options: TestOptions.DebugExe); 3273var comp = CreateCompilation(src, options: TestOptions.DebugExe); 3331var comp = CreateCompilation(src, options: TestOptions.DebugExe); 3394var comp = CreateCompilation(src, options: TestOptions.DebugExe); 3434var comp = CreateCompilation(src, options: TestOptions.DebugExe); 3484var comp = CreateCompilation(src, options: TestOptions.DebugExe); 3542var comp = CreateCompilation(src, options: TestOptions.DebugExe); 3583var comp = CreateCompilation(src, options: TestOptions.DebugExe); 4211var comp = CreateCompilation(src, options: TestOptions.DebugExe); 4713var comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe); 4729comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 4732comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 4753var comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe); 4756comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 4759comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 4831var comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe); 4847comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 4850comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 4872var comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe); 4875comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 4878comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 4950var comp6 = CreateCompilation(src6, references: [comp5Ref], options: TestOptions.DebugExe); 4953comp6 = CreateCompilation(src6, references: [comp5Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 4956comp6 = CreateCompilation(src6, references: [comp5Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 5003var comp = CreateCompilation(src, options: TestOptions.DebugExe); 5057var comp = CreateCompilation(src, options: TestOptions.DebugExe); 5105var comp = CreateCompilation(src, options: TestOptions.DebugExe); 5153var comp = CreateCompilation(src, options: TestOptions.DebugExe); 5202var comp = CreateCompilation(src, options: TestOptions.DebugExe); 5250var comp = CreateCompilation(src, options: TestOptions.DebugExe); 5299var comp = CreateCompilation(src, options: TestOptions.DebugExe); 5350var comp = CreateCompilation(src, options: TestOptions.DebugExe); 5405var comp = CreateCompilation(src, options: TestOptions.DebugExe); 5461var comp = CreateCompilation(src, options: TestOptions.DebugExe); 5519var comp = CreateCompilation(src, options: TestOptions.DebugExe); 5591var comp = CreateCompilation(src, options: TestOptions.DebugExe); 5662var comp = CreateCompilation(src, options: TestOptions.DebugExe); 5733var comp = CreateCompilation(src, options: TestOptions.DebugExe); 6229var comp1 = CreateCompilation([src1, src2], options: TestOptions.DebugExe); 6232var comp2 = CreateCompilation([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 6235comp2 = CreateCompilation(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 6293var comp = CreateCompilation(src, options: TestOptions.DebugExe); 6337var comp = CreateCompilation(src, options: TestOptions.DebugExe); 6374var comp = CreateCompilation(src, options: TestOptions.DebugExe); 6415var comp = CreateCompilation(src, options: TestOptions.DebugExe); 6464var comp = CreateCompilation(src, options: TestOptions.DebugExe); 6514var comp = CreateCompilation(src, options: TestOptions.DebugExe); 6560var comp = CreateCompilation(src, options: TestOptions.DebugExe); 6595var comp = CreateCompilation(src, options: TestOptions.DebugExe); 6635var comp = CreateCompilation(src, options: TestOptions.DebugExe); 6695var comp = CreateCompilation(src, options: TestOptions.DebugExe); 6728var comp = CreateCompilation(src, options: TestOptions.DebugExe); 6770var comp = CreateCompilation(src, options: TestOptions.DebugExe); 6798var comp = CreateCompilation(src, targetFramework: TargetFramework.Net90, options: TestOptions.DebugExe); 6845var comp = CreateCompilation(src, options: TestOptions.DebugExe); 6879var comp = CreateCompilation(src, options: TestOptions.DebugExe); 6986var comp = CreateCompilation(src, options: TestOptions.DebugExe); 7071var comp = CreateCompilation(src, options: TestOptions.DebugExe); 7105var comp = CreateCompilation(src, options: TestOptions.DebugExe); 7139var comp = CreateCompilation(src, options: TestOptions.DebugExe); 7208var comp = CreateCompilation([src, OverloadResolutionPriorityAttributeDefinition], options: TestOptions.DebugExe); 7270var comp = CreateCompilation([src, OverloadResolutionPriorityAttributeDefinition], options: TestOptions.DebugExe); 7307var comp = CreateCompilation(src, options: TestOptions.DebugExe); 7344var comp = CreateCompilation(src, options: TestOptions.DebugExe); 7388var comp1 = CreateCompilation([src1, src2], options: TestOptions.DebugExe); 7391var comp2 = CreateCompilation([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 7394comp2 = CreateCompilation(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 7443var comp1 = CreateCompilation([src1, src2, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 7446var comp2 = CreateCompilation([src1, src2, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 7449comp2 = CreateCompilation(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 7501var comp = CreateCompilation(src, options: TestOptions.DebugExe); 7545var comp = CreateCompilation(src, options: TestOptions.DebugExe); 7597var comp = CreateCompilation(src, options: TestOptions.DebugExe); 7666var comp = CreateCompilation(src, options: TestOptions.DebugExe); 7741var comp = CreateCompilation(src, options: TestOptions.DebugExe); 7785var comp = CreateCompilation(src, options: TestOptions.DebugExe); 7845var comp = CreateCompilation(src, options: TestOptions.DebugExe); 7903var comp = CreateCompilation(src, options: TestOptions.DebugExe); 7945var comp = CreateCompilation(src, options: TestOptions.DebugExe); 7989var comp = CreateCompilation(src, options: TestOptions.DebugExe); 8019var comp = CreateCompilation(src, options: TestOptions.DebugExe); 8061var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 8099var comp = CreateCompilation(src, options: TestOptions.DebugExe); 8143var comp = CreateCompilation(src, options: TestOptions.DebugExe); 8181var comp = CreateCompilation(src, options: TestOptions.DebugExe); 8236var comp = CreateCompilation(src, options: TestOptions.DebugExe); 8280var comp = CreateCompilation(src, options: TestOptions.DebugExe); 8330var comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe); 8346comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 8349comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 8401var comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe); 8417comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 8420comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 8437var comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe); 8484var comp5 = CreateCompilation(src5, references: [comp4Ref], options: TestOptions.DebugExe); 8497var comp6 = CreateCompilation(src6, references: [comp4Ref], options: TestOptions.DebugExe); 8535var comp = CreateCompilation(src, options: TestOptions.DebugExe); 8573var comp = CreateCompilation(src, options: TestOptions.DebugExe); 8868var comp = CreateCompilation(src, options: TestOptions.DebugExe); 8910var comp = CreateCompilation(src, options: TestOptions.DebugExe); 8958var comp = CreateCompilation(src, options: TestOptions.DebugExe); 9017var comp = CreateCompilation(src, options: TestOptions.DebugExe); 9070var comp = CreateCompilation(src, options: TestOptions.DebugExe); 9125var comp = CreateCompilation(src, options: TestOptions.DebugExe); 9175var comp = CreateCompilation(src, options: TestOptions.DebugExe); 9215var comp = CreateCompilation(src, options: TestOptions.DebugExe); 9269var comp = CreateCompilation(src, options: TestOptions.DebugExe); 9328var comp = CreateCompilation(src, options: TestOptions.DebugExe); 9386var comp = CreateCompilation(src, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 9425var comp = CreateCompilation(src, options: TestOptions.DebugExe); 9474var comp = CreateCompilation(src, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 9530var comp = CreateCompilation(src, options: TestOptions.DebugExe); 9574var comp = CreateCompilation(src, options: TestOptions.DebugExe); 9616var comp = CreateCompilation(src, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 9650var comp = CreateCompilation(src, options: TestOptions.DebugExe); 9709var comp = CreateCompilation(src, options: TestOptions.DebugExe); 9758var comp = CreateCompilation(src, options: TestOptions.DebugExe); 9806var comp = CreateCompilation(src, options: TestOptions.DebugExe); 10378var comp = CreateCompilation(src, options: TestOptions.DebugExe); 10446var comp = CreateCompilation(src, options: TestOptions.DebugExe); 11466var comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe); 11482comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 11485comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 11503var comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe); 11506comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 11509comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 11565var comp = CreateCompilation(src, options: TestOptions.DebugExe); 11613var comp = CreateCompilation(src, options: TestOptions.DebugExe); 11684var comp = CreateCompilation(src, options: TestOptions.DebugExe); 11867var comp = CreateCompilation(src, options: TestOptions.DebugExe); 11908var comp1 = CreateCompilation([src1, src2], options: TestOptions.DebugExe); 11911var comp2 = CreateCompilation([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 11914comp2 = CreateCompilation(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 11970var comp1 = CreateCompilation([src1, src2], options: TestOptions.DebugExe); 11973var comp2 = CreateCompilation([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 11976comp2 = CreateCompilation(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 12044var comp = CreateCompilation(src, options: TestOptions.DebugExe); 12090var comp = CreateCompilation(src, options: TestOptions.DebugExe); 12171var comp = CreateCompilation(src, options: TestOptions.DebugExe); 12229var comp = CreateCompilation(src, options: TestOptions.DebugExe); 12269var comp = CreateCompilation(src, options: TestOptions.DebugExe); 12306var comp = CreateCompilation(src, options: TestOptions.DebugExe); 12352var comp = CreateCompilation(src, options: TestOptions.DebugExe); 12402var comp1 = CreateCompilation(src1, options: TestOptions.DebugExe); 12446var comp2 = CreateCompilation(src2, options: TestOptions.DebugExe); 12490var comp3 = CreateCompilation(src3, options: TestOptions.DebugExe); 12543var comp4 = CreateCompilation(src4, options: TestOptions.DebugExe); 12601var comp = CreateCompilation(src, options: TestOptions.DebugExe); 12657var comp = CreateCompilation(src, options: TestOptions.DebugExe); 12764var comp = CreateCompilation(src, options: TestOptions.DebugExe); 12814var comp = CreateCompilation(src, options: TestOptions.DebugExe); 12843var comp = CreateCompilation(src, options: TestOptions.DebugExe); 12912var comp = CreateCompilation([src, OverloadResolutionPriorityAttributeDefinition], options: TestOptions.DebugExe); 12949var comp = CreateCompilation(src, options: TestOptions.DebugExe); 13009var comp2 = CreateCompilation(src2, options: TestOptions.DebugExe); 13053var comp1 = CreateCompilation([src1, src2], options: TestOptions.DebugExe); 13056var comp2 = CreateCompilation([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 13059comp2 = CreateCompilation(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 13111var comp = CreateCompilation(src, options: TestOptions.DebugExe); 13163var comp = CreateCompilation(src, options: TestOptions.DebugExe); 13225var comp = CreateCompilation(src, options: TestOptions.DebugExe); 13285var comp = CreateCompilation(src, options: TestOptions.DebugExe); 13341var comp = CreateCompilation(src, options: TestOptions.DebugExe); 13385var comp = CreateCompilation(src, options: TestOptions.DebugExe); 13432var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 13471var comp = CreateCompilation(src, options: TestOptions.DebugExe); 13516var comp = CreateCompilation(src, options: TestOptions.DebugExe); 13564var comp = CreateCompilation(src, options: TestOptions.DebugExe); 13619var comp = CreateCompilation(src, options: TestOptions.DebugExe); 13708var comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe); 13724comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 13727comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 13778var comp = CreateCompilation([src1, src2], options: TestOptions.DebugExe); 13783comp = CreateCompilation(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 13786comp = CreateCompilation(src2, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe); 13825var comp = CreateCompilation(src, options: TestOptions.DebugExe); 13895var comp = CreateCompilation(src1, options: TestOptions.DebugExe); 13902comp = CreateCompilation([src1, src2], options: TestOptions.DebugExe); 13977var comp = CreateCompilation(src1, options: TestOptions.DebugExe); 13984comp = CreateCompilation([src1, src2], options: TestOptions.DebugExe); 14034var comp = CreateCompilation(src, options: TestOptions.DebugExe); 14097var comp = CreateCompilation(src, options: TestOptions.DebugExe); 14145var comp = CreateCompilation(src, options: TestOptions.DebugExe); 14201var comp = CreateCompilation(src1, options: TestOptions.DebugExe); 14211comp = CreateCompilation([src1, src2], options: TestOptions.DebugExe); 14271var comp2 = CreateCompilation(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 14327var comp2 = CreateCompilation(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 14375var comp = CreateCompilation(src, options: TestOptions.DebugExe); 14417var comp = CreateCompilation(src, options: TestOptions.DebugExe); 14473var comp = CreateCompilation(src, options: TestOptions.DebugExe); 14522var comp = CreateCompilation(src, options: TestOptions.DebugExe); 14582var comp = CreateCompilation(src, options: TestOptions.DebugExe); 14631var comp = CreateCompilation(src, options: TestOptions.DebugExe); 14675var comp = CreateCompilation(src, options: TestOptions.DebugExe); 14719var comp = CreateCompilation(src, targetFramework: TargetFramework.Net90, options: TestOptions.DebugExe); 14760var comp = CreateCompilation(src, options: TestOptions.DebugExe); 14797var comp = CreateCompilation(src, options: TestOptions.DebugExe); 14847var comp = CreateCompilation(src, options: TestOptions.DebugExe); 14902var comp = CreateCompilation(src, options: TestOptions.DebugExe); 14943var comp = CreateCompilation(src, options: TestOptions.DebugExe); 15017var comp = CreateCompilation(src, options: TestOptions.DebugExe); 15417var comp1 = CreateCompilation([src1, src2], options: TestOptions.DebugExe); 15420var comp2 = CreateCompilation([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 15423comp2 = CreateCompilation(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 15539var comp = CreateCompilation(src, options: TestOptions.DebugExe); 15586var comp = CreateCompilation(src, options: TestOptions.DebugExe); 15618var comp = CreateCompilation(src, options: TestOptions.DebugExe); 15661var comp = CreateCompilation(src, options: TestOptions.DebugExe); 15717var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 15755var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 15803var comp = CreateCompilation(src, options: TestOptions.DebugExe); 15842var comp = CreateCompilation(src, options: TestOptions.DebugExe); 15888var comp = CreateCompilation(src, options: TestOptions.DebugExe); 15949var comp = CreateCompilation(src, options: TestOptions.DebugExe); 16004var comp = CreateCompilation(src, options: TestOptions.DebugExe); 16055var comp = CreateCompilation(src, options: TestOptions.DebugExe); 16125var comp = CreateCompilation(src, options: TestOptions.DebugExe); 16181var comp = CreateCompilation(src, options: TestOptions.DebugExe); 16215var comp = CreateCompilation(src, options: TestOptions.DebugExe); 16253var comp = CreateCompilation(src, options: TestOptions.DebugExe); 16300var comp = CreateCompilation(src, options: TestOptions.DebugExe); 16350var comp = CreateCompilation(src, options: TestOptions.DebugExe); 17069var comp = CreateCompilation(src, options: TestOptions.DebugExe); 17111var comp = CreateCompilation(src, options: TestOptions.DebugExe); 17153var comp = CreateCompilation(src, options: TestOptions.DebugExe); 17205var comp = CreateCompilation(src, options: TestOptions.DebugExe); 17245var comp = CreateCompilation(src, options: TestOptions.DebugExe); 17296var comp = CreateCompilation(src, options: TestOptions.DebugExe); 17355var comp = CreateCompilation(src, options: TestOptions.DebugExe); 17410var comp = CreateCompilation(src, options: TestOptions.DebugExe); 17465var comp = CreateCompilation(src, options: TestOptions.DebugExe); 17506var comp = CreateCompilation(src, options: TestOptions.DebugExe); 17560var comp = CreateCompilation(src, options: TestOptions.DebugExe); 17630var comp = CreateCompilation(src, options: TestOptions.DebugExe); 17678var comp = CreateCompilation(src, options: TestOptions.DebugExe); 17724var comp = CreateCompilation(src, options: TestOptions.DebugExe); 17795var comp = CreateCompilation(src, options: TestOptions.DebugExe); 17863var comp = CreateCompilation(src, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 17933var comp = CreateCompilation(src, options: TestOptions.DebugExe); 17989var comp = CreateCompilation(src, options: TestOptions.DebugExe); 18038var comp = CreateCompilation(src, options: TestOptions.DebugExe); 18096var comp = CreateCompilation(src, options: TestOptions.DebugExe); 18157var comp = CreateCompilation(src, options: TestOptions.DebugExe); 18220var comp = CreateCompilation(src, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 18266var comp = CreateCompilation(src, options: TestOptions.DebugExe); 18313var comp = CreateCompilation(src, options: TestOptions.DebugExe); 18657var comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe); 18660comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 18663comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 18698var comp4 = CreateCompilation(src2, references: [comp3Ref], options: TestOptions.DebugExe); 18769var comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe); 18785comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 18788comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 18807var comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe); 18810comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 18813comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 18896var comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe); 18912comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 18915comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 18934var comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe); 18937comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 18940comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 19000var comp2 = CreateCompilation(src, options: TestOptions.DebugExe); 19060var comp2 = CreateCompilation(src, options: TestOptions.DebugExe); 19121var comp2 = CreateCompilation(src, options: TestOptions.DebugExe); 19160var comp2 = CreateCompilation(src, options: TestOptions.DebugExe); 19203var comp2 = CreateCompilation(src, options: TestOptions.DebugExe); 19485var comp = CreateCompilation(src, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 19527var comp = CreateCompilation(src, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 19571var comp = CreateCompilation(src, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 19613var comp = CreateCompilation(src, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 19677var comp = CreateCompilation(src, options: TestOptions.DebugExe); 19732var comp = CreateCompilation(src, options: TestOptions.DebugExe); 20190var comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe); 20206comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 20209comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 20230var comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe); 20233comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 20236comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 20317var comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe); 20333comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 20336comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 20357var comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe); 20360comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 20363comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 20444var comp6 = CreateCompilation(src6, references: [comp5Ref], options: TestOptions.DebugExe); 20447comp6 = CreateCompilation(src6, references: [comp5Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 20450comp6 = CreateCompilation(src6, references: [comp5Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 20497var comp = CreateCompilation(src, options: TestOptions.DebugExe); 20551var comp = CreateCompilation(src, options: TestOptions.DebugExe); 20599var comp = CreateCompilation(src, options: TestOptions.DebugExe); 20647var comp = CreateCompilation(src, options: TestOptions.DebugExe); 20696var comp = CreateCompilation(src, options: TestOptions.DebugExe); 20744var comp = CreateCompilation(src, options: TestOptions.DebugExe); 20793var comp = CreateCompilation(src, options: TestOptions.DebugExe); 20844var comp = CreateCompilation(src, options: TestOptions.DebugExe); 20899var comp = CreateCompilation(src, options: TestOptions.DebugExe); 20955var comp = CreateCompilation(src, options: TestOptions.DebugExe); 21013var comp = CreateCompilation(src, options: TestOptions.DebugExe); 21085var comp = CreateCompilation(src, options: TestOptions.DebugExe); 21156var comp = CreateCompilation(src, options: TestOptions.DebugExe); 21227var comp = CreateCompilation(src, options: TestOptions.DebugExe); 21687var comp1 = CreateCompilation([src1, src2], options: TestOptions.DebugExe); 21690var comp2 = CreateCompilation([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 21693comp2 = CreateCompilation(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 21738var comp = CreateCompilation(src, options: TestOptions.DebugExe); 21783var comp = CreateCompilation(src, options: TestOptions.DebugExe); 21821var comp = CreateCompilation(src, options: TestOptions.DebugExe); 21858var comp = CreateCompilation(src, options: TestOptions.DebugExe); 21955var comp = CreateCompilation(src, options: TestOptions.DebugExe); 22011var comp = CreateCompilation(src, options: TestOptions.DebugExe); 22051var comp = CreateCompilation(src, options: TestOptions.DebugExe); 22088var comp = CreateCompilation(src, options: TestOptions.DebugExe); 22127var comp = CreateCompilation(src, options: TestOptions.DebugExe); 22179var comp = CreateCompilation(src, options: TestOptions.DebugExe); 22232var comp1 = CreateCompilation(src1, options: TestOptions.DebugExe); 22276var comp2 = CreateCompilation(src2, options: TestOptions.DebugExe); 22326var comp = CreateCompilation(src, options: TestOptions.DebugExe); 22378var comp = CreateCompilation(src, options: TestOptions.DebugExe); 22413var comp = CreateCompilation(src, options: TestOptions.DebugExe); 22453var comp = CreateCompilation(src, options: TestOptions.DebugExe); 22515var comp = CreateCompilation(src, options: TestOptions.DebugExe); 22549var comp = CreateCompilation(src, options: TestOptions.DebugExe); 22591var comp = CreateCompilation(src, options: TestOptions.DebugExe); 22619var comp = CreateCompilation(src, targetFramework: TargetFramework.Net90, options: TestOptions.DebugExe); 22666var comp = CreateCompilation(src, options: TestOptions.DebugExe); 22700var comp = CreateCompilation(src, options: TestOptions.DebugExe); 22807var comp = CreateCompilation(src, options: TestOptions.DebugExe); 22892var comp = CreateCompilation(src, options: TestOptions.DebugExe); 22926var comp = CreateCompilation(src, options: TestOptions.DebugExe); 22960var comp = CreateCompilation(src, options: TestOptions.DebugExe); 23029var comp = CreateCompilation([src, OverloadResolutionPriorityAttributeDefinition], options: TestOptions.DebugExe); 23091var comp = CreateCompilation([src, OverloadResolutionPriorityAttributeDefinition], options: TestOptions.DebugExe); 23128var comp = CreateCompilation(src, options: TestOptions.DebugExe); 23165var comp = CreateCompilation(src, options: TestOptions.DebugExe); 23225var comp2 = CreateCompilation(src2, options: TestOptions.DebugExe); 23285var comp2 = CreateCompilation(src2, options: TestOptions.DebugExe); 23346var comp2 = CreateCompilation(src2, options: TestOptions.DebugExe); 23390var comp1 = CreateCompilation([src1, src2], options: TestOptions.DebugExe); 23393var comp2 = CreateCompilation([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 23396comp2 = CreateCompilation(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 23447var comp1 = CreateCompilation([src1, src2], options: TestOptions.DebugExe); 23450var comp2 = CreateCompilation([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 23453comp2 = CreateCompilation(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 23505var comp = CreateCompilation(src, options: TestOptions.DebugExe); 23549var comp = CreateCompilation(src, options: TestOptions.DebugExe); 23601var comp = CreateCompilation(src, options: TestOptions.DebugExe); 23670var comp = CreateCompilation([src, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 23745var comp = CreateCompilation(src, options: TestOptions.DebugExe); 23789var comp = CreateCompilation(src, options: TestOptions.DebugExe); 23848var comp = CreateCompilation(src, options: TestOptions.DebugExe); 23906var comp = CreateCompilation(src, options: TestOptions.DebugExe); 23936var comp = CreateCompilation(src, options: TestOptions.DebugExe); 23966var comp = CreateCompilation(src, options: TestOptions.DebugExe); 24019var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 24052var comp = CreateCompilation(src, options: TestOptions.DebugExe); 24085var comp = CreateCompilation(src, options: TestOptions.DebugExe); 24136var comp = CreateCompilation(src, options: TestOptions.DebugExe); 24186var comp = CreateCompilation(src, options: TestOptions.DebugExe); 24223var comp = CreateCompilation(src, options: TestOptions.DebugExe); 24278var comp = CreateCompilation(src, options: TestOptions.DebugExe); 24322var comp = CreateCompilation(src, options: TestOptions.DebugExe); 24356var comp = CreateCompilation(src, options: TestOptions.DebugExe); 24394var comp = CreateCompilation(src, options: TestOptions.DebugExe); 25575var comp = CreateCompilation(src, options: TestOptions.DebugExe); 25617var comp = CreateCompilation(src, options: TestOptions.DebugExe); 25661var comp = CreateCompilation(src, options: TestOptions.DebugExe); 25716var comp = CreateCompilation(src, options: TestOptions.DebugExe); 25767var comp = CreateCompilation(src, options: TestOptions.DebugExe); 25830var comp = CreateCompilation(src, options: TestOptions.DebugExe); 25875var comp = CreateCompilation(src, options: TestOptions.DebugExe); 25933var comp = CreateCompilation(src, options: TestOptions.DebugExe); 25988var comp = CreateCompilation(src, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 26027var comp = CreateCompilation(src, options: TestOptions.DebugExe); 26076var comp = CreateCompilation(src, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 26132var comp = CreateCompilation(src, options: TestOptions.DebugExe); 26176var comp = CreateCompilation(src, options: TestOptions.DebugExe); 26218var comp = CreateCompilation(src, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 26251var comp = CreateCompilation([src, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 26306var comp = CreateCompilation([src, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 26352var comp = CreateCompilation(src, options: TestOptions.DebugExe); 26403var comp = CreateCompilation(src, options: TestOptions.DebugExe); 26900var comp = CreateCompilation(src, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 26932var comp = CreateCompilation(src, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 26966var comp = CreateCompilation(src, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 26995var comp = CreateCompilation(src, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 27057var comp = CreateCompilation([src, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe.WithAllowUnsafe(true)); 27085var comp = CreateCompilation([src, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe.WithAllowUnsafe(true)); 27120var comp = CreateCompilation(src, options: TestOptions.DebugExe); 27175var comp = CreateCompilation(src, options: TestOptions.DebugExe); 27224var comp = CreateCompilation(src, options: TestOptions.DebugExe); 27279var comp = CreateCompilation(src, options: TestOptions.DebugExe); 27332var comp2 = CreateCompilation(source2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 27372var comp2 = CreateCompilation(source2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 27412var comp2 = CreateCompilation(source2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
Semantics\ExtensionTests.cs (109)
4824var comp = CreateCompilation(src, options: TestOptions.DebugExe); 4871var comp = CreateCompilation(src, options: TestOptions.DebugExe); 5103var comp2 = CreateCompilation(src2, references: [comp1MetadataReference], options: TestOptions.DebugExe); 5138comp2 = CreateCompilation(src2, references: [comp1ImageReference], options: TestOptions.DebugExe); 5144comp2 = CreateCompilationWithIL(src2, expectedTypeIL, options: TestOptions.DebugExe); 5189comp2 = CreateCompilation(src2, references: [comp1MetadataReference], options: TestOptions.DebugExe); 5195comp2 = CreateCompilation(src2, references: [comp1ImageReference], options: TestOptions.DebugExe); 5247var comp4 = CreateCompilation(src4, references: [comp1MetadataReference], options: TestOptions.DebugExe); 5288comp4 = CreateCompilation(src4, references: [comp1ImageReference], options: TestOptions.DebugExe); 5536var comp3 = CreateCompilation(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 5539comp3 = CreateCompilation(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe); 5721var comp3 = CreateCompilation(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 5724comp3 = CreateCompilation(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe); 6087var comp3 = CreateCompilation(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 6121comp3 = CreateCompilation(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe); 6410var comp3 = CreateCompilation(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 6413comp3 = CreateCompilation(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe); 6542var comp3 = CreateCompilation(src3, references: [comp1MetadataReference], options: TestOptions.DebugExe); 6579comp3 = CreateCompilation(src3, references: [comp1ImageReference], options: TestOptions.DebugExe); 6612comp3 = CreateCompilation(src3, references: [comp1MetadataReference], options: TestOptions.DebugExe); 6655comp3 = CreateCompilation(src3, references: [comp1ImageReference], options: TestOptions.DebugExe); 6932var comp3 = CreateCompilation(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 6935comp3 = CreateCompilation(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe); 7192var comp3 = CreateCompilation(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 7195comp3 = CreateCompilation(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe); 7580var comp3 = CreateCompilation(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 7583comp3 = CreateCompilation(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe); 7886var comp3 = CreateCompilation(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 7889comp3 = CreateCompilation(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe); 8023var comp2 = CreateCompilation(src2, references: [comp1MetadataReference], options: TestOptions.DebugExe); 8059comp2 = CreateCompilation(src2, references: [comp1ImageReference], options: TestOptions.DebugExe); 8065comp2 = CreateCompilationWithIL(src2, expectedTypeIL, options: TestOptions.DebugExe); 8111comp2 = CreateCompilation(src2, references: [comp1MetadataReference], options: TestOptions.DebugExe); 8117comp2 = CreateCompilation(src2, references: [comp1ImageReference], options: TestOptions.DebugExe); 8168comp2 = CreateCompilation(src2, references: [comp1MetadataReference], options: TestOptions.DebugExe); 8218comp2 = CreateCompilation(src2, references: [comp1ImageReference], options: TestOptions.DebugExe); 8252comp2 = CreateCompilation(src2, references: [comp1MetadataReference], options: TestOptions.DebugExe); 8258comp2 = CreateCompilation(src2, references: [comp1ImageReference], options: TestOptions.DebugExe); 8292comp2 = CreateCompilation(src2, references: [comp1MetadataReference], options: TestOptions.DebugExe.WithAllowUnsafe(true)); 8338comp2 = CreateCompilation(src2, references: [comp1ImageReference], options: TestOptions.DebugExe.WithAllowUnsafe(true)); 8372comp2 = CreateCompilation(src2, references: [comp1MetadataReference], options: TestOptions.DebugExe.WithAllowUnsafe(true)); 8378comp2 = CreateCompilation(src2, references: [comp1ImageReference], options: TestOptions.DebugExe.WithAllowUnsafe(true)); 8565var comp3 = CreateCompilation(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 8568comp3 = CreateCompilation(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe); 8748var comp3 = CreateCompilation(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 8751comp3 = CreateCompilation(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe); 9112var comp3 = CreateCompilation(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 9115comp3 = CreateCompilation(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe); 9399var comp3 = CreateCompilation(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 9402comp3 = CreateCompilation(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe); 9515var comp3 = CreateCompilation(src3, references: [comp1MetadataReference], options: TestOptions.DebugExe); 9548comp3 = CreateCompilation(src3, references: [comp1ImageReference], options: TestOptions.DebugExe); 9554comp3 = CreateCompilationWithIL(src3, expectedTypeIL, options: TestOptions.DebugExe); 9597comp3 = CreateCompilation(src3, references: [comp1MetadataReference], options: TestOptions.DebugExe); 9607comp3 = CreateCompilation(src3, references: [comp1ImageReference], options: TestOptions.DebugExe); 9641comp3 = CreateCompilation(src3, references: [comp1MetadataReference], options: TestOptions.DebugExe); 9647comp3 = CreateCompilation(src3, references: [comp1ImageReference], options: TestOptions.DebugExe); 9801var comp3 = CreateCompilation(src3, references: [comp1MetadataReference], options: TestOptions.DebugExe); 9832comp3 = CreateCompilation(src3, references: [comp1ImageReference], options: TestOptions.DebugExe); 9838comp3 = CreateCompilationWithIL(src3, expectedTypeIL, options: TestOptions.DebugExe); 9881comp3 = CreateCompilation(src3, references: [comp1MetadataReference], options: TestOptions.DebugExe); 9887comp3 = CreateCompilation(src3, references: [comp1ImageReference], options: TestOptions.DebugExe); 10012var comp3 = CreateCompilation(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 10044comp3 = CreateCompilation(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe); 11663var comp = CreateCompilation(src, options: TestOptions.DebugExe); 11721var comp = CreateCompilation(src2, options: TestOptions.DebugExe); 11748var comp = CreateCompilation(src, options: TestOptions.DebugExe); 11788var comp = CreateCompilation([src, eSrc], options: TestOptions.DebugExe); 11950var comp = CreateCompilation(src, options: TestOptions.DebugExe); 12039var comp = CreateCompilation(src, options: TestOptions.DebugExe); 12070var comp = CreateCompilation(src, options: TestOptions.DebugExe); 12102var comp = CreateCompilation(src, options: TestOptions.DebugExe); 13135var comp = CreateCompilation(src, options: TestOptions.DebugExe); 14303var comp = CreateCompilation(src, options: TestOptions.DebugExe); 17386var comp = CreateCompilation(src, options: TestOptions.DebugExe); 17424var comp = CreateCompilation(src, options: TestOptions.DebugExe); 17463var comp = CreateCompilation(src, options: TestOptions.DebugExe); 17501var comp = CreateCompilation(src, options: TestOptions.DebugExe); 17542var comp = CreateCompilation(src, options: TestOptions.DebugExe); 17586var comp = CreateCompilation(src, options: TestOptions.DebugExe); 17630var comp = CreateCompilation(src, options: TestOptions.DebugExe); 17672var comp = CreateCompilation(src, options: TestOptions.DebugExe); 17711var comp = CreateCompilation(src, options: TestOptions.DebugExe); 17750var comp = CreateCompilation(src, options: TestOptions.DebugExe); 21896var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 24302var comp = CreateCompilation(src, options: TestOptions.DebugExe); 25372var comp = CreateCompilation(src, options: TestOptions.DebugExe); 27698""", options: TestOptions.DebugExe); 28301""", options: TestOptions.DebugExe); 34120var comp = CreateCompilation(src, options: TestOptions.DebugExe); 34123comp = CreateCompilation(src, references: [libRef], options: TestOptions.DebugExe); 34126comp = CreateCompilation(src, references: [libRef], parseOptions: TestOptions.RegularNext, options: TestOptions.DebugExe); 35005var comp = CreateCompilation(src, options: TestOptions.DebugExe); 35049var comp = CreateCompilation(src, options: TestOptions.DebugExe); 36178var comp = CreateCompilation(src, options: TestOptions.DebugExe); 36213var comp = CreateCompilation(src, options: TestOptions.DebugExe); 36248var comp = CreateCompilation(src, options: TestOptions.DebugExe); 36290var comp = CreateCompilation(src, options: TestOptions.DebugExe); 36329var comp = CreateCompilation(src, options: TestOptions.DebugExe); 36373var comp = CreateCompilation(src, options: TestOptions.DebugExe); 36408var comp = CreateCompilation(src, options: TestOptions.DebugExe); 36447var comp = CreateCompilation(src, options: TestOptions.DebugExe); 36486var comp = CreateCompilation(src, options: TestOptions.DebugExe); 36521var comp = CreateCompilation(src, options: TestOptions.DebugExe); 38673var comp = CreateCompilation(source, options: TestOptions.DebugExe); 38692var comp = CreateCompilation(source, options: TestOptions.DebugExe); 38776var comp = CreateCompilation(source, options: TestOptions.DebugExe); 38795var comp = CreateCompilation(source, options: TestOptions.DebugExe); 38814var comp = CreateCompilation(source, options: TestOptions.DebugExe);
Semantics\InlineArrayTests.cs (22)
2175var comp2 = CreateCompilation(src2, references: new[] { comp1.ToMetadataReference() }, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe); 2299var comp2 = CreateCompilation(src2, references: new[] { comp1.ToMetadataReference() }, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe); 18274var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 18302var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 18331var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 18370var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 18402var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 18433var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 18463var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 18503var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 20119comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe); 20319comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe); 20578comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe); 20778comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe); 20995comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe); 21390comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe); 21609comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe); 21729comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe); 21928comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe); 22048comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe); 22232comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe); 22655comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
Semantics\LockTests.cs (11)
1942var verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.DebugExe, 2082var verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.DebugExe, 2391var verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.DebugExe, 2611var verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.DebugExe, 2750var verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.DebugExe, 3055var verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.DebugExe, 3194var verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.DebugExe, 3547verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.DebugExe, 3586verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.DebugExe, 3659comp = CreateCompilationWithTasksExtensions([source, LockTypeDefinition, AsyncStreamsTypes], options: TestOptions.DebugExe); 3696var comp = CreateCompilationWithTasksExtensions([source, LockTypeDefinition, AsyncStreamsTypes], options: TestOptions.DebugExe);
Semantics\OutVarTests.cs (223)
1968var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 2078var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 2189var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 2299var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 2388var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_1); 2609var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 2826var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 2944var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 2990var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 3034var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 3081var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 3128var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 3182var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 3284var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 3365var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 3417var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 3456var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 3497var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 3615var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 3806var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 3954var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 3995var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 4047var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 4093var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 4142var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 4198var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 4254var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 4336var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 4368var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 4458var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 4474compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_3); 4578var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 4614var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 4656var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 4741var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 4778var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 4884var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 5057var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 5101var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 5158var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 5377var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 5487var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 5566var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 5570CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_2).VerifyDiagnostics( 5644var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 5677var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 5701var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 5744var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 5875var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular); 6025var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular); 6108var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular); 6142var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular); 6290var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 6528var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 6763var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 7027var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 7265var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 7509var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 7763var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 7823var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 7885var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 7951var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 8014var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 8079var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 8145var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 8200var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 8350var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 8482var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 8622var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 8754var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 8795var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 8858var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 8914var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 9033var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 9091compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_3); 9259var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 9321var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 9414var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 9491var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 9570var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 9634var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 9683var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 9750var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 9811var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 9877options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 9972options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 10051options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 10132options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 10202options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 10253options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 10319options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 10382options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 10446options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 10530options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 10686var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 10810var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 10851var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 10902var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 10953var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 11013var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 11150var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 11249var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 11325var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 11329CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_2).VerifyDiagnostics( 11396var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 11420var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 11463var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 11618var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 11932var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 12074var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 12084compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_3); 12224var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 12234compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_3); 12344var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 12404var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 12477var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 12622var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 12749var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 12762compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_3); 12847var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 12914var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 12954var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 13012var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 13052var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 13160var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 13287var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 13331var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 13382var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 13434var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 13577var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 13689var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 13730var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 13789var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 13841var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 14071var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 14252var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 14299var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 14348var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 14390var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 14432var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 14477var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 14519var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 14562var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 14609var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 14663var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 14722var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 14771options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 14821options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 14916var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 15084var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 15207var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 15251var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 15308var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 15364var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 15496var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 15709var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 15922var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 16055var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 16145var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 16237var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 16365var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 16488var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 16529var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 16581var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 16635var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 16692var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 16751var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 16812var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 16927var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 17043var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 17088var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 17142var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 17197var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 17312var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 17474var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 17524var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 20539var compilation = CreateCompilation(source2, references: new[] { reference1 }, options: TestOptions.DebugExe); 20896var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 21009var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 21109var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 21206var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 21290var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 21342var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 21408var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 21567var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 21765var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 21967var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 22119var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 22214var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 22382var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular); 22548var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular); 22646var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 22759var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular); 22852var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 22934var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 22998var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular); 23036var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular); 29530var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 29580var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 30032options: TestOptions.DebugExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 32658var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 32691var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 32832var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 32856var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 32885var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 32918var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 33056var comp = CreateCompilation(source, options: TestOptions.DebugExe); 33116var comp = CreateCompilation(source, options: TestOptions.DebugExe); 33170var comp = CreateCompilation(source, options: TestOptions.DebugExe); 33228var comp = CreateCompilation(source, options: TestOptions.DebugExe); 33305var comp = CreateCompilation(source, options: TestOptions.DebugExe); 33372var comp = CreateCompilation(source, options: TestOptions.DebugExe); 33395var comp = CreateCompilation(source, options: TestOptions.DebugExe); 33422var comp = CreateCompilation(source, options: TestOptions.DebugExe); 33760var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 33858var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 33957var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 34055var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 34140var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 34196var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 34557var compilation = CreateCompilation(syntaxTree, options: TestOptions.DebugExe); 35949var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 35953CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_2).VerifyDiagnostics(
Semantics\ParamsCollectionTests.cs (5)
12492CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: "DisposedDisposed").VerifyDiagnostics(); 12523var comp = CreateCompilation(source, options: TestOptions.DebugExe); 15480var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 15530var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe); 15588var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe);
Semantics\PatternMatchingTestBase.cs (1)
432return CreateCompilation(new[] { source, _iTupleSource }, options: options ?? TestOptions.DebugExe, parseOptions: TestOptions.RegularWithPatternCombinators);
Semantics\PatternMatchingTests.cs (125)
49CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular6).VerifyDiagnostics( 73CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics( 112var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 141var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 175var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 212var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 252var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe); 292var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 327var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 363var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 399var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 437var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 465var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 511var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 564var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 606var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 640var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 681var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 731var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 772var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 824var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 883var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 918var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 947var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 975var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe); 979CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_2).VerifyDiagnostics( 1013var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe); 1042var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 1068var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe); 1072CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_2).VerifyDiagnostics( 1101var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 1145var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe); 1163CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_2).VerifyDiagnostics( 1213var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 1263var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 1309var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 1372var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 1422var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 1476var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 1528var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 1584var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 1641var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 1718var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 1777var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 1822var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 1871var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 1924var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 1979var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 2027var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2071var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2121var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2168var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2224var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2284var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 2341var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 2400var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 2453var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2491var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2536var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2574var compilation = CreateCompilation(source, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 2607var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2656var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2696var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2785var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2835var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2877var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2923var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2964var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 3005var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 3112var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 3162var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 3222var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 3254var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 3329var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 3360var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular6); 3387var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 3412var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 3438var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 3520CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics( 3641CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics( 3689CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics( 3844var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 3877var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 3910var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 3958var compilation = CreateEmptyCompilation(source, options: TestOptions.DebugExe, 3989var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 4026var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 4064var compilation = CreateCompilation(source, options: TestOptions.DebugExe, 4084compilation = CreateCompilation(source, options: TestOptions.DebugExe); 4138var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 4169var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 4220var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 4284var compilation = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugExe); 4418var compilation = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugExe); 4536var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 4563var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 4593var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 5100var compilation = CreateCompilation(program, options: TestOptions.DebugExe).VerifyDiagnostics( 5221var compilation = CreateCompilation(program, options: TestOptions.DebugExe); 5297var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 5317var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 5596var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 6072var compilation = CreateCompilation(program, options: TestOptions.DebugExe); 6105var compilation = CreateCompilation(program, options: TestOptions.DebugExe); 6128CreateCompilation(program, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7).VerifyDiagnostics( 6133var compilation = CreateCompilation(program, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_1); 6224var compilation = CreateCompilation(program, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 6279compilation = CreateCompilation(source, options: TestOptions.DebugExe); 6477var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 6547var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 6603var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe); 6607CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_2).VerifyDiagnostics( 6659var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 6711var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 7366var comp = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7); 7391var compilation = CreateCompilationWithSpanAndMemoryExtensions(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview) 8343var compilation = CreateCompilationWithSpanAndMemoryExtensions(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview) 8444var compilation = CreateCompilationWithSpanAndMemoryExtensions(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview) 8982var compilation = CreateCompilationWithSpanAndMemoryExtensions(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview) 9944var compilation = CreateCompilationWithSpanAndMemoryExtensions(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview) 10044var compilation = CreateCompilationWithSpanAndMemoryExtensions(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview) 11589var comp = CreateCompilation(source, options: TestOptions.DebugExe); 11858var comp = CreateCompilation(source, options: TestOptions.DebugExe); 11898var comp = CreateCompilation(source, options: TestOptions.DebugExe); 11941var comp = CreateCompilation(source, options: TestOptions.DebugExe);
Semantics\PatternMatchingTests_Global.cs (2)
3856var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 4295options: TestOptions.DebugExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script);
Semantics\PatternMatchingTests_ListPatterns.cs (2)
7081var compilation = CreateCompilation(new[] { source, TestSources.Index, _iTupleSource }, options: TestOptions.DebugExe); 7286var comp = CreateCompilationWithIndexAndRangeAndSpan(new[] { source, TestSources.GetSubArray }, options: TestOptions.DebugExe);
Semantics\PatternMatchingTests_Scope.cs (127)
66var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 170var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 362var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 398var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 441var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 546var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 667var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 703var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 819var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 936var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 972var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 1118var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 1241var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 1276var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 1390var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 1448compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_3); 1721var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2029var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2165var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2175compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_3); 2301var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2311compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_3); 2409var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2463var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2530var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2669var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2771var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2778compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_3); 2892var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2935compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_3); 3057var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 3098var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 3225var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 3335var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 3504var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 3592var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 3677var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 3768var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 3858var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 3959var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 4055var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 4130var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 4165var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 4207var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe); 4446var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 4831var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 5168var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 5297var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 5332var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 5465var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 5672var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 5879var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 6006var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 6090var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 6173var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 6260var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 6331var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 6404var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 6462var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 6507var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 6574var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 6663options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 6736options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 6811options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 6875options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 6920options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 7050var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 7167var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 7202var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 7348var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 7490var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 7525var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 7684var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 7916var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 8145var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 8403var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 8635var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 8873var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 9121var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 9266var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 9478var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 9596var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 9631var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 9764var compilation = CreateCompilation(source, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 9908var compilation = CreateCompilation(source, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 10043var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 10155var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 10194var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 10337var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 10516var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 10668var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 10710var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 10943var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 11125var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 11173var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 11223var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 11266var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 11309var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 11355var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 11398var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 11442var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 11489var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 11539var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 11601var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 11656options: TestOptions.DebugExe, 11715options: TestOptions.DebugExe, 11783var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 11874var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 11968var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 12059var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 12137var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 12183var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 12243var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 12396var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 12589var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 12788var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 12934var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 13023var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 13185var compilation = CreateCompilation(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular); 13345var compilation = CreateCompilation(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular); 13432var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 13510var compilation = CreateCompilation(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular); 13598var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 13675var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 13739var compilation = CreateCompilation(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular); 13777var compilation = CreateCompilation(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular); 13914var compilation = CreateCompilation(source, options: TestOptions.DebugExe);
Semantics\PatternMatchingTests2.cs (5)
121var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithRecursivePatterns); 484CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithoutRecursivePatterns).VerifyDiagnostics( 492CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular8).VerifyDiagnostics(); 777var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular8); 1445var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithRecursivePatterns);
Semantics\PatternMatchingTests3.cs (47)
385var compilation = CreatePatternCompilation(source, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 420var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 470var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 593var compilation = CreateCompilation(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable)); 636var compilation = CreateCompilation(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable)); 679var compilation = CreateCompilation(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable)); 722var compilation = CreateCompilation(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable)); 746var compilation = CreateCompilation(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable)); 769var compilation = CreateCompilation(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable)); 812var compilation = CreateCompilation(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable)); 854var compilation = CreateCompilation(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable)); 902var compilation = CreateCompilation(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable)); 961var compilation = CreateCompilation(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable)); 989var compilation = CreateCompilation(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable)); 1036var compilation = CreateCompilation(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable)); 1089var compilation = CreateCompilation(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable)); 1142var compilation = CreateCompilation(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable)); 1195var compilation = CreateCompilation(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable)); 1229CreateCompilation(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular7_3).VerifyDiagnostics( 1243CreateCompilation(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular8).VerifyDiagnostics(); 1696var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2093var compilation = CreateCompilation(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.DebugExe); 2165var compilation = CreateCompilation(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.DebugExe); 2237var compilation = CreateCompilation(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.DebugExe); 2286var compilation = CreateCompilation(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.DebugExe); 2335var compilation = CreateCompilation(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.DebugExe); 2541var compilation = CreateCompilation(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.DebugExe); 2579var compilation = CreateCompilation(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.DebugExe); 2650var compilation = CreateCompilation(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.DebugExe); 2814var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9)); 2873var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9)); 3140var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9)); 3278var compilation = CreateCompilation(source + _iTupleSource, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9)); 3366var compilation = CreateCompilation(source + _iTupleSource, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9)); 3441var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 3488var compilation = CreateCompilation(source, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 3579var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 3673var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 3707var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 3760var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 3956var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 4058var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 4617var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9)); 4783var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9)); 4969var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9)); 5253var compilation = CreateCompilation(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9)); 5322var compilation = CreateCompilation(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
Semantics\PatternMatchingTests4.cs (3)
3356var compilation = CreatePatternCompilation(source, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 3383var compilation = CreatePatternCompilation(source, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 3409var compilation = CreatePatternCompilation(source, options: TestOptions.DebugExe.WithAllowUnsafe(true));
Semantics\PatternSwitchTests.cs (54)
39var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 68var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 96var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 125var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 161var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 189var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 218var compilation = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugExe); 245var compilation = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugExe); 273var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 300var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 327var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 348var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 399var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 426var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 452var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 478var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 503var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 531var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 557var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 580var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 603var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 626var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 649var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 669var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 691var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 841var compilation = CreateCompilation(new[] { source, _iTupleSource }, options: TestOptions.DebugExe); 928var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 954var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 978CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular6).VerifyDiagnostics( 983CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics( 1016CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular6).VerifyDiagnostics( 1032var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 1078var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 1125var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 1217var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 1348var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 1420var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 1478var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 1558var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 1588var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 1623var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 1862var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 1885var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 1920var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 1966var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2049var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2080var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2109var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2156var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2218var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2274var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2445var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe); 2510var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe); 3533var comp = CreateCompilation(source, options: TestOptions.DebugExe);
Semantics\PrimaryConstructorTests.cs (16)
986var comp = CreateCompilation(src, options: TestOptions.DebugExe); 2838var comp = CreateCompilation(src, options: TestOptions.DebugExe); 2890var comp = CreateCompilation(src, options: TestOptions.DebugExe); 2915var comp = CreateCompilation(src, options: TestOptions.DebugExe); 2941var comp = CreateCompilation(src, options: TestOptions.DebugExe); 2983var comp = CreateCompilation(src, options: TestOptions.DebugExe); 3007var comp = CreateCompilation(src, options: TestOptions.DebugExe); 14094var verifier = CompileAndVerify(source, expectedOutput: " 0 1 2 3 2 3", options: TestOptions.DebugExe); 16587var comp2 = CreateCompilation(source, options: TestOptions.DebugExe); 17079var comp2 = CreateCompilation(source, options: TestOptions.DebugExe); 17428var comp2 = CreateCompilation(source, options: TestOptions.DebugExe); 17613var comp2 = CreateCompilation(source, options: TestOptions.DebugExe); 17953var comp2 = CreateCompilation(source, options: TestOptions.DebugExe); 18512var comp2 = CreateCompilation(source, options: TestOptions.DebugExe); 19027var comp2 = CreateCompilation(source, options: TestOptions.DebugExe); 19324var comp2 = CreateCompilation(source, options: TestOptions.DebugExe);
Semantics\RecordTests.cs (66)
770var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 790var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10); 845var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 1774var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe); 2528var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 2543var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 3215var comp = CreateCompilation(src, options: TestOptions.DebugExe); 3474var comp = CreateCompilationWithIL(src, il, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 4976var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 5051var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 5128var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 5295var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 5327var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 5362var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe); 5387var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe); 5407var comp = CreateCompilation(src, options: TestOptions.DebugExe); 5434var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe); 5513var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 5568var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 5607var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 5648var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 5714var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 5777var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 5826var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 5848var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 5943var comp = CreateCompilation(src, parseOptions: usePreview ? TestOptions.Regular10 : TestOptions.Regular9, options: TestOptions.DebugExe); 5974var comp = CreateCompilation(src, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 5997var comp = CreateCompilation(src, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 6023var comp = CreateCompilation(src, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 6066var comp = CreateCompilation(src, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 6107var comp = CreateCompilation(src, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 6148var comp = CreateCompilation(src, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 6188var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 6212var comp = CreateCompilation(new[] { src1, src2, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 6236var comp = CreateCompilation(new[] { src1, src2, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 6396var comp = CreateCompilationWithIL(new[] { source, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 7360var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 7547var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 7647var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 7672var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 12963var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 13006var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 13064var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 13119var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 13241var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 13281var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 13912parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 13991parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 14040var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 14066var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 14099var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 20236var comp = CreateCompilation(src, options: TestOptions.DebugExe); 20388var comp = CreateCompilation(src, options: TestOptions.DebugExe); 24720var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 24974var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 25019var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 25046var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 25066var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 25103var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 25137var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 25693parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe, verify: Verification.Skipped /* init-only */); 25716var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 27796var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9) 28001var compDebug = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe); 28024var compDebug = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe); 28214var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe);
Symbols\UserDefinedCompoundAssignmentOperatorsTests.cs (101)
2954var comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe); 3068var comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe); 3259comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 3265comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 3394var comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe); 3817comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe); 4044comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe); 4326comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe); 4332comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 4358comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 4537comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe); 4711var comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe); 4781var comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 4822var comp1 = CreateCompilation([source1, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 4896var comp3 = CreateCompilation([source3, CompilerFeatureRequiredAttribute], references: [comp1_2.EmitToImageReference(), comp2.EmitToImageReference()], options: TestOptions.DebugExe); 4938var comp1 = CreateCompilation([source1, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 4983var comp1 = CreateCompilation([source1, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 5117var comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [comp1Ref], options: TestOptions.DebugExe); 5129comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 5162var comp1 = CreateCompilation([source1, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 5190var comp1 = CreateCompilation([source1, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90, options: TestOptions.DebugExe); 5235var comp1 = CreateCompilation([source1, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 5268var comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 5314var comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 5366var comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 5461var comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe); 5667var comp = CreateCompilation([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90, options: TestOptions.DebugExe); 5722var comp = CreateCompilation([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90, options: TestOptions.DebugExe); 5768var comp = CreateCompilation([source, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 5811var comp = CreateCompilation([source, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 5896var compilation2 = CreateCompilationWithIL(source2, ilSource, options: TestOptions.DebugExe); 5983var compilation2 = CreateCompilationWithIL(source2, ilSource, options: TestOptions.DebugExe); 6030var comp = CreateCompilation([source, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 6061var comp = CreateCompilation([source, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 7676var compilation1 = CreateCompilationWithIL([source1, CompilerFeatureRequiredAttribute], ilSource, options: TestOptions.DebugExe); 7731var comp = CreateCompilation([source, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 11729var comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe); 11783var comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe); 12129comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe); 12135comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 12161comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 12503comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe); 12509comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 12535comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 13067comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe); 13073comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 13099comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 13370comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe); 13376comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 13402comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 13984comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe); 13990comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 14016comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 14395comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe); 14401comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 14427comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 15054comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe); 15060comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 15086comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 15402comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe); 15408comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.RegularNext); 15434comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 16136var comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 16186var comp1 = CreateCompilation([source1, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 16260var comp3 = CreateCompilation([source3, CompilerFeatureRequiredAttribute], references: [comp1_2.EmitToImageReference(), comp2.EmitToImageReference()], options: TestOptions.DebugExe); 16302var comp1 = CreateCompilation([source1, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 16347var comp1 = CreateCompilation([source1, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 16473var comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [comp1Ref], options: TestOptions.DebugExe); 16481comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 16510var comp1 = CreateCompilation([source1, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 16538var comp1 = CreateCompilation([source1, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90, options: TestOptions.DebugExe); 16583var comp1 = CreateCompilation([source1, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 16616var comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 16654var comp1 = CreateCompilation([source1, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 16692var comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 16727var comp2 = CreateCompilation(source2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 16762var comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 16800var comp2 = CreateCompilation(source2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 16845var comp2 = CreateCompilation(source2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 16886var comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 16927var comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe); 16968var comp2 = CreateCompilation(source2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 17052var comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe); 17258var comp = CreateCompilation([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90, options: TestOptions.DebugExe); 17313var comp = CreateCompilation([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90, options: TestOptions.DebugExe); 17359var comp = CreateCompilation([source, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 17402var comp = CreateCompilation([source, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 17487var compilation2 = CreateCompilationWithIL(source2, ilSource, options: TestOptions.DebugExe); 17574var compilation2 = CreateCompilationWithIL(source2, ilSource, options: TestOptions.DebugExe); 17621var comp = CreateCompilation([source, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 17652var comp = CreateCompilation([source, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 19447var comp1 = CreateCompilation([source1, CompilerFeatureRequiredAttribute, OverloadResolutionPriorityAttributeDefinition], options: TestOptions.DebugExe); 19513var comp1 = CreateCompilation([source1, CompilerFeatureRequiredAttribute, OverloadResolutionPriorityAttributeDefinition], options: TestOptions.DebugExe); 19706var compilation1 = CreateCompilationWithIL([source1, CompilerFeatureRequiredAttribute], ilSource, options: TestOptions.DebugExe); 19768var compilation1 = CreateCompilationWithIL([source1, CompilerFeatureRequiredAttribute], ilSource, options: TestOptions.DebugExe); 19850var comp = CreateCompilation([source, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 19979var comp = CreateCompilation([source, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 20023var comp = CreateCompilation([source, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 20087var comp = CreateCompilation([source, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 20170var comp = CreateCompilation([source, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 20232var comp = CreateCompilation([source, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe);
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (2)
EndToEndTests.cs (2)
325var compilation = CreateCompilation(source, options: TestOptions.DebugExe.WithConcurrentBuild(false)); 876var comp = CreateCompilation(source, options: TestOptions.DebugExe.WithConcurrentBuild(false));
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (2)
IOperation\IOperationTests_IForEachLoopStatement.cs (2)
6365var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.DebugExe); 6654var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (876)
Semantics\AnonymousFunctionTests.cs (3)
25options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 40options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 1189options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
Semantics\ArglistTests.cs (2)
1636options: TestOptions.DebugExe, 1659options: TestOptions.DebugExe,
Semantics\AwaitExpressionTests.cs (2)
492CompileAndVerify(text, options: TestOptions.DebugExe, expectedOutput: "Passed").VerifyDiagnostics(); 536CompileAndVerify(text, options: TestOptions.DebugExe, expectedOutput: "Passed").VerifyDiagnostics();
Semantics\BindingAsyncTasklikeMoreTests.cs (2)
106var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe); 1593compilation = CreateCompilation(source, options: TestOptions.DebugExe);
Semantics\ColorColorTests.cs (1)
1521var comp = CreateCompilationWithMscorlib40AndSystemCore(text, options: TestOptions.DebugExe);
Semantics\ConditionalOperatorTests.cs (3)
1336var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 1391var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 1502var compilation = CreateCompilation(source, options: TestOptions.DebugExe,
Semantics\ConstantTests.cs (1)
3362CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
Semantics\DeconstructionTests.cs (3)
799var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1284var comp = CreateCompilation(source, assemblyName: "comp", options: TestOptions.DebugExe); 1944var comp = CreateCompilation(source, options: TestOptions.DebugExe);
Semantics\DelegateTypeTests.cs (3)
10276var comp = CreateCompilation(new[] { source, s_utils }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 10288comp = CreateCompilation(new[] { source, s_utils }, parseOptions: TestOptions.Regular10, options: TestOptions.DebugExe); 10657CompileAndVerify(new[] { source, s_utils }, options: TestOptions.DebugExe, expectedOutput:
Semantics\DynamicTests.cs (97)
4492var comp1 = CreateCompilationWithMscorlib461AndCSharp(source1, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 4503comp1 = CreateCompilationWithMscorlib461AndCSharp(source1, parseOptions: TestOptions.Regular7_2, options: TestOptions.DebugExe); 4528var comp2 = CreateCompilationWithMscorlib461AndCSharp(source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 4535comp2 = CreateCompilationWithMscorlib461AndCSharp(source2, parseOptions: TestOptions.Regular7_2, options: TestOptions.DebugExe); 4676var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 5025var comp2 = CreateCompilation(source2, options: TestOptions.DebugExe, parseOptions: parseOptions); 5149var comp2 = CreateCompilation(source2, options: TestOptions.DebugExe, parseOptions: parseOptions); 5272var comp2 = CreateCompilation(source2, options: TestOptions.DebugExe, parseOptions: parseOptions); 5338var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions); 5379var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 5423var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithAllowUnsafe(true), targetFramework: TargetFramework.StandardAndCSharp); 5467var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions); 5511var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 5575var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 5613var comp = CreateCompilation(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), targetFramework: TargetFramework.StandardAndCSharp); 5652var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions); 5729var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 5774var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithAllowUnsafe(true), targetFramework: TargetFramework.StandardAndCSharp); 5819var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions); 5864var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 5932var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 5971var comp = CreateCompilation(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), targetFramework: TargetFramework.StandardAndCSharp); 6070var comp2 = CreateCompilation(source2, options: TestOptions.DebugExe, parseOptions: parseOptions); 6193var comp2 = CreateCompilation(source2, options: TestOptions.DebugExe, parseOptions: parseOptions); 6313var comp2 = CreateCompilation(source2, options: TestOptions.DebugExe); 6373var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 6416var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithAllowUnsafe(true), targetFramework: TargetFramework.StandardAndCSharp); 6462var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions); 6506var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 6549var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 6603var comp = CreateCompilation(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), targetFramework: TargetFramework.StandardAndCSharp); 6668var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 6777var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 6887var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 6988var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 7056var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 7159var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 7272var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 7388var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 7501var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 7578var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 7683var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 7789var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 7892var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 7964var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 8070var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 8175var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 8280var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 8389var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 8498var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 8608var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 8721var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 8790var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 8858var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 8921var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 8980var comp2 = CreateCompilation(source2, options: TestOptions.DebugExe); 9011var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 9070var comp2 = CreateCompilation(source2, options: TestOptions.DebugExe); 9102var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 9161var comp2 = CreateCompilation(source2, options: TestOptions.DebugExe); 9192var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 9248var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 9309var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 9366var comp2 = CreateCompilation(source2, options: TestOptions.DebugExe); 9398var comp3 = CreateCompilation(source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 9430var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 9487var comp2 = CreateCompilation(source2, options: TestOptions.DebugExe); 9519var comp3 = CreateCompilation(source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 9550var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 9606var comp2 = CreateCompilation(source2, options: TestOptions.DebugExe); 9637var comp3 = CreateCompilation(source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 9664var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 9716var comp2 = CreateCompilation(source2, options: TestOptions.DebugExe); 9748var comp3 = CreateCompilation(source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 9775var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 9827var comp2 = CreateCompilation(source2, options: TestOptions.DebugExe); 9859var comp3 = CreateCompilation(source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 9886var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 9937var comp2 = CreateCompilation(source2, options: TestOptions.DebugExe); 9968var comp3 = CreateCompilation(source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 10006var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 10134var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 10262var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 10379var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 10416var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 10550var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 10698var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 10847var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 10923var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 10968var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 11097var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 11181var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 11259var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 11414var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: TestOptions.Regular12); 11447var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: TestOptions.Regular12); 11532var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: TestOptions.Regular12); 11676var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: TestOptions.Regular12);
Semantics\GlobalUsingDirectiveTests.cs (87)
191var comp2 = CreateCompilation(source2, parseOptions: TestOptions.Regular10, options: TestOptions.DebugExe, references: new[] { comp1Ref }); 234var comp3 = CreateCompilation(source3, parseOptions: TestOptions.Regular10, options: TestOptions.DebugExe, references: new[] { comp1Ref }); 304var comp2 = CreateCompilation(source2, parseOptions: TestOptions.Regular10, options: TestOptions.DebugExe, references: new[] { comp1Ref }); 353var comp3 = CreateCompilation(source3, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { comp1Ref }); 404var comp2 = CreateCompilation(new[] { source2, source3 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { comp1Ref }); 421var comp3 = CreateCompilation(new[] { source3, source2 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { comp1Ref }); 541var comp = CreateCompilation(new[] { globalUsings1 + globalUsings2 + source, source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 544comp = CreateCompilation(new[] { globalUsings2 + source, globalUsings1 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 547comp = CreateCompilation(new[] { globalUsings1 + source1, globalUsings2 + source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 550comp = CreateCompilation(new[] { source, globalUsings1 + globalUsings2 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 553comp = CreateCompilation(new[] { globalUsings1 + globalUsings2 + source1, source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 556comp = CreateCompilation(new[] { extAlias + source, globalUsings1 + globalUsings2 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { extCompRef }); 563comp = CreateCompilation(new[] { globalUsings1 + globalUsings2 + source1, extAlias + source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { extCompRef }); 680var comp = CreateCompilation(new[] { globalUsings1 + globalUsings2 + source, source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 683comp = CreateCompilation(new[] { globalUsings2 + source, globalUsings1 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 686comp = CreateCompilation(new[] { globalUsings1 + source1, globalUsings2 + source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 689comp = CreateCompilation(new[] { source, globalUsings1 + globalUsings2 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 692comp = CreateCompilation(new[] { globalUsings1 + globalUsings2 + source1, source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 695comp = CreateCompilation(new[] { extAlias + source, globalUsings1 + globalUsings2 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { extCompRef }); 702comp = CreateCompilation(new[] { globalUsings1 + globalUsings2 + source1, extAlias + source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { extCompRef }); 811var comp = CreateCompilation(new[] { globalUsings1 + globalUsings2 + source, source1, program }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 814comp = CreateCompilation(new[] { globalUsings2 + source, globalUsings1 + source1, program }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 817comp = CreateCompilation(new[] { globalUsings1 + source1, globalUsings2 + source, program }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 820comp = CreateCompilation(new[] { source, globalUsings1 + globalUsings2 + source1, program }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 823comp = CreateCompilation(new[] { globalUsings1 + globalUsings2 + source1, source, program }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 1020var comp = CreateCompilation(source1, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 1235var comp = CreateCompilation(new[] { globalUsings1 + globalUsings2 + source, source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 1238comp = CreateCompilation(new[] { globalUsings2 + source, globalUsings1 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 1241comp = CreateCompilation(new[] { globalUsings1 + source1, globalUsings2 + source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 1244comp = CreateCompilation(new[] { source, globalUsings1 + globalUsings2 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 1247comp = CreateCompilation(new[] { globalUsings1 + globalUsings2 + source1, source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 1250comp = CreateCompilation(new[] { extAlias + source, globalUsings1 + globalUsings2 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { extCompRef }); 1257comp = CreateCompilation(new[] { globalUsings1 + globalUsings2 + source1, extAlias + source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { extCompRef }); 1363var comp = CreateCompilation(new[] { globalUsings1 + globalUsings2 + source, source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 1366comp = CreateCompilation(new[] { globalUsings2 + source, globalUsings1 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 1369comp = CreateCompilation(new[] { globalUsings1 + source1, globalUsings2 + source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 1372comp = CreateCompilation(new[] { source, globalUsings1 + globalUsings2 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 1375comp = CreateCompilation(new[] { globalUsings1 + globalUsings2 + source1, source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 1378comp = CreateCompilation(new[] { extAlias + source, globalUsings1 + globalUsings2 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { extCompRef }); 1385comp = CreateCompilation(new[] { globalUsings1 + globalUsings2 + source1, extAlias + source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { extCompRef }); 1483var comp = CreateCompilation(new[] { globalUsings1 + globalUsings2 + source, source1, program }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 1486comp = CreateCompilation(new[] { globalUsings2 + source, globalUsings1 + source1, program }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 1489comp = CreateCompilation(new[] { globalUsings1 + source1, globalUsings2 + source, program }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 1492comp = CreateCompilation(new[] { source, globalUsings1 + globalUsings2 + source1, program }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 1495comp = CreateCompilation(new[] { globalUsings1 + globalUsings2 + source1, source, program }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 1691var comp = CreateCompilation(source1, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 1807var comp = CreateCompilation(new[] { globalUsings1 + globalUsings2 + source, source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 1810comp = CreateCompilation(new[] { globalUsings2 + source, globalUsings1 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 1813comp = CreateCompilation(new[] { globalUsings1 + source1, globalUsings2 + source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 1816comp = CreateCompilation(new[] { source, globalUsings1 + globalUsings2 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 1819comp = CreateCompilation(new[] { globalUsings1 + globalUsings2 + source1, source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 1893var comp = CreateCompilation(new[] { source1, source2 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 2026var comp = CreateCompilation(new[] { source2, source1, source3, source6, source4, "", source5 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 4562var comp2 = CreateCompilation(externAlias + globalUsing1 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { comp1Ref }); 4573comp2 = CreateCompilation(new[] { externAlias + source2, globalUsing1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { comp1Ref }); 4576comp2 = CreateCompilation(globalUsing1 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { comp1Ref }); 4580var comp2 = CreateCompilation(externAlias + globalUsing2 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { comp1Ref }); 4591comp2 = CreateCompilation(new[] { externAlias + source2, globalUsing2 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { comp1Ref }); 4594comp2 = CreateCompilation(globalUsing2 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { comp1Ref }); 4598var comp2 = CreateCompilation(externAlias + using1 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { comp1Ref }); 4605comp2 = CreateCompilation(using1 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { comp1Ref }); 4609var comp2 = CreateCompilation(externAlias + using2 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { comp1Ref }); 4616comp2 = CreateCompilation(using2 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { comp1Ref }); 4678var comp2 = CreateCompilation(globalAlias + globalUsing1 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 4689comp2 = CreateCompilation(new[] { globalAlias + source2, globalUsing1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 4692comp2 = CreateCompilation(new[] { source2, globalAlias + globalUsing1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 4695comp2 = CreateCompilation(new[] { source2, globalAlias, globalUsing1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 4698comp2 = CreateCompilation(new[] { source2, globalUsing1, globalAlias }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 4701comp2 = CreateCompilation(globalUsing1 + regularAlias + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 4704comp2 = CreateCompilation(new[] { regularAlias + source2, globalUsing1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 4707comp2 = CreateCompilation(globalUsing1 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 4711var comp2 = CreateCompilation(globalAlias + globalUsing2 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 4722comp2 = CreateCompilation(new[] { globalAlias + source2, globalUsing2 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 4725comp2 = CreateCompilation(new[] { source2, globalAlias + globalUsing2 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 4728comp2 = CreateCompilation(new[] { source2, globalAlias, globalUsing2 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 4731comp2 = CreateCompilation(new[] { source2, globalUsing2, globalAlias }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 4734comp2 = CreateCompilation(globalUsing2 + regularAlias + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 4737comp2 = CreateCompilation(new[] { regularAlias + source2, globalUsing2 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 4740comp2 = CreateCompilation(globalUsing2 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 4744var comp2 = CreateCompilation(globalAlias + using1 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 4755comp2 = CreateCompilation(new[] { globalAlias, using1 + source2 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 4758comp2 = CreateCompilation(regularAlias + using1 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 4761comp2 = CreateCompilation(using1 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 4765var comp2 = CreateCompilation(globalAlias + using2 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 4776comp2 = CreateCompilation(new[] { globalAlias, using2 + source2 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 4779comp2 = CreateCompilation(regularAlias + using2 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 4782comp2 = CreateCompilation(using2 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
Semantics\ImplicitObjectCreationTests.cs (90)
49var comp = CreateCompilation(source, options: TestOptions.DebugExe); 93var comp = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular8); 171var comp = CreateCompilation(source, options: TestOptions.DebugExe); 268var comp = CreateCompilation(source, options: TestOptions.DebugExe); 296var comp = CreateCompilation(source, options: TestOptions.DebugExe); 319var comp = CreateCompilation(source, options: TestOptions.DebugExe); 352var comp = CreateCompilation(source, options: TestOptions.DebugExe, references: new[] { CSharpRef }); 373var comp = CreateCompilation(source, options: TestOptions.DebugExe, references: new[] { CSharpRef }); 438var comp = CreateCompilation(source, options: TestOptions.DebugExe); 598var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics(); 699var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics(); 953var comp = CreateCompilation(source, options: TestOptions.DebugExe); 985var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1010var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1029var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1051var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1074var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1095var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1121var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1141var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1204var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics(); 1229var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics(); 1252var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics(); 1273var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics(); 1298var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics(); 1317var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics( 1346var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics( 1405var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics(); 1423var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics( 1457var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics( 1522var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics( 1555var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1585var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics( 1614var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics( 1646var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics( 1695var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics( 1735var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics( 1762var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1787var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1805_ = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics( 1860var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1890var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1920var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1951var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1973var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2030var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2065var comp = CreateCompilation(source, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 2110var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2163var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2401var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2425var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2444var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2465var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2486var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2509var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2559var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2592var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2682var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2726var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2746var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2766var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2807var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2845var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2882var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2911var comp = CreateCompilationWithIndexAndRange(source, options: TestOptions.DebugExe, parseOptions: ImplicitObjectCreationTestOptions); 2952var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2981var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3011var comp = CreateCompilation(source, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 3058var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3095var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3114var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3133var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3203var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3248var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3343var comp = CreateCompilation(source, references: new[] { CSharpRef }, options: TestOptions.DebugExe); 3660var comp = CreateCompilation(text, options: TestOptions.DebugExe); 3682var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 3764var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3785var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3867var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3912var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3952var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4012var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4055var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4074var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4093var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4112var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4133var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4467var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4500var comp = CreateCompilation(source, options: TestOptions.DebugExe);
Semantics\InitOnlyMemberTests.cs (18)
971var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 1003var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 1047parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 1052parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 1083parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 1131parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 1136parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 1687var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe); 1715var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe); 2738options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 2786var comp = CreateCompilation(source, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 3009var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 4194targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 4201targetFramework: TargetFramework.Mscorlib46, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 4483var comp = CreateCompilation(new[] { IsExternalInitTypeDefinition, source }, options: TestOptions.DebugExe); 4536var comp = CreateCompilation(new[] { IsExternalInitTypeDefinition, source }, options: TestOptions.DebugExe); 4562var comp = CreateCompilation(new[] { IsExternalInitTypeDefinition, source }, options: TestOptions.DebugExe); 4612options: TestOptions.DebugExe);
Semantics\InterceptorsTests.cs (13)
74var comp = CreateCompilation([source, interceptors, s_attributesSource], parseOptions: RegularWithInterceptors, options: TestOptions.DebugExe.WithWarningLevel(8)); 77comp = CreateCompilation([source, interceptors, s_attributesSource], parseOptions: RegularWithInterceptors, options: TestOptions.DebugExe.WithWarningLevel(9)); 5263var options = TestOptions.DebugExe.WithSourceReferenceResolver(resolver); 5322options: TestOptions.DebugExe.WithSourceReferenceResolver( 5358options: TestOptions.DebugExe.WithSourceReferenceResolver( 5392options: TestOptions.DebugExe.WithSourceReferenceResolver( 5501options: TestOptions.DebugExe.WithSourceReferenceResolver( 5536options: TestOptions.DebugExe.WithSourceReferenceResolver( 5578options: TestOptions.DebugExe.WithSourceReferenceResolver( 6019options: TestOptions.DebugExe.WithSourceReferenceResolver( 6060options: TestOptions.DebugExe.WithSourceReferenceResolver( 6120options: TestOptions.DebugExe.WithSourceReferenceResolver( 6133options: TestOptions.DebugExe.WithSourceReferenceResolver(
Semantics\InterpolationTests.cs (6)
1035CreateEmptyCompilation(text, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe) 1068CreateEmptyCompilation(text, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe) 9984comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, options: TestOptions.DebugExe); 10140var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.DebugExe); 18797var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, options: TestOptions.DebugExe); 18910var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, options: TestOptions.DebugExe);
Semantics\IteratorTests.cs (1)
649var comp = CompileAndVerify(source, expectedOutput: "0,1,2,3", options: TestOptions.DebugExe);
Semantics\LambdaDiscardParametersTests.cs (6)
138}", options: TestOptions.DebugExe); 305}", options: TestOptions.DebugExe); 325}", options: TestOptions.DebugExe); 441}", options: TestOptions.DebugExe); 476}", options: TestOptions.DebugExe); 560}", options: TestOptions.DebugExe);
Semantics\LambdaTests.cs (3)
1973var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe); 2787var comp = CreateCompilationWithMscorlib40AndSystemCore(src, options: TestOptions.DebugExe); 2974var comp = CreateCompilationWithMscorlib40AndSystemCore(src, options: TestOptions.DebugExe);
Semantics\LocalFunctionTests.cs (9)
4267var comp = CreateCompilationWithMscorlib46(source, parseOptions: DefaultParseOptions, options: TestOptions.DebugExe); 4783var comp = CreateCompilationWithMscorlib46(source, parseOptions: DefaultParseOptions, options: TestOptions.DebugExe); 4815var comp = CreateCompilationWithMscorlib46(source, parseOptions: DefaultParseOptions, options: TestOptions.DebugExe); 4848var comp = CreateCompilationWithMscorlib46(source, parseOptions: DefaultParseOptions, options: TestOptions.DebugExe); 4881var comp = CreateCompilationWithMscorlib46(source, parseOptions: DefaultParseOptions, options: TestOptions.DebugExe); 4918var comp = CreateCompilationWithMscorlib46(source, parseOptions: DefaultParseOptions, options: TestOptions.DebugExe); 4954var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 6918CompileAndVerify(source, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), expectedOutput: "System.Int32", symbolValidator: m => 6948CompileAndVerify(source, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), expectedOutput: "System.Int32", symbolValidator: m =>
Semantics\NamedAndOptionalTests.cs (1)
2439var comp = CreateCompilationWithIL(csharp, il, options: TestOptions.DebugExe);
Semantics\NameOfTests.cs (5)
594options: TestOptions.DebugExe, 618options: TestOptions.DebugExe, 637options: TestOptions.DebugExe, 659options: TestOptions.DebugExe, 1443var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe);
Semantics\NonTrailingNamedArgumentsTests.cs (1)
673var comp = CreateCompilation(source, options: TestOptions.DebugExe);
Semantics\NullableReferenceTypesTests.cs (25)
1747var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.DebugExe)); 1781var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.DebugExe)); 1952var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.DebugExe)); 2237var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.DebugExe)); 2259var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.DebugExe)); 2337var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.DebugExe)); 2370var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.DebugExe)); 2455var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.DebugExe)); 16996var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.DebugExe)); 17071var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.DebugExe)); 17405var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.DebugExe)); 17473var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.DebugExe)); 17554var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.DebugExe)); 17638var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.DebugExe)); 32070options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Enable)); 76971options: WithNullableEnable(TestOptions.DebugExe)); 79455var comp = CreateCompilation(source, options: TestOptions.DebugExe); 79479var comp = CreateCompilation(source, options: TestOptions.DebugExe); 79521var comp = CreateCompilation(source, options: TestOptions.DebugExe); 91269CreateCompilation(source, options: WithNullableEnable(TestOptions.DebugExe)).VerifyDiagnostics( 155927options: TestOptions.DebugExe); 157488var comp = CreateCompilation(src, options: TestOptions.DebugExe); 157514var comp = CreateCompilation(src, options: TestOptions.DebugExe); 157550var comp = CreateCompilation(src, options: TestOptions.DebugExe); 157939var comp = CreateCompilation(src, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Enable));
Semantics\ObjectAndCollectionInitializerTests.cs (2)
4220var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp); 4274var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
Semantics\OperatorTests.cs (12)
9036var comp = CreateCompilation(src, options: TestOptions.DebugExe); 9124var comp = CreateCompilation(src, options: TestOptions.DebugExe); 9183var comp = CreateCompilation(src, options: TestOptions.DebugExe); 9231var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 9272var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 9317var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 9369var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 9417var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 9465var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 9513var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 9561var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 9609var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
Semantics\OverloadResolutionTests.cs (24)
7021var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 7874var compilation = CreateCompilation(source1, options: TestOptions.DebugExe); 7912CreateCompilation(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics( 7917CreateCompilation(source1, options: TestOptions.DebugExe).VerifyDiagnostics( 7954var compilation = CreateCompilation(source1, options: TestOptions.DebugExe); 7992CreateCompilation(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics( 7997CreateCompilation(source1, options: TestOptions.DebugExe).VerifyDiagnostics( 8034CreateCompilation(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics( 8039CreateCompilation(source1, options: TestOptions.DebugExe).VerifyDiagnostics( 8076CreateCompilation(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics( 8081CreateCompilation(source1, options: TestOptions.DebugExe).VerifyDiagnostics( 8116CreateCompilation(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics( 8121CreateCompilation(source1, options: TestOptions.DebugExe).VerifyDiagnostics( 8157var compilation = CreateCompilation(source1, options: TestOptions.DebugExe); 8196var compilation = CreateCompilationWithMscorlib40(source1, new[] { Net40.References.SystemCore }, options: TestOptions.DebugExe); 8232var compilation = CreateCompilationWithMscorlib40(source1, new[] { Net40.References.SystemCore }, options: TestOptions.DebugExe); 8265var compilation = CreateCompilation(source1, options: TestOptions.DebugExe); 8493var compilation = CreateCompilation(source1, options: TestOptions.DebugExe); 8541var compilation = CreateCompilation(source1, options: TestOptions.DebugExe); 8588var compilation = CreateCompilation(source1, options: TestOptions.DebugExe); 8627var compilation = CreateCompilation(source1, options: TestOptions.DebugExe); 8662var compilation = CreateCompilation(source1, options: TestOptions.DebugExe); 8688var compilation = CreateCompilation(source1, options: TestOptions.DebugExe); 8718var compilation = CreateCompilation(source1, options: TestOptions.DebugExe);
Semantics\QueryTests.cs (1)
3880var compilation = CreateCompilationWithMscorlib40AndSystemCore(sourceCode, options: TestOptions.DebugExe);
Semantics\RawInterpolationTests.cs (2)
1035CreateEmptyCompilation(text, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe) 1067CreateEmptyCompilation(text, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe)
Semantics\RecordStructTests.cs (2)
2495var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 5190var compDebug = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
Semantics\RefFieldTests.cs (7)
18312var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net70); 21401var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net70); 21523var comp = CreateCompilation(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net70); 30947options: TestOptions.DebugExe.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings), 31001options: TestOptions.DebugExe.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings), 31069options: TestOptions.DebugExe.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings), 31132options: TestOptions.DebugExe.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings),
Semantics\ScriptSemanticsTests.cs (7)
100options: TestOptions.DebugExe, 117options: TestOptions.DebugExe, 142options: TestOptions.DebugExe.WithUsings("Hidden"), 162options: TestOptions.DebugExe.WithUsings("Hidden"), 191options: TestOptions.DebugExe, 210options: TestOptions.DebugExe.WithUsings("Hidden"), 1374options: TestOptions.DebugExe,
Semantics\SemanticErrorTests.cs (9)
2729CreateCompilation(test, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics( 2793CreateCompilation(test, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics( 2813CreateCompilation(test, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics( 18447CreateCompilation(source, options: TestOptions.DebugExe.WithWarningLevel(5)).VerifyDiagnostics(); 18502var comp = CreateCompilation(text, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 18596var comp = CreateCompilation(text, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 18622var comp = CreateCompilation(text, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 21633var compilation = CreateCompilation(text, targetFramework: TargetFramework.Mscorlib461, options: TestOptions.DebugExe); 24546var compilation = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugExe);
Semantics\SpanStackSafetyTests.cs (8)
1394comp = CreateCompilationWithMscorlibAndSpan(text, TestOptions.DebugExe); 1755comp = CreateCompilationWithMscorlibAndSpan(text, TestOptions.DebugExe); 1805comp = CreateCompilationWithMscorlibAndSpan(text, TestOptions.DebugExe); 2621CSharpCompilation comp = CreateCompilationWithMscorlibAndSpan(text, options: TestOptions.DebugExe); 2646CSharpCompilation comp = CreateCompilationWithMscorlibAndSpan(text, options: TestOptions.DebugExe); 2671CSharpCompilation comp = CreateCompilationWithMscorlibAndSpan(text, options: TestOptions.DebugExe); 2701CSharpCompilation comp = CreateCompilationWithMscorlibAndSpan(text, options: TestOptions.DebugExe); 2724CSharpCompilation comp = CreateCompilationWithMscorlibAndSpan(text, options: TestOptions.DebugExe);
Semantics\StackAllocInitializerTests.cs (1)
562}", TestOptions.DebugExe);
Semantics\StructsTests.cs (1)
117var comp = CreateCompilation(text, options: TestOptions.DebugExe);
Semantics\TargetTypedConditionalOperatorTests.cs (2)
412var comp = CreateCompilation(source, parseOptions: TestOptions.Regular8, options: TestOptions.DebugExe) 415comp = CreateCompilation(source, parseOptions: TestOptions.Regular.WithLanguageVersion(MessageID.IDS_FeatureTargetTypedConditional.RequiredVersion()), options: TestOptions.DebugExe)
Semantics\TargetTypedDefaultTests.cs (69)
117var comp = CreateCompilation(source, options: TestOptions.DebugExe); 136var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 167var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 189var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 236var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 273var comp = CreateCompilation(source, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 487var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 552var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 595var comp = CreateCompilation(source, parseOptions: TestOptions.Regular8, options: TestOptions.DebugExe); 889var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 910var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 928var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 946var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 967var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 1057var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 1134var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 1163var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 1192var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 1228var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 1593var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 1621var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 1624var comp2 = CreateCompilation(source, parseOptions: TestOptions.Regular7_3, options: TestOptions.DebugExe); 1721var comp = CreateCompilation(source, parseOptions: parseOptions, options: TestOptions.DebugExe); 1787var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3, options: TestOptions.DebugExe); 1858var comp = CreateCompilation(source, parseOptions: TestOptions.Regular, options: TestOptions.DebugExe); 1903var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 1939var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 1968var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 2007var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 2053var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 2079var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 2108var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 2144var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 2177var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 2203var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 2250var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 2287var comp = CreateCompilationWithMscorlib40(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe, 2307var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 2326var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 2407var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 2449var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 2524var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 2549var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 2609var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 2653var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, references: new[] { CSharpRef }, options: TestOptions.DebugExe); 2671var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 2696var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3, options: TestOptions.DebugExe); 2743var comp = CreateCompilation(text, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 2792var compilation = CreateCompilationWithMscorlib40AndSystemCore(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 2833var comp = CreateCompilation(text, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 2962var comp = CreateCompilation(text, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 3049var comp = CreateCompilationWithMscorlib40AndSystemCore(text, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 3078var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 3100var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 3129var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 3161var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 3193var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 3225var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 3254var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 3274var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 3406var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 3428var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 3447var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 3467var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 3487var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 3506var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 3547var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 3568var comp = CreateCompilation(text, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe); 3705var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
Semantics\TopLevelStatementsTests.cs (246)
44var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 78var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 106var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 114comp = CreateCompilation(new[] { text1, text2, text3 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 141var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 162var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 165comp = CreateCompilation(new[] { text2, text1 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 178var comp = CreateCompilation(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 184comp = CreateCompilation(text1, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Enable), parseOptions: DefaultParseOptions); 279var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 294comp = CreateCompilation(new[] { text2, text1 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 309comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Enable), parseOptions: DefaultParseOptions); 435var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 456comp = CreateCompilation(new[] { text2, text1 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 525var comp = CreateCompilation(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 563var comp = CreateCompilation(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 612var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular8); 691var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 737var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 781var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 813var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 826var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 839var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 860var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 910var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 931var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 956var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 971var comp = CreateCompilation(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1003var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1016var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1029var comp = CreateCompilation(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1056var comp = CreateCompilation(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1074var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1102var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1117var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1124comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular12); 1131comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 1134comp = CreateCompilation(text, options: TestOptions.DebugExe); 1160var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1187var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1209var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1252var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1270var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1287var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1303var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1317comp = CreateCompilation(new[] { "System.Console.WriteLine();", text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1347var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1361comp = CreateCompilation(new[] { "System.Console.WriteLine();", text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1396var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1414comp = CreateCompilation(new[] { text2, text1 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1447var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1466comp = CreateCompilation(new[] { text2, text1 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1501var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1542var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1588var comp = CreateCompilation(new[] { text1, text2, text3 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1650var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1823var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1977var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1980comp = CreateCompilation(text1 + text2, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1985options: TestOptions.DebugExe)); 1987comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7); 2044var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 2208var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 2358var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 2361comp = CreateCompilation(text1 + text2, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 2364comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7); 2410var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 2555var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 2574var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 2605var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 2630var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 2691var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 2776var comp = CreateCompilation(text, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 2833var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 2861var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 2895var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 3009var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 3071var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 3134var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 3201var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 3265var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 3327var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 3390var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 3457var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 3521var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 3583var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 3646var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 3713var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 3777var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 3845var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 3913var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4062var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4162var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4187var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4208var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4290var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4312var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4364var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4452var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4469var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4493var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4532var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4560var comp = CreateCompilation(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4598var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4612var comp = CreateCompilation(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4640var comp = CreateCompilation(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4657var comp = CreateCompilation(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4673var comp = CreateCompilation(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4693var comp = CreateCompilation(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4708var comp = CreateCompilation(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4726var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4749var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4764var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4778var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4799var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4820var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4841var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4866var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4886var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4918var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4939var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4971var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5004var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5032var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5062var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5094var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5124var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5150var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5186var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5225var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5281var comp = CreateCompilation(new[] { text1, text4 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5318var comp = CreateCompilation(text, options: TestOptions.DebugExe.WithMainTypeName("Program2"), parseOptions: DefaultParseOptions); 5345var comp = CreateCompilation(text, options: TestOptions.DebugExe.WithMainTypeName(""), parseOptions: DefaultParseOptions); 5369var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5389var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5410var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5431var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5455var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5480var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5507var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5535var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5562var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5590var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5614var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5639var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5666var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5680var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5699var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5720var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5744var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5770var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5791var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5812var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5833var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5854var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5874var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5898var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5916var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5940var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5963var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 6000var comp = CreateCompilation(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 6079options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 6150options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 6224var comp = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 6265var comp = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 6308var comp = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 6358var comp = CreateCompilation(new[] { source1, source2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 6397var comp = CreateCompilation(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 6408comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 6502var comp = CreateCompilation(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 6511comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 6559var comp = CreateCompilation(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 6574comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 6680var comp = CreateCompilation(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 6691comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 6767var comp = CreateCompilation(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 6776comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 6825var comp = CreateCompilation(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 6834comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 6883var comp = CreateCompilation(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 6892comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 6951var comp = CreateCompilation(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 6960comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7030var comp = CreateCompilation(text1 + text2, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7038comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7143var comp = CreateCompilation(text1 + text2 + text3, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7152comp = CreateCompilation(new[] { text1, text2, text3 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7237var comp = CreateCompilation(text1 + text2, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7246comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7310var comp = CreateCompilation(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7320comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7377var comp = CreateCompilation(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7387comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7444var comp = CreateEmptyCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7466var comp = CreateCompilation(text, targetFramework: TargetFramework.Minimal, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7489var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7511var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7549var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7575var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7606var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7624var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7671var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7718var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7787var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7852var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7875var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7894var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7913var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7933var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7951var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7973var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7993var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8012var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8030var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8050var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8191var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8209var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8222var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8231var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8245var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8259var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8273var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8300var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8317var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8334var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8351var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8398var comp = CreateCompilation(text, options: TestOptions.DebugExe.WithOverflowChecks(true), parseOptions: DefaultParseOptions); 8486var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8516var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8538var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8557var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8572var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8605var comp = CreateCompilation(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8625var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8637var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8714", options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8734", options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8952var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8969var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8986var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8998var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 9011var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 9029var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 9047var comp = CreateCompilation(text, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All)); 9102var comp = CreateCompilation(text, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All)); 9496var comp = CreateCompilation(text, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All));
Semantics\UsingDeclarationTests.cs (4)
385var compilation = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics(); 409var compilation = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics(); 435var compilation = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics(); 824var compilation = CreateCompilationWithTasksExtensions(source, options: TestOptions.DebugExe).VerifyDiagnostics();
Semantics\Utf8StringsLiteralsTests.cs (96)
54var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 83var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 111var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 142var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 175var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 199var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 226var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 255var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 283var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 314var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 338var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 362var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 384var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 416var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 453comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11); 461comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10); 487var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 518var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 561var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 821var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 873var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 924var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 981var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1037var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1095var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1151var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1205var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1257var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1308var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1366var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1396var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1420var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1453var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1475var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1515var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1536var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1540comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10); 1575var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1602var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1605comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10); 1623var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1649var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1666comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11); 1672comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10); 1702var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1719comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11); 1725comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10); 1755var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1772comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11); 1778comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10); 1817var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1834comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11); 1840comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10); 1877var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1916var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 1943var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe); 1972var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 2002var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 2037var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 2074var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 2102var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 2122var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 2143var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 2169var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 2198var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 2235var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 2276var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 2325var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 2362var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 2399var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 2433var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 2457var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 2461comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10); 2482var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 2513var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 3446var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 3494var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 3536var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 3585var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 3634var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 3684var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 3731var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 3772var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 3827var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 3853var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 3899var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3945var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3989var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4032var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4061var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 4132var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 4155var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 4186var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 4225var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 4250var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 4275var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
SourceGeneration\GeneratorDriverTests.cs (1)
4300Compilation compilation = CreateCompilation([source1], options: TestOptions.DebugExe, parseOptions: parseOptions);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (641)
Compilation\CompilationAPITests.cs (3)
370var ops1 = TestOptions.DebugExe; 486var opt = TestOptions.DebugExe; 488var comp = CSharpCompilation.Create("Compilation", options: TestOptions.DebugExe);
Compilation\ReferenceManagerTests.cs (2)
52options: TestOptions.DebugExe); 745var compilation = CreateEmptyCompilation(tree, new[] { MscorlibRef, r1, r2_SysCore }, TestOptions.DebugExe, assemblyName: "Test");
Compilation\SemanticModelAPITests.cs (2)
4500var options = WithNullable(TestOptions.DebugExe, nullableContextOption); 4555var options = WithNullable(TestOptions.DebugExe, nullableContextOption);
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (1)
2754options: TestOptions.DebugExe.WithScriptClassName("Script"),
DeclarationTests.cs (4)
61var decl1 = DeclarationTreeBuilder.ForTree(tree1, TestOptions.DebugExe.ScriptClassName, isSubmission: false); 62var decl2 = DeclarationTreeBuilder.ForTree(tree2, TestOptions.DebugExe.ScriptClassName, isSubmission: false); 230var decl1 = Lazy(DeclarationTreeBuilder.ForTree(tree1, TestOptions.DebugExe.ScriptClassName, isSubmission: false)); 231var decl2 = Lazy(DeclarationTreeBuilder.ForTree(tree2, TestOptions.DebugExe.ScriptClassName, isSubmission: false));
Symbols\AssemblyAndNamespaceTests.cs (6)
117var comp1 = CSharpCompilation.Create(assemblyName: "Test", options: TestOptions.DebugExe, 121var comp = CSharpCompilation.Create(assemblyName: "Test1", options: TestOptions.DebugExe, 164var comp = CSharpCompilation.Create(assemblyName: "Test1", options: TestOptions.DebugExe, 251var comp1 = CSharpCompilation.Create(assemblyName: "Test1", options: TestOptions.DebugExe, syntaxTrees: new SyntaxTree[] { SyntaxFactory.ParseSyntaxTree(text1) }, references: new MetadataReference[] { }); 252var comp2 = CSharpCompilation.Create(assemblyName: "Test2", options: TestOptions.DebugExe, syntaxTrees: new SyntaxTree[] { SyntaxFactory.ParseSyntaxTree(text2) }, references: new MetadataReference[] { }); 257var comp = CSharpCompilation.Create(assemblyName: "Test3", options: TestOptions.DebugExe,
Symbols\CheckedUserDefinedOperatorsTests.cs (69)
3447var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 3457compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11); 3468var compilation3 = CreateCompilation(source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10, references: new[] { compilation2.ToMetadataReference() }); 3639var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 3719var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 3796var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 3846var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 3853compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11); 3861var compilation3 = CreateCompilation(source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10, references: new[] { compilation2.ToMetadataReference() }); 3956var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 4060var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 4222var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 4232compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11); 4243var compilation3 = CreateCompilation(source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10, references: new[] { compilation2.ToMetadataReference() }); 4421var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 4503var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 4582var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 4683var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 4693compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11); 4704var compilation3 = CreateCompilation(source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10, references: new[] { compilation2.ToMetadataReference() }); 4753var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 4804var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 4813compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11); 4823var compilation3 = CreateCompilation(source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10, references: new[] { compilation2.ToMetadataReference() }); 4916var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 5026var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 5229var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 5241compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11); 5254var compilation3 = CreateCompilation(source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10, references: new[] { compilation2.ToMetadataReference() }); 5315var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 5353var compilation2 = CreateCompilation(source1 + source3, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 5510var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 5599var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 5645var compilation2 = CreateCompilationWithIL(source2, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 5707var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 5714compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11); 5722var compilation3 = CreateCompilation(source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10, references: new[] { compilation2.ToMetadataReference() }); 5794var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 6062var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 6178var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 6331var compilation1 = CreateCompilationWithCSharp(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 6341compilation1 = CreateCompilationWithCSharp(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11); 6352var compilation3 = CreateCompilationWithCSharp(source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10, references: new[] { compilation2.ToMetadataReference() }); 6436var compilation1 = CreateCompilationWithCSharp(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 6446compilation1 = CreateCompilationWithCSharp(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11); 6457var compilation3 = CreateCompilationWithCSharp(source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10, references: new[] { compilation2.ToMetadataReference() }); 6551var compilation1 = CreateCompilationWithCSharp(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 6563compilation1 = CreateCompilationWithCSharp(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11); 6576var compilation3 = CreateCompilationWithCSharp(source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10, references: new[] { compilation2.ToMetadataReference() }); 6629var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 6633var compilation3 = CreateCompilation(source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview, references: new[] { compilation2.EmitToImageReference() }); 6734var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 6779var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 6783var compilation3 = CreateCompilation(source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview, references: new[] { compilation2.EmitToImageReference() }); 6828var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 6832var compilation3 = CreateCompilation(source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview, references: new[] { compilation2.EmitToImageReference() }); 6877var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 6881var compilation3 = CreateCompilation(source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview, references: new[] { compilation2.EmitToImageReference() }); 6987var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 7028var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 7032var compilation3 = CreateCompilation(source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview, references: new[] { compilation2.EmitToImageReference() }); 7073var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 7077var compilation3 = CreateCompilation(source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview, references: new[] { compilation2.EmitToImageReference() }); 7180var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 7226var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 7298var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 7369var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 7442var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 7506var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
Symbols\CorLibrary\CorTypes.cs (13)
288var comp = CreateCompilation(source, options: TestOptions.DebugExe); 301comp = CreateCompilation(source, options: TestOptions.DebugExe); 390var comp = CreateCompilation(source2, references: [corLib_v2_Comp.ToMetadataReference(), typeLib_v2_Comp.ToMetadataReference(), comp1Ref], options: TestOptions.DebugExe); 425var comp = CreateCompilation(source, options: TestOptions.DebugExe); 432comp = CreateCompilation(source, options: TestOptions.DebugExe); 575var comp = CreateCompilation(source2, references: [corLib_v2_Comp.ToMetadataReference(), typeLib_v2_Comp.ToMetadataReference(), comp1Ref], options: TestOptions.DebugExe); 617var comp = CreateCompilation(source, targetFramework: TargetFramework.Mscorlib40AndSystemCore, options: TestOptions.DebugExe); 627comp = CreateCompilation(source, targetFramework: TargetFramework.Mscorlib40AndSystemCore, options: TestOptions.DebugExe); 635comp = CreateCompilation(source, targetFramework: TargetFramework.Mscorlib40AndSystemCore, options: TestOptions.DebugExe); 663var comp = CreateCompilation(source, options: TestOptions.DebugExe); 673comp = CreateCompilation(source, options: TestOptions.DebugExe); 856var comp = CreateCompilation(source2, references: [corLib_v2_Comp.ToMetadataReference(), typeLib_v2_Comp.ToMetadataReference(), comp1Ref], options: TestOptions.DebugExe); 1050var comp = CreateCompilation(source2, references: [corLib_v2_Comp.ToMetadataReference(), typeLib_v2_Comp.ToMetadataReference(), comp1Ref], options: TestOptions.DebugExe);
Symbols\DefaultInterfaceImplementationTests.cs (475)
117var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net60, 168var compilation2 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 287var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 345var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 361var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe, 427var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 485var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 501var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe, 578var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 676var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 778var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 880var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 967var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 1042var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 1121var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 1200var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 1279var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 1363var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 1451var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 1539var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 2102var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 2181var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 2203var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe, 2267var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 2336var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 2409var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 2482var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 2579var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 2633var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 2650var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe, 3722var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 3864var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 3982var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 4134var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 5383var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 5500var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 5591var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 5736var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 6541var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 6598var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 6619var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe, 6943var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 7046var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 7137var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 7244var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 7969var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 8245var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 8770var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 8871var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 9041var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 9230var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 9257compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 9282var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 9295compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 9447var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 9455compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 9472var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 9481compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 9529var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 9543var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe, 9554var compilation4 = CreateCompilation(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe, 9828var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 9842var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe, 9849var compilation4 = CreateCompilation(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe, 9887var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 9907var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe, 9919var compilation4 = CreateCompilation(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe, 9964var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 9976compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 9996var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 10050var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe, 10058compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe, 10133var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 10827var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 10881var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 10927var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe, 10938var compilation4 = CreateCompilation(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe, 11054var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 11160var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 11579var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 11692var compilation1 = CreateCompilation(source0 + source1, options: TestOptions.DebugExe, 11716var compilation2 = CreateCompilation(source0 + source2, options: TestOptions.DebugExe, 11757var compilation4 = CreateCompilation(source3, options: TestOptions.DebugExe, 11767var compilation5 = CreateCompilation(source4, options: TestOptions.DebugExe, 11784var compilation6 = CreateCompilation(source1, options: TestOptions.DebugExe, 11847var compilation1 = CreateCompilation(source21 + source1, options: TestOptions.DebugExe, 11881compilation1 = CreateCompilation(source22 + source1, options: TestOptions.DebugExe, 11907var compilation3 = CreateCompilation(source21, new[] { reference }, options: TestOptions.DebugExe, 11915compilation3 = CreateCompilation(source22, new[] { reference }, options: TestOptions.DebugExe, 11983var compilation1 = CreateCompilation(source21 + source1, options: TestOptions.DebugExe, 11996compilation1 = CreateCompilation(source21 + source1, options: TestOptions.DebugExe, 12022var compilation3 = CreateCompilation(source21, new[] { reference }, options: TestOptions.DebugExe, 12037compilation3 = CreateCompilation(source22, new[] { reference }, options: TestOptions.DebugExe, 12103var compilation1 = CreateCompilation(source21 + source1, options: TestOptions.DebugExe, 12119compilation1 = CreateCompilation(source22 + source1, options: TestOptions.DebugExe, 12145var compilation3 = CreateCompilation(source21, new[] { reference }, options: TestOptions.DebugExe, 12160compilation3 = CreateCompilation(source22, new[] { reference }, options: TestOptions.DebugExe, 12216var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 12237var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 12278var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 12299var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 12340var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 12360var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 12612var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 12637var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 12700var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 12725var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 12788var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 12813var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 13991var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 14212var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 14230var compilation2 = CreateCompilation(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 14606var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 14912var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 14920compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 14958var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 14966compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 15110var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 15118compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 15137var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 15145compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 15245var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 15263var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 15660var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 15674var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe, 15683var compilation4 = CreateCompilation(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe, 15743var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 15755var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe, 15762var compilation4 = CreateCompilation(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe, 15845compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 15872compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 15969var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe, 16175var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 17456var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 17527var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe, 17541var compilation4 = CreateCompilation(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe, 17726var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 18282var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe.WithMetadataImportOptions(metadataImportOptions), 18329options: TestOptions.DebugExe.WithMetadataImportOptions(metadataImportOptions), 18457var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 18465compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 18495options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 18504options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 19837var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 19908var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe, 19922var compilation4 = CreateCompilation(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe, 20315options: TestOptions.DebugExe, 20353var compilation2 = CreateCompilation(source0 + source2, options: TestOptions.DebugExe, 20426var compilation4 = CreateCompilation(source3, options: TestOptions.DebugExe, 20444var compilation5 = CreateCompilation(source4, options: TestOptions.DebugExe, 20456var compilation6 = CreateCompilation(source5, options: TestOptions.DebugExe, 20491var compilation7 = CreateCompilation(source1, options: TestOptions.DebugExe, 27619var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 27789var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 27863var compilation2 = CreateCompilation(source2, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 27883var compilation3 = CreateCompilation(source2, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 28117var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 28418var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 28426compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 28501var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 28509compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 28615var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 28623compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 28642var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 28650compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 28751var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, targetFramework: targetFramework, 28767var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 29169var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 29183var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe, 29192var compilation4 = CreateCompilation(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe, 29255var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 29267var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe, 29274var compilation4 = CreateCompilation(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe, 29357compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 29384compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 29474var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe, 29578var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 30861var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 30930var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe, 30944var compilation4 = CreateCompilation(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe, 31095options: TestOptions.DebugExe, 31121var compilation2 = CreateCompilation(source0 + source2, options: TestOptions.DebugExe, 31168var compilation4 = CreateCompilation(source3, options: TestOptions.DebugExe, 31180var compilation5 = CreateCompilation(source4, options: TestOptions.DebugExe, 31206var compilation6 = CreateCompilation(source1, options: TestOptions.DebugExe, 31750var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 31809var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 31932var compilation1 = CreateCompilation(source0 + source1, options: TestOptions.DebugExe, 31983var compilation2 = CreateCompilation(source2 + source0, options: TestOptions.DebugExe, 32024var compilation4 = CreateCompilation(source1, options: TestOptions.DebugExe, 32038var compilation5 = CreateCompilation(source2, options: TestOptions.DebugExe, 32123var compilation1 = CreateCompilation(source0 + source1, options: TestOptions.DebugExe, 32158var compilation4 = CreateCompilation(source1, options: TestOptions.DebugExe, 32172var compilation5 = CreateCompilation(source2, options: TestOptions.DebugExe, 32257var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe); 32287var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe); 32481var compilation1 = CreateCompilation(source0 + source1, options: TestOptions.DebugExe, 32508var compilation2 = CreateCompilation(source2 + source0, options: TestOptions.DebugExe, 32549var compilation4 = CreateCompilation(source1, options: TestOptions.DebugExe, 32556var compilation5 = CreateCompilation(source2, options: TestOptions.DebugExe, 32959var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 32975var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 32991var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe, 33980var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 34141var compilation1 = CreateCompilation(source1 + source2 + source3, options: TestOptions.DebugExe, 34157var compilation2 = CreateCompilation(source3, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 34173var compilation3 = CreateCompilation(source3, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe, 34501var compilation4 = CreateCompilation(source4, new[] { ref1 }, options: TestOptions.DebugExe, 34585var compilation5 = CreateCompilation(source5, new[] { ref1, ref2 }, options: TestOptions.DebugExe, 34797var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 34894var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 34912var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe, 35469var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 35578var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 35691var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 35804var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 35910var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 36015var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 36113var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 36227var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 36386var compilation1 = CreateCompilation(source1 + source2 + source3, options: TestOptions.DebugExe, 36404var compilation2 = CreateCompilation(source3, new[] { reference }, options: TestOptions.DebugExe, 36429var compilation5 = CreateCompilation(source2 + source3, new[] { reference }, options: TestOptions.DebugExe, 36574var compilation1 = CreateCompilation(source1 + source2 + source3, options: TestOptions.DebugExe, 36592var compilation2 = CreateCompilation(source3, new[] { reference }, options: TestOptions.DebugExe, 36617var compilation5 = CreateCompilation(source2 + source3, new[] { reference }, options: TestOptions.DebugExe, 36762var compilation1 = CreateCompilation(source1 + source2 + source3, options: TestOptions.DebugExe, 36780var compilation2 = CreateCompilation(source3, new[] { reference }, options: TestOptions.DebugExe, 36984foreach (var options in new[] { TestOptions.DebugExe, TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All) }) 38401var compilation1 = CreateCompilation(source1 + source2 + source3, options: TestOptions.DebugExe, 38420var compilation2 = CreateCompilation(source3, new[] { reference }, options: TestOptions.DebugExe, 38446var compilation5 = CreateCompilation(source2 + source3, new[] { reference }, options: TestOptions.DebugExe, 38838var compilation4 = CreateCompilation(source4, new[] { ref1 }, options: TestOptions.DebugExe, 38909var compilation5 = CreateCompilation(source5, new[] { ref1, ref2 }, options: TestOptions.DebugExe, 39106var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 39175var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 39193var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe, 40014var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 40032var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 40050var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe, 41069var compilation1 = CreateCompilation(source1 + source2 + source3, options: TestOptions.DebugExe, 41087var compilation2 = CreateCompilation(source3, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 41105var compilation3 = CreateCompilation(source3, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe, 41500var compilation4 = CreateCompilation(source4, new[] { ref1 }, options: TestOptions.DebugExe, 41587var compilation5 = CreateCompilation(source5, new[] { ref1, ref2 }, options: TestOptions.DebugExe, 41782var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 41851var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 41869var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe, 42019var compilation1 = CreateCompilation(source1 + source2 + source3, options: TestOptions.DebugExe, 42039var compilation2 = CreateCompilation(source3, new[] { reference }, options: TestOptions.DebugExe, 42066var compilation5 = CreateCompilation(source2 + source3, new[] { reference }, options: TestOptions.DebugExe, 42223var compilation1 = CreateCompilation(source1 + source2 + source3, options: TestOptions.DebugExe, 42243var compilation2 = CreateCompilation(source3, new[] { reference }, options: TestOptions.DebugExe, 42270var compilation5 = CreateCompilation(source2 + source3, new[] { reference }, options: TestOptions.DebugExe, 42427var compilation1 = CreateCompilation(source1 + source2 + source3, options: TestOptions.DebugExe, 42447var compilation2 = CreateCompilation(source3, new[] { reference }, options: TestOptions.DebugExe, 43789var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 43834var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 43839var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe, 43844var compilation4 = CreateCompilation(source1, options: TestOptions.DebugExe, 43868var compilation5 = CreateCompilation(source1, options: TestOptions.DebugExe, 43919var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 43971var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 43976var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe, 43981var compilation4 = CreateCompilation(source1, options: TestOptions.DebugExe, 44004var compilation5 = CreateCompilation(source1, options: TestOptions.DebugExe, 44054var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 44101var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 44106var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe, 44111var compilation4 = CreateCompilation(source1, options: TestOptions.DebugExe, 44134var compilation5 = CreateCompilation(source1, options: TestOptions.DebugExe, 44192var compilation1 = CreateCompilation(source0 + source1, options: TestOptions.DebugExe, 44222var compilation2 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 44242var compilation3 = CreateCompilation(source0 + source3, options: TestOptions.DebugExe, 44268var compilation2 = CreateCompilation(source3 + source4, new[] { reference }, options: TestOptions.DebugExe, 44288var compilation4 = CreateCompilation(source0 + source1, options: TestOptions.DebugExe, 44648var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 44695var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 44729var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 44803var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 44844var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 44889var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 44925var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 44970var compilation1 = CreateCompilation(source0 + source1, options: TestOptions.DebugExe, 44988var compilation2 = CreateCompilation(source0 + source2, options: TestOptions.DebugExe, 45062var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 45107var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 45112var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe, 45117var compilation4 = CreateCompilation(source1, options: TestOptions.DebugExe, 45150var compilation5 = CreateCompilation(source1, options: TestOptions.DebugExe, 45213var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 45260var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 45265var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe, 45270var compilation4 = CreateCompilation(source1, options: TestOptions.DebugExe, 45303var compilation5 = CreateCompilation(source1, options: TestOptions.DebugExe, 45356var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 45399var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 45404var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe, 45409var compilation4 = CreateCompilation(source1, options: TestOptions.DebugExe, 45445var compilation5 = CreateCompilation(source1, options: TestOptions.DebugExe, 45546var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 45591var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 45596var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe, 45601var compilation4 = CreateCompilation(source1, options: TestOptions.DebugExe, 45633var compilation5 = CreateCompilation(source1, options: TestOptions.DebugExe, 45686var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 45728var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 45733var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe, 45738var compilation4 = CreateCompilation(source1, options: TestOptions.DebugExe, 45770var compilation5 = CreateCompilation(source1, options: TestOptions.DebugExe, 45908var compilation2 = CreateCompilation(source2, options: TestOptions.DebugExe, 45926var compilation3 = CreateCompilation(source3, options: TestOptions.DebugExe, 45942var compilation4 = CreateCompilation(source4, options: TestOptions.DebugExe, targetFramework: TargetFramework.Mscorlib461Extended, 46040var compilation2 = CreateCompilation(source2, options: TestOptions.DebugExe, 46166var compilation3 = CreateCompilation(source3, options: TestOptions.DebugExe, 46204var compilation4 = CreateCompilation(source4, options: TestOptions.DebugExe, 46309var compilation3 = CreateCompilation(source3, options: TestOptions.DebugExe, 46352var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 46378var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithMainTypeName("I2"), 46594var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 46604var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 46611var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 46772var compilation7 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 46850var compilation8 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 46870var compilation9 = CreateCompilation(source3, new[] { compilationReference }, options: TestOptions.DebugExe, 46885var compilation10 = CreateCompilation(source3, new[] { metadataReference }, options: TestOptions.DebugExe, 46955var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp); 46958var compilation2 = CreateCompilation(source1 + source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp, 47001var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp, 47018CreateCompilation(source1 + source2, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp, 47030var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 47034CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 47088var compilation3 = CreateCompilationWithIL(source2, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 47094CreateCompilationWithIL(source2, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics( 47117var compilation4 = CreateCompilationWithIL(source3, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 47126CreateCompilationWithIL(source3, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics( 47228var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp, 47237var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 47243var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 47262var compilation9 = CreateCompilation(source3, new[] { compilationReference }, options: TestOptions.DebugExe, 47273var compilation10 = CreateCompilation(source3, new[] { metadataReference }, options: TestOptions.DebugExe, 47320var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 47329var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 47335var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 47396var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 47405var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 47411var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 47469var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 47476var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 47526var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 47535var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 47541var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 47607var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 47616var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 47622var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 47690var compilation1 = CreateCompilation(source3, new[] { compilationReference0 }, options: TestOptions.DebugExe, 47695var compilation2 = CreateCompilation(source3, new[] { metadataReference0 }, options: TestOptions.DebugExe, 47722var compilation4 = CreateCompilation(source3, new[] { compilationReference3 }, options: TestOptions.DebugExe, 47727var compilation5 = CreateCompilation(source3, new[] { metadataReference3 }, options: TestOptions.DebugExe, 47751var compilation7 = CreateCompilation(source3, new[] { compilationReference6 }, options: TestOptions.DebugExe, 47756var compilation8 = CreateCompilation(source3, new[] { metadataReference6 }, options: TestOptions.DebugExe, 47823var compilation1 = CreateCompilation(source3, new[] { compilationReference0 }, options: TestOptions.DebugExe, 47828var compilation2 = CreateCompilation(source3, new[] { metadataReference0 }, options: TestOptions.DebugExe, 47855var compilation4 = CreateCompilation(source3, new[] { compilationReference3 }, options: TestOptions.DebugExe, 47860var compilation5 = CreateCompilation(source3, new[] { metadataReference3 }, options: TestOptions.DebugExe, 47884var compilation7 = CreateCompilation(source3, new[] { compilationReference6 }, options: TestOptions.DebugExe, 47889var compilation8 = CreateCompilation(source3, new[] { metadataReference6 }, options: TestOptions.DebugExe, 47951var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 47956var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 48018var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 48023var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 48085var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 48094var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 48100var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 48142var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 48151var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 48157var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 48209var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 48218var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 48224var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 48244var compilation9 = CreateCompilation(source3, new[] { compilationReference }, options: TestOptions.DebugExe, 48258var compilation10 = CreateCompilation(source3, new[] { metadataReference }, options: TestOptions.DebugExe, 48306var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 48315var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 48321var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 48376var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 48385var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 48391var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 48440var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 48449var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 48455var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 48519var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 48528var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 48534var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 48591var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 48600var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 48606var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 48672var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 48677var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 48742var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 48747var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 48804var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 48811var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 48896var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 48905var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 48911var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 48962var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 48971var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 48977var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 49069var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 49078var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 49084var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 49301var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 49310var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 49316var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 49534var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 49550var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 49556var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 49961var compilation0 = CreateCompilation(source0 + source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp); 49987var compilation1 = CreateCompilation(source0 + source2, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp); 50050var compilation0 = CreateCompilation(source0, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp); 50089var compilation0 = CreateCompilation(source0 + source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp); 50115var compilation1 = CreateCompilation(source0 + source2, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp); 50252var compilation0 = CreateCompilation(source0 + source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp); 50312var compilation0 = CreateCompilation(source0 + source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp); 50849var compilation0 = CreateCompilation(source0, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net50); 50902var compilation0 = CreateCompilation(source0, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net50); 50955var compilation0 = CreateCompilation(source0, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net50); 51226var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 51243var compilation3 = CreateCompilation(source2, options: TestOptions.DebugExe, references: new[] { reference }, 51507var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 51524var compilation3 = CreateCompilation(source2, options: TestOptions.DebugExe, references: new[] { reference }, 51900var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 51917var compilation3 = CreateCompilation(source2, options: TestOptions.DebugExe, references: new[] { reference }, 52695var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 52712var compilation3 = CreateCompilation(source2, options: TestOptions.DebugExe, references: new[] { reference }, 53023var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 53040var compilation3 = CreateCompilation(source2, options: TestOptions.DebugExe, references: new[] { reference }, 53492var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 53509var compilation3 = CreateCompilation(source2, options: TestOptions.DebugExe, references: new[] { reference }, 57653var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 57670var compilation3 = CreateCompilation(source2, options: TestOptions.DebugExe, references: new[] { reference }, 57962var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 57979var compilation3 = CreateCompilation(source2, options: TestOptions.DebugExe, references: new[] { reference }, 58394var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 58411var compilation3 = CreateCompilation(source2, options: TestOptions.DebugExe, references: new[] { reference }, 62381var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp); 62474var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp); 62519var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.NetCoreApp); 62534compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 63864var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net60); 64613var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net60); 64763var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net60); 65164var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 65208var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 65252var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 65305var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 65357var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 66757var compilation2 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 66810var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 66845var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 66876var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 66937var compilation2 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 66997var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 67009compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 67038var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 67050compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 67102var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 67114compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 67936var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 68002var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 68067var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 68165var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net60, 68197var compilation2 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe,
Symbols\EnumTests.cs (1)
395comp = CreateCompilation(sourceC, references: new[] { refB }, options: TestOptions.DebugExe);
Symbols\ExtendedPartialMethodsTests.cs (7)
1577options: TestOptions.DebugExe, 1613options: TestOptions.DebugExe, 2729options: TestOptions.DebugExe); 2756options: TestOptions.DebugExe, 2777options: TestOptions.DebugExe); 2805options: TestOptions.DebugExe, 3036var comp = CreateCompilationWithIL(source, il, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
Symbols\ExtensionMethodTests.cs (2)
2427options: TestOptions.DebugExe.WithScriptClassName("Script"), 2591", options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All));
Symbols\InterfaceImplementationTests.cs (1)
2449var comp = CreateCompilationWithILAndMscorlib40(source, il, options: TestOptions.DebugExe);
Symbols\Metadata\PE\LoadingFields.cs (1)
140var compilation = CreateCompilationWithILAndMscorlib40(text, il, options: TestOptions.DebugExe);
Symbols\MissingSpecialMember.cs (1)
1134var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe);
Symbols\ModuleInitializers\ModuleInitializersTests.cs (6)
90options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 125options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 502options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 552options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 598options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 651options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
Symbols\PEParameterSymbolTests.cs (1)
92var compilation = CreateCompilationWithMscorlib461(source, new[] { vbComp }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
Symbols\RelaxedShiftOperatorTests.cs (3)
47var compilation1 = CreateCompilation(source0 + source1, options: TestOptions.DebugExe, 54var compilation2 = CreateCompilation(source1, options: TestOptions.DebugExe, references: new[] { compilation0.ToMetadataReference() }, 59var compilation3 = CreateCompilation(source1, options: TestOptions.DebugExe, references: new[] { compilation0.EmitToImageReference() },
Symbols\Source\ClsComplianceTests.cs (3)
2996CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics( 3017CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics( 3038CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
Symbols\Source\ExternAliasTests.cs (1)
100var comp = CreateCompilationWithMscorlib461(src, options: TestOptions.DebugExe, parseOptions: TestOptions.Script);
Symbols\Source\FileModifierTests.cs (3)
1857var comp = CreateCompilation(new[] { (source1 + main, "file1.cs"), (source2, "file2.cs") }, options: TestOptions.DebugExe); 1865comp = CreateCompilation(new[] { (source1, "file1.cs"), (source2 + main, "file2.cs") }, options: TestOptions.DebugExe); 3325var compilation = CreateCompilation(new[] { (source, "file1.cs"), (IsExternalInitTypeDefinition, "file2.cs") }, options: TestOptions.DebugExe.WithUsings("NS"));
Symbols\StaticAbstractMembersInInterfacesTests.cs (11)
17330var compilation2 = CreateCompilation(source2, options: TestOptions.DebugExe, 17436var compilation2 = CreateCompilation(source2, options: TestOptions.DebugExe, 32001var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 32059var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 32112var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 33971""", options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview, targetFramework: _supportingFramework).VerifyDiagnostics( 33988""", options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview, targetFramework: _supportingFramework).VerifyDiagnostics( 34012options: TestOptions.DebugExe, 34034""", options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview, targetFramework: _supportingFramework).VerifyDiagnostics( 34058options: TestOptions.DebugExe, 34080""", options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview, targetFramework: _supportingFramework).VerifyDiagnostics(
Symbols\SymbolErrorTests.cs (1)
20511var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe);
Symbols\UnsignedRightShiftTests.cs (24)
109var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 493var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 521var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 617var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 1160var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 1572var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 1973var compilation1 = CreateCompilation(source0 + source1, options: TestOptions.DebugExe, 1993var compilation2 = CreateCompilation(source1, options: TestOptions.DebugExe, references: new[] { compilation0.ToMetadataReference() }, 1999var compilation3 = CreateCompilation(source1, options: TestOptions.DebugExe, references: new[] { compilation0.EmitToImageReference() }, 2062var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugExe, 2225var compilation1 = CreateCompilation(source0 + source1, options: TestOptions.DebugExe, 2245var compilation2 = CreateCompilation(source1, options: TestOptions.DebugExe, references: new[] { compilation0.ToMetadataReference() }, 2251var compilation3 = CreateCompilation(source1, options: TestOptions.DebugExe, references: new[] { compilation0.EmitToImageReference() }, 2367var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 2495var compilation1 = CreateCompilation(source0 + source1, options: TestOptions.DebugExe, 2593var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 3106var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 3114var compilation2 = CreateCompilation(source1, options: TestOptions.DebugExe, 3200var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 3208var compilation2 = CreateCompilation(source1, options: TestOptions.DebugExe, 3294var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 3302var compilation2 = CreateCompilation(source1, options: TestOptions.DebugExe, 3388var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 3396var compilation2 = CreateCompilation(source1, options: TestOptions.DebugExe,
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Parsing\ParserErrorMessageTests.cs (2)
638CreateCompilation(test, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics( 2421CreateCompilation(test, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
Microsoft.CodeAnalysis.CSharp.Test.Utilities (2)
TestOptions.cs (2)
83public static readonly CSharpCompilationOptions DebugExeThrowing = DebugExe.WithMetadataReferenceResolver(new ThrowingMetadataReferenceResolver()); 95public static readonly CSharpCompilationOptions UnsafeDebugExe = DebugExe.WithAllowUnsafe(true);
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver.UnitTests (1)
CSharpFunctionResolverTests.cs (1)
420var compilationB = CreateCompilation(sourceB, assemblyName: nameB, options: TestOptions.DebugExe, references: new[] { refA });
Microsoft.CodeAnalysis.Rebuild.UnitTests (2)
CSharpRebuildTests.cs (1)
24options: TestOptions.DebugExe);
OptionRoundTripTests.cs (1)
27public static readonly CSharpCompilationOptions BaseCSharpCompilationOptions = TestOptions.DebugExe.WithDeterministic(true);
SemanticSearch.BuildTask.UnitTests (3)
GenerateFilteredReferenceAssembliesTaskTests.cs (3)
127""", references: [libRef], TestOptions.DebugExe); 175""", references: [libRef], TestOptions.DebugExe); 224""", references: [libRef], TestOptions.DebugExe);