4075 references to DebugExe
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (2)
CommandLineTests.cs (2)
15647var comp = CreateCompilation(src, options: TestOptions.DebugExe.WithGeneralDiagnosticOption(ReportDiagnostic.Suppress)); 15783var comp = CreateCompilation(src, options: TestOptions.DebugExe.WithGeneralDiagnosticOption(ReportDiagnostic.Suppress));
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (791)
CodeGen\CodeGenAsyncEHTests.cs (7)
1085var v = CompileAndVerify(source, s_asyncRefs, targetFramework: TargetFramework.Empty, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), expectedOutput: expected, symbolValidator: module => 3643CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 3754CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 3838CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 3934CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput, 4020CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 4735CompileAndVerify(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); 1851var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 2150var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations: 2), source }, options: TestOptions.DebugExe); 2309var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 2350var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.DebugExe); 2428var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.DebugExe); 2477var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.DebugExe); 2522var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.DebugExe); 2565var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.DebugExe); 2595foreach (var options in new[] { TestOptions.DebugExe, TestOptions.ReleaseExe }) 2621if (options == TestOptions.DebugExe) 2826if (options == TestOptions.DebugExe) 4195var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 4228var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 4260var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 4293var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 4344var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 4375var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 4404var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 4427var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 4461var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 4505var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 4533var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 4606var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 4641var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 4689var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 4730var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 4985var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 5034var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 5078var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 5132var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 5176var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 5222var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 5275var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 5308var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 5339var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 5404var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 5438var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 5469var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 5501var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 5536var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 5570var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 5609var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 5649var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 5727var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 5820var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 5855var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 5885var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 5916var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 5949var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 6341var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 6375var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 6416var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 6455var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 6491var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 6525var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.DebugExe); 6567var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 6591var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 6794var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, options: TestOptions.DebugExe); 6817var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 6847var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 6893var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 6970var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 7034var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.DebugExe); 7083var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, options: TestOptions.DebugExe); 7135var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 7186var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, options: TestOptions.DebugExe); 7234var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, options: TestOptions.DebugExe); 7283foreach (var options in new[] { TestOptions.DebugExe, TestOptions.ReleaseExe }) 7416foreach (var options in new[] { TestOptions.DebugExe, TestOptions.ReleaseExe }) 7548foreach (var options in new[] { TestOptions.DebugExe, TestOptions.ReleaseExe }) 7593var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, options: TestOptions.DebugExe); 7639var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, options: TestOptions.DebugExe); 7697foreach (var options in new[] { TestOptions.DebugExe, TestOptions.ReleaseExe }) 7757foreach (var options in new[] { TestOptions.DebugExe, TestOptions.ReleaseExe }) 7796var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, options: TestOptions.DebugExe); 7823var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, TestOptions.DebugExe); 7854var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, TestOptions.DebugExe, TestOptions.Regular9); 8080var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, options: TestOptions.DebugExe); 8124var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, options: TestOptions.DebugExe); 8182var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, options: TestOptions.DebugExe); 8375}", options: TestOptions.DebugExe); 8424}", options: TestOptions.DebugExe); 8473}", options: TestOptions.DebugExe); 8741var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe); 10437verify: Verification.Skipped, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
CodeGen\CodeGenAsyncLocalsTests.cs (3)
151CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expected); 1702verifier = CompileAndVerify(text, options: TestOptions.DebugExe, expectedOutput: @"2"); 2027verifier = 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)); 1405var sourceCompilation = CreateCompilationWithMscorlib40(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 1459var sourceCompilation = CreateCompilationWithMscorlib40(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1)); 1514var sourceCompilation = CreateCompilationWithMscorlib40(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1));
CodeGen\CodeGenAsyncSpillTests.cs (27)
1572CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput); 1692CompileAndVerify(source, verify: Verification.Passes, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), expectedOutput: expectedOutput, symbolValidator: module => 8172CompileAndVerify(source, expectedOutput: expectedOutput, options: TestOptions.DebugExe); 8257CompileAndVerify(source, expectedOutput: expectedOutput, options: TestOptions.DebugExe); 8324CompileAndVerify(source, expectedOutput: expectedOutput, options: TestOptions.DebugExe); 8403CompileAndVerify(source, expectedOutput: expectedOutput, options: TestOptions.DebugExe); 8495CompileAndVerify(source, expectedOutput: expectedOutput, options: TestOptions.DebugExe); 8563CompileAndVerify(source, expectedOutput: expectedOutput, options: TestOptions.DebugExe); 8725CompileAndVerify(source, expectedOutput: expectedOutput, options: TestOptions.DebugExe); 8796CompileAndVerify(source, expectedOutput: expectedOutput, options: TestOptions.DebugExe); 8873CompileAndVerify(source, expectedOutput: expectedOutput, options: TestOptions.DebugExe); 8939CompileAndVerify(source, expectedOutput: expectedOutput, options: TestOptions.DebugExe); 9006CompileAndVerify(source, expectedOutput: expectedOutput, options: TestOptions.DebugExe); 9076CompileAndVerify([source, CompilerFeatureRequiredAttribute], expectedOutput: expectedOutput, options: TestOptions.DebugExe); 9144CompileAndVerify(source, expectedOutput: expectedOutput, options: TestOptions.DebugExe); 9251CompileAndVerify(source, expectedOutput: expectedOutput, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net90, verify: Verification.FailsPEVerify); 9357CompileAndVerify([source, CompilerFeatureRequiredAttribute], expectedOutput: expectedOutput, options: TestOptions.DebugExe); 9457CompileAndVerify(source, expectedOutput: expectedOutput, options: TestOptions.DebugExe); 9545CompileAndVerify(source, expectedOutput: expectedOutput, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net90, verify: Verification.FailsPEVerify); 9632CompileAndVerify([source, CompilerFeatureRequiredAttribute], expectedOutput: expectedOutput, options: TestOptions.DebugExe); 10463var v = CompileAndVerify(source + span, options: TestOptions.DebugExe); 10616var comp = CreateCompilationWithMscorlibAndSpan(source, options: TestOptions.DebugExe); 10707var comp = CreateCompilationWithMscorlibAndSpan(source, options: TestOptions.DebugExe); 10802foreach (var options in new[] { TestOptions.DebugExe, TestOptions.ReleaseExe }) 10861CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput); 11007CompileAndVerify(source, expectedOutput: expectedOutput, options: TestOptions.DebugExe); 11094CompileAndVerify(source, expectedOutput: expectedOutput, options: TestOptions.DebugExe);
CodeGen\CodeGenAsyncTests.cs (32)
84options = TestOptions.DebugExe; 4042var c = CompileAndVerify(source, expectedOutput: expected, options: TestOptions.DebugExe); 5165var comp = CreateCompilation(source, options: TestOptions.DebugExe); 5235var comp = CreateCompilation(source, options: TestOptions.DebugExe); 5260var comp = CreateCompilation(source, options: TestOptions.DebugExe); 5288var comp = CreateCompilation(source, options: TestOptions.DebugExe); 5313var comp = CreateCompilation(source, options: TestOptions.DebugExe); 5400var comp = CreateCompilation(source, options: TestOptions.DebugExe); 5451var comp = CreateCompilation(source, options: TestOptions.DebugExe); 5484var comp = CreateCompilation(source, options: TestOptions.DebugExe); 5608var comp = CreateCompilation(source, options: TestOptions.DebugExe); 5691var comp1 = CreateCompilation(source1, options: TestOptions.DebugExe); 5725var comp2 = CreateCompilation(source2, options: TestOptions.DebugExe); 5999var comp = CreateCompilation(source, options: TestOptions.DebugExe); 6036var comp = CreateCompilation(source, options: TestOptions.DebugExe); 6073var comp = CreateCompilation(source, options: TestOptions.DebugExe); 6114var comp = CreateCompilation(source, options: TestOptions.DebugExe); 6124var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe); 6133var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe); 6143var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe); 6187var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.DebugExe); 6221var comp = CreateCompilation(source, options: TestOptions.DebugExe); 6316var comp = CreateCompilation(source, options: TestOptions.DebugExe); 6357var comp = CreateCompilation(source, options: TestOptions.DebugExe); 6407var comp = CreateCompilation(source, options: TestOptions.DebugExe); 6460var comp = CreateCompilation(source, options: TestOptions.DebugExe); 6518var comp = CreateCompilation(source, options: TestOptions.DebugExe); 6868var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 6907var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 7547CompileAndVerify(source, options: TestOptions.DebugExe, verify: Verification.Skipped, expectedOutput: "0123").VerifyDiagnostics(); 9795comp = CreateRuntimeAsyncCompilation(code, options: TestOptions.DebugExe.WithDebugPlusMode(true)); 9907comp = CreateRuntimeAsyncCompilation(code, options: TestOptions.DebugExe.WithDebugPlusMode(true));
CodeGen\CodeGenAwaitForeachTests.cs (105)
177var comp_checked = CreateCompilationWithTasksExtensions(new[] { checkedSource, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 182var comp_unchecked = CreateCompilationWithTasksExtensions(new[] { uncheckedSource, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 993var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe); 1061var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe); 1281var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 1405var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 1555var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 1675var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 1789var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 1908var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 2020var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 2373var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 2925var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 3765var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 4269var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 4394var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 4540var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 4663var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 4703var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 4754var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 4795var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 4884var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 5017var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 5213var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 5455var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 5607var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 5960var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 6094var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 6261var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 6437var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 6609var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 6741var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 6931var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 7086var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 7232var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 7365var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 7561var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 7732var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 7861var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 7907var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 8050var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 8194var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 8455var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.DebugExe); 8764var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 8889var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 8992var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 9035var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 9113var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 9187var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 9379var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 9490var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 9594var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 9698var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 9978var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 10068var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 10216var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 10286var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 10343var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 10400var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 10645var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 10709var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 10769var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 10828var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 10954var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 11016var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 11073var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 11139var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 11196var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 11256var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 11313var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 11375options: TestOptions.DebugExe, 11466var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 11559var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 11782var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 11896var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 11990CreateCompilationWithCSharp(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9) 12146var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 12293var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 12396var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 12494var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 12589var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 12753var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion)); 12816var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion)); 12909var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 12966var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 13105var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 13142var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 13202var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 13262var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 13348var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 13434var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 13516var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 13579var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 13680var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 13774var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 13825var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 13901var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 14073var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 14135var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 14232var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 14323var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe, 14460var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe, 14599var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe, 14736var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 14795var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe,
CodeGen\CodeGenAwaitUsingTests.cs (40)
171var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 210var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 347var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 371var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 391comp = CreateCompilationWithTasksExtensions([source, IAsyncDisposableDefinition], parseOptions: TestOptions.Regular8, options: TestOptions.DebugExe); 451var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 628var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 738var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 832var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 1153var comp = CreateCompilationWithTasksExtensions(comp_cs, references: new[] { libComp.EmitToImageReference() }, options: TestOptions.DebugExe); 1190var comp = CreateCompilationWithTasksExtensions(comp_cs, references: new[] { libComp.EmitToImageReference() }, options: TestOptions.DebugExe); 1220var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 1363var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 1440var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe, references: new[] { CSharpRef }); 1477var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe, references: new[] { CSharpRef }); 1512var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 1746var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 1981var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 2212var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 2280var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe, references: new[] { CSharpRef }); 2382var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 2610var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 2846var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 2927var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 3022var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 3161var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 3301var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 3439var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 3638var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 3670var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 3748var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 3782var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 3865var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 3951var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 4034var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 4118var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 4285var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 4548var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 4635var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 4718var 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)
3286var comp = CreateCompilationWithSpan(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 3317var comp = CreateCompilationWithIndexAndRange(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 3672var 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)
1412CompileAndVerify(source, expectedOutput: "0123-1230", options: TestOptions.DebugExe); 1547CompileAndVerify(source, expectedOutput: "0123-1230", options: TestOptions.DebugExe); 1692CompileAndVerify(source, expectedOutput: "0123-1230", options: TestOptions.DebugExe); 1845CompileAndVerify(source, expectedOutput: "0123-1230", options: TestOptions.DebugExe); 2068CompileAndVerify(source, expectedOutput: "124-123", options: TestOptions.DebugExe); 2395CompileAndVerify(source, targetFramework: TargetFramework.NetCoreApp, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? expectedOutput : null, options: TestOptions.DebugExe, verify: Verification.FailsPEVerify); 2434CompileAndVerify(source, targetFramework: TargetFramework.NetCoreApp, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? expectedOutput : null, options: TestOptions.DebugExe, verify: Verification.FailsPEVerify); 2485CompileAndVerify(source, targetFramework: TargetFramework.NetCoreApp, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? expectedOutput : null, options: TestOptions.DebugExe, verify: Verification.FailsPEVerify);
CodeGen\CodeGenRefLocalTests.cs (6)
4526var verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: ""); 4579var verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: ""); 4631var verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: ""); 4682var verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: ""); 4731var verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: ""); 4767var 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: @"--- 5862source, references: new[] { SystemRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929, CSharpRef }, options: TestOptions.DebugExe); 6991var verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: 7051var verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: 7118var verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: 7178var verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: 7233var verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: 7277var verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: 7323var comp = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: @"", verify: Verification.Fails); 7348comp = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: @"", parseOptions: TestOptions.Regular.WithPEVerifyCompatFeature(), verify: Verification.Passes); 7391var verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: @""); 7468CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput); 7519CompileAndVerify(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\IndexerTests.cs (1)
1329var comp1 = CreateCompilation(text1, 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)
236var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 402var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 503var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 635var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2613var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2647var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithRecursivePatterns); 2668var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithRecursivePatterns); 2903var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 3000var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 3056var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 3097var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 3385var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 3474var v = CompileAndVerify(source, options: TestOptions.DebugExe); 3549foreach (var options in new[] { TestOptions.DebugExe, TestOptions.ReleaseExe }) 3632foreach (var options in new[] { TestOptions.DebugExe, TestOptions.ReleaseExe }) 3704foreach (var options in new[] { TestOptions.DebugExe, TestOptions.ReleaseExe }) 3780foreach (var options in new[] { TestOptions.DebugExe, TestOptions.ReleaseExe }) 3996compilation = CreateCompilation(source, options: TestOptions.DebugExe); 4034compilation = CreateCompilation(source, options: TestOptions.DebugExe); 4328foreach (var compilationOptions in new[] { TestOptions.ReleaseExe, TestOptions.DebugExe }) 5448var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 5502var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithPatternCombinators); 5602var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithPatternCombinators); 5710var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithPatternCombinators); 5874var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithPatternCombinators); 6018var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithPatternCombinators); 6190var verifier = CompileAndVerify(source, expectedOutput: "012323", options: TestOptions.DebugExe); 6275var verifier = CompileAndVerify(source, expectedOutput: " 0 1 2 3 2 3", options: TestOptions.DebugExe); 6364var verifier = CompileAndVerify(source, expectedOutput: "0123452345", options: TestOptions.DebugExe); 6460var verifier = CompileAndVerify(source, expectedOutput: "0123233", options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 6645var verifier = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: "012"); 6847var 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 (16)
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); 3737verifier = CompileAndVerify(source, expectedOutput, options: TestOptions.DebugExe); 3834verifier = CompileAndVerify(source, expectedOutput, options: TestOptions.DebugExe); 3896verifier = CompileAndVerify(source, expectedOutput, options: TestOptions.DebugExe); 3957verifier = CompileAndVerify(source, expectedOutput, options: TestOptions.DebugExe); 4038verifier = CompileAndVerify(source, expectedOutput, options: TestOptions.DebugExe);
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 (228)
CodeGen\CodeGenCallTests.cs (200)
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(); 3518CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 3607CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 3739CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 3828CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 4130CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 4299CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 4683CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 4894CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 5039CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 5138CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 5284CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 5383CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 5691CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 5863CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 6253CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 6467CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 6608CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 6705CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 6847CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 6944CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 7236CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 7403CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 7777CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 7986CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 8127CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 8224CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 8366CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 8463CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 8761CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 8931CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 9311CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 9523CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 9673CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 9774CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 10108CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 10302CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 10452CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 10553CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 10893CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 11090CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 11259CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 11370CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 11540CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 11651CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 11971CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 12152CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 12554CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 12777CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 12912CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 13006CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 13142CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 13236CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 13542CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 13713CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 13856CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 13954CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 14098CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 14196CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 14520CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 14700CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 14996CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 15165CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 15562CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 15778CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 15941CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 16049CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 16213CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 16321CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 16635CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 16813CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 16984CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 17096CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 17268CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 17380CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 17708CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 17893CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 18217CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 18400CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 18806CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 19030CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 19151CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 19237CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 19359CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 19445CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 19713CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 19871CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 20017CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 20120CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 20267CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 20370CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 20670CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 20846CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 21010CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 21126CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 21291CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 21407CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 21735CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 21922CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 22080CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 22193CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 22352CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 22465CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 22810CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 23005CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 23171CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 23288CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 23455CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 23572CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 23927CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 24127CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 24459CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 24648CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 25081CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 25317CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 25509CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 25639CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 25832CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 25962CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 26318CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 26519CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 26705CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 26832CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 27019CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 27146CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 27500CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 27700CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 27894CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 28025CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 28220CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 28351CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 28715CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 28920CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 29280CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 29483CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 29919CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 30160CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 30308CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 30415CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 30564CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 30671CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 30987CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 31171CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 31312CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 31412CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 31554CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 31654CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 31949CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 32119CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 32294CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 32411CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 32587CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 32704CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 33039CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 33229CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 33498CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).VerifyDiagnostics(); 33601CompileAndVerify(source, options: TestOptions.DebugExe, verify: Verification.Fails, expectedOutput: expectedOutput).VerifyDiagnostics(); 33672var comp = CreateCompilation(src, options: TestOptions.DebugExe); 33744var comp = CreateCompilation(src, options: TestOptions.DebugExe); 33879var comp = CreateCompilation(src, options: TestOptions.DebugExe); 33951var comp = CreateCompilation(src, options: TestOptions.DebugExe); 34086var comp = CreateCompilation(src, options: TestOptions.DebugExe); 34158var comp = CreateCompilation(src, options: TestOptions.DebugExe); 34310var comp = CreateCompilation(src, options: TestOptions.DebugExe); 34491var comp = CreateCompilation(src, options: TestOptions.DebugExe); 34563var comp = CreateCompilation(src, options: TestOptions.DebugExe); 34715var comp = CreateCompilation(src, options: TestOptions.DebugExe); 34896var comp = CreateCompilation(src, options: TestOptions.DebugExe); 34968var comp = CreateCompilation(src, options: TestOptions.DebugExe); 35040var comp = CreateCompilation(src, options: TestOptions.DebugExe); 35112var comp = CreateCompilation(src, options: TestOptions.DebugExe); 35197var comp = CreateCompilation(src, options: TestOptions.DebugExe); 35388var comp = CreateCompilation(src, options: TestOptions.DebugExe); 35599var comp = CreateCompilation(src, options: TestOptions.DebugExe); 35818var comp = CreateCompilation(src, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe); 35900var comp = CreateCompilation(src, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe); 36069var comp = CreateCompilation(src, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe); 36297var comp = CreateCompilation(src, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe); 36543var comp = CreateCompilation(src, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe);
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); 5731using var _ = new EditAndContinueTest(options: TestOptions.DebugExe)
Emit\EditAndContinue\EditAndContinueTests.cs (10)
537var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe); 831var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe, targetFramework: TargetFramework.NetStandard20); 1147var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe, targetFramework: TargetFramework.NetStandard20); 1270var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe, targetFramework: TargetFramework.NetStandard20); 2669using var _ = new EditAndContinueTest(options: TestOptions.DebugExe) 2772using var _ = new EditAndContinueTest(options: TestOptions.DebugExe) 3140var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe, targetFramework: TargetFramework.NetStandard20); 3224var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe, targetFramework: TargetFramework.NetStandard20); 9418var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe); 17000var 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 (1506)
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)
858var verifier = CompileAndVerify(source, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 883var comp = CreateCompilation(source, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All));
RefStructInterfacesTests.cs (1)
22459var comp = CreateCompilation(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.DebugExe);
Semantics\CollectionExpressionTests.cs (1)
32329var comp = CreateCompilation(new[] { sourceA, s_collectionExtensions }, targetFramework: TargetFramework.Net80, options: ExecutionConditionUtil.IsMonoOrCoreClr ? TestOptions.DebugExe : TestOptions.DebugDll);
Semantics\ExtensionOperatorsTests.cs (450)
684var comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe); 700comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14); 703comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 721var comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe); 724comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14); 727comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 783var comp = CreateCompilation(src, options: TestOptions.DebugExe); 831var comp = CreateCompilation(src, options: TestOptions.DebugExe); 902var comp = CreateCompilation(src, options: TestOptions.DebugExe); 1087var comp1 = CreateCompilation([src1, src2], options: TestOptions.DebugExe); 1090var comp2 = CreateCompilation([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14); 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.Regular14); 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); 1806var comp = CreateCompilation(src, options: TestOptions.DebugExe); 1866var comp = CreateCompilation(src, options: TestOptions.DebugExe); 1922var comp = CreateCompilation(src, options: TestOptions.DebugExe); 1963var comp = CreateCompilation(src, options: TestOptions.DebugExe); 2000var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 2034var comp = CreateCompilation(src, options: TestOptions.DebugExe); 2076var comp = CreateCompilation(src, options: TestOptions.DebugExe); 2131var comp = CreateCompilation(src, options: TestOptions.DebugExe); 2184var comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe); 2200comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14); 2203comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 2223var comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe); 2226comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14); 2229comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 2287var comp = CreateCompilation(src, options: TestOptions.DebugExe); 2325var comp = CreateCompilation(src, options: TestOptions.DebugExe); 2387var comp = CreateCompilation(src, options: TestOptions.DebugExe); 2530var comp = CreateCompilation(src, options: TestOptions.DebugExe); 2574var comp = CreateCompilation(src, options: TestOptions.DebugExe); 2623var comp = CreateCompilation(src, options: TestOptions.DebugExe); 2669var comp = CreateCompilation(src, options: TestOptions.DebugExe); 2708var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 2758var comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe); 2761comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14); 2764comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 2817var comp = CreateCompilation(src, options: TestOptions.DebugExe); 2875var comp = CreateCompilation(src, options: TestOptions.DebugExe); 2924var comp = CreateCompilation(src, options: TestOptions.DebugExe); 2959var comp = CreateCompilation(src, options: TestOptions.DebugExe); 3012var comp = CreateCompilation(src, options: TestOptions.DebugExe); 3205var comp = CreateCompilation(src, options: TestOptions.DebugExe); 3244var comp = CreateCompilation(src, options: TestOptions.DebugExe); 3284var comp = CreateCompilation(src, options: TestOptions.DebugExe); 3342var comp = CreateCompilation(src, options: TestOptions.DebugExe); 3405var comp = CreateCompilation(src, options: TestOptions.DebugExe); 3445var comp = CreateCompilation(src, options: TestOptions.DebugExe); 3495var comp = CreateCompilation(src, options: TestOptions.DebugExe); 3553var comp = CreateCompilation(src, options: TestOptions.DebugExe); 3594var comp = CreateCompilation(src, options: TestOptions.DebugExe); 4270var comp = CreateCompilation(src, options: TestOptions.DebugExe); 4780var comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe); 4796comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14); 4799comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 4820var comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe); 4823comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14); 4826comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 4898var comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe); 4914comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14); 4917comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 4939var comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe); 4942comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14); 4945comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 5017var comp6 = CreateCompilation(src6, references: [comp5Ref], options: TestOptions.DebugExe); 5020comp6 = CreateCompilation(src6, references: [comp5Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14); 5023comp6 = CreateCompilation(src6, references: [comp5Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 5070var comp = CreateCompilation(src, options: TestOptions.DebugExe); 5124var comp = CreateCompilation(src, options: TestOptions.DebugExe); 5172var comp = CreateCompilation(src, options: TestOptions.DebugExe); 5220var comp = CreateCompilation(src, options: TestOptions.DebugExe); 5269var comp = CreateCompilation(src, options: TestOptions.DebugExe); 5317var comp = CreateCompilation(src, options: TestOptions.DebugExe); 5366var comp = CreateCompilation(src, options: TestOptions.DebugExe); 5417var comp = CreateCompilation(src, options: TestOptions.DebugExe); 5472var comp = CreateCompilation(src, options: TestOptions.DebugExe); 5528var comp = CreateCompilation(src, options: TestOptions.DebugExe); 5586var comp = CreateCompilation(src, options: TestOptions.DebugExe); 5658var comp = CreateCompilation(src, options: TestOptions.DebugExe); 5729var comp = CreateCompilation(src, options: TestOptions.DebugExe); 5800var comp = CreateCompilation(src, options: TestOptions.DebugExe); 6295var comp1 = CreateCompilation([src1, src2], options: TestOptions.DebugExe); 6298var comp2 = CreateCompilation([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14); 6301comp2 = CreateCompilation(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 6359var comp = CreateCompilation(src, options: TestOptions.DebugExe); 6403var comp = CreateCompilation(src, options: TestOptions.DebugExe); 6440var comp = CreateCompilation(src, options: TestOptions.DebugExe); 6481var comp = CreateCompilation(src, options: TestOptions.DebugExe); 6530var comp = CreateCompilation(src, options: TestOptions.DebugExe); 6580var comp = CreateCompilation(src, options: TestOptions.DebugExe); 6626var comp = CreateCompilation(src, options: TestOptions.DebugExe); 6661var comp = CreateCompilation(src, options: TestOptions.DebugExe); 6701var comp = CreateCompilation(src, options: TestOptions.DebugExe); 6761var comp = CreateCompilation(src, options: TestOptions.DebugExe); 6794var comp = CreateCompilation(src, options: TestOptions.DebugExe); 6839var comp = CreateCompilation(src, options: TestOptions.DebugExe); 6867var comp = CreateCompilation(src, targetFramework: TargetFramework.Net90, options: TestOptions.DebugExe); 6914var comp = CreateCompilation(src, options: TestOptions.DebugExe); 6948var comp = CreateCompilation(src, options: TestOptions.DebugExe); 7055var comp = CreateCompilation(src, options: TestOptions.DebugExe); 7140var comp = CreateCompilation(src, options: TestOptions.DebugExe); 7174var comp = CreateCompilation(src, options: TestOptions.DebugExe); 7208var comp = CreateCompilation(src, options: TestOptions.DebugExe); 7277var comp = CreateCompilation([src, OverloadResolutionPriorityAttributeDefinition], options: TestOptions.DebugExe); 7339var comp = CreateCompilation([src, OverloadResolutionPriorityAttributeDefinition], options: TestOptions.DebugExe); 7376var comp = CreateCompilation(src, options: TestOptions.DebugExe); 7413var comp = CreateCompilation(src, options: TestOptions.DebugExe); 7457var comp1 = CreateCompilation([src1, src2], options: TestOptions.DebugExe); 7460var comp2 = CreateCompilation([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14); 7463comp2 = CreateCompilation(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 7512var comp1 = CreateCompilation([src1, src2, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 7515var comp2 = CreateCompilation([src1, src2, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14); 7518comp2 = CreateCompilation(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 7570var comp = CreateCompilation(src, options: TestOptions.DebugExe); 7614var comp = CreateCompilation(src, options: TestOptions.DebugExe); 7666var comp = CreateCompilation(src, options: TestOptions.DebugExe); 7746var comp = CreateCompilation(src, options: TestOptions.DebugExe); 7821var comp = CreateCompilation(src, options: TestOptions.DebugExe); 7865var comp = CreateCompilation(src, options: TestOptions.DebugExe); 7925var comp = CreateCompilation(src, options: TestOptions.DebugExe); 7983var comp = CreateCompilation(src, options: TestOptions.DebugExe); 8025var comp = CreateCompilation(src, options: TestOptions.DebugExe); 8069var comp = CreateCompilation(src, options: TestOptions.DebugExe); 8099var comp = CreateCompilation(src, options: TestOptions.DebugExe); 8141var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 8179var comp = CreateCompilation(src, options: TestOptions.DebugExe); 8223var comp = CreateCompilation(src, options: TestOptions.DebugExe); 8261var comp = CreateCompilation(src, options: TestOptions.DebugExe); 8316var comp = CreateCompilation(src, options: TestOptions.DebugExe); 8360var comp = CreateCompilation(src, options: TestOptions.DebugExe); 8410var comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe); 8426comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14); 8429comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 8481var comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe); 8497comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14); 8500comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 8517var comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe); 8564var comp5 = CreateCompilation(src5, references: [comp4Ref], options: TestOptions.DebugExe); 8577var comp6 = CreateCompilation(src6, references: [comp4Ref], options: TestOptions.DebugExe); 8615var comp = CreateCompilation(src, options: TestOptions.DebugExe); 8653var comp = CreateCompilation(src, options: TestOptions.DebugExe); 8942var comp = CreateCompilation(src, options: TestOptions.DebugExe); 8984var comp = CreateCompilation(src, options: TestOptions.DebugExe); 9032var comp = CreateCompilation(src, options: TestOptions.DebugExe); 9091var comp = CreateCompilation(src, options: TestOptions.DebugExe); 9144var comp = CreateCompilation(src, options: TestOptions.DebugExe); 9199var comp = CreateCompilation(src, options: TestOptions.DebugExe); 9249var comp = CreateCompilation(src, options: TestOptions.DebugExe); 9289var comp = CreateCompilation(src, options: TestOptions.DebugExe); 9343var comp = CreateCompilation(src, options: TestOptions.DebugExe); 9402var comp = CreateCompilation(src, options: TestOptions.DebugExe); 9460var comp = CreateCompilation(src, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 9499var comp = CreateCompilation(src, options: TestOptions.DebugExe); 9548var comp = CreateCompilation(src, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 9604var comp = CreateCompilation(src, options: TestOptions.DebugExe); 9648var comp = CreateCompilation(src, options: TestOptions.DebugExe); 9690var comp = CreateCompilation(src, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 9724var comp = CreateCompilation(src, options: TestOptions.DebugExe); 9783var comp = CreateCompilation(src, options: TestOptions.DebugExe); 9832var comp = CreateCompilation(src, options: TestOptions.DebugExe); 9880var comp = CreateCompilation(src, options: TestOptions.DebugExe); 10494var comp = CreateCompilation(src, options: TestOptions.DebugExe); 10562var comp = CreateCompilation(src, options: TestOptions.DebugExe); 11590var comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe); 11606comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14); 11609comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 11627var comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe); 11630comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14); 11633comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 11689var comp = CreateCompilation(src, options: TestOptions.DebugExe); 11737var comp = CreateCompilation(src, options: TestOptions.DebugExe); 11808var comp = CreateCompilation(src, options: TestOptions.DebugExe); 11990var comp = CreateCompilation(src, options: TestOptions.DebugExe); 12031var comp1 = CreateCompilation([src1, src2], options: TestOptions.DebugExe); 12034var comp2 = CreateCompilation([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14); 12037comp2 = CreateCompilation(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 12093var comp1 = CreateCompilation([src1, src2], options: TestOptions.DebugExe); 12096var comp2 = CreateCompilation([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14); 12099comp2 = CreateCompilation(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 12167var comp = CreateCompilation(src, options: TestOptions.DebugExe); 12213var comp = CreateCompilation(src, options: TestOptions.DebugExe); 12294var comp = CreateCompilation(src, options: TestOptions.DebugExe); 12352var comp = CreateCompilation(src, options: TestOptions.DebugExe); 12392var comp = CreateCompilation(src, options: TestOptions.DebugExe); 12429var comp = CreateCompilation(src, options: TestOptions.DebugExe); 12475var comp = CreateCompilation(src, options: TestOptions.DebugExe); 12525var comp1 = CreateCompilation(src1, options: TestOptions.DebugExe); 12569var comp2 = CreateCompilation(src2, options: TestOptions.DebugExe); 12613var comp3 = CreateCompilation(src3, options: TestOptions.DebugExe); 12666var comp4 = CreateCompilation(src4, options: TestOptions.DebugExe); 12724var comp = CreateCompilation(src, options: TestOptions.DebugExe); 12780var comp = CreateCompilation(src, options: TestOptions.DebugExe); 12887var comp = CreateCompilation(src, options: TestOptions.DebugExe); 12937var comp = CreateCompilation(src, options: TestOptions.DebugExe); 12966var comp = CreateCompilation(src, options: TestOptions.DebugExe); 13035var comp = CreateCompilation([src, OverloadResolutionPriorityAttributeDefinition], options: TestOptions.DebugExe); 13072var comp = CreateCompilation(src, options: TestOptions.DebugExe); 13132var comp2 = CreateCompilation(src2, options: TestOptions.DebugExe); 13176var comp1 = CreateCompilation([src1, src2], options: TestOptions.DebugExe); 13179var comp2 = CreateCompilation([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14); 13182comp2 = CreateCompilation(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 13234var comp = CreateCompilation(src, options: TestOptions.DebugExe); 13286var comp = CreateCompilation(src, options: TestOptions.DebugExe); 13358var comp = CreateCompilation(src, options: TestOptions.DebugExe); 13418var comp = CreateCompilation(src, options: TestOptions.DebugExe); 13474var comp = CreateCompilation(src, options: TestOptions.DebugExe); 13518var comp = CreateCompilation(src, options: TestOptions.DebugExe); 13565var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 13604var comp = CreateCompilation(src, options: TestOptions.DebugExe); 13649var comp = CreateCompilation(src, options: TestOptions.DebugExe); 13697var comp = CreateCompilation(src, options: TestOptions.DebugExe); 13752var comp = CreateCompilation(src, options: TestOptions.DebugExe); 13841var comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe); 13857comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14); 13860comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 13911var comp = CreateCompilation([src1, src2], options: TestOptions.DebugExe); 13916comp = CreateCompilation(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 13919comp = CreateCompilation(src2, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe); 13958var comp = CreateCompilation(src, options: TestOptions.DebugExe); 14028var comp = CreateCompilation(src1, options: TestOptions.DebugExe); 14035comp = CreateCompilation([src1, src2], options: TestOptions.DebugExe); 14110var comp = CreateCompilation(src1, options: TestOptions.DebugExe); 14117comp = CreateCompilation([src1, src2], options: TestOptions.DebugExe); 14167var comp = CreateCompilation(src, options: TestOptions.DebugExe); 14230var comp = CreateCompilation(src, options: TestOptions.DebugExe); 14278var comp = CreateCompilation(src, options: TestOptions.DebugExe); 14334var comp = CreateCompilation(src1, options: TestOptions.DebugExe); 14344comp = CreateCompilation([src1, src2], options: TestOptions.DebugExe); 14404var comp2 = CreateCompilation(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 14460var comp2 = CreateCompilation(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 14508var comp = CreateCompilation(src, options: TestOptions.DebugExe); 14550var comp = CreateCompilation(src, options: TestOptions.DebugExe); 14606var comp = CreateCompilation(src, options: TestOptions.DebugExe); 14655var comp = CreateCompilation(src, options: TestOptions.DebugExe); 14715var comp = CreateCompilation(src, options: TestOptions.DebugExe); 14764var comp = CreateCompilation(src, options: TestOptions.DebugExe); 14808var comp = CreateCompilation(src, options: TestOptions.DebugExe); 14852var comp = CreateCompilation(src, targetFramework: TargetFramework.Net90, options: TestOptions.DebugExe); 14893var comp = CreateCompilation(src, options: TestOptions.DebugExe); 14930var comp = CreateCompilation(src, options: TestOptions.DebugExe); 14980var comp = CreateCompilation(src, options: TestOptions.DebugExe); 15035var comp = CreateCompilation(src, options: TestOptions.DebugExe); 15076var comp = CreateCompilation(src, options: TestOptions.DebugExe); 15150var comp = CreateCompilation(src, options: TestOptions.DebugExe); 15549var comp1 = CreateCompilation([src1, src2], options: TestOptions.DebugExe); 15552var comp2 = CreateCompilation([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14); 15555comp2 = CreateCompilation(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 15671var comp = CreateCompilation(src, options: TestOptions.DebugExe); 15718var comp = CreateCompilation(src, options: TestOptions.DebugExe); 15750var comp = CreateCompilation(src, options: TestOptions.DebugExe); 15793var comp = CreateCompilation(src, options: TestOptions.DebugExe); 15849var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 15887var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 15935var comp = CreateCompilation(src, options: TestOptions.DebugExe); 15974var comp = CreateCompilation(src, options: TestOptions.DebugExe); 16020var comp = CreateCompilation(src, options: TestOptions.DebugExe); 16081var comp = CreateCompilation(src, options: TestOptions.DebugExe); 16136var comp = CreateCompilation(src, options: TestOptions.DebugExe); 16187var comp = CreateCompilation(src, options: TestOptions.DebugExe); 16257var comp = CreateCompilation(src, options: TestOptions.DebugExe); 16313var comp = CreateCompilation(src, options: TestOptions.DebugExe); 16347var comp = CreateCompilation(src, options: TestOptions.DebugExe); 16385var comp = CreateCompilation(src, options: TestOptions.DebugExe); 16432var comp = CreateCompilation(src, options: TestOptions.DebugExe); 16482var comp = CreateCompilation(src, options: TestOptions.DebugExe); 17201var comp = CreateCompilation(src, options: TestOptions.DebugExe); 17243var comp = CreateCompilation(src, options: TestOptions.DebugExe); 17285var comp = CreateCompilation(src, options: TestOptions.DebugExe); 17337var comp = CreateCompilation(src, options: TestOptions.DebugExe); 17377var comp = CreateCompilation(src, options: TestOptions.DebugExe); 17428var comp = CreateCompilation(src, options: TestOptions.DebugExe); 17487var comp = CreateCompilation(src, options: TestOptions.DebugExe); 17542var comp = CreateCompilation(src, options: TestOptions.DebugExe); 17597var comp = CreateCompilation(src, options: TestOptions.DebugExe); 17638var comp = CreateCompilation(src, options: TestOptions.DebugExe); 17692var comp = CreateCompilation(src, options: TestOptions.DebugExe); 17762var comp = CreateCompilation(src, options: TestOptions.DebugExe); 17810var comp = CreateCompilation(src, options: TestOptions.DebugExe); 17856var comp = CreateCompilation(src, options: TestOptions.DebugExe); 17927var comp = CreateCompilation(src, options: TestOptions.DebugExe); 17995var comp = CreateCompilation(src, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 18065var comp = CreateCompilation(src, options: TestOptions.DebugExe); 18121var comp = CreateCompilation(src, options: TestOptions.DebugExe); 18170var comp = CreateCompilation(src, options: TestOptions.DebugExe); 18228var comp = CreateCompilation(src, options: TestOptions.DebugExe); 18289var comp = CreateCompilation(src, options: TestOptions.DebugExe); 18352var comp = CreateCompilation(src, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 18398var comp = CreateCompilation(src, options: TestOptions.DebugExe); 18445var comp = CreateCompilation(src, options: TestOptions.DebugExe); 18831var comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe); 18834comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14); 18837comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 18872var comp4 = CreateCompilation(src2, references: [comp3Ref], options: TestOptions.DebugExe); 18943var comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe); 18959comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14); 18962comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 18981var comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe); 18984comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14); 18987comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 19070var comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe); 19086comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14); 19089comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 19108var comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe); 19111comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14); 19114comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 19174var comp2 = CreateCompilation(src, options: TestOptions.DebugExe); 19234var comp2 = CreateCompilation(src, options: TestOptions.DebugExe); 19295var comp2 = CreateCompilation(src, options: TestOptions.DebugExe); 19334var comp2 = CreateCompilation(src, options: TestOptions.DebugExe); 19377var comp2 = CreateCompilation(src, options: TestOptions.DebugExe); 19717var comp = CreateCompilation(src, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 19759var comp = CreateCompilation(src, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 19803var comp = CreateCompilation(src, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 19845var comp = CreateCompilation(src, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 19912var comp = CreateCompilation(src, options: TestOptions.DebugExe); 19967var comp = CreateCompilation(src, options: TestOptions.DebugExe); 20425var comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe); 20441comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14); 20444comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 20465var comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe); 20468comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14); 20471comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 20552var comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe); 20568comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14); 20571comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 20592var comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe); 20595comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14); 20598comp3 = CreateCompilation(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 20679var comp6 = CreateCompilation(src6, references: [comp5Ref], options: TestOptions.DebugExe); 20682comp6 = CreateCompilation(src6, references: [comp5Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14); 20685comp6 = CreateCompilation(src6, references: [comp5Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 20732var comp = CreateCompilation(src, options: TestOptions.DebugExe); 20786var comp = CreateCompilation(src, options: TestOptions.DebugExe); 20834var comp = CreateCompilation(src, options: TestOptions.DebugExe); 20882var comp = CreateCompilation(src, options: TestOptions.DebugExe); 20931var comp = CreateCompilation(src, options: TestOptions.DebugExe); 20979var comp = CreateCompilation(src, options: TestOptions.DebugExe); 21028var comp = CreateCompilation(src, options: TestOptions.DebugExe); 21079var comp = CreateCompilation(src, options: TestOptions.DebugExe); 21134var comp = CreateCompilation(src, options: TestOptions.DebugExe); 21190var comp = CreateCompilation(src, options: TestOptions.DebugExe); 21248var comp = CreateCompilation(src, options: TestOptions.DebugExe); 21320var comp = CreateCompilation(src, options: TestOptions.DebugExe); 21391var comp = CreateCompilation(src, options: TestOptions.DebugExe); 21462var comp = CreateCompilation(src, options: TestOptions.DebugExe); 21921var comp1 = CreateCompilation([src1, src2], options: TestOptions.DebugExe); 21924var comp2 = CreateCompilation([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14); 21927comp2 = CreateCompilation(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 22017var comp = CreateCompilation(src, options: TestOptions.DebugExe); 22055var comp = CreateCompilation(src, options: TestOptions.DebugExe); 22189var comp = CreateCompilation(src, options: TestOptions.DebugExe); 22245var comp = CreateCompilation(src, options: TestOptions.DebugExe); 22285var comp = CreateCompilation(src, options: TestOptions.DebugExe); 22322var comp = CreateCompilation(src, options: TestOptions.DebugExe); 22361var comp = CreateCompilation(src, options: TestOptions.DebugExe); 22413var comp = CreateCompilation(src, options: TestOptions.DebugExe); 22466var comp1 = CreateCompilation(src1, options: TestOptions.DebugExe); 22510var comp2 = CreateCompilation(src2, options: TestOptions.DebugExe); 22560var comp = CreateCompilation(src, options: TestOptions.DebugExe); 22612var comp = CreateCompilation(src, options: TestOptions.DebugExe); 22647var comp = CreateCompilation(src, options: TestOptions.DebugExe); 22687var comp = CreateCompilation(src, options: TestOptions.DebugExe); 22749var comp = CreateCompilation(src, options: TestOptions.DebugExe); 22783var comp = CreateCompilation(src, options: TestOptions.DebugExe); 22831var comp = CreateCompilation(src, options: TestOptions.DebugExe); 22859var comp = CreateCompilation(src, targetFramework: TargetFramework.Net90, options: TestOptions.DebugExe); 22906var comp = CreateCompilation(src, options: TestOptions.DebugExe); 22940var comp = CreateCompilation(src, options: TestOptions.DebugExe); 23047var comp = CreateCompilation(src, options: TestOptions.DebugExe); 23132var comp = CreateCompilation(src, options: TestOptions.DebugExe); 23166var comp = CreateCompilation(src, options: TestOptions.DebugExe); 23200var comp = CreateCompilation(src, options: TestOptions.DebugExe); 23269var comp = CreateCompilation([src, OverloadResolutionPriorityAttributeDefinition], options: TestOptions.DebugExe); 23331var comp = CreateCompilation([src, OverloadResolutionPriorityAttributeDefinition], options: TestOptions.DebugExe); 23368var comp = CreateCompilation(src, options: TestOptions.DebugExe); 23405var comp = CreateCompilation(src, options: TestOptions.DebugExe); 23465var comp2 = CreateCompilation(src2, options: TestOptions.DebugExe); 23525var comp2 = CreateCompilation(src2, options: TestOptions.DebugExe); 23586var comp2 = CreateCompilation(src2, options: TestOptions.DebugExe); 23630var comp1 = CreateCompilation([src1, src2], options: TestOptions.DebugExe); 23633var comp2 = CreateCompilation([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14); 23636comp2 = CreateCompilation(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 23687var comp1 = CreateCompilation([src1, src2], options: TestOptions.DebugExe); 23690var comp2 = CreateCompilation([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14); 23693comp2 = CreateCompilation(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 23745var comp = CreateCompilation(src, options: TestOptions.DebugExe); 23789var comp = CreateCompilation(src, options: TestOptions.DebugExe); 23841var comp = CreateCompilation(src, options: TestOptions.DebugExe); 23921var comp = CreateCompilation([src, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 23996var comp = CreateCompilation(src, options: TestOptions.DebugExe); 24040var comp = CreateCompilation(src, options: TestOptions.DebugExe); 24099var comp = CreateCompilation(src, options: TestOptions.DebugExe); 24157var comp = CreateCompilation(src, options: TestOptions.DebugExe); 24187var comp = CreateCompilation(src, options: TestOptions.DebugExe); 24217var comp = CreateCompilation(src, options: TestOptions.DebugExe); 24270var comp = CreateCompilation(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 24303var comp = CreateCompilation(src, options: TestOptions.DebugExe); 24336var comp = CreateCompilation(src, options: TestOptions.DebugExe); 24387var comp = CreateCompilation(src, options: TestOptions.DebugExe); 24437var comp = CreateCompilation(src, options: TestOptions.DebugExe); 24474var comp = CreateCompilation(src, options: TestOptions.DebugExe); 24529var comp = CreateCompilation(src, options: TestOptions.DebugExe); 24573var comp = CreateCompilation(src, options: TestOptions.DebugExe); 24607var comp = CreateCompilation(src, options: TestOptions.DebugExe); 24645var comp = CreateCompilation(src, options: TestOptions.DebugExe); 25834var comp = CreateCompilation(src, options: TestOptions.DebugExe); 25876var comp = CreateCompilation(src, options: TestOptions.DebugExe); 25920var comp = CreateCompilation(src, options: TestOptions.DebugExe); 25975var comp = CreateCompilation(src, options: TestOptions.DebugExe); 26026var comp = CreateCompilation(src, options: TestOptions.DebugExe); 26089var comp = CreateCompilation(src, options: TestOptions.DebugExe); 26134var comp = CreateCompilation(src, options: TestOptions.DebugExe); 26192var comp = CreateCompilation(src, options: TestOptions.DebugExe); 26247var comp = CreateCompilation(src, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 26286var comp = CreateCompilation(src, options: TestOptions.DebugExe); 26335var comp = CreateCompilation(src, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 26391var comp = CreateCompilation(src, options: TestOptions.DebugExe); 26435var comp = CreateCompilation(src, options: TestOptions.DebugExe); 26477var comp = CreateCompilation(src, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 26510var comp = CreateCompilation([src, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 26565var comp = CreateCompilation([src, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 26611var comp = CreateCompilation(src, options: TestOptions.DebugExe); 26662var comp = CreateCompilation(src, options: TestOptions.DebugExe); 27207var comp = CreateCompilation(src, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 27239var comp = CreateCompilation(src, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 27273var comp = CreateCompilation(src, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 27302var comp = CreateCompilation(src, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 27367var comp = CreateCompilation([src, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe.WithAllowUnsafe(true)); 27395var comp = CreateCompilation([src, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe.WithAllowUnsafe(true)); 27430var comp = CreateCompilation(src, options: TestOptions.DebugExe); 27485var comp = CreateCompilation(src, options: TestOptions.DebugExe); 27534var comp = CreateCompilation(src, options: TestOptions.DebugExe); 27589var comp = CreateCompilation(src, options: TestOptions.DebugExe); 27642var comp2 = CreateCompilation(source2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 27682var comp2 = CreateCompilation(source2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 27722var comp2 = CreateCompilation(source2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
Semantics\ExtensionTests.cs (109)
5185var comp = CreateCompilation(src, options: TestOptions.DebugExe); 5232var comp = CreateCompilation(src, options: TestOptions.DebugExe); 5492var comp2 = CreateCompilation(src2, references: [comp1MetadataReference], options: TestOptions.DebugExe); 5527comp2 = CreateCompilation(src2, references: [comp1ImageReference], options: TestOptions.DebugExe); 5533comp2 = CreateCompilationWithIL(src2, expectedTypeIL + ExtensionMarkerAttributeIL, options: TestOptions.DebugExe); 5578comp2 = CreateCompilation(src2, references: [comp1MetadataReference], options: TestOptions.DebugExe); 5584comp2 = CreateCompilation(src2, references: [comp1ImageReference], options: TestOptions.DebugExe); 5636var comp4 = CreateCompilation(src4, references: [comp1MetadataReference], options: TestOptions.DebugExe); 5677comp4 = CreateCompilation(src4, references: [comp1ImageReference], options: TestOptions.DebugExe); 5939var comp3 = CreateCompilation(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 5942comp3 = CreateCompilation(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe); 6138var comp3 = CreateCompilation(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 6141comp3 = CreateCompilation(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe); 6518var comp3 = CreateCompilation(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 6552comp3 = CreateCompilation(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe); 6855var comp3 = CreateCompilation(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 6858comp3 = CreateCompilation(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe); 7001var comp3 = CreateCompilation(src3, references: [comp1MetadataReference], options: TestOptions.DebugExe); 7038comp3 = CreateCompilation(src3, references: [comp1ImageReference], options: TestOptions.DebugExe); 7071comp3 = CreateCompilation(src3, references: [comp1MetadataReference], options: TestOptions.DebugExe); 7114comp3 = CreateCompilation(src3, references: [comp1ImageReference], options: TestOptions.DebugExe); 7405var comp3 = CreateCompilation(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 7408comp3 = CreateCompilation(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe); 7679var comp3 = CreateCompilation(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 7682comp3 = CreateCompilation(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe); 8081var comp3 = CreateCompilation(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 8084comp3 = CreateCompilation(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe); 8401var comp3 = CreateCompilation(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 8404comp3 = CreateCompilation(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe); 8552var comp2 = CreateCompilation(src2, references: [comp1MetadataReference], options: TestOptions.DebugExe); 8588comp2 = CreateCompilation(src2, references: [comp1ImageReference], options: TestOptions.DebugExe); 8594comp2 = CreateCompilationWithIL(src2, expectedTypeIL + ExtensionMarkerAttributeIL, options: TestOptions.DebugExe); 8640comp2 = CreateCompilation(src2, references: [comp1MetadataReference], options: TestOptions.DebugExe); 8646comp2 = CreateCompilation(src2, references: [comp1ImageReference], options: TestOptions.DebugExe); 8697comp2 = CreateCompilation(src2, references: [comp1MetadataReference], options: TestOptions.DebugExe); 8747comp2 = CreateCompilation(src2, references: [comp1ImageReference], options: TestOptions.DebugExe); 8781comp2 = CreateCompilation(src2, references: [comp1MetadataReference], options: TestOptions.DebugExe); 8787comp2 = CreateCompilation(src2, references: [comp1ImageReference], options: TestOptions.DebugExe); 8821comp2 = CreateCompilation(src2, references: [comp1MetadataReference], options: TestOptions.DebugExe.WithAllowUnsafe(true)); 8867comp2 = CreateCompilation(src2, references: [comp1ImageReference], options: TestOptions.DebugExe.WithAllowUnsafe(true)); 8901comp2 = CreateCompilation(src2, references: [comp1MetadataReference], options: TestOptions.DebugExe.WithAllowUnsafe(true)); 8907comp2 = CreateCompilation(src2, references: [comp1ImageReference], options: TestOptions.DebugExe.WithAllowUnsafe(true)); 9328var comp3 = CreateCompilation(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 9331comp3 = CreateCompilation(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe); 9525var comp3 = CreateCompilation(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 9528comp3 = CreateCompilation(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe); 9903var comp3 = CreateCompilation(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 9906comp3 = CreateCompilation(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe); 10204var comp3 = CreateCompilation(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 10207comp3 = CreateCompilation(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe); 10339var comp3 = CreateCompilation(src3, references: [comp1MetadataReference], options: TestOptions.DebugExe); 10372comp3 = CreateCompilation(src3, references: [comp1ImageReference], options: TestOptions.DebugExe); 10378comp3 = CreateCompilationWithIL(src3, expectedTypeIL + ExtensionMarkerAttributeIL, options: TestOptions.DebugExe); 10421comp3 = CreateCompilation(src3, references: [comp1MetadataReference], options: TestOptions.DebugExe); 10431comp3 = CreateCompilation(src3, references: [comp1ImageReference], options: TestOptions.DebugExe); 10465comp3 = CreateCompilation(src3, references: [comp1MetadataReference], options: TestOptions.DebugExe); 10471comp3 = CreateCompilation(src3, references: [comp1ImageReference], options: TestOptions.DebugExe); 10644var comp3 = CreateCompilation(src3, references: [comp1MetadataReference], options: TestOptions.DebugExe); 10675comp3 = CreateCompilation(src3, references: [comp1ImageReference], options: TestOptions.DebugExe); 10681comp3 = CreateCompilationWithIL(src3, expectedTypeIL + ExtensionMarkerAttributeIL, options: TestOptions.DebugExe); 10724comp3 = CreateCompilation(src3, references: [comp1MetadataReference], options: TestOptions.DebugExe); 10730comp3 = CreateCompilation(src3, references: [comp1ImageReference], options: TestOptions.DebugExe); 10874var comp3 = CreateCompilation(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 10906comp3 = CreateCompilation(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe); 12636var comp = CreateCompilation(src, options: TestOptions.DebugExe); 12694var comp = CreateCompilation(src2, options: TestOptions.DebugExe); 12721var comp = CreateCompilation(src, options: TestOptions.DebugExe); 12761var comp = CreateCompilation([src, eSrc], options: TestOptions.DebugExe); 12923var comp = CreateCompilation(src, options: TestOptions.DebugExe); 13012var comp = CreateCompilation(src, options: TestOptions.DebugExe); 13043var comp = CreateCompilation(src, options: TestOptions.DebugExe); 13075var comp = CreateCompilation(src, options: TestOptions.DebugExe); 14257var comp = CreateCompilation(src, options: TestOptions.DebugExe); 15425var comp = CreateCompilation(src, options: TestOptions.DebugExe); 18557var comp = CreateCompilation(src, options: TestOptions.DebugExe); 18595var comp = CreateCompilation(src, options: TestOptions.DebugExe); 18634var comp = CreateCompilation(src, options: TestOptions.DebugExe); 18672var comp = CreateCompilation(src, options: TestOptions.DebugExe); 18713var comp = CreateCompilation(src, options: TestOptions.DebugExe); 18757var comp = CreateCompilation(src, options: TestOptions.DebugExe); 18801var comp = CreateCompilation(src, options: TestOptions.DebugExe); 18843var comp = CreateCompilation(src, options: TestOptions.DebugExe); 18882var comp = CreateCompilation(src, options: TestOptions.DebugExe); 18921var comp = CreateCompilation(src, options: TestOptions.DebugExe); 26105var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe); 28528var comp = CreateCompilation(src, options: TestOptions.DebugExe); 29693var comp = CreateCompilation(src, options: TestOptions.DebugExe); 32137""", options: TestOptions.DebugExe); 32740""", options: TestOptions.DebugExe); 39245var comp = CreateCompilation(src, options: TestOptions.DebugExe); 39248comp = CreateCompilation(src, references: [libRef], options: TestOptions.DebugExe); 39251comp = CreateCompilation(src, references: [libRef], parseOptions: TestOptions.Regular14, options: TestOptions.DebugExe); 40582var comp = CreateCompilation(src, options: TestOptions.DebugExe); 40626var comp = CreateCompilation(src, options: TestOptions.DebugExe); 41859var comp = CreateCompilation(src, options: TestOptions.DebugExe); 41894var comp = CreateCompilation(src, options: TestOptions.DebugExe); 41929var comp = CreateCompilation(src, options: TestOptions.DebugExe); 41971var comp = CreateCompilation(src, options: TestOptions.DebugExe); 42010var comp = CreateCompilation(src, options: TestOptions.DebugExe); 42054var comp = CreateCompilation(src, options: TestOptions.DebugExe); 42089var comp = CreateCompilation(src, options: TestOptions.DebugExe); 42128var comp = CreateCompilation(src, options: TestOptions.DebugExe); 42167var comp = CreateCompilation(src, options: TestOptions.DebugExe); 42202var comp = CreateCompilation(src, options: TestOptions.DebugExe); 44598var comp = CreateCompilation(source, options: TestOptions.DebugExe); 44617var comp = CreateCompilation(source, options: TestOptions.DebugExe); 44698var comp = CreateCompilation(source, options: TestOptions.DebugExe); 44717var comp = CreateCompilation(source, options: TestOptions.DebugExe); 44736var comp = CreateCompilation(source, options: TestOptions.DebugExe);
Semantics\ExtensionTests2.cs (118)
7259var comp = CreateCompilation(src, options: TestOptions.DebugExe); 7393var comp = CreateCompilation([src], options: TestOptions.DebugExe); 7529var comp = CreateCompilation([src], options: TestOptions.DebugExe); 7637var comp = CreateCompilation([src], options: TestOptions.DebugExe); 7819var comp = CreateCompilation([src], options: TestOptions.DebugExe); 7978var comp = CreateCompilation([src], options: TestOptions.DebugExe); 8096var comp = CreateCompilation([src], options: TestOptions.DebugExe); 8189var comp = CreateCompilation([src], options: TestOptions.DebugExe); 8315var comp = CreateCompilation([src], options: TestOptions.DebugExe.WithAllowUnsafe(true)); 8465var comp = CreateCompilation([src], options: TestOptions.DebugExe); 8561var comp = CreateCompilation([src], options: TestOptions.DebugExe); 8662var comp = CreateCompilation(src, options: TestOptions.DebugExe); 8777var comp = CreateCompilation(src, options: TestOptions.DebugExe); 8919var comp = CreateCompilation(src, options: TestOptions.DebugExe); 9028var comp = CreateCompilation(src, options: TestOptions.DebugExe); 9090comp = CreateRuntimeAsyncCompilation(src, options: TestOptions.DebugExe); 9231var comp = CreateCompilation(src, options: TestOptions.DebugExe); 9251comp = CreateRuntimeAsyncCompilation(src, options: TestOptions.DebugExe); 9424var comp = CreateCompilation(src, options: TestOptions.DebugExe); 9483comp = CreateRuntimeAsyncCompilation(src, options: TestOptions.DebugExe); 9640var comp = CreateCompilation(src, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 9807var comp = CreateCompilation(src, options: TestOptions.DebugExe); 9907var comp = CreateCompilation(src, options: TestOptions.DebugExe); 10015var comp = CreateCompilation(src, options: TestOptions.DebugExe); 10131var comp = CreateCompilation(src, options: TestOptions.DebugExe); 10279var comp = CreateCompilation(src, options: TestOptions.DebugExe); 10369var comp = CreateCompilation(src, options: TestOptions.DebugExe); 10486var comp = CreateCompilation(src, options: TestOptions.DebugExe); 10627var comp = CreateCompilation(src, options: TestOptions.DebugExe); 10754var comp = CreateCompilation(src, options: TestOptions.DebugExe); 10870var comp = CreateCompilation(src, options: TestOptions.DebugExe); 11018var comp = CreateCompilation(src, options: TestOptions.DebugExe); 11108var comp = CreateCompilation(src, options: TestOptions.DebugExe); 11225var comp = CreateCompilation(src, options: TestOptions.DebugExe); 11366var comp = CreateCompilation(src, options: TestOptions.DebugExe); 11526var comp = CreateCompilation(src, options: TestOptions.DebugExe); 11758var comp = CreateCompilation(src, options: TestOptions.DebugExe); 12019var comp = CreateCompilation(src, options: TestOptions.DebugExe); 12217var comp = CreateCompilation(src, options: TestOptions.DebugExe); 12382comp = CreateRuntimeAsyncCompilation(src, options: TestOptions.DebugExe); 12635var comp = CreateCompilation(src, options: TestOptions.DebugExe); 12697comp = CreateRuntimeAsyncCompilation(src, options: TestOptions.DebugExe); 12976var comp = CreateCompilation(src, options: TestOptions.DebugExe); 13136comp = CreateRuntimeAsyncCompilation(src, options: TestOptions.DebugExe); 13340var comp = CreateCompilation(src, options: TestOptions.DebugExe); 13446var comp = CreateCompilation(src, options: TestOptions.DebugExe); 13586var comp = CreateCompilation(src, options: TestOptions.DebugExe); 13695var comp = CreateCompilation(src, options: TestOptions.DebugExe); 13749comp = CreateRuntimeAsyncCompilation(src, options: TestOptions.DebugExe); 13877var comp = CreateCompilation(src, options: TestOptions.DebugExe); 13897comp = CreateRuntimeAsyncCompilation(src, options: TestOptions.DebugExe); 14068var comp = CreateCompilation(src, options: TestOptions.DebugExe); 14122comp = CreateRuntimeAsyncCompilation(src, options: TestOptions.DebugExe); 14244var comp = CreateCompilation(src, options: TestOptions.DebugExe); 14403var comp = CreateCompilation(src, options: TestOptions.DebugExe); 14541var comp = CreateCompilation(src, options: TestOptions.DebugExe); 14658var comp = CreateCompilation(src, options: TestOptions.DebugExe); 14853var comp = CreateCompilation(src, options: TestOptions.DebugExe); 15018var comp = CreateCompilation(src, options: TestOptions.DebugExe); 15151var comp = CreateCompilation(src, options: TestOptions.DebugExe); 15253var comp = CreateCompilation(src, options: TestOptions.DebugExe); 15379var comp = CreateCompilation([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe); 15580var comp = CreateCompilation([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe); 15755var comp = CreateCompilation([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe); 15894var comp = CreateCompilation([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe); 16143var comp = CreateCompilation([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe); 16343var comp = CreateCompilation([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe); 16516var comp = CreateCompilation([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe); 16645var comp = CreateCompilation([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe); 16794var comp = CreateCompilation([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe); 16983var comp = CreateCompilation([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe); 17136var comp = CreateCompilation([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe); 17267var comp = CreateCompilation([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe); 17504var comp = CreateCompilation([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe); 17696var comp = CreateCompilation([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe); 17851var comp = CreateCompilation([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe); 17965var comp = CreateCompilation([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe); 18086var comp = CreateCompilation([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe); 18232var comp = CreateCompilation([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe); 18378var comp = CreateCompilation([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe); 18504var comp = CreateCompilation([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe); 18674var comp = CreateCompilation([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe); 18860var comp = CreateCompilation([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe); 18993var comp = CreateCompilation([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe); 19084var comp = CreateCompilation([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe.WithAllowUnsafe(true)); 19168var comp = CreateCompilation([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe); 19279var comp = CreateCompilation([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe); 19403var comp = CreateCompilation([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe); 19513var comp = CreateCompilation([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe); 19626var comp = CreateCompilation([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe); 19719var comp = CreateCompilation([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe); 19825var comp = CreateCompilation([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe.WithAllowUnsafe(true)); 19914var comp = CreateCompilation(src, options: TestOptions.DebugExe); 20057var comp = CreateCompilation([src], options: TestOptions.DebugExe); 20172var comp = CreateCompilation([src], options: TestOptions.DebugExe); 20282var comp = CreateCompilation([src], options: TestOptions.DebugExe); 20473var comp = CreateCompilation([src], options: TestOptions.DebugExe); 20634var comp = CreateCompilation([src], options: TestOptions.DebugExe); 20758var comp = CreateCompilation([src], options: TestOptions.DebugExe); 20853var comp = CreateCompilation([src], options: TestOptions.DebugExe); 20947var comp = CreateCompilation([src], options: TestOptions.DebugExe); 21050var comp = CreateCompilation([src], options: TestOptions.DebugExe); 21156var comp = CreateCompilation([src], options: TestOptions.DebugExe); 21260var comp = CreateCompilation([src], options: TestOptions.DebugExe); 21387var comp = CreateCompilation([src], options: TestOptions.DebugExe); 21541var comp = CreateCompilation([src], options: TestOptions.DebugExe); 21639var comp = CreateCompilation([src], options: TestOptions.DebugExe); 21706var comp = CreateCompilation([src], options: TestOptions.DebugExe.WithAllowUnsafe(true)); 21773var comp = CreateCompilation([src], options: TestOptions.DebugExe); 21863var comp = CreateCompilation([src], options: TestOptions.DebugExe); 21958var comp = CreateCompilation([src], options: TestOptions.DebugExe); 22051var comp = CreateCompilation([src], options: TestOptions.DebugExe); 31907var comp = CreateCompilation(src, options: TestOptions.DebugExe); 32004var comp = CreateCompilation(src, options: TestOptions.DebugExe); 32039var comp = CreateCompilation(src, options: TestOptions.DebugExe); 32073var comp = CreateCompilation(src, options: TestOptions.DebugExe); 32107var comp = CreateCompilation(src, options: TestOptions.DebugExe); 32143var comp = CreateCompilation(src, 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); 18280var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 18308var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 18337var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 18376var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 18408var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 18439var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 18469var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 18509var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 20189comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe); 20390comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe); 20711comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe); 20911comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe); 21128comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe); 21523comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe); 21742comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe); 21862comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe); 22061comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe); 22181comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe); 22365comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe); 22788comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
Semantics\LockTests.cs (11)
1941var verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.DebugExe, 2081var verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.DebugExe, 2389var verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.DebugExe, 2608var verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.DebugExe, 2747var verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.DebugExe, 3051var verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.DebugExe, 3190var verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.DebugExe, 3543verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.DebugExe, 3582verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.DebugExe, 3655comp = CreateCompilationWithTasksExtensions([source, LockTypeDefinition, AsyncStreamsTypes], options: TestOptions.DebugExe); 3692var comp = CreateCompilationWithTasksExtensions([source, LockTypeDefinition, AsyncStreamsTypes], options: TestOptions.DebugExe);
Semantics\OutVarTests.cs (223)
1966var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 2076var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 2187var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 2297var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 2386var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_1); 2607var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 2824var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 2942var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 2988var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 3032var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 3079var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 3126var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 3180var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 3282var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 3363var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 3415var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 3454var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 3495var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 3613var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 3804var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 3952var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 3993var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 4045var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 4091var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 4140var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 4196var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 4252var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 4334var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 4366var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 4456var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 4472compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_3); 4576var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 4612var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 4654var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 4739var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 4776var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 4882var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 5055var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 5099var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 5156var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 5375var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 5485var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 5564var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 5568CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_2).VerifyDiagnostics( 5642var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 5675var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 5699var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 5742var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 5873var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular); 6023var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular); 6106var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular); 6140var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular); 6288var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 6526var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 6761var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 7025var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 7263var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 7507var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 7761var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 7821var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 7883var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 7949var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 8012var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 8077var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 8143var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 8198var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 8348var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 8480var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 8620var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 8752var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 8793var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 8856var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 8912var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 9031var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 9089compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_3); 9257var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 9319var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 9412var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 9489var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 9568var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 9632var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 9681var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 9748var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 9809var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 9875options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 9970options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 10049options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 10130options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 10200options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 10251options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 10317options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 10380options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 10444options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 10528options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 10684var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 10808var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 10849var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 10900var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 10951var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 11011var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 11148var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 11247var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 11323var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 11327CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_2).VerifyDiagnostics( 11394var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 11418var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 11461var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 11616var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 11930var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 12072var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 12082compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_3); 12222var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 12232compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_3); 12342var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 12402var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 12475var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 12620var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 12747var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 12760compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_3); 12845var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 12912var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 12952var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 13010var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 13050var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 13158var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 13285var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 13329var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 13380var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 13432var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 13575var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 13687var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 13728var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 13787var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 13839var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 14069var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 14250var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 14297var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 14346var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 14388var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 14430var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 14475var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 14517var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 14560var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 14607var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 14661var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 14720var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 14769options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 14819options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 14914var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 15082var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 15205var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 15249var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 15306var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 15362var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 15494var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 15707var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 15920var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 16053var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 16143var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 16235var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 16363var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 16486var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 16527var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 16579var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 16633var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 16690var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 16749var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 16810var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 16925var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 17041var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 17086var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 17140var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 17195var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 17310var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 17472var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 17522var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 20528var compilation = CreateCompilation(source2, references: new[] { reference1 }, options: TestOptions.DebugExe); 20885var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 20998var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 21098var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 21195var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 21279var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 21331var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 21397var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 21556var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 21754var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 21956var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 22108var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 22203var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 22371var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular); 22537var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular); 22635var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 22748var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular); 22841var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 22923var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 22987var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular); 23025var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular); 29519var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 29569var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 30021options: TestOptions.DebugExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 32647var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 32680var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 32821var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 32845var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 32874var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 32907var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 33045var comp = CreateCompilation(source, options: TestOptions.DebugExe); 33105var comp = CreateCompilation(source, options: TestOptions.DebugExe); 33159var comp = CreateCompilation(source, options: TestOptions.DebugExe); 33217var comp = CreateCompilation(source, options: TestOptions.DebugExe); 33294var comp = CreateCompilation(source, options: TestOptions.DebugExe); 33361var comp = CreateCompilation(source, options: TestOptions.DebugExe); 33384var comp = CreateCompilation(source, options: TestOptions.DebugExe); 33411var comp = CreateCompilation(source, options: TestOptions.DebugExe); 33749var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 33847var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 33946var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 34044var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 34129var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 34185var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 34546var compilation = CreateCompilation(syntaxTree, options: TestOptions.DebugExe); 35937var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 35941CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_2).VerifyDiagnostics(
Semantics\ParamsCollectionTests.cs (5)
12476CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: "DisposedDisposed").VerifyDiagnostics(); 12507var comp = CreateCompilation(source, options: TestOptions.DebugExe); 15464var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe); 15514var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe); 15572var 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); 7370var comp = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7); 7395var compilation = CreateCompilationWithSpanAndMemoryExtensions(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview) 8347var compilation = CreateCompilationWithSpanAndMemoryExtensions(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview) 8448var compilation = CreateCompilationWithSpanAndMemoryExtensions(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview) 8998var compilation = CreateCompilationWithSpanAndMemoryExtensions(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview) 9960var compilation = CreateCompilationWithSpanAndMemoryExtensions(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview) 10060var compilation = CreateCompilationWithSpanAndMemoryExtensions(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview) 11617var comp = CreateCompilation(source, options: TestOptions.DebugExe); 11887var comp = CreateCompilation(source, options: TestOptions.DebugExe); 11927var comp = CreateCompilation(source, options: TestOptions.DebugExe); 11970var comp = CreateCompilation(source, options: TestOptions.DebugExe);
Semantics\PatternMatchingTests_Global.cs (2)
3857var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script); 4296options: TestOptions.DebugExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script);
Semantics\PatternMatchingTests_ListPatterns.cs (2)
7217var compilation = CreateCompilation(new[] { source, TestSources.Index, _iTupleSource }, options: TestOptions.DebugExe); 7428var 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); 501CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithoutRecursivePatterns).VerifyDiagnostics( 509CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular8).VerifyDiagnostics(); 794var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular8); 1462var 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); 2537var compilation = CreateCompilation(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.DebugExe); 2575var compilation = CreateCompilation(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.DebugExe); 2646var compilation = CreateCompilation(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.DebugExe); 2810var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9)); 2869var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9)); 3136var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9)); 3274var compilation = CreateCompilation(source + _iTupleSource, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9)); 3362var compilation = CreateCompilation(source + _iTupleSource, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9)); 3435var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 3482var compilation = CreateCompilation(source, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 3573var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 3667var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 3701var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 3754var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 3950var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 4052var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 4611var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9)); 4777var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9)); 4961var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9)); 5245var compilation = CreateCompilation(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9)); 5314var compilation = CreateCompilation(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
Semantics\PatternMatchingTests4.cs (3)
3355var compilation = CreatePatternCompilation(source, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 3382var compilation = CreatePatternCompilation(source, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 3408var 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); 347var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 398var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 425var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 451var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 477var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 502var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 530var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 556var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 579var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 602var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 625var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 648var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 667var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 688var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 838var compilation = CreateCompilation(new[] { source, _iTupleSource }, options: TestOptions.DebugExe); 925var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 951var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 974CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular6).VerifyDiagnostics( 979CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics( 1012CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular6).VerifyDiagnostics( 1028var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 1074var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 1121var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 1213var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 1344var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 1416var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 1474var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 1554var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 1584var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 1619var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 1858var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 1881var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 1916var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular); 1962var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2045var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2076var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2105var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2152var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2214var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2270var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 2441var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe); 2506var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe); 3521var 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); 14104var verifier = CompileAndVerify(source, expectedOutput: " 0 1 2 3 2 3", options: TestOptions.DebugExe); 16597var comp2 = CreateCompilation(source, options: TestOptions.DebugExe); 17089var comp2 = CreateCompilation(source, options: TestOptions.DebugExe); 17438var comp2 = CreateCompilation(source, options: TestOptions.DebugExe); 17623var comp2 = CreateCompilation(source, options: TestOptions.DebugExe); 17963var comp2 = CreateCompilation(source, options: TestOptions.DebugExe); 18522var comp2 = CreateCompilation(source, options: TestOptions.DebugExe); 19037var comp2 = CreateCompilation(source, options: TestOptions.DebugExe); 19334var 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.Regular14); 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.Regular14); 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); 11794var comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe); 11848var comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe); 12194comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe); 12200comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14); 12226comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 12568comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe); 12574comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14); 12600comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 13132comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe); 13138comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14); 13164comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 13435comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe); 13441comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14); 13467comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 14049comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe); 14055comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14); 14081comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 14460comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe); 14466comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14); 14492comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 15119comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe); 15125comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14); 15151comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 15467comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe); 15473comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14); 15499comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 16201var comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 16251var comp1 = CreateCompilation([source1, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 16325var comp3 = CreateCompilation([source3, CompilerFeatureRequiredAttribute], references: [comp1_2.EmitToImageReference(), comp2.EmitToImageReference()], options: TestOptions.DebugExe); 16367var comp1 = CreateCompilation([source1, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 16412var comp1 = CreateCompilation([source1, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 16538var comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [comp1Ref], options: TestOptions.DebugExe); 16546comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13); 16575var comp1 = CreateCompilation([source1, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 16603var comp1 = CreateCompilation([source1, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90, options: TestOptions.DebugExe); 16648var comp1 = CreateCompilation([source1, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 16681var comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 16719var comp1 = CreateCompilation([source1, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 16757var comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 16792var comp2 = CreateCompilation(source2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 16827var comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 16865var comp2 = CreateCompilation(source2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 16910var comp2 = CreateCompilation(source2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 16951var comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 16992var comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe); 17033var comp2 = CreateCompilation(source2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe); 17117var comp2 = CreateCompilation([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe); 17323var comp = CreateCompilation([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90, options: TestOptions.DebugExe); 17378var comp = CreateCompilation([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90, options: TestOptions.DebugExe); 17424var comp = CreateCompilation([source, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 17467var comp = CreateCompilation([source, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 17552var compilation2 = CreateCompilationWithIL(source2, ilSource, options: TestOptions.DebugExe); 17639var compilation2 = CreateCompilationWithIL(source2, ilSource, options: TestOptions.DebugExe); 17686var comp = CreateCompilation([source, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 17717var comp = CreateCompilation([source, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 19512var comp1 = CreateCompilation([source1, CompilerFeatureRequiredAttribute, OverloadResolutionPriorityAttributeDefinition], options: TestOptions.DebugExe); 19578var comp1 = CreateCompilation([source1, CompilerFeatureRequiredAttribute, OverloadResolutionPriorityAttributeDefinition], options: TestOptions.DebugExe); 19771var compilation1 = CreateCompilationWithIL([source1, CompilerFeatureRequiredAttribute], ilSource, options: TestOptions.DebugExe); 19833var compilation1 = CreateCompilationWithIL([source1, CompilerFeatureRequiredAttribute], ilSource, options: TestOptions.DebugExe); 19915var comp = CreateCompilation([source, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 20044var comp = CreateCompilation([source, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 20088var comp = CreateCompilation([source, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 20152var comp = CreateCompilation([source, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 20235var comp = CreateCompilation([source, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe); 20297var 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)
6363var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.DebugExe); 6652var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (893)
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)
544CompileAndVerify(text, options: TestOptions.DebugExe, expectedOutput: "Passed").VerifyDiagnostics(); 588CompileAndVerify(text, options: TestOptions.DebugExe, expectedOutput: "Passed").VerifyDiagnostics();
Semantics\BindingAsyncTasklikeMoreTests.cs (2)
106var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe); 1600compilation = 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)
10250var comp = CreateCompilation(new[] { source, s_utils }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe); 10262comp = CreateCompilation(new[] { source, s_utils }, parseOptions: TestOptions.Regular10, options: TestOptions.DebugExe); 10631CompileAndVerify(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)
44var comp = CreateCompilation(source, options: TestOptions.DebugExe); 88var comp = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular8); 166var comp = CreateCompilation(source, options: TestOptions.DebugExe); 263var comp = CreateCompilation(source, options: TestOptions.DebugExe); 291var comp = CreateCompilation(source, options: TestOptions.DebugExe); 314var comp = CreateCompilation(source, options: TestOptions.DebugExe); 347var comp = CreateCompilation(source, options: TestOptions.DebugExe, references: new[] { CSharpRef }); 368var comp = CreateCompilation(source, options: TestOptions.DebugExe, references: new[] { CSharpRef }); 433var comp = CreateCompilation(source, options: TestOptions.DebugExe); 593var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics(); 694var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics(); 948var comp = CreateCompilation(source, options: TestOptions.DebugExe); 980var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1005var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1024var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1046var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1069var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1090var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1116var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1136var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1199var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics(); 1224var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics(); 1247var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics(); 1268var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics(); 1293var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics(); 1312var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics( 1341var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics( 1400var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics(); 1418var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics( 1452var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics(); 1516var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics( 1549var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1579var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics( 1608var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics( 1640var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics( 1689var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics( 1729var comp = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics( 1756var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1781var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1799_ = CreateCompilation(source, options: TestOptions.DebugExe).VerifyDiagnostics( 1854var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1884var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1914var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1945var comp = CreateCompilation(source, options: TestOptions.DebugExe); 1967var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2024var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2059var comp = CreateCompilation(source, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe); 2104var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2157var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2392var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2416var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2435var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2456var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2477var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2500var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2550var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2583var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2673var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2717var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2737var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2757var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2798var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2836var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2873var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2902var comp = CreateCompilationWithIndexAndRange(source, options: TestOptions.DebugExe, parseOptions: ImplicitObjectCreationTestOptions); 2943var comp = CreateCompilation(source, options: TestOptions.DebugExe); 2972var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3002var comp = CreateCompilation(source, options: TestOptions.DebugExe.WithAllowUnsafe(true)); 3049var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3086var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3105var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3124var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3194var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3239var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3334var comp = CreateCompilation(source, references: new[] { CSharpRef }, options: TestOptions.DebugExe); 3651var comp = CreateCompilation(text, options: TestOptions.DebugExe); 3673var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 3755var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3776var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3858var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3903var comp = CreateCompilation(source, options: TestOptions.DebugExe); 3943var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4003var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4046var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4065var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4084var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4103var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4124var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4458var comp = CreateCompilation(source, options: TestOptions.DebugExe); 4491var 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) 10116comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, options: TestOptions.DebugExe); 10272var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.DebugExe); 19199var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, options: TestOptions.DebugExe); 19312var 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 (8)
1973var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe); 2787var comp = CreateCompilationWithMscorlib40AndSystemCore(src, options: TestOptions.DebugExe); 2971var comp = CreateCompilationWithMscorlib40AndSystemCore(src, options: TestOptions.DebugExe); 8564options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 8615options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 8696options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 8751options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 9387options: TestOptions.DebugExe,
Semantics\LocalFunctionTests.cs (13)
2614options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 2664options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 2746options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 2800options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 4572var comp = CreateCompilationWithMscorlib46(source, parseOptions: DefaultParseOptions, options: TestOptions.DebugExe); 5088var comp = CreateCompilationWithMscorlib46(source, parseOptions: DefaultParseOptions, options: TestOptions.DebugExe); 5120var comp = CreateCompilationWithMscorlib46(source, parseOptions: DefaultParseOptions, options: TestOptions.DebugExe); 5153var comp = CreateCompilationWithMscorlib46(source, parseOptions: DefaultParseOptions, options: TestOptions.DebugExe); 5186var comp = CreateCompilationWithMscorlib46(source, parseOptions: DefaultParseOptions, options: TestOptions.DebugExe); 5223var comp = CreateCompilationWithMscorlib46(source, parseOptions: DefaultParseOptions, options: TestOptions.DebugExe); 5259var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 7221CompileAndVerify(source, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), expectedOutput: "System.Int32", symbolValidator: m => 7251CompileAndVerify(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)); 17000var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.DebugExe)); 17075var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.DebugExe)); 17409var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.DebugExe)); 17477var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.DebugExe)); 17558var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.DebugExe)); 17642var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.DebugExe)); 32099options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Enable)); 77035options: WithNullableEnable(TestOptions.DebugExe)); 79517var comp = CreateCompilation(source, options: TestOptions.DebugExe); 79541var comp = CreateCompilation(source, options: TestOptions.DebugExe); 79583var comp = CreateCompilation(source, options: TestOptions.DebugExe); 91325CreateCompilation(source, options: WithNullableEnable(TestOptions.DebugExe)).VerifyDiagnostics( 156042options: TestOptions.DebugExe); 157603var comp = CreateCompilation(src, options: TestOptions.DebugExe); 157629var comp = CreateCompilation(src, options: TestOptions.DebugExe); 157665var comp = CreateCompilation(src, options: TestOptions.DebugExe); 158054var 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 (16)
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); 9676var comp = CreateCompilation(src, options: TestOptions.DebugExe); 9754var comp = CreateCompilation(src, options: TestOptions.DebugExe); 9804var comp = CreateCompilation(src, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe); 9860var comp = CreateCompilation(src, options: TestOptions.DebugExe);
Semantics\OverloadResolutionTests.cs (24)
7021var compilation = CreateCompilation(source, options: TestOptions.DebugExe); 7871var compilation = CreateCompilation(source1, options: TestOptions.DebugExe); 7909CreateCompilation(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics( 7914CreateCompilation(source1, options: TestOptions.DebugExe).VerifyDiagnostics( 7951var compilation = CreateCompilation(source1, options: TestOptions.DebugExe); 7989CreateCompilation(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics( 7994CreateCompilation(source1, options: TestOptions.DebugExe).VerifyDiagnostics( 8031CreateCompilation(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics( 8036CreateCompilation(source1, options: TestOptions.DebugExe).VerifyDiagnostics( 8073CreateCompilation(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics( 8078CreateCompilation(source1, options: TestOptions.DebugExe).VerifyDiagnostics( 8113CreateCompilation(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics( 8118CreateCompilation(source1, options: TestOptions.DebugExe).VerifyDiagnostics( 8154var compilation = CreateCompilation(source1, options: TestOptions.DebugExe); 8193var compilation = CreateCompilationWithMscorlib40(source1, new[] { Net40.References.SystemCore }, options: TestOptions.DebugExe); 8229var compilation = CreateCompilationWithMscorlib40(source1, new[] { Net40.References.SystemCore }, options: TestOptions.DebugExe); 8262var compilation = CreateCompilation(source1, options: TestOptions.DebugExe); 8490var compilation = CreateCompilation(source1, options: TestOptions.DebugExe); 8538var compilation = CreateCompilation(source1, options: TestOptions.DebugExe); 8585var compilation = CreateCompilation(source1, options: TestOptions.DebugExe); 8624var compilation = CreateCompilation(source1, options: TestOptions.DebugExe); 8659var compilation = CreateCompilation(source1, options: TestOptions.DebugExe); 8685var compilation = CreateCompilation(source1, options: TestOptions.DebugExe); 8715var 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); 31186options: TestOptions.DebugExe.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings), 31240options: TestOptions.DebugExe.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings), 31308options: TestOptions.DebugExe.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings), 31371options: 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 (10)
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( 3239CreateCompilation(source, options: TestOptions.DebugExe.WithSourceReferenceResolver(resolver)).VerifyDiagnostics( 18494CreateCompilation(source, options: TestOptions.DebugExe.WithWarningLevel(5)).VerifyDiagnostics(); 18549var comp = CreateCompilation(text, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 18643var comp = CreateCompilation(text, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 18669var comp = CreateCompilation(text, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe); 21680var compilation = CreateCompilation(text, targetFramework: TargetFramework.Mscorlib461, options: TestOptions.DebugExe); 24593var compilation = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugExe);
Semantics\SpanStackSafetyTests.cs (8)
1391comp = CreateCompilationWithMscorlibAndSpan(text, TestOptions.DebugExe); 1752comp = CreateCompilationWithMscorlibAndSpan(text, TestOptions.DebugExe); 1802comp = CreateCompilationWithMscorlibAndSpan(text, TestOptions.DebugExe); 2618CSharpCompilation comp = CreateCompilationWithMscorlibAndSpan(text, options: TestOptions.DebugExe); 2643CSharpCompilation comp = CreateCompilationWithMscorlibAndSpan(text, options: TestOptions.DebugExe); 2668CSharpCompilation comp = CreateCompilationWithMscorlibAndSpan(text, options: TestOptions.DebugExe); 2698CSharpCompilation comp = CreateCompilationWithMscorlibAndSpan(text, options: TestOptions.DebugExe); 2721CSharpCompilation 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 (249)
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); 1203var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1230var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1252var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1295var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1313var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1330var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1346var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1360comp = CreateCompilation(new[] { "System.Console.WriteLine();", text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1390var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1404comp = CreateCompilation(new[] { "System.Console.WriteLine();", text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1439var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1457comp = CreateCompilation(new[] { text2, text1 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1490var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1509comp = CreateCompilation(new[] { text2, text1 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1544var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1585CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions).VerifyDiagnostics( 1623var comp = CreateCompilation(new[] { text1, text2, text3 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1685var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 1858var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 2012var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 2015comp = CreateCompilation(text1 + text2, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 2020options: TestOptions.DebugExe)); 2022comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7); 2079var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 2243var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 2393var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 2396comp = CreateCompilation(text1 + text2, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 2399comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7); 2445var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 2590var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 2609var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 2640var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 2665var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 2726var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 2811var comp = CreateCompilation(text, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 2868var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 2896var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 2930var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 3044var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 3106var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 3169var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 3236var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 3300var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 3362var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 3425var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 3492var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 3556var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 3618var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 3681var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 3748var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 3812var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 3880var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 3948var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4097var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4197var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4222var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4243var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4325var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4347var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4399var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4487var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4504var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4528var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4567var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4595var comp = CreateCompilation(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4633var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4647var comp = CreateCompilation(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4675var comp = CreateCompilation(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4692var comp = CreateCompilation(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4708var comp = CreateCompilation(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4728var comp = CreateCompilation(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4743var comp = CreateCompilation(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4761var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4784var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4799var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4813var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4834var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4855var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4876var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4901var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4921var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4953var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 4974var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5006var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5039var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5067var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5097var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5129var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5159var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5185var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5221var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5260var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5316var comp = CreateCompilation(new[] { text1, text4 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5356CompileAndVerify(text, options: TestOptions.DebugExe.WithMainTypeName("Program2"), parseOptions: DefaultParseOptions, expectedOutput: "Program2").VerifyDiagnostics( 5379var comp = CreateCompilation(text, options: TestOptions.DebugExe.WithMainTypeName(""), parseOptions: DefaultParseOptions); 5401var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5421var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5442var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5463var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5487var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5512var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5539var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5567var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5594var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5622var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5646var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5671var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5710options: TestOptions.DebugExe.WithMainTypeName("C"), 5731options: TestOptions.DebugExe.WithMainTypeName("Program"), 5743options: TestOptions.DebugExe.WithMainTypeName("Program"), 5755var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5769var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5788var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5809var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5833var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5859var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5880var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5901var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5922var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5943var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5963var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 5987var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 6005var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 6029var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 6052var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 6089var comp = CreateCompilation(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 6168options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 6239options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 6313var comp = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 6354var comp = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 6397var comp = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 6447var comp = CreateCompilation(new[] { source1, source2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 6486var comp = CreateCompilation(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 6497comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 6591var comp = CreateCompilation(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 6600comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 6648var comp = CreateCompilation(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 6663comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 6769var comp = CreateCompilation(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 6780comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 6856var comp = CreateCompilation(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 6865comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 6914var comp = CreateCompilation(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 6923comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 6972var comp = CreateCompilation(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 6981comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7040var comp = CreateCompilation(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7049comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7119var comp = CreateCompilation(text1 + text2, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7127comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7232var comp = CreateCompilation(text1 + text2 + text3, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7241comp = CreateCompilation(new[] { text1, text2, text3 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7326var comp = CreateCompilation(text1 + text2, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7335comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7399var comp = CreateCompilation(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7409comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7466var comp = CreateCompilation(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7476comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7533var comp = CreateEmptyCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7555var comp = CreateCompilation(text, targetFramework: TargetFramework.Minimal, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7578var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7600var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7638var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7664var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7695var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7713var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7760var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7807var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7876var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 7987var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8010var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8029var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8048var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8068var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8086var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8108var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8128var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8147var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8165var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8185var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8326var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8344var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8357var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8366var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8380var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8394var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8408var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8435var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8452var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8469var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8486var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8533var comp = CreateCompilation(text, options: TestOptions.DebugExe.WithOverflowChecks(true), parseOptions: DefaultParseOptions); 8621var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8651var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8673var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8692var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8707var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8740var comp = CreateCompilation(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8760var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8772var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8849", options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 8869", options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 9087var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 9104var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 9121var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 9133var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 9146var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 9164var comp = CreateCompilation(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions); 9182var comp = CreateCompilation(text, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All)); 9237var comp = CreateCompilation(text, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All)); 9631var 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)
4302Compilation 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)
295var comp = CreateCompilation(source, options: TestOptions.DebugExe); 308comp = CreateCompilation(source, options: TestOptions.DebugExe); 397var comp = CreateCompilation(source2, references: [corLib_v2_Comp.ToMetadataReference(), typeLib_v2_Comp.ToMetadataReference(), comp1Ref], options: TestOptions.DebugExe); 432var comp = CreateCompilation(source, options: TestOptions.DebugExe); 439comp = CreateCompilation(source, options: TestOptions.DebugExe); 582var comp = CreateCompilation(source2, references: [corLib_v2_Comp.ToMetadataReference(), typeLib_v2_Comp.ToMetadataReference(), comp1Ref], options: TestOptions.DebugExe); 624var comp = CreateCompilation(source, targetFramework: TargetFramework.Mscorlib40AndSystemCore, options: TestOptions.DebugExe); 634comp = CreateCompilation(source, targetFramework: TargetFramework.Mscorlib40AndSystemCore, options: TestOptions.DebugExe); 642comp = CreateCompilation(source, targetFramework: TargetFramework.Mscorlib40AndSystemCore, options: TestOptions.DebugExe); 670var comp = CreateCompilation(source, options: TestOptions.DebugExe); 680comp = CreateCompilation(source, options: TestOptions.DebugExe); 863var comp = CreateCompilation(source2, references: [corLib_v2_Comp.ToMetadataReference(), typeLib_v2_Comp.ToMetadataReference(), comp1Ref], options: TestOptions.DebugExe); 1057var comp = CreateCompilation(source2, references: [corLib_v2_Comp.ToMetadataReference(), typeLib_v2_Comp.ToMetadataReference(), comp1Ref], options: TestOptions.DebugExe);
Symbols\DefaultInterfaceImplementationTests.cs (475)
120var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net60, 171var compilation2 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 290var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 348var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 364var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe, 430var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 488var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 504var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe, 581var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 679var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 781var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 883var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 970var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 1045var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 1124var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 1203var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 1282var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 1366var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 1454var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 1542var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 2105var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 2184var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 2206var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe, 2270var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 2339var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 2412var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 2485var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 2582var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 2636var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 2653var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe, 3733var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 3875var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 3993var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 4145var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 5394var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 5511var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 5602var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 5747var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 6552var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 6609var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 6630var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe, 6954var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 7057var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 7148var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 7255var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 7980var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 8256var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 8781var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 8882var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 9052var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 9241var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 9268compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 9293var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 9306compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 9458var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 9466compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 9483var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 9492compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 9540var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 9554var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe, 9565var compilation4 = CreateCompilation(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe, 9839var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 9853var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe, 9860var compilation4 = CreateCompilation(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe, 9898var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 9918var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe, 9930var compilation4 = CreateCompilation(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe, 9975var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 9987compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 10007var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 10061var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe, 10069compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe, 10144var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 10838var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 10892var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 10938var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe, 10949var compilation4 = CreateCompilation(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe, 11065var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 11171var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 11590var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 11703var compilation1 = CreateCompilation(source0 + source1, options: TestOptions.DebugExe, 11727var compilation2 = CreateCompilation(source0 + source2, options: TestOptions.DebugExe, 11768var compilation4 = CreateCompilation(source3, options: TestOptions.DebugExe, 11778var compilation5 = CreateCompilation(source4, options: TestOptions.DebugExe, 11795var compilation6 = CreateCompilation(source1, options: TestOptions.DebugExe, 11858var compilation1 = CreateCompilation(source21 + source1, options: TestOptions.DebugExe, 11892compilation1 = CreateCompilation(source22 + source1, options: TestOptions.DebugExe, 11918var compilation3 = CreateCompilation(source21, new[] { reference }, options: TestOptions.DebugExe, 11926compilation3 = CreateCompilation(source22, new[] { reference }, options: TestOptions.DebugExe, 11994var compilation1 = CreateCompilation(source21 + source1, options: TestOptions.DebugExe, 12007compilation1 = CreateCompilation(source21 + source1, options: TestOptions.DebugExe, 12033var compilation3 = CreateCompilation(source21, new[] { reference }, options: TestOptions.DebugExe, 12048compilation3 = CreateCompilation(source22, new[] { reference }, options: TestOptions.DebugExe, 12114var compilation1 = CreateCompilation(source21 + source1, options: TestOptions.DebugExe, 12130compilation1 = CreateCompilation(source22 + source1, options: TestOptions.DebugExe, 12156var compilation3 = CreateCompilation(source21, new[] { reference }, options: TestOptions.DebugExe, 12171compilation3 = CreateCompilation(source22, new[] { reference }, options: TestOptions.DebugExe, 12227var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 12248var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 12289var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 12310var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 12351var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 12371var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 12623var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 12648var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 12711var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 12736var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 12799var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 12824var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 14002var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 14223var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 14241var compilation2 = CreateCompilation(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 14617var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 14923var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 14931compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 14969var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 14977compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 15121var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 15129compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 15148var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 15156compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 15256var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 15274var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 15671var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 15685var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe, 15694var compilation4 = CreateCompilation(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe, 15754var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 15766var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe, 15773var compilation4 = CreateCompilation(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe, 15856compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 15883compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 15980var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe, 16186var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 17467var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 17538var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe, 17552var compilation4 = CreateCompilation(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe, 17737var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 18293var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe.WithMetadataImportOptions(metadataImportOptions), 18340options: TestOptions.DebugExe.WithMetadataImportOptions(metadataImportOptions), 18468var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 18476compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 18506options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 18515options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 19848var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 19919var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe, 19933var compilation4 = CreateCompilation(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe, 20326options: TestOptions.DebugExe, 20364var compilation2 = CreateCompilation(source0 + source2, options: TestOptions.DebugExe, 20437var compilation4 = CreateCompilation(source3, options: TestOptions.DebugExe, 20455var compilation5 = CreateCompilation(source4, options: TestOptions.DebugExe, 20467var compilation6 = CreateCompilation(source5, options: TestOptions.DebugExe, 20502var compilation7 = CreateCompilation(source1, options: TestOptions.DebugExe, 27630var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 27800var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 27874var compilation2 = CreateCompilation(source2, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 27894var compilation3 = CreateCompilation(source2, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 28128var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 28429var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 28437compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 28512var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 28520compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 28626var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 28634compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 28653var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 28661compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 28762var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, targetFramework: targetFramework, 28778var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 29180var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 29194var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe, 29203var compilation4 = CreateCompilation(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe, 29266var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 29278var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe, 29285var compilation4 = CreateCompilation(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe, 29368compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 29395compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 29485var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe, 29589var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 30872var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 30941var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe, 30955var compilation4 = CreateCompilation(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe, 31106options: TestOptions.DebugExe, 31132var compilation2 = CreateCompilation(source0 + source2, options: TestOptions.DebugExe, 31179var compilation4 = CreateCompilation(source3, options: TestOptions.DebugExe, 31191var compilation5 = CreateCompilation(source4, options: TestOptions.DebugExe, 31217var compilation6 = CreateCompilation(source1, options: TestOptions.DebugExe, 31761var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 31820var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 31943var compilation1 = CreateCompilation(source0 + source1, options: TestOptions.DebugExe, 31994var compilation2 = CreateCompilation(source2 + source0, options: TestOptions.DebugExe, 32035var compilation4 = CreateCompilation(source1, options: TestOptions.DebugExe, 32049var compilation5 = CreateCompilation(source2, options: TestOptions.DebugExe, 32134var compilation1 = CreateCompilation(source0 + source1, options: TestOptions.DebugExe, 32169var compilation4 = CreateCompilation(source1, options: TestOptions.DebugExe, 32183var compilation5 = CreateCompilation(source2, options: TestOptions.DebugExe, 32268var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe); 32298var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe); 32492var compilation1 = CreateCompilation(source0 + source1, options: TestOptions.DebugExe, 32519var compilation2 = CreateCompilation(source2 + source0, options: TestOptions.DebugExe, 32560var compilation4 = CreateCompilation(source1, options: TestOptions.DebugExe, 32567var compilation5 = CreateCompilation(source2, options: TestOptions.DebugExe, 32970var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 32986var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 33002var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe, 33991var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 34152var compilation1 = CreateCompilation(source1 + source2 + source3, options: TestOptions.DebugExe, 34168var compilation2 = CreateCompilation(source3, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 34184var compilation3 = CreateCompilation(source3, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe, 34512var compilation4 = CreateCompilation(source4, new[] { ref1 }, options: TestOptions.DebugExe, 34596var compilation5 = CreateCompilation(source5, new[] { ref1, ref2 }, options: TestOptions.DebugExe, 34808var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 34905var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 34923var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe, 35480var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 35589var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 35702var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 35815var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 35921var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 36026var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 36124var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 36238var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 36397var compilation1 = CreateCompilation(source1 + source2 + source3, options: TestOptions.DebugExe, 36415var compilation2 = CreateCompilation(source3, new[] { reference }, options: TestOptions.DebugExe, 36440var compilation5 = CreateCompilation(source2 + source3, new[] { reference }, options: TestOptions.DebugExe, 36585var compilation1 = CreateCompilation(source1 + source2 + source3, options: TestOptions.DebugExe, 36603var compilation2 = CreateCompilation(source3, new[] { reference }, options: TestOptions.DebugExe, 36628var compilation5 = CreateCompilation(source2 + source3, new[] { reference }, options: TestOptions.DebugExe, 36773var compilation1 = CreateCompilation(source1 + source2 + source3, options: TestOptions.DebugExe, 36791var compilation2 = CreateCompilation(source3, new[] { reference }, options: TestOptions.DebugExe, 36995foreach (var options in new[] { TestOptions.DebugExe, TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All) }) 38412var compilation1 = CreateCompilation(source1 + source2 + source3, options: TestOptions.DebugExe, 38431var compilation2 = CreateCompilation(source3, new[] { reference }, options: TestOptions.DebugExe, 38457var compilation5 = CreateCompilation(source2 + source3, new[] { reference }, options: TestOptions.DebugExe, 38849var compilation4 = CreateCompilation(source4, new[] { ref1 }, options: TestOptions.DebugExe, 38920var compilation5 = CreateCompilation(source5, new[] { ref1, ref2 }, options: TestOptions.DebugExe, 39117var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 39186var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 39204var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe, 40025var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 40043var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 40061var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe, 41080var compilation1 = CreateCompilation(source1 + source2 + source3, options: TestOptions.DebugExe, 41098var compilation2 = CreateCompilation(source3, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 41116var compilation3 = CreateCompilation(source3, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe, 41511var compilation4 = CreateCompilation(source4, new[] { ref1 }, options: TestOptions.DebugExe, 41598var compilation5 = CreateCompilation(source5, new[] { ref1, ref2 }, options: TestOptions.DebugExe, 41793var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 41862var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 41880var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe, 42030var compilation1 = CreateCompilation(source1 + source2 + source3, options: TestOptions.DebugExe, 42050var compilation2 = CreateCompilation(source3, new[] { reference }, options: TestOptions.DebugExe, 42077var compilation5 = CreateCompilation(source2 + source3, new[] { reference }, options: TestOptions.DebugExe, 42234var compilation1 = CreateCompilation(source1 + source2 + source3, options: TestOptions.DebugExe, 42254var compilation2 = CreateCompilation(source3, new[] { reference }, options: TestOptions.DebugExe, 42281var compilation5 = CreateCompilation(source2 + source3, new[] { reference }, options: TestOptions.DebugExe, 42438var compilation1 = CreateCompilation(source1 + source2 + source3, options: TestOptions.DebugExe, 42458var compilation2 = CreateCompilation(source3, new[] { reference }, options: TestOptions.DebugExe, 43800var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 43845var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 43850var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe, 43855var compilation4 = CreateCompilation(source1, options: TestOptions.DebugExe, 43879var compilation5 = CreateCompilation(source1, options: TestOptions.DebugExe, 43930var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 43982var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 43987var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe, 43992var compilation4 = CreateCompilation(source1, options: TestOptions.DebugExe, 44015var compilation5 = CreateCompilation(source1, options: TestOptions.DebugExe, 44065var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 44112var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 44117var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe, 44122var compilation4 = CreateCompilation(source1, options: TestOptions.DebugExe, 44145var compilation5 = CreateCompilation(source1, options: TestOptions.DebugExe, 44203var compilation1 = CreateCompilation(source0 + source1, options: TestOptions.DebugExe, 44233var compilation2 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 44253var compilation3 = CreateCompilation(source0 + source3, options: TestOptions.DebugExe, 44279var compilation2 = CreateCompilation(source3 + source4, new[] { reference }, options: TestOptions.DebugExe, 44299var compilation4 = CreateCompilation(source0 + source1, options: TestOptions.DebugExe, 44644var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 44691var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 44725var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 44799var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 44840var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 44885var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 44921var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 44966var compilation1 = CreateCompilation(source0 + source1, options: TestOptions.DebugExe, 44984var compilation2 = CreateCompilation(source0 + source2, options: TestOptions.DebugExe, 45058var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 45103var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 45108var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe, 45113var compilation4 = CreateCompilation(source1, options: TestOptions.DebugExe, 45146var compilation5 = CreateCompilation(source1, options: TestOptions.DebugExe, 45209var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 45256var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 45261var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe, 45266var compilation4 = CreateCompilation(source1, options: TestOptions.DebugExe, 45299var compilation5 = CreateCompilation(source1, options: TestOptions.DebugExe, 45352var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 45395var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 45400var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe, 45405var compilation4 = CreateCompilation(source1, options: TestOptions.DebugExe, 45441var compilation5 = CreateCompilation(source1, options: TestOptions.DebugExe, 45542var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 45587var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 45592var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe, 45597var compilation4 = CreateCompilation(source1, options: TestOptions.DebugExe, 45629var compilation5 = CreateCompilation(source1, options: TestOptions.DebugExe, 45682var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All), 45724var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe, 45729var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe, 45734var compilation4 = CreateCompilation(source1, options: TestOptions.DebugExe, 45766var compilation5 = CreateCompilation(source1, options: TestOptions.DebugExe, 45904var compilation2 = CreateCompilation(source2, options: TestOptions.DebugExe, 45922var compilation3 = CreateCompilation(source3, options: TestOptions.DebugExe, 45938var compilation4 = CreateCompilation(source4, options: TestOptions.DebugExe, targetFramework: TargetFramework.Mscorlib461Extended, 46036var compilation2 = CreateCompilation(source2, options: TestOptions.DebugExe, 46162var compilation3 = CreateCompilation(source3, options: TestOptions.DebugExe, 46200var compilation4 = CreateCompilation(source4, options: TestOptions.DebugExe, 46305var compilation3 = CreateCompilation(source3, options: TestOptions.DebugExe, 46348var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 46374var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe.WithMainTypeName("I2"), 46590var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 46600var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 46607var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 46768var compilation7 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 46846var compilation8 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 46866var compilation9 = CreateCompilation(source3, new[] { compilationReference }, options: TestOptions.DebugExe, 46881var compilation10 = CreateCompilation(source3, new[] { metadataReference }, options: TestOptions.DebugExe, 46951var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp); 46954var compilation2 = CreateCompilation(source1 + source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp, 46997var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp, 47014CreateCompilation(source1 + source2, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp, 47026var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 47030CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 47084var compilation3 = CreateCompilationWithIL(source2, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 47090CreateCompilationWithIL(source2, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics( 47113var compilation4 = CreateCompilationWithIL(source3, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview); 47122CreateCompilationWithIL(source3, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics( 47224var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp, 47233var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 47239var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 47258var compilation9 = CreateCompilation(source3, new[] { compilationReference }, options: TestOptions.DebugExe, 47269var compilation10 = CreateCompilation(source3, new[] { metadataReference }, options: TestOptions.DebugExe, 47316var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 47325var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 47331var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 47392var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 47401var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 47407var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 47465var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 47472var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 47522var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 47531var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 47537var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 47603var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 47612var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 47618var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 47686var compilation1 = CreateCompilation(source3, new[] { compilationReference0 }, options: TestOptions.DebugExe, 47691var compilation2 = CreateCompilation(source3, new[] { metadataReference0 }, options: TestOptions.DebugExe, 47718var compilation4 = CreateCompilation(source3, new[] { compilationReference3 }, options: TestOptions.DebugExe, 47723var compilation5 = CreateCompilation(source3, new[] { metadataReference3 }, options: TestOptions.DebugExe, 47747var compilation7 = CreateCompilation(source3, new[] { compilationReference6 }, options: TestOptions.DebugExe, 47752var compilation8 = CreateCompilation(source3, new[] { metadataReference6 }, options: TestOptions.DebugExe, 47819var compilation1 = CreateCompilation(source3, new[] { compilationReference0 }, options: TestOptions.DebugExe, 47824var compilation2 = CreateCompilation(source3, new[] { metadataReference0 }, options: TestOptions.DebugExe, 47851var compilation4 = CreateCompilation(source3, new[] { compilationReference3 }, options: TestOptions.DebugExe, 47856var compilation5 = CreateCompilation(source3, new[] { metadataReference3 }, options: TestOptions.DebugExe, 47880var compilation7 = CreateCompilation(source3, new[] { compilationReference6 }, options: TestOptions.DebugExe, 47885var compilation8 = CreateCompilation(source3, new[] { metadataReference6 }, options: TestOptions.DebugExe, 47947var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 47952var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 48014var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 48019var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 48081var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 48090var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 48096var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 48138var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 48147var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 48153var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 48205var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 48214var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 48220var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 48240var compilation9 = CreateCompilation(source3, new[] { compilationReference }, options: TestOptions.DebugExe, 48254var compilation10 = CreateCompilation(source3, new[] { metadataReference }, options: TestOptions.DebugExe, 48302var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 48311var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 48317var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 48372var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 48381var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 48387var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 48436var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 48445var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 48451var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 48515var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 48524var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 48530var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 48587var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 48596var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 48602var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 48668var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 48673var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 48738var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 48743var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 48800var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 48807var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 48892var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 48901var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 48907var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 48958var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 48967var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 48973var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 49065var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 49074var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 49080var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 49297var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 49306var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 49312var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 49530var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, 49546var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.DebugExe, 49552var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.DebugExe, 49957var compilation0 = CreateCompilation(source0 + source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp); 49983var compilation1 = CreateCompilation(source0 + source2, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp); 50046var compilation0 = CreateCompilation(source0, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp); 50085var compilation0 = CreateCompilation(source0 + source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp); 50111var compilation1 = CreateCompilation(source0 + source2, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp); 50248var compilation0 = CreateCompilation(source0 + source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp); 50308var compilation0 = CreateCompilation(source0 + source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp); 50845var compilation0 = CreateCompilation(source0, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net50); 50898var compilation0 = CreateCompilation(source0, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net50); 50951var compilation0 = CreateCompilation(source0, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net50); 51222var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 51239var compilation3 = CreateCompilation(source2, options: TestOptions.DebugExe, references: new[] { reference }, 51503var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 51520var compilation3 = CreateCompilation(source2, options: TestOptions.DebugExe, references: new[] { reference }, 51896var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 51913var compilation3 = CreateCompilation(source2, options: TestOptions.DebugExe, references: new[] { reference }, 52691var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 52708var compilation3 = CreateCompilation(source2, options: TestOptions.DebugExe, references: new[] { reference }, 53019var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 53036var compilation3 = CreateCompilation(source2, options: TestOptions.DebugExe, references: new[] { reference }, 53488var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 53505var compilation3 = CreateCompilation(source2, options: TestOptions.DebugExe, references: new[] { reference }, 57649var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 57666var compilation3 = CreateCompilation(source2, options: TestOptions.DebugExe, references: new[] { reference }, 57958var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 57975var compilation3 = CreateCompilation(source2, options: TestOptions.DebugExe, references: new[] { reference }, 58390var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.DebugExe, 58407var compilation3 = CreateCompilation(source2, options: TestOptions.DebugExe, references: new[] { reference }, 62377var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp); 62470var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp); 62515var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.NetCoreApp); 62530compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp); 63860var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net60); 64609var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net60); 64759var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net60); 65160var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 65204var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 65248var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 65301var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 65353var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 66753var compilation2 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 66806var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 66841var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 66872var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 66933var compilation2 = CreateCompilation(source2, new[] { reference }, options: TestOptions.DebugExe, 66993var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 67005compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 67034var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 67046compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 67098var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 67110compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 67932var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 67998var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 68063var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, 68161var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net60, 68193var 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)
1568options: TestOptions.DebugExe, 1604options: TestOptions.DebugExe, 2719options: TestOptions.DebugExe); 2746options: TestOptions.DebugExe, 2764options: TestOptions.DebugExe); 2792options: TestOptions.DebugExe, 3020var 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)
1156var 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)
20522var 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)
84public static readonly CSharpCompilationOptions DebugExeThrowing = DebugExe.WithMetadataReferenceResolver(new ThrowingMetadataReferenceResolver()); 96public 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);