3218 references to DebugExe
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (1)
CommandLineTests.cs (1)
15637
var comp = CreateCompilation(src, options: TestOptions.
DebugExe
.WithGeneralDiagnosticOption(ReportDiagnostic.Suppress));
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (767)
CodeGen\CodeGenAsyncEHTests.cs (7)
940
var v = CompileAndVerify(source, s_asyncRefs, targetFramework: TargetFramework.Empty, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All), expectedOutput: expected, symbolValidator: module =>
2170
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
2267
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
2335
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
2413
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput,
2472
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
2543
CompileAndVerify(CreateCompilationWithTasksExtensions(sources, options: TestOptions.
DebugExe
), expectedOutput: expectedOutput).VerifyDiagnostics();
CodeGen\CodeGenAsyncIteratorTests.cs (96)
180
}", options: TestOptions.
DebugExe
);
359
}", options: TestOptions.
DebugExe
);
657
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
660
comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular13);
663
comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular12);
709
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular12);
715
comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular13);
718
comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
868
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular12);
874
comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular13);
877
comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
1861
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
2187
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations: 2), source }, options: TestOptions.
DebugExe
);
2360
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
2401
var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.
DebugExe
);
2479
var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.
DebugExe
);
2528
var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.
DebugExe
);
2573
var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.
DebugExe
);
2616
var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.
DebugExe
);
2646
foreach (var options in new[] { TestOptions.
DebugExe
, TestOptions.ReleaseExe })
2672
if (options == TestOptions.
DebugExe
)
2877
if (options == TestOptions.
DebugExe
)
4246
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
4279
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
4311
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
4344
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
4395
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
4426
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
4455
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
4478
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
4512
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
4556
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
4584
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
4657
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
4692
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
4740
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
4781
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
4827
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
4876
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
4920
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
4974
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
5018
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
5064
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
5117
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
5150
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
5181
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
5246
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
5280
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
5311
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
5343
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
5378
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
5412
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
5451
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
5491
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
5569
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
5662
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
5697
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
5727
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
5758
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
5791
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
6183
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
6217
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
6258
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
6297
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
6333
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
6367
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
6409
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
6437
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
6650
var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, options: TestOptions.
DebugExe
);
6673
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
6703
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
6749
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
6826
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
6890
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
6939
var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, options: TestOptions.
DebugExe
);
6991
var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
7042
var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, options: TestOptions.
DebugExe
);
7090
var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, options: TestOptions.
DebugExe
);
7139
foreach (var options in new[] { TestOptions.
DebugExe
, TestOptions.ReleaseExe })
7272
foreach (var options in new[] { TestOptions.
DebugExe
, TestOptions.ReleaseExe })
7404
foreach (var options in new[] { TestOptions.
DebugExe
, TestOptions.ReleaseExe })
7449
var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, options: TestOptions.
DebugExe
);
7495
var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, options: TestOptions.
DebugExe
);
7553
foreach (var options in new[] { TestOptions.
DebugExe
, TestOptions.ReleaseExe })
7613
foreach (var options in new[] { TestOptions.
DebugExe
, TestOptions.ReleaseExe })
7652
var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, options: TestOptions.
DebugExe
);
7679
var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, TestOptions.
DebugExe
);
7710
var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, TestOptions.
DebugExe
, TestOptions.Regular9);
7936
var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, options: TestOptions.
DebugExe
);
7980
var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, options: TestOptions.
DebugExe
);
8038
var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, options: TestOptions.
DebugExe
);
8231
}", options: TestOptions.
DebugExe
);
8280
}", options: TestOptions.
DebugExe
);
8329
}", options: TestOptions.
DebugExe
);
8597
var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.
DebugExe
);
10295
verify: Verification.Skipped, targetFramework: TargetFramework.Net80, options: TestOptions.
DebugExe
);
CodeGen\CodeGenAsyncLocalsTests.cs (3)
150
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expected);
1691
verifier = CompileAndVerify(text, options: TestOptions.
DebugExe
, expectedOutput: @"2");
2016
verifier = CompileAndVerify(text, options: TestOptions.
DebugExe
, expectedOutput: @"2");
CodeGen\CodeGenAsyncMainTests.cs (41)
40
var sourceCompilation = CreateCompilationWithMscorlib40(source, options: TestOptions.
DebugExe
.WithMainTypeName("Program"), parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1));
65
var sourceCompilation = CreateCompilationWithMscorlib40(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7));
93
var sourceCompilation = CreateCompilationWithMscorlib40(source, options: TestOptions.
DebugExe
.WithMainTypeName("Program"), parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7));
118
var sourceCompilation = CreateCompilationWithMscorlib40(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1));
159
var sourceCompilation = CreateCompilationWithMscorlib40(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7));
202
var sourceCompilation = CreateCompilationWithMscorlib40(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1));
233
var sourceCompilation = CreateCompilationWithMscorlib40(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7));
270
var sourceCompilation = CreateCompilationWithMscorlib40(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1));
306
var sourceCompilation = CreateCompilationWithMscorlib40(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1));
337
var sourceCompilation = CreateCompilationWithMscorlib40(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1));
381
var sourceCompilation = CreateEmptyCompilation(source, new[] { corCompilation.ToMetadataReference(), taskCompilation.ToMetadataReference() }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1));
421
var sourceCompilation = CreateEmptyCompilation(source, new[] { corCompilation.ToMetadataReference(), taskCompilation.ToMetadataReference() }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1));
449
var c = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1));
467
var c = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1));
489
var c = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1));
508
var c = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1));
526
var c = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1));
544
var c = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1));
566
var c = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1));
584
var c = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1));
601
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1));
623
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1));
645
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1));
667
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7));
690
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7));
712
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1));
789
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1));
809
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7));
831
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1));
858
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7));
883
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1));
903
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1));
923
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7));
945
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7));
967
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1));
987
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1));
1007
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7));
1029
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7));
1411
var sourceCompilation = CreateCompilationWithMscorlib40(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1));
1465
var sourceCompilation = CreateCompilationWithMscorlib40(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1));
1520
var sourceCompilation = CreateCompilationWithMscorlib40(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1));
CodeGen\CodeGenAsyncSpillTests.cs (11)
3032
CompileAndVerify(source, expectedOutput: "", options: TestOptions.
DebugExe
);
3060
CompileAndVerify(source, expectedOutput: "43", options: TestOptions.
DebugExe
);
3090
CompileAndVerify(source, expectedOutput: "43", options: TestOptions.
DebugExe
);
3117
CompileAndVerify(source, expectedOutput: "", options: TestOptions.
DebugExe
);
3578
var v = CompileAndVerify(source, options: TestOptions.
DebugExe
);
3708
var comp = CreateCompilationWithMscorlibAndSpan(source, options: TestOptions.
DebugExe
);
3750
var comp = CreateCompilationWithMscorlibAndSpan(source, options: TestOptions.
DebugExe
);
3787
foreach (var options in new[] { TestOptions.
DebugExe
, TestOptions.ReleaseExe })
3845
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: "2");
3942
CompileAndVerify(source, expectedOutput: "42", options: TestOptions.
DebugExe
);
3980
CompileAndVerify(source, expectedOutput: "True", options: TestOptions.
DebugExe
);
CodeGen\CodeGenAsyncTests.cs (30)
83
options = TestOptions.
DebugExe
;
2488
var c = CompileAndVerify(source, expectedOutput: expected, options: TestOptions.
DebugExe
);
3549
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
3619
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
3644
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
3672
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
3697
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
3784
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
3835
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
3868
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
3992
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
4075
var comp1 = CreateCompilation(source1, options: TestOptions.
DebugExe
);
4109
var comp2 = CreateCompilation(source2, options: TestOptions.
DebugExe
);
4383
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
4420
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
4457
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
4498
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
4508
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.
DebugExe
);
4517
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.
DebugExe
);
4527
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.
DebugExe
);
4571
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.
DebugExe
);
4605
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
4700
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
4741
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
4791
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
4844
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
4902
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
5252
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
5291
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
5877
CompileAndVerify(source, options: TestOptions.
DebugExe
, verify: Verification.Skipped, expectedOutput: "0123").VerifyDiagnostics(diags);
CodeGen\CodeGenAwaitForeachTests.cs (105)
176
var comp_checked = CreateCompilationWithTasksExtensions(new[] { source.Replace("REPLACE", "checked"), s_IAsyncEnumerable }, options: TestOptions.
DebugExe
);
180
var comp_unchecked = CreateCompilationWithTasksExtensions(new[] { source.Replace("REPLACE", "unchecked"), s_IAsyncEnumerable }, options: TestOptions.
DebugExe
);
816
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
);
851
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
);
1038
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
);
1082
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
);
1139
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
);
1179
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
);
1222
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
);
1269
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
);
1312
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
);
1594
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
);
2059
var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.
DebugExe
);
2561
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
);
2912
var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.
DebugExe
);
2963
var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.
DebugExe
);
3028
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
);
3066
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
);
3106
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
);
3157
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
);
3198
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
);
3287
var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.
DebugExe
);
3345
var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.
DebugExe
);
3541
var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.
DebugExe
);
3708
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
);
3781
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
);
4051
var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.
DebugExe
);
4105
var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.
DebugExe
);
4161
var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.
DebugExe
);
4216
var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.
DebugExe
);
4307
var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.
DebugExe
);
4367
var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.
DebugExe
);
4456
var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.
DebugExe
);
4529
var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.
DebugExe
);
4585
var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.
DebugExe
);
4639
var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.
DebugExe
);
4739
var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.
DebugExe
);
4818
var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.
DebugExe
);
4853
var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.
DebugExe
);
4899
var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.
DebugExe
);
5042
var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.
DebugExe
);
5123
var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.
DebugExe
);
5349
var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.
DebugExe
);
5623
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
);
5719
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
);
5764
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
);
5807
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
);
5855
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
);
5899
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
);
6033
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
);
6077
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
);
6123
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
);
6168
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
);
6322
var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
6346
var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
6433
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
6476
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
6506
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
6536
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
6754
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
6789
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
6820
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
6852
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
6951
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
6982
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
7012
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
7043
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
7073
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
7103
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
7133
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
7168
options: TestOptions.
DebugExe
,
7201
var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
7237
var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
7352
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
7439
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
7472
CreateCompilationWithCSharp(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9)
7629
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
7749
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
7825
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
7896
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
7963
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
8099
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
8132
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
8195
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
8225
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
8337
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
8374
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
8407
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
8440
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
8474
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
8507
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
8537
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
8573
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
8620
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
8687
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
8738
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
8787
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
8932
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
8967
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
9037
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
9088
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
,
9164
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
,
9242
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
,
9315
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
);
9374
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
,
CodeGen\CodeGenAwaitUsingTests.cs (40)
171
var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
);
213
var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
);
297
var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
);
321
var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
);
341
comp = CreateCompilationWithTasksExtensions([source, IAsyncDisposableDefinition], parseOptions: TestOptions.Regular8, options: TestOptions.
DebugExe
);
401
var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
);
516
var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
);
552
var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
);
579
var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
);
842
var comp = CreateCompilationWithTasksExtensions(comp_cs, references: new[] { libComp.EmitToImageReference() }, options: TestOptions.
DebugExe
);
879
var comp = CreateCompilationWithTasksExtensions(comp_cs, references: new[] { libComp.EmitToImageReference() }, options: TestOptions.
DebugExe
);
909
var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
);
989
var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
);
1066
var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
, references: new[] { CSharpRef });
1093
var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
, references: new[] { CSharpRef });
1119
var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
);
1293
var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
);
1468
var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
);
1638
var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
);
1687
var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
, references: new[] { CSharpRef });
1713
var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
);
1882
var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
);
2060
var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
);
2087
var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
);
2114
var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
);
2186
var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
);
2225
var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
);
2270
var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
);
2369
var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
);
2400
var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
);
2428
var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
);
2461
var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
);
2491
var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
);
2524
var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
);
2554
var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
);
2584
var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
);
2697
var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
);
2906
var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
);
2935
var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
);
2966
var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
);
CodeGen\CodeGenClosureLambdaTests.cs (1)
4454
var compilation = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: @"True
CodeGen\CodeGenConditionalOperatorTests.cs (10)
90
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput);
625
options: TestOptions.
DebugExe
,
749
options: TestOptions.
DebugExe
,
875
options: TestOptions.
DebugExe
,
1004
options: TestOptions.
DebugExe
,
1153
options: TestOptions.
DebugExe
,
1237
options: TestOptions.
DebugExe
,
1327
options: TestOptions.
DebugExe
,
1433
options: TestOptions.
DebugExe
,
2778
options: TestOptions.
DebugExe
,
CodeGen\CodeGenDeconstructTests.cs (66)
1460
var comp = CreateCompilationWithMscorlib40(source, parseOptions: TestOptions.Regular7, options: TestOptions.
DebugExe
);
1503
var comp = CreateCompilationWithMscorlib40(source, parseOptions: TestOptions.Regular7, options: TestOptions.
DebugExe
);
5046
var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.
DebugExe
, references: s_valueTupleRefs);
5119
var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
, references: s_valueTupleRefs);
5137
var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.
DebugExe
, references: s_valueTupleRefs);
5151
var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.
DebugExe
, references: s_valueTupleRefs);
5197
var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.
DebugExe
, references: s_valueTupleRefs);
5212
var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.
DebugExe
, references: s_valueTupleRefs);
5321
var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.
DebugExe
, references: s_valueTupleRefs);
5357
var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.
DebugExe
, references: s_valueTupleRefs);
5371
var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script.WithLanguageVersion(LanguageVersion.CSharp6), options: TestOptions.
DebugExe
, references: s_valueTupleRefs);
5391
var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.
DebugExe
, references: s_valueTupleRefs);
5424
var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.
DebugExe
, references: s_valueTupleRefs);
5459
var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.
DebugExe
, references: s_valueTupleRefs);
5494
var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.
DebugExe
, references: s_valueTupleRefs);
5525
var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.
DebugExe
, references: s_valueTupleRefs);
5557
var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.
DebugExe
, references: s_valueTupleRefs);
5582
var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.
DebugExe
, references: s_valueTupleRefs);
5630
var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.
DebugExe
, references: s_valueTupleRefs);
5671
var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.
DebugExe
, references: s_valueTupleRefs);
5716
var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.
DebugExe
, references: s_valueTupleRefs);
5758
var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.
DebugExe
, references: s_valueTupleRefs);
5797
var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.
DebugExe
, references: s_valueTupleRefs);
5847
var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.
DebugExe
, references: s_valueTupleRefs);
5901
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
5945
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
5972
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
5992
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
6172
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
6199
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
6231
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
6277
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
6298
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
6330
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
6360
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
6387
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
6474
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
6503
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
6555
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
6702
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
6727
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
6746
var compCSharp9 = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
6762
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular10);
6790
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
6816
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
6836
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
6877
var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.
DebugExe
, references: s_valueTupleRefs);
6896
var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.
DebugExe
);
6911
var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.
DebugExe
, references: s_valueTupleRefs);
6946
var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.
DebugExe
, references: s_valueTupleRefs);
6968
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
7034
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
7058
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
7089
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
7114
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
7147
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
7198
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
7260
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
7460
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
7661
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
7703
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
8207
var comp = CreateCompilationWithMscorlib461(source, references: s_valueTupleRefs, options: TestOptions.
DebugExe
);
8755
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7, options: TestOptions.
DebugExe
);
9038
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
9063
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
9491
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
CodeGen\CodeGenDisplayClassOptimisationTests.cs (1)
129
var compilation = CompileAndVerify(source, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), expectedOutput: @"3", options: TestOptions.
DebugExe
);
CodeGen\CodeGenDynamicTests.cs (2)
15343
comp = CreateCompilationWithCSharp(source, options: TestOptions.
DebugExe
);
15388
comp = CreateCompilationWithCSharp(source, options: TestOptions.
DebugExe
);
CodeGen\CodeGenForEachTests.cs (3)
3298
var comp = CreateCompilationWithSpan(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
3329
var comp = CreateCompilationWithIndexAndRange(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
3684
var comp = CreateCompilationWithCSharp(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9)
CodeGen\CodeGenLocalFunctionTests.cs (2)
5523
options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
5530
options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
CodeGen\CodeGenNullCoalescingAssignmentTests.cs (1)
2918
1", options: TestOptions.
DebugExe
);
CodeGen\CodeGenOperators.cs (8)
48
compilation = CompileAndVerify(source, expectedOutput: "False", options: TestOptions.
DebugExe
);
105
compilation = CompileAndVerify(source, expectedOutput: "False", options: TestOptions.
DebugExe
);
173
compilation = CompileAndVerify(source, expectedOutput: "False", options: TestOptions.
DebugExe
);
247
compilation = CompileAndVerify(source, expectedOutput: "False Branch not taken-True Branch taken", options: TestOptions.
DebugExe
);
310
compilation = CompileAndVerify(source, expectedOutput: "True Branch taken", options: TestOptions.
DebugExe
);
363
compilation = CompileAndVerify(source, expectedOutput: "True Branch taken", options: TestOptions.
DebugExe
);
1865
options: TestOptions.
DebugExe
, expectedOutput: "C");
3480
var comp = CompileAndVerify(text, options: TestOptions.
DebugExe
, expectedOutput: @"True
CodeGen\CodeGenOptimizedNullableOperators.cs (53)
831
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput);
936
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput);
1018
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput);
2756
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
2802
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
2845
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
2882
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
2930
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
2975
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
3012
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
3049
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
3086
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
3124
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
3162
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
3202
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
3249
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
3293
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
3340
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
3389
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
3437
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
3485
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
3535
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
3585
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
3641
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
3694
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
3750
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
3803
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
3860
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
3914
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
3964
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
4019
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
4079
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
4132
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
4193
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
4254
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
4301
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
4339
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
4399
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
4452
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
4512
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
4565
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
4613
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
4652
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
4700
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
4739
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
4787
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
4826
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
4874
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
4913
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
4973
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
5026
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
5075
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
5115
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: output);
CodeGen\CodeGenRefConditionalOperatorTests.cs (8)
1405
CompileAndVerify(source, expectedOutput: "0123-1230", options: TestOptions.
DebugExe
);
1540
CompileAndVerify(source, expectedOutput: "0123-1230", options: TestOptions.
DebugExe
);
1685
CompileAndVerify(source, expectedOutput: "0123-1230", options: TestOptions.
DebugExe
);
1838
CompileAndVerify(source, expectedOutput: "0123-1230", options: TestOptions.
DebugExe
);
2061
CompileAndVerify(source, expectedOutput: "124-123", options: TestOptions.
DebugExe
);
2384
CompileAndVerify(source, targetFramework: TargetFramework.NetCoreApp, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? expectedOutput : null, options: TestOptions.
DebugExe
, verify: Verification.FailsPEVerify);
2423
CompileAndVerify(source, targetFramework: TargetFramework.NetCoreApp, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? expectedOutput : null, options: TestOptions.
DebugExe
, verify: Verification.FailsPEVerify);
2474
CompileAndVerify(source, targetFramework: TargetFramework.NetCoreApp, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? expectedOutput : null, options: TestOptions.
DebugExe
, verify: Verification.FailsPEVerify);
CodeGen\CodeGenRefLocalTests.cs (6)
4508
var verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: "");
4561
var verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: "");
4613
var verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: "");
4664
var verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: "");
4713
var verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: "");
4749
var verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: "");
CodeGen\CodeGenScriptTests.cs (2)
496
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.
DebugExe
);
603
var compilation = CreateCompilationWithMscorlib40(source, parseOptions: TestOptions.Script, options: TestOptions.
DebugExe
);
CodeGen\CodeGenShortCircuitOperatorTests.cs (21)
5181
var verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true), verify: Verification.Fails, expectedOutput: @"---
5232
var verifier = CompileAndVerify(source, verify: Verification.FailsILVerify, options: TestOptions.
DebugExe
.WithAllowUnsafe(true), expectedOutput: @"---
5289
var verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: @"---
5416
var verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: @"---
5543
var verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true), verify: Verification.Fails, expectedOutput: @"---
5616
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true));
5669
var verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: @" ---
5718
var verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: @"---
5807
var verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: @"---
5863
source, references: new[] { SystemRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929, CSharpRef }, options: TestOptions.
DebugExe
);
6992
var verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput:
7052
var verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput:
7119
var verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput:
7179
var verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput:
7234
var verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput:
7278
var verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput:
7324
var comp = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: @"", verify: Verification.Fails);
7349
comp = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: @"", parseOptions: TestOptions.Regular.WithPEVerifyCompatFeature(), verify: Verification.Passes);
7392
var verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: @"");
7469
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput);
7520
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput);
CodeGen\CodeGenStackAllocInitializerTests.cs (6)
981
options: TestOptions.
DebugExe
).VerifyDiagnostics();
1138
options: TestOptions.
DebugExe
).VerifyDiagnostics();
1237
options: TestOptions.
DebugExe
).VerifyDiagnostics();
1293
options: TestOptions.
DebugExe
).VerifyDiagnostics();
1348
options: TestOptions.
DebugExe
).VerifyDiagnostics();
1675
options: TestOptions.
DebugExe
).VerifyDiagnostics();
CodeGen\CodeGenStructsAndEnum.cs (1)
525
CompileAndVerify(text, options: TestOptions.
DebugExe
).VerifyIL("Struct.Main()", expectedIL);
CodeGen\CodeGenTests.cs (12)
1814
var v = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: "42123");
5685
var v = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: @"1");
7876
var compilation = CompileAndVerify(source, options: TestOptions.
DebugExe
.WithModuleName("MODULE"));
13435
var comp = CompileAndVerify(code, expectedOutput: "5", options: TestOptions.
DebugExe
);
13613
var compDebug = CreateCompilation(source, options: TestOptions.
DebugExe
);
13656
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
16334
comp = CreateCompilationWithMscorlibAndSpan(source, TestOptions.
DebugExe
);
16421
comp = CreateCompilationWithMscorlibAndSpan(source, TestOptions.
DebugExe
);
16500
comp = CreateCompilationWithMscorlibAndSpan(source, TestOptions.
DebugExe
);
16559
comp = CreateCompilationWithMscorlibAndSpan(source, TestOptions.
DebugExe
);
16657
comp = CreateCompilationWithMscorlibAndSpan(source, TestOptions.
DebugExe
);
17311
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
CodeGen\CodeGenTryFinally.cs (2)
3730
CompileAndVerify(source, expectedOutput: "", options: TestOptions.
DebugExe
);
3858
verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: "M1M4M1M2Catch",
CodeGen\CodeGenTupleEqualityTests.cs (70)
66
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, assemblyName: name);
785
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
830
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
847
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
895
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
944
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
994
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
1048
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
1082
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
1114
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
1145
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
1205
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
1234
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
1259
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
1281
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
1305
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
1489
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
1550
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
1587
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
1612
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
1806
var comp = CreateCompilation(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.
DebugExe
);
1822
var comp = CreateCompilation(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.
DebugExe
);
1840
var comp = CreateCompilation(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.
DebugExe
);
1860
var comp = CreateCompilation(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.
DebugExe
);
1893
var comp = CreateCompilation(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.
DebugExe
);
1911
var comp = CreateCompilation(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.
DebugExe
);
2058
var comp = CreateCompilationWithMscorlib40(source, options: TestOptions.
DebugExe
);
2098
var comp = CreateCompilationWithMscorlib40(source, options: TestOptions.
DebugExe
);
2154
var comp = CreateCompilationWithMscorlib40(source, options: TestOptions.
DebugExe
);
2175
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
2219
var comp = CreateCompilation(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.
DebugExe
);
2266
var comp = CreateCompilation(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.
DebugExe
);
2297
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
2414
var comp = CreateCompilation(source.Replace("EXPRESSION", expression), options: TestOptions.
DebugExe
);
2502
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
2732
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
2819
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
2983
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
3013
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
3271
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
3356
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
3391
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
3426
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
3642
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
3677
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
3776
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
3801
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
3904
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
3997
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
4075
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
4116
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
4177
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
4231
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
4333
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
4381
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
4478
targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.
DebugExe
);
4582
targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.
DebugExe
);
4671
var comp = CreateCompilation(source.Replace("REPLACE", expression), options: TestOptions.
DebugExe
);
4978
var comp = CreateCompilationWithMscorlib40(source, options: TestOptions.
DebugExe
);
5045
var comp = CreateCompilation(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.
DebugExe
);
5085
var comp = CreateCompilation(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.
DebugExe
);
5107
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
5150
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
5296
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
5343
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
5371
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
5392
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
5418
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
5502
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
5558
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
CodeGen\CodeGenTupleTest.cs (74)
5408
CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
5418
CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
5533
options: TestOptions.
DebugExe
);
7491
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
7524
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
7561
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
7618
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
16794
options: TestOptions.
DebugExe
);
16805
options: TestOptions.
DebugExe
);
16816
options: TestOptions.
DebugExe
);
16856
options: TestOptions.
DebugExe
);
16867
options: TestOptions.
DebugExe
);
16888
options: TestOptions.
DebugExe
);
16928
options: TestOptions.
DebugExe
);
16942
options: TestOptions.
DebugExe
);
16963
options: TestOptions.
DebugExe
);
17025
options: TestOptions.
DebugExe
);
17048
options: TestOptions.
DebugExe
);
17075
options: TestOptions.
DebugExe
);
17126
options: TestOptions.
DebugExe
);
17180
options: TestOptions.
DebugExe
);
20541
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
21345
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
22396
options: TestOptions.
DebugExe
);
22770
var comp = CreateCompilation(source, assemblyName: "comp", options: TestOptions.
DebugExe
);
22810
var comp = CreateCompilationWithMscorlib40(source, assemblyName: "comp", references: new[] { libComp.EmitToImageReference() }, options: TestOptions.
DebugExe
);
22847
options: TestOptions.
DebugExe
,
22897
var comp = CreateCompilation(source, assemblyName: "ValueTupleNotStruct", options: TestOptions.
DebugExe
);
22966
var comp = CreateCompilation(source, assemblyName: "ValueTupleNotStruct", options: TestOptions.
DebugExe
);
23010
var comp = CreateCompilation(source, assemblyName: "ValueTupleNotStruct", options: TestOptions.
DebugExe
);
23044
var comp = CreateCompilation(source, assemblyName: "ValueTupleNotStruct", options: TestOptions.
DebugExe
);
23086
var comp = CreateCompilation(source, assemblyName: "ValueTupleNotStruct", options: TestOptions.
DebugExe
);
23125
var comp = CreateCompilation(source, assemblyName: "ValueTupleNotStruct", options: TestOptions.
DebugExe
);
23446
var comp = CompileAndVerify(source, expectedOutput: "42qq", references: new[] { libComp.ToMetadataReference() }, options: TestOptions.
DebugExe
, verify: Verification.Fails);
23502
var comp = CompileAndVerifyWithMscorlib40(source, expectedOutput: "42qq", references: s_valueTupleRefs.Concat(new[] { libCompRef }).ToArray(), options: TestOptions.
DebugExe
, verify: Verification.Fails);
23846
var comp = CreateCompilationWithMscorlib461AndCSharp(source, references: (new[] { libCompRef }).Concat(s_valueTupleRefs).ToArray(), options: TestOptions.
DebugExe
);
23901
var comp = CompileAndVerify(source, expectedOutput: "42qq", references: new[] { libCompRef }, options: TestOptions.
DebugExe
, verify: Verification.Passes);
24254
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
24317
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
24382
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
24454
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
24527
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
24597
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
25018
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
25275
references: new[] { SystemXmlRef }, options: TestOptions.
DebugExe
);
25424
var comp = CreateCompilationWithMscorlib40(source, references: new[] { ValueTupleRef, SystemRuntimeFacadeRef }, options: TestOptions.
DebugExe
);
25617
options: TestOptions.
DebugExe
, expectedOutput:
26216
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
26447
options: TestOptions.
DebugExe
);
26512
options: TestOptions.
DebugExe
);
26569
options: TestOptions.
DebugExe
);
26577
options: TestOptions.
DebugExe
);
26631
var executeComp = CreateCompilation(executable_cs, references: new[] { comp.EmitToImageReference(), libRef, missingRef }, options: TestOptions.
DebugExe
);
27039
var comp1 = CreateCompilation(source0 + source1, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.
DebugExe
);
27046
var comp4 = CreateCompilation(source0 + source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.
DebugExe
);
27049
var comp5 = CreateCompilation(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.
DebugExe
, references: comp1Ref);
27053
var comp6 = CreateCompilation(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.
DebugExe
, references: comp1ImageRef);
27057
var comp7 = CreateCompilation(source2, targetFramework: TargetFramework.Mscorlib46, options: TestOptions.
DebugExe
, references: comp1Ref);
27123
var comp1 = CreateCompilation(source0 + source1, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.
DebugExe
);
27130
var comp4 = CreateCompilation(source0 + source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.
DebugExe
);
27133
var comp5 = CreateCompilation(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.
DebugExe
, references: comp1Ref);
27137
var comp6 = CreateCompilation(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.
DebugExe
, references: comp1ImageRef);
27141
var comp7 = CreateCompilation(source2, targetFramework: TargetFramework.Mscorlib46, options: TestOptions.
DebugExe
, references: comp1Ref);
27197
var comp1 = CreateCompilation(source0 + source1, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.
DebugExe
);
27204
var comp4 = CreateCompilation(source0 + source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.
DebugExe
);
27207
var comp5 = CreateCompilation(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.
DebugExe
, references: comp1Ref);
27211
var comp6 = CreateCompilation(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.
DebugExe
, references: comp1ImageRef);
27215
var comp7 = CreateCompilation(source2, targetFramework: TargetFramework.Mscorlib46, options: TestOptions.
DebugExe
, references: comp1Ref);
27275
var comp1 = CreateCompilation(source0 + source1, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.
DebugExe
);
27282
var comp4 = CreateCompilation(source0 + source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.
DebugExe
);
27285
var comp5 = CreateCompilation(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.
DebugExe
, references: comp1Ref);
27289
var comp6 = CreateCompilation(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.
DebugExe
, references: comp1ImageRef);
27293
var comp7 = CreateCompilation(source2, targetFramework: TargetFramework.Mscorlib46, options: TestOptions.
DebugExe
, references: comp1Ref);
27336
var comp1 = CreateCompilation(source0, options: TestOptions.
DebugExe
.WithAllowUnsafe(true));
CodeGen\CodeGenUsingDeclarationTests.cs (8)
681
var compilation = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
).VerifyDiagnostics();
1162
var compilation = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
).VerifyDiagnostics();
1189
var compilation = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
).VerifyDiagnostics();
1234
var compilation = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
).VerifyDiagnostics();
1281
var compilation = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
).VerifyDiagnostics();
1317
var compilation = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
).VerifyDiagnostics();
1402
var compilation = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
);
1429
var compilation = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
);
CodeGen\EventTests.cs (2)
707
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
779
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
CodeGen\ForeachTest.cs (1)
867
", TestOptions.
DebugExe
);
CodeGen\ForLoopsTests.cs (1)
1916
var c = CompileAndVerify(text, options: TestOptions.
DebugExe
);
CodeGen\GotoTest.cs (5)
932
var compilation = CreateCompilationWithMscorlib461(source, references: new[] { SystemCoreRef }, parseOptions: TestOptions.Script, options: TestOptions.
DebugExe
);
947
var compilation = CreateCompilationWithMscorlib461(source, references: new[] { SystemCoreRef }, parseOptions: TestOptions.Script, options: TestOptions.
DebugExe
);
983
var compilation = CreateCompilationWithMscorlib461(source, references: new[] { SystemCoreRef }, parseOptions: TestOptions.Script, options: TestOptions.
DebugExe
);
1066
var compilation = CreateCompilationWithMscorlib461(source, references: new[] { SystemCoreRef }, parseOptions: TestOptions.Script, options: TestOptions.
DebugExe
);
1086
var compilation = CreateCompilationWithMscorlib461(source, references: new[] { SystemCoreRef }, parseOptions: TestOptions.Script, options: TestOptions.
DebugExe
);
CodeGen\IndexAndRangeTests.cs (3)
1957
var comp = CreateCompilationWithIndex(source, WithNullableEnable(TestOptions.
DebugExe
));
2625
}", options: TestOptions.
DebugExe
);
2689
}", options: TestOptions.
DebugExe
);
CodeGen\ObjectAndCollectionInitializerTests.cs (2)
3534
CompileAndVerify(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true), expectedOutput: "1", verify: Verification.Fails);
3581
var verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true), verify: Verification.Fails, expectedOutput:
CodeGen\PatternTests.cs (32)
235
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
401
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
502
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
634
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
2612
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
2646
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularWithRecursivePatterns);
2667
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularWithRecursivePatterns);
2902
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
2999
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
3055
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
3096
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
3384
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
3473
var v = CompileAndVerify(source, options: TestOptions.
DebugExe
);
3548
foreach (var options in new[] { TestOptions.
DebugExe
, TestOptions.ReleaseExe })
3631
foreach (var options in new[] { TestOptions.
DebugExe
, TestOptions.ReleaseExe })
3703
foreach (var options in new[] { TestOptions.
DebugExe
, TestOptions.ReleaseExe })
3779
foreach (var options in new[] { TestOptions.
DebugExe
, TestOptions.ReleaseExe })
3995
compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
4033
compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
4327
foreach (var compilationOptions in new[] { TestOptions.ReleaseExe, TestOptions.
DebugExe
})
5453
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
5507
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularWithPatternCombinators);
5607
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularWithPatternCombinators);
5715
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularWithPatternCombinators);
5879
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularWithPatternCombinators);
6023
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularWithPatternCombinators);
6195
var verifier = CompileAndVerify(source, expectedOutput: "012323", options: TestOptions.
DebugExe
);
6280
var verifier = CompileAndVerify(source, expectedOutput: " 0 1 2 3 2 3", options: TestOptions.
DebugExe
);
6369
var verifier = CompileAndVerify(source, expectedOutput: "0123452345", options: TestOptions.
DebugExe
);
6465
var verifier = CompileAndVerify(source, expectedOutput: "0123233", options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
6650
var verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: "012");
6852
var verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: "System.ActionSystem.Action");
CodeGen\SwitchTests.cs (3)
429
var compVerifier = CompileAndVerify(text, expectedOutput: "1", options: TestOptions.
DebugExe
);
10607
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
)
10802
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9)
Emit\CompilationEmitTests.cs (1)
561
", options: TestOptions.
DebugExe
);
Emit\CovariantReturnTests.cs (3)
278
var compilation = CreateCovariantCompilation(source, options: TestOptions.
DebugExe
);
313
var compilation = CreateCovariantCompilation(source, options: TestOptions.
DebugExe
);
546
var compilation = CreateCovariantCompilation(program, options: TestOptions.
DebugExe
, references: new[] { ref0, ref1b, ref2 });
Emit\DesktopStrongNameProviderTests.cs (2)
96
.
DebugExe
113
.
DebugExe
Emit\DeterministicTests.cs (3)
31
return CompiledGuid(source, assemblyName, options: debug ? TestOptions.
DebugExe
: TestOptions.ReleaseExe, platform: platform);
53
var options = (optimize ? TestOptions.ReleaseExe : TestOptions.
DebugExe
).WithPlatform(platform).WithDeterministic(true);
268
TestOptions.
DebugExe
.WithDeterministic(true));
Emit\DynamicAnalysis\DynamicInstrumentationTests.cs (11)
682
verifier = CompileAndVerify(source + InstrumentationHelperSource, expectedOutput: expectedOutput, options: TestOptions.
DebugExe
);
748
verifier = CompileAndVerify(source, expectedOutput: checker.ExpectedOutput, options: TestOptions.
DebugExe
);
856
verifier = CompileAndVerify(source + InstrumentationHelperSource, expectedOutput: expectedOutput, options: TestOptions.
DebugExe
);
952
verifier = CompileAndVerify(source, expectedOutput: checker.ExpectedOutput, options: TestOptions.
DebugExe
);
1031
verifier = CompileAndVerify(source + InstrumentationHelperSource, expectedOutput: expectedOutput, options: TestOptions.
DebugExe
);
3173
verifier = CompileAndVerify(source, expectedOutput, options: TestOptions.
DebugExe
);
3247
verifier = CompileAndVerify(source, expectedOutput, options: TestOptions.
DebugExe
);
3372
verifier = CompileAndVerify(sources, expectedOutput, options: TestOptions.
DebugExe
);
3498
verifier = CompileAndVerify(sources, expectedOutput, options: TestOptions.
DebugExe
);
3572
verifier = CompileAndVerify(source, expectedOutput, options: TestOptions.
DebugExe
);
3622
verifier = CompileAndVerify(source, expectedOutput, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
Emit\EmitMetadataTests.cs (2)
916
}", options: TestOptions.
DebugExe
);
2423
options: TestOptions.
DebugExe
.WithPlatform(Platform.X64).WithDeterministic(true),
Emit\EntryPointTests.cs (3)
1596
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
1617
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
1637
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
Emit\OptionalArgumentsTests.cs (3)
108
var compilation = CreateCompilationWithILAndMscorlib40(csharpSource, ilSource, TargetFramework.Mscorlib461, options: TestOptions.
DebugExe
);
176
options: TestOptions.
DebugExe
);
185
options: TestOptions.
DebugExe
);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (206)
CodeGen\CodeGenCallTests.cs (178)
117
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
192
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
291
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
366
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
626
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
776
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
1118
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
1310
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
1600
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
1773
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
1934
options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
2052
options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
2214
options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
2332
options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
2439
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
2491
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
2599
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
2651
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
2919
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
2978
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
3328
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
3388
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
3510
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
3599
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
3722
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
3811
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
4102
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
4271
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
4644
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
4855
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
5000
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
5099
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
5245
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
5344
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
5652
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
5824
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
6214
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
6428
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
6569
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
6666
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
6808
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
6905
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
7197
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
7364
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
7738
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
7947
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
8088
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
8185
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
8327
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
8424
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
8722
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
8892
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
9272
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
9484
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
9634
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
9735
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
10069
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
10263
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
10413
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
10514
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
10854
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
11051
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
11220
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
11331
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
11501
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
11612
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
11932
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
12113
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
12515
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
12738
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
12865
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
12959
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
13086
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
13180
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
13475
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
13646
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
13789
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
13887
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
14031
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
14129
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
14453
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
14633
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
14929
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
15098
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
15495
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
15711
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
15874
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
15982
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
16146
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
16254
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
16568
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
16746
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
16917
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
17029
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
17201
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
17313
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
17641
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
17826
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
18150
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
18333
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
18739
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
18963
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
19084
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
19170
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
19292
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
19378
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
19646
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
19804
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
19950
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
20053
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
20200
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
20303
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
20603
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
20779
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
20943
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
21059
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
21224
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
21340
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
21668
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
21855
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
22007
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
22120
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
22273
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
22386
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
22715
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
22910
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
23076
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
23193
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
23360
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
23477
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
23832
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
24032
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
24364
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
24553
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
24986
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
25222
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
25414
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
25544
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
25737
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
25867
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
26223
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
26424
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
26610
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
26737
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
26924
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
27051
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
27405
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
27605
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
27799
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
27930
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
28125
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
28256
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
28620
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
28825
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
29185
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
29388
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
29824
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
30065
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
30213
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
30320
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
30469
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
30576
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
30892
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
31076
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
31217
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
31317
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
31459
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
31559
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
31854
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
32024
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
32199
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
32316
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
32492
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
32609
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
32944
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
33134
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
33403
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: expectedOutput).VerifyDiagnostics();
33506
CompileAndVerify(source, options: TestOptions.
DebugExe
, verify: Verification.Fails, expectedOutput: expectedOutput).VerifyDiagnostics();
CodeGen\CodeGenLengthBasedSwitchTests.cs (1)
505
comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
CodeGen\CodeGenMethodGroupConversionCachingTests.cs (2)
6026
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular11, options: TestOptions.
DebugExe
);
6325
var compilation = CreateCompilationWithIL(source, ilSource, options: TestOptions.
DebugExe
);
Emit\EditAndContinue\EditAndContinueClosureTests.cs (2)
4626
var compilation0 = CreateCompilation(source0.Tree, options: TestOptions.
DebugExe
);
5631
using var _ = new EditAndContinueTest(options: TestOptions.
DebugExe
)
Emit\EditAndContinue\EditAndContinueTests.cs (10)
500
var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.
DebugExe
);
794
var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.
DebugExe
, targetFramework: TargetFramework.NetStandard20);
1137
var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.
DebugExe
, targetFramework: TargetFramework.NetStandard20);
1260
var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.
DebugExe
, targetFramework: TargetFramework.NetStandard20);
2437
using var _ = new EditAndContinueTest(options: TestOptions.
DebugExe
)
2540
using var _ = new EditAndContinueTest(options: TestOptions.
DebugExe
)
2895
var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.
DebugExe
, targetFramework: TargetFramework.NetStandard20);
2979
var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.
DebugExe
, targetFramework: TargetFramework.NetStandard20);
8502
var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.
DebugExe
);
15991
var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.
DebugExe
);
Emit\RuntimeProbing\ModuleCancellationTests.cs (1)
145
var verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
);
Emit\RuntimeProbing\StackOverflowProbingTests.cs (1)
135
var verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
);
PDB\CheckSumTest.cs (1)
103
CompileAndVerify(text, options: TestOptions.
DebugExe
).
PDB\PDBConstantTests.cs (1)
532
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
PDB\PDBIteratorTests.cs (1)
552
var c = CreateCompilationWithMscorlib40AndSystemCore(text, options: TestOptions.
DebugExe
);
PDB\PDBTests.cs (5)
671
var c = CreateCompilation(source, options: TestOptions.
DebugExe
);
3719
var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.
DebugExe
);
3841
var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular7_1);
4007
var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular7_1);
7901
var c = CreateCompilationWithMscorlib40AndSystemCore(src, references: new[] { CSharpRef, ValueTupleRef, SystemRuntimeFacadeRef }, options: TestOptions.
DebugExe
);
PDB\PDBUsingTests.cs (3)
2611
CompileAndVerify(source, new[] { libRef }, options: TestOptions.
DebugExe
).VerifyPdb("Test.Main", @"
2851
var comp2 = CreateCompilation(source2, new[] { comp1.ToMetadataReference() }, options: TestOptions.
DebugExe
);
2905
var compilation = CreateCompilation(text, options: TestOptions.
DebugExe
);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (728)
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
);
10754
var comp = CreateCompilationWithIL(source, il, options: TestOptions.
DebugExe
);
Attributes\AttributeTests_CallerInfoAttributes.cs (1)
3235
CompileAndVerify(source, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All), symbolValidator: verify);
Attributes\AttributeTests_Nullable.cs (2)
5028
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular8, options: TestOptions.
DebugExe
);
5063
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular8, options: TestOptions.
DebugExe
);
Attributes\AttributeTests_NullableContext.cs (1)
337
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular8, options: TestOptions.
DebugExe
);
Attributes\AttributeTests_WellKnownAttributes.cs (1)
5762
options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All));
Diagnostics\OperationAnalyzerTests.cs (1)
187
CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
)
RefReadonlyParameterTests.cs (2)
837
var verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
861
var verifier = CompileAndVerify(source, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
RefStructInterfacesTests.cs (1)
22060
var comp = CreateCompilation(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.
DebugExe
);
Semantics\CollectionExpressionTests.cs (1)
30082
var comp = CreateCompilation(new[] { sourceA, s_collectionExtensions }, targetFramework: TargetFramework.Net80, options: ExecutionConditionUtil.IsMonoOrCoreClr ? TestOptions.
DebugExe
: TestOptions.DebugDll);
Semantics\InlineArrayTests.cs (22)
2175
var comp2 = CreateCompilation(src2, references: new[] { comp1.ToMetadataReference() }, targetFramework: TargetFramework.Net80, options: TestOptions.
DebugExe
);
2299
var comp2 = CreateCompilation(src2, references: new[] { comp1.ToMetadataReference() }, targetFramework: TargetFramework.Net80, options: TestOptions.
DebugExe
);
18274
var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.
DebugExe
.WithAllowUnsafe(true));
18302
var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.
DebugExe
.WithAllowUnsafe(true));
18331
var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.
DebugExe
.WithAllowUnsafe(true));
18370
var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.
DebugExe
.WithAllowUnsafe(true));
18402
var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.
DebugExe
.WithAllowUnsafe(true));
18433
var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.
DebugExe
.WithAllowUnsafe(true));
18463
var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.
DebugExe
.WithAllowUnsafe(true));
18503
var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.
DebugExe
.WithAllowUnsafe(true));
20119
comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.
DebugExe
);
20319
comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.
DebugExe
);
20578
comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.
DebugExe
);
20778
comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.
DebugExe
);
20995
comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.
DebugExe
);
21390
comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.
DebugExe
);
21609
comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.
DebugExe
);
21729
comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.
DebugExe
);
21928
comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.
DebugExe
);
22048
comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.
DebugExe
);
22232
comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.
DebugExe
);
22655
comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.
DebugExe
);
Semantics\LockTests.cs (11)
1942
var verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.
DebugExe
,
2082
var verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.
DebugExe
,
2391
var verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.
DebugExe
,
2611
var verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.
DebugExe
,
2750
var verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.
DebugExe
,
3055
var verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.
DebugExe
,
3194
var verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.
DebugExe
,
3547
verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.
DebugExe
,
3586
verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.
DebugExe
,
3659
comp = CreateCompilationWithTasksExtensions([source, LockTypeDefinition, AsyncStreamsTypes], options: TestOptions.
DebugExe
);
3696
var comp = CreateCompilationWithTasksExtensions([source, LockTypeDefinition, AsyncStreamsTypes], options: TestOptions.
DebugExe
);
Semantics\OutVarTests.cs (223)
1968
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
2078
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
2189
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
2299
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
2388
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular7_1);
2609
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
2826
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
2944
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
2990
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
3034
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
3081
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
3128
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
3182
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
3284
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
3365
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
3417
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
3456
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
3497
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
3615
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
3806
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
3954
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
3995
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
4047
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
4093
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
4142
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
4198
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
4254
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
4336
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
4368
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
4458
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
4474
compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular7_3);
4578
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
4614
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
4656
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
4741
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
4778
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
4884
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
5057
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
5101
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
5158
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
5377
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
5487
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
5566
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
5570
CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular7_2).VerifyDiagnostics(
5644
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
5677
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
5701
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
5744
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
5875
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true), parseOptions: TestOptions.Regular);
6025
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true), parseOptions: TestOptions.Regular);
6108
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true), parseOptions: TestOptions.Regular);
6142
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true), parseOptions: TestOptions.Regular);
6290
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
6528
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
6763
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
7027
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
7265
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
7509
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
7763
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
7823
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
7885
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
7951
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
8014
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
8079
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
8145
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
8200
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
8350
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
8482
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
8622
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
8754
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
8795
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
8858
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
8914
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
9033
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
9091
compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular7_3);
9259
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
9321
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
9414
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
9491
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
9570
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
9634
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
9683
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
9750
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
9811
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
9877
options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
9972
options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
10051
options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
10132
options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
10202
options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
10253
options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
10319
options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
10382
options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
10446
options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
10530
options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
10686
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
10810
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
10851
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
10902
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
10953
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
11013
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
11150
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
11249
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
11325
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
11329
CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular7_2).VerifyDiagnostics(
11396
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
11420
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
11463
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
11618
var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
11932
var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
12074
var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
12084
compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular7_3);
12224
var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
12234
compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular7_3);
12344
var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
12404
var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
12477
var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
12622
var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
12749
var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
12762
compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular7_3);
12847
var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
12914
var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
12954
var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
13012
var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
13052
var compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
13160
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
13287
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
13331
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
13382
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
13434
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
13577
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
13689
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
13730
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
13789
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
13841
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
14071
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
14252
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
14299
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
14348
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
14390
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
14432
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
14477
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
14519
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
14562
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
14609
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
14663
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
14722
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
14771
options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
14821
options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
14916
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
15084
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
15207
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
15251
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
15308
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
15364
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
15496
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
15709
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
15922
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
16055
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
16145
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
16237
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
16365
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
16488
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
16529
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
16581
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
16635
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
16692
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
16751
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
16812
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
16927
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
17043
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
17088
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
17142
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
17197
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
17312
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
17474
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
17524
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
20539
var compilation = CreateCompilation(source2, references: new[] { reference1 }, options: TestOptions.
DebugExe
);
20896
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
21009
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
21109
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
21206
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
21290
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
21342
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
21408
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
21567
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
21765
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
21967
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
22119
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
22214
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
22382
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true), parseOptions: TestOptions.Regular);
22548
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true), parseOptions: TestOptions.Regular);
22646
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
22759
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true), parseOptions: TestOptions.Regular);
22852
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
22934
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
22998
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true), parseOptions: TestOptions.Regular);
23036
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true), parseOptions: TestOptions.Regular);
29530
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
.WithScriptClassName("Script"), parseOptions: TestOptions.Script);
29580
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
30032
options: TestOptions.
DebugExe
.WithScriptClassName("Script"), parseOptions: TestOptions.Script);
32658
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
32691
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
32832
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
32856
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
32885
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
32918
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
33056
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
33116
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
33170
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
33228
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
33305
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
33372
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
33395
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
33422
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
33760
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
33858
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
33957
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
34055
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
34140
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
34196
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
34557
var compilation = CreateCompilation(syntaxTree, options: TestOptions.
DebugExe
);
35949
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
35953
CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular7_2).VerifyDiagnostics(
Semantics\ParamsCollectionTests.cs (5)
12492
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: "DisposedDisposed").VerifyDiagnostics();
12523
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
15480
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
);
15530
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
);
15588
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
);
Semantics\PatternMatchingTestBase.cs (1)
433
return CreateCompilation(new[] { source, _iTupleSource }, options: options ?? TestOptions.
DebugExe
, parseOptions: TestOptions.RegularWithPatternCombinators);
Semantics\PatternMatchingTests.cs (125)
49
CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
73
CreateCompilation(source, options: TestOptions.
DebugExe
).VerifyDiagnostics(
112
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
141
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
175
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
212
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
252
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
);
292
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
327
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
363
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
399
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
437
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
465
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
511
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
564
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
606
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
640
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
681
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
731
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
772
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
824
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
883
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
918
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
947
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
975
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
);
979
CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular7_2).VerifyDiagnostics(
1013
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
);
1042
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
1068
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
);
1072
CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular7_2).VerifyDiagnostics(
1101
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
1145
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
);
1163
CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular7_2).VerifyDiagnostics(
1213
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
1263
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
1309
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
1372
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
1422
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
1476
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
1528
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
1584
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
1641
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
1718
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
1777
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
1822
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
1871
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
1924
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
1979
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
2027
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
2071
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
2121
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
2168
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
2224
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
2284
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
2341
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
2400
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
2453
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
2491
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
2536
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
2574
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true));
2607
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
2656
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
2696
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
2785
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
2835
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
2877
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
2923
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
2964
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
3005
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
3112
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
3162
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
3222
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
3254
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
3329
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
3360
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular6);
3387
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
3412
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
3438
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
3520
CreateCompilation(source, options: TestOptions.
DebugExe
).VerifyDiagnostics(
3641
CreateCompilation(source, options: TestOptions.
DebugExe
).VerifyDiagnostics(
3689
CreateCompilation(source, options: TestOptions.
DebugExe
).VerifyDiagnostics(
3844
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
3877
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
3910
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
3958
var compilation = CreateEmptyCompilation(source, options: TestOptions.
DebugExe
,
3989
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
4026
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
4064
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
,
4084
compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
4138
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
4169
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
4220
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
4284
var compilation = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.
DebugExe
);
4418
var compilation = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.
DebugExe
);
4536
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
4563
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
4593
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
5100
var compilation = CreateCompilation(program, options: TestOptions.
DebugExe
).VerifyDiagnostics(
5221
var compilation = CreateCompilation(program, options: TestOptions.
DebugExe
);
5297
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
5317
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
5596
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
6072
var compilation = CreateCompilation(program, options: TestOptions.
DebugExe
);
6105
var compilation = CreateCompilation(program, options: TestOptions.
DebugExe
);
6128
CreateCompilation(program, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
6133
var compilation = CreateCompilation(program, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular7_1);
6224
var compilation = CreateCompilation(program, options: TestOptions.
DebugExe
.WithAllowUnsafe(true));
6279
compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
6477
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
6547
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
6603
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
);
6607
CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular7_2).VerifyDiagnostics(
6659
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
6711
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
7366
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular7);
7391
var compilation = CreateCompilationWithSpanAndMemoryExtensions(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview)
8343
var compilation = CreateCompilationWithSpanAndMemoryExtensions(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview)
8444
var compilation = CreateCompilationWithSpanAndMemoryExtensions(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview)
8982
var compilation = CreateCompilationWithSpanAndMemoryExtensions(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview)
9944
var compilation = CreateCompilationWithSpanAndMemoryExtensions(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview)
10044
var compilation = CreateCompilationWithSpanAndMemoryExtensions(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview)
11589
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
11858
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
11898
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
11941
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
Semantics\PatternMatchingTests_Global.cs (2)
3856
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
.WithScriptClassName("Script"), parseOptions: TestOptions.Script);
4295
options: TestOptions.
DebugExe
.WithScriptClassName("Script"), parseOptions: TestOptions.Script);
Semantics\PatternMatchingTests_ListPatterns.cs (2)
7081
var compilation = CreateCompilation(new[] { source, TestSources.Index, _iTupleSource }, options: TestOptions.
DebugExe
);
7286
var comp = CreateCompilationWithIndexAndRangeAndSpan(new[] { source, TestSources.GetSubArray }, options: TestOptions.
DebugExe
);
Semantics\PatternMatchingTests_Scope.cs (127)
66
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
170
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
362
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
398
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
441
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
546
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
667
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
703
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
819
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
936
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
972
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
1118
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
1241
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
1276
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
1390
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
1448
compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular7_3);
1721
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
2029
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
2165
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
2175
compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular7_3);
2301
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
2311
compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular7_3);
2409
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
2463
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
2530
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
2669
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
2771
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
2778
compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular7_3);
2892
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
2935
compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular7_3);
3057
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
3098
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
3225
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
3335
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
3504
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
3592
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
3677
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
3768
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
3858
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
3959
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
4055
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
4130
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
4165
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
4207
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
);
4446
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
4831
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
5168
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
5297
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
5332
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
5465
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
5672
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
5879
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
6006
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
6090
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
6173
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
6260
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
6331
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
6404
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
6462
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
6507
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
6574
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
6663
options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
6736
options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
6811
options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
6875
options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
6920
options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
7050
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
7167
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
7202
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
7348
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
7490
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
7525
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
7684
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
7916
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
8145
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
8403
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
8635
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
8873
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
9121
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
9266
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
9478
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
9596
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
9631
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
9764
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true));
9908
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true));
10043
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
10155
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
10194
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
10337
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
10516
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
10668
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
10710
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
10943
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
11125
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
11173
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
11223
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
11266
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
11309
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
11355
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
11398
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
11442
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
11489
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
11539
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
11601
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
11656
options: TestOptions.
DebugExe
,
11715
options: TestOptions.
DebugExe
,
11783
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
11874
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
11968
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
12059
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
12137
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
12183
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
12243
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
12396
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
12589
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
12788
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
12934
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
13023
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
13185
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true), parseOptions: TestOptions.Regular);
13345
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true), parseOptions: TestOptions.Regular);
13432
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
13510
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true), parseOptions: TestOptions.Regular);
13598
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
13675
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
13739
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true), parseOptions: TestOptions.Regular);
13777
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true), parseOptions: TestOptions.Regular);
13914
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
Semantics\PatternMatchingTests2.cs (5)
121
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularWithRecursivePatterns);
484
CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularWithoutRecursivePatterns).VerifyDiagnostics(
492
CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular8).VerifyDiagnostics();
777
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular8);
1445
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularWithRecursivePatterns);
Semantics\PatternMatchingTests3.cs (47)
385
var compilation = CreatePatternCompilation(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true));
420
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
470
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
593
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
.WithNullableContextOptions(NullableContextOptions.Disable));
636
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
.WithNullableContextOptions(NullableContextOptions.Disable));
679
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
.WithNullableContextOptions(NullableContextOptions.Disable));
722
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
.WithNullableContextOptions(NullableContextOptions.Disable));
746
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
.WithNullableContextOptions(NullableContextOptions.Disable));
769
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
.WithNullableContextOptions(NullableContextOptions.Disable));
812
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
.WithNullableContextOptions(NullableContextOptions.Disable));
854
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
.WithNullableContextOptions(NullableContextOptions.Disable));
902
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
.WithNullableContextOptions(NullableContextOptions.Disable));
961
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
.WithNullableContextOptions(NullableContextOptions.Disable));
989
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
.WithNullableContextOptions(NullableContextOptions.Disable));
1036
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
.WithNullableContextOptions(NullableContextOptions.Disable));
1089
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
.WithNullableContextOptions(NullableContextOptions.Disable));
1142
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
.WithNullableContextOptions(NullableContextOptions.Disable));
1195
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
.WithNullableContextOptions(NullableContextOptions.Disable));
1229
CreateCompilation(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true), parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
1243
CreateCompilation(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true), parseOptions: TestOptions.Regular8).VerifyDiagnostics();
1696
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
2093
var compilation = CreateCompilation(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.
DebugExe
);
2165
var compilation = CreateCompilation(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.
DebugExe
);
2237
var compilation = CreateCompilation(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.
DebugExe
);
2286
var compilation = CreateCompilation(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.
DebugExe
);
2335
var compilation = CreateCompilation(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.
DebugExe
);
2541
var compilation = CreateCompilation(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.
DebugExe
);
2579
var compilation = CreateCompilation(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.
DebugExe
);
2650
var compilation = CreateCompilation(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.
DebugExe
);
2814
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
2873
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
3140
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
3278
var compilation = CreateCompilation(source + _iTupleSource, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
3366
var compilation = CreateCompilation(source + _iTupleSource, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
3441
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
3488
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true));
3579
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
3673
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
3707
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
3760
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
3956
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
4058
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
4617
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
4783
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
4969
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
5253
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true), parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
5322
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true), parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
Semantics\PatternMatchingTests4.cs (3)
3356
var compilation = CreatePatternCompilation(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true));
3383
var compilation = CreatePatternCompilation(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true));
3409
var compilation = CreatePatternCompilation(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true));
Semantics\PatternSwitchTests.cs (54)
39
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
68
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
96
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
125
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
161
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
189
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
218
var compilation = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.
DebugExe
);
245
var compilation = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.
DebugExe
);
273
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
300
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
327
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
348
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
399
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
426
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
452
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
478
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
503
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
531
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
557
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
580
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
603
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
626
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
649
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
669
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
691
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
841
var compilation = CreateCompilation(new[] { source, _iTupleSource }, options: TestOptions.
DebugExe
);
928
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
954
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
978
CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
983
CreateCompilation(source, options: TestOptions.
DebugExe
).VerifyDiagnostics(
1016
CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
1032
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
1078
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
1125
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
1217
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
1348
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
1420
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
1478
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
1558
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
1588
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
1623
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
1862
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
1885
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
1920
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
1966
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
2049
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
2080
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
2109
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
2156
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
2218
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
2274
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
2445
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
);
2510
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
);
3533
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
Semantics\PrimaryConstructorTests.cs (16)
985
var comp = CreateCompilation(src, options: TestOptions.
DebugExe
);
2837
var comp = CreateCompilation(src, options: TestOptions.
DebugExe
);
2889
var comp = CreateCompilation(src, options: TestOptions.
DebugExe
);
2914
var comp = CreateCompilation(src, options: TestOptions.
DebugExe
);
2940
var comp = CreateCompilation(src, options: TestOptions.
DebugExe
);
2982
var comp = CreateCompilation(src, options: TestOptions.
DebugExe
);
3006
var comp = CreateCompilation(src, options: TestOptions.
DebugExe
);
14093
var verifier = CompileAndVerify(source, expectedOutput: " 0 1 2 3 2 3", options: TestOptions.
DebugExe
);
16586
var comp2 = CreateCompilation(source, options: TestOptions.
DebugExe
);
17075
var comp2 = CreateCompilation(source, options: TestOptions.
DebugExe
);
17421
var comp2 = CreateCompilation(source, options: TestOptions.
DebugExe
);
17606
var comp2 = CreateCompilation(source, options: TestOptions.
DebugExe
);
17946
var comp2 = CreateCompilation(source, options: TestOptions.
DebugExe
);
18502
var comp2 = CreateCompilation(source, options: TestOptions.
DebugExe
);
19014
var comp2 = CreateCompilation(source, options: TestOptions.
DebugExe
);
19311
var comp2 = CreateCompilation(source, options: TestOptions.
DebugExe
);
Semantics\RecordTests.cs (66)
780
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
800
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular10);
855
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
1714
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.
DebugExe
);
2468
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
2483
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
3155
var comp = CreateCompilation(src, options: TestOptions.
DebugExe
);
3414
var comp = CreateCompilationWithIL(src, il, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
4916
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
4991
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
5068
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
5235
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
5267
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
5302
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.
DebugExe
);
5327
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.
DebugExe
);
5347
var comp = CreateCompilation(src, options: TestOptions.
DebugExe
);
5374
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.
DebugExe
);
5453
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
5508
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
5547
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
5588
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
5654
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
5717
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
5766
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
5788
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
5883
var comp = CreateCompilation(src, parseOptions: usePreview ? TestOptions.Regular10 : TestOptions.Regular9, options: TestOptions.
DebugExe
);
5914
var comp = CreateCompilation(src, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
5937
var comp = CreateCompilation(src, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
5963
var comp = CreateCompilation(src, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
6006
var comp = CreateCompilation(src, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
6047
var comp = CreateCompilation(src, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
6088
var comp = CreateCompilation(src, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
6128
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
6152
var comp = CreateCompilation(new[] { src1, src2, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
6176
var comp = CreateCompilation(new[] { src1, src2, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
6336
var comp = CreateCompilationWithIL(new[] { source, IsExternalInitTypeDefinition }, ilSource: ilSource, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
7300
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
7487
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
7587
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
7612
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
12903
var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
12946
var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
13004
var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
13059
var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
13181
var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
13221
var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
13852
parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
13931
parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
13980
var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
14006
var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
14039
var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
20131
var comp = CreateCompilation(src, options: TestOptions.
DebugExe
);
20283
var comp = CreateCompilation(src, options: TestOptions.
DebugExe
);
24615
var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
24869
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
24914
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
24941
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
24961
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
24998
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
25032
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
25588
parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
, verify: Verification.Skipped /* init-only */);
25611
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
27691
var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9)
27896
var compDebug = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.
DebugExe
);
27919
var compDebug = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.
DebugExe
);
28109
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.
DebugExe
);
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (2)
EndToEndTests.cs (2)
323
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
.WithConcurrentBuild(false));
861
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
.WithConcurrentBuild(false));
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (2)
IOperation\IOperationTests_IForEachLoopStatement.cs (2)
6365
var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.
DebugExe
);
6654
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (861)
Semantics\AnonymousFunctionTests.cs (3)
25
options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
40
options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
1189
options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
Semantics\ArglistTests.cs (2)
1636
options: TestOptions.
DebugExe
,
1659
options: TestOptions.
DebugExe
,
Semantics\AwaitExpressionTests.cs (2)
376
CompileAndVerify(text, options: TestOptions.
DebugExe
, expectedOutput: "Passed").VerifyDiagnostics();
420
CompileAndVerify(text, options: TestOptions.
DebugExe
, expectedOutput: "Passed").VerifyDiagnostics();
Semantics\BindingAsyncTasklikeMoreTests.cs (2)
106
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
);
1593
compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
Semantics\ColorColorTests.cs (1)
1521
var comp = CreateCompilationWithMscorlib40AndSystemCore(text, options: TestOptions.
DebugExe
);
Semantics\ConditionalOperatorTests.cs (3)
1336
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
1391
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
1500
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
,
Semantics\ConstantTests.cs (1)
3362
CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
Semantics\DeconstructionTests.cs (3)
799
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
1284
var comp = CreateCompilation(source, assemblyName: "comp", options: TestOptions.
DebugExe
);
1944
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
Semantics\DelegateTypeTests.cs (3)
10178
var comp = CreateCompilation(new[] { source, s_utils }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
10190
comp = CreateCompilation(new[] { source, s_utils }, parseOptions: TestOptions.Regular10, options: TestOptions.
DebugExe
);
10559
CompileAndVerify(new[] { source, s_utils }, options: TestOptions.
DebugExe
, expectedOutput:
Semantics\DynamicTests.cs (97)
4492
var comp1 = CreateCompilationWithMscorlib461AndCSharp(source1, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
4503
comp1 = CreateCompilationWithMscorlib461AndCSharp(source1, parseOptions: TestOptions.Regular7_2, options: TestOptions.
DebugExe
);
4528
var comp2 = CreateCompilationWithMscorlib461AndCSharp(source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
4535
comp2 = CreateCompilationWithMscorlib461AndCSharp(source2, parseOptions: TestOptions.Regular7_2, options: TestOptions.
DebugExe
);
4676
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
5025
var comp2 = CreateCompilation(source2, options: TestOptions.
DebugExe
, parseOptions: parseOptions);
5149
var comp2 = CreateCompilation(source2, options: TestOptions.
DebugExe
, parseOptions: parseOptions);
5272
var comp2 = CreateCompilation(source2, options: TestOptions.
DebugExe
, parseOptions: parseOptions);
5338
var comp1 = CreateCompilation(source1, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
5379
var comp1 = CreateCompilation(source1, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
5423
var comp1 = CreateCompilation(source1, options: TestOptions.
DebugExe
.WithAllowUnsafe(true), targetFramework: TargetFramework.StandardAndCSharp);
5467
var comp1 = CreateCompilation(source1, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
5511
var comp1 = CreateCompilation(source1, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
5575
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
5613
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true), targetFramework: TargetFramework.StandardAndCSharp);
5652
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
5729
var comp1 = CreateCompilation(source1, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
5774
var comp1 = CreateCompilation(source1, options: TestOptions.
DebugExe
.WithAllowUnsafe(true), targetFramework: TargetFramework.StandardAndCSharp);
5819
var comp1 = CreateCompilation(source1, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
5864
var comp1 = CreateCompilation(source1, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
5932
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
5971
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true), targetFramework: TargetFramework.StandardAndCSharp);
6070
var comp2 = CreateCompilation(source2, options: TestOptions.
DebugExe
, parseOptions: parseOptions);
6193
var comp2 = CreateCompilation(source2, options: TestOptions.
DebugExe
, parseOptions: parseOptions);
6313
var comp2 = CreateCompilation(source2, options: TestOptions.
DebugExe
);
6373
var comp1 = CreateCompilation(source1, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
6416
var comp1 = CreateCompilation(source1, options: TestOptions.
DebugExe
.WithAllowUnsafe(true), targetFramework: TargetFramework.StandardAndCSharp);
6462
var comp1 = CreateCompilation(source1, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
6506
var comp1 = CreateCompilation(source1, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
6549
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
6603
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true), targetFramework: TargetFramework.StandardAndCSharp);
6668
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
6777
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
6887
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
6988
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
7056
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
7159
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
7272
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
7388
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
7501
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
7578
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
7683
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
7789
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
7892
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
7964
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
8070
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
8175
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
8280
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
8389
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
8498
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
8608
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
8721
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
8790
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
8858
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
8921
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
8980
var comp2 = CreateCompilation(source2, options: TestOptions.
DebugExe
);
9011
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
9070
var comp2 = CreateCompilation(source2, options: TestOptions.
DebugExe
);
9102
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
9161
var comp2 = CreateCompilation(source2, options: TestOptions.
DebugExe
);
9192
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
9248
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
9309
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
9366
var comp2 = CreateCompilation(source2, options: TestOptions.
DebugExe
);
9398
var comp3 = CreateCompilation(source3, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
9430
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
9487
var comp2 = CreateCompilation(source2, options: TestOptions.
DebugExe
);
9519
var comp3 = CreateCompilation(source3, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
9550
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
9606
var comp2 = CreateCompilation(source2, options: TestOptions.
DebugExe
);
9637
var comp3 = CreateCompilation(source3, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
9664
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
9716
var comp2 = CreateCompilation(source2, options: TestOptions.
DebugExe
);
9748
var comp3 = CreateCompilation(source3, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
9775
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
9827
var comp2 = CreateCompilation(source2, options: TestOptions.
DebugExe
);
9859
var comp3 = CreateCompilation(source3, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
9886
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
9937
var comp2 = CreateCompilation(source2, options: TestOptions.
DebugExe
);
9968
var comp3 = CreateCompilation(source3, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
10006
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
10134
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
10262
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
10379
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
10416
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
10550
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
10698
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
10847
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
10923
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
10968
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
11097
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
11181
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
11259
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
11414
var comp1 = CreateCompilation(source1, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: TestOptions.Regular12);
11447
var comp1 = CreateCompilation(source1, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: TestOptions.Regular12);
11532
var comp1 = CreateCompilation(source1, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: TestOptions.Regular12);
11676
var comp1 = CreateCompilation(source1, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: TestOptions.Regular12);
Semantics\GlobalUsingDirectiveTests.cs (87)
191
var comp2 = CreateCompilation(source2, parseOptions: TestOptions.Regular10, options: TestOptions.
DebugExe
, references: new[] { comp1Ref });
234
var comp3 = CreateCompilation(source3, parseOptions: TestOptions.Regular10, options: TestOptions.
DebugExe
, references: new[] { comp1Ref });
304
var comp2 = CreateCompilation(source2, parseOptions: TestOptions.Regular10, options: TestOptions.
DebugExe
, references: new[] { comp1Ref });
353
var comp3 = CreateCompilation(source3, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
, references: new[] { comp1Ref });
404
var comp2 = CreateCompilation(new[] { source2, source3 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
, references: new[] { comp1Ref });
421
var comp3 = CreateCompilation(new[] { source3, source2 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
, references: new[] { comp1Ref });
541
var comp = CreateCompilation(new[] { globalUsings1 + globalUsings2 + source, source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
544
comp = CreateCompilation(new[] { globalUsings2 + source, globalUsings1 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
547
comp = CreateCompilation(new[] { globalUsings1 + source1, globalUsings2 + source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
550
comp = CreateCompilation(new[] { source, globalUsings1 + globalUsings2 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
553
comp = CreateCompilation(new[] { globalUsings1 + globalUsings2 + source1, source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
556
comp = CreateCompilation(new[] { extAlias + source, globalUsings1 + globalUsings2 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
, references: new[] { extCompRef });
563
comp = CreateCompilation(new[] { globalUsings1 + globalUsings2 + source1, extAlias + source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
, references: new[] { extCompRef });
680
var comp = CreateCompilation(new[] { globalUsings1 + globalUsings2 + source, source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
683
comp = CreateCompilation(new[] { globalUsings2 + source, globalUsings1 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
686
comp = CreateCompilation(new[] { globalUsings1 + source1, globalUsings2 + source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
689
comp = CreateCompilation(new[] { source, globalUsings1 + globalUsings2 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
692
comp = CreateCompilation(new[] { globalUsings1 + globalUsings2 + source1, source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
695
comp = CreateCompilation(new[] { extAlias + source, globalUsings1 + globalUsings2 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
, references: new[] { extCompRef });
702
comp = CreateCompilation(new[] { globalUsings1 + globalUsings2 + source1, extAlias + source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
, references: new[] { extCompRef });
811
var comp = CreateCompilation(new[] { globalUsings1 + globalUsings2 + source, source1, program }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
814
comp = CreateCompilation(new[] { globalUsings2 + source, globalUsings1 + source1, program }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
817
comp = CreateCompilation(new[] { globalUsings1 + source1, globalUsings2 + source, program }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
820
comp = CreateCompilation(new[] { source, globalUsings1 + globalUsings2 + source1, program }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
823
comp = CreateCompilation(new[] { globalUsings1 + globalUsings2 + source1, source, program }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
1020
var comp = CreateCompilation(source1, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
1235
var comp = CreateCompilation(new[] { globalUsings1 + globalUsings2 + source, source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
1238
comp = CreateCompilation(new[] { globalUsings2 + source, globalUsings1 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
1241
comp = CreateCompilation(new[] { globalUsings1 + source1, globalUsings2 + source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
1244
comp = CreateCompilation(new[] { source, globalUsings1 + globalUsings2 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
1247
comp = CreateCompilation(new[] { globalUsings1 + globalUsings2 + source1, source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
1250
comp = CreateCompilation(new[] { extAlias + source, globalUsings1 + globalUsings2 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
, references: new[] { extCompRef });
1257
comp = CreateCompilation(new[] { globalUsings1 + globalUsings2 + source1, extAlias + source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
, references: new[] { extCompRef });
1363
var comp = CreateCompilation(new[] { globalUsings1 + globalUsings2 + source, source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
1366
comp = CreateCompilation(new[] { globalUsings2 + source, globalUsings1 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
1369
comp = CreateCompilation(new[] { globalUsings1 + source1, globalUsings2 + source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
1372
comp = CreateCompilation(new[] { source, globalUsings1 + globalUsings2 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
1375
comp = CreateCompilation(new[] { globalUsings1 + globalUsings2 + source1, source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
1378
comp = CreateCompilation(new[] { extAlias + source, globalUsings1 + globalUsings2 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
, references: new[] { extCompRef });
1385
comp = CreateCompilation(new[] { globalUsings1 + globalUsings2 + source1, extAlias + source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
, references: new[] { extCompRef });
1483
var comp = CreateCompilation(new[] { globalUsings1 + globalUsings2 + source, source1, program }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
1486
comp = CreateCompilation(new[] { globalUsings2 + source, globalUsings1 + source1, program }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
1489
comp = CreateCompilation(new[] { globalUsings1 + source1, globalUsings2 + source, program }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
1492
comp = CreateCompilation(new[] { source, globalUsings1 + globalUsings2 + source1, program }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
1495
comp = CreateCompilation(new[] { globalUsings1 + globalUsings2 + source1, source, program }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
1691
var comp = CreateCompilation(source1, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
1807
var comp = CreateCompilation(new[] { globalUsings1 + globalUsings2 + source, source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
1810
comp = CreateCompilation(new[] { globalUsings2 + source, globalUsings1 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
1813
comp = CreateCompilation(new[] { globalUsings1 + source1, globalUsings2 + source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
1816
comp = CreateCompilation(new[] { source, globalUsings1 + globalUsings2 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
1819
comp = CreateCompilation(new[] { globalUsings1 + globalUsings2 + source1, source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
1893
var comp = CreateCompilation(new[] { source1, source2 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
2026
var comp = CreateCompilation(new[] { source2, source1, source3, source6, source4, "", source5 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
4562
var comp2 = CreateCompilation(externAlias + globalUsing1 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
, references: new[] { comp1Ref });
4573
comp2 = CreateCompilation(new[] { externAlias + source2, globalUsing1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
, references: new[] { comp1Ref });
4576
comp2 = CreateCompilation(globalUsing1 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
, references: new[] { comp1Ref });
4580
var comp2 = CreateCompilation(externAlias + globalUsing2 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
, references: new[] { comp1Ref });
4591
comp2 = CreateCompilation(new[] { externAlias + source2, globalUsing2 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
, references: new[] { comp1Ref });
4594
comp2 = CreateCompilation(globalUsing2 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
, references: new[] { comp1Ref });
4598
var comp2 = CreateCompilation(externAlias + using1 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
, references: new[] { comp1Ref });
4605
comp2 = CreateCompilation(using1 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
, references: new[] { comp1Ref });
4609
var comp2 = CreateCompilation(externAlias + using2 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
, references: new[] { comp1Ref });
4616
comp2 = CreateCompilation(using2 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
, references: new[] { comp1Ref });
4678
var comp2 = CreateCompilation(globalAlias + globalUsing1 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
4689
comp2 = CreateCompilation(new[] { globalAlias + source2, globalUsing1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
4692
comp2 = CreateCompilation(new[] { source2, globalAlias + globalUsing1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
4695
comp2 = CreateCompilation(new[] { source2, globalAlias, globalUsing1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
4698
comp2 = CreateCompilation(new[] { source2, globalUsing1, globalAlias }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
4701
comp2 = CreateCompilation(globalUsing1 + regularAlias + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
4704
comp2 = CreateCompilation(new[] { regularAlias + source2, globalUsing1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
4707
comp2 = CreateCompilation(globalUsing1 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
4711
var comp2 = CreateCompilation(globalAlias + globalUsing2 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
4722
comp2 = CreateCompilation(new[] { globalAlias + source2, globalUsing2 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
4725
comp2 = CreateCompilation(new[] { source2, globalAlias + globalUsing2 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
4728
comp2 = CreateCompilation(new[] { source2, globalAlias, globalUsing2 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
4731
comp2 = CreateCompilation(new[] { source2, globalUsing2, globalAlias }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
4734
comp2 = CreateCompilation(globalUsing2 + regularAlias + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
4737
comp2 = CreateCompilation(new[] { regularAlias + source2, globalUsing2 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
4740
comp2 = CreateCompilation(globalUsing2 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
4744
var comp2 = CreateCompilation(globalAlias + using1 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
4755
comp2 = CreateCompilation(new[] { globalAlias, using1 + source2 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
4758
comp2 = CreateCompilation(regularAlias + using1 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
4761
comp2 = CreateCompilation(using1 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
4765
var comp2 = CreateCompilation(globalAlias + using2 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
4776
comp2 = CreateCompilation(new[] { globalAlias, using2 + source2 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
4779
comp2 = CreateCompilation(regularAlias + using2 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
4782
comp2 = CreateCompilation(using2 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
Semantics\ImplicitObjectCreationTests.cs (90)
49
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
93
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular8);
171
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
268
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
296
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
319
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
352
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, references: new[] { CSharpRef });
373
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, references: new[] { CSharpRef });
438
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
598
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
).VerifyDiagnostics();
699
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
).VerifyDiagnostics();
953
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
985
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
1010
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
1029
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
1051
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
1074
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
1095
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
1121
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
1141
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
1204
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
).VerifyDiagnostics();
1229
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
).VerifyDiagnostics();
1252
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
).VerifyDiagnostics();
1273
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
).VerifyDiagnostics();
1298
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
).VerifyDiagnostics();
1317
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
).VerifyDiagnostics(
1346
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
).VerifyDiagnostics(
1405
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
).VerifyDiagnostics();
1423
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
).VerifyDiagnostics(
1457
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
).VerifyDiagnostics(
1522
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
).VerifyDiagnostics(
1555
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
1585
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
).VerifyDiagnostics(
1614
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
).VerifyDiagnostics(
1646
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
).VerifyDiagnostics(
1695
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
).VerifyDiagnostics(
1735
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
).VerifyDiagnostics(
1762
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
1787
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
1805
_ = CreateCompilation(source, options: TestOptions.
DebugExe
).VerifyDiagnostics(
1860
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
1890
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
1920
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
1951
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
1973
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
2030
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
2065
var comp = CreateCompilation(source, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
2110
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
2163
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
2401
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
2425
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
2444
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
2465
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
2486
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
2509
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
2559
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
2592
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
2682
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
2726
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
2746
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
2766
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
2807
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
2845
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
2882
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
2911
var comp = CreateCompilationWithIndexAndRange(source, options: TestOptions.
DebugExe
, parseOptions: ImplicitObjectCreationTestOptions);
2952
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
2981
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
3011
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true));
3058
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
3095
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
3114
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
3133
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
3203
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
3248
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
3343
var comp = CreateCompilation(source, references: new[] { CSharpRef }, options: TestOptions.
DebugExe
);
3660
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
);
3682
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
3764
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
3785
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
3867
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
3912
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
3952
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
4012
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
4055
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
4074
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
4093
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
4112
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
4133
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
4467
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
4500
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
Semantics\InitOnlyMemberTests.cs (18)
971
var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
1003
var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
1047
parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
1052
parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
1083
parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
1131
parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
1136
parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
1687
var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, options: TestOptions.
DebugExe
);
1715
var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, options: TestOptions.
DebugExe
);
2738
options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
2786
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
3009
var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
4194
targetFramework: TargetFramework.Mscorlib40, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
4201
targetFramework: TargetFramework.Mscorlib46, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
4483
var comp = CreateCompilation(new[] { IsExternalInitTypeDefinition, source }, options: TestOptions.
DebugExe
);
4536
var comp = CreateCompilation(new[] { IsExternalInitTypeDefinition, source }, options: TestOptions.
DebugExe
);
4562
var comp = CreateCompilation(new[] { IsExternalInitTypeDefinition, source }, options: TestOptions.
DebugExe
);
4612
options: TestOptions.
DebugExe
);
Semantics\InterceptorsTests.cs (10)
4881
options: TestOptions.
DebugExe
.WithSourceReferenceResolver(
4914
options: TestOptions.
DebugExe
.WithSourceReferenceResolver(
4945
options: TestOptions.
DebugExe
.WithSourceReferenceResolver(
5046
options: TestOptions.
DebugExe
.WithSourceReferenceResolver(
5078
options: TestOptions.
DebugExe
.WithSourceReferenceResolver(
5117
options: TestOptions.
DebugExe
.WithSourceReferenceResolver(
5516
options: TestOptions.
DebugExe
.WithSourceReferenceResolver(
5554
options: TestOptions.
DebugExe
.WithSourceReferenceResolver(
5611
options: TestOptions.
DebugExe
.WithSourceReferenceResolver(
5621
options: TestOptions.
DebugExe
.WithSourceReferenceResolver(
Semantics\InterpolationTests.cs (6)
1035
CreateEmptyCompilation(text, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.
DebugExe
)
1068
CreateEmptyCompilation(text, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.
DebugExe
)
9972
comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, options: TestOptions.
DebugExe
);
10128
var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.
DebugExe
);
18785
var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, options: TestOptions.
DebugExe
);
18898
var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, options: TestOptions.
DebugExe
);
Semantics\IteratorTests.cs (1)
551
var comp = CompileAndVerify(source, expectedOutput: "0,1,2,3", options: TestOptions.
DebugExe
);
Semantics\LambdaDiscardParametersTests.cs (6)
138
}", options: TestOptions.
DebugExe
);
305
}", options: TestOptions.
DebugExe
);
325
}", options: TestOptions.
DebugExe
);
441
}", options: TestOptions.
DebugExe
);
476
}", options: TestOptions.
DebugExe
);
560
}", options: TestOptions.
DebugExe
);
Semantics\LambdaTests.cs (3)
1974
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
);
2788
var comp = CreateCompilationWithMscorlib40AndSystemCore(src, options: TestOptions.
DebugExe
);
2975
var comp = CreateCompilationWithMscorlib40AndSystemCore(src, options: TestOptions.
DebugExe
);
Semantics\LocalFunctionTests.cs (9)
4265
var comp = CreateCompilationWithMscorlib46(source, parseOptions: DefaultParseOptions, options: TestOptions.
DebugExe
);
4781
var comp = CreateCompilationWithMscorlib46(source, parseOptions: DefaultParseOptions, options: TestOptions.
DebugExe
);
4813
var comp = CreateCompilationWithMscorlib46(source, parseOptions: DefaultParseOptions, options: TestOptions.
DebugExe
);
4846
var comp = CreateCompilationWithMscorlib46(source, parseOptions: DefaultParseOptions, options: TestOptions.
DebugExe
);
4879
var comp = CreateCompilationWithMscorlib46(source, parseOptions: DefaultParseOptions, options: TestOptions.
DebugExe
);
4916
var comp = CreateCompilationWithMscorlib46(source, parseOptions: DefaultParseOptions, options: TestOptions.
DebugExe
);
4952
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
6916
CompileAndVerify(source, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All), expectedOutput: "System.Int32", symbolValidator: m =>
6946
CompileAndVerify(source, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All), expectedOutput: "System.Int32", symbolValidator: m =>
Semantics\NamedAndOptionalTests.cs (1)
2439
var comp = CreateCompilationWithIL(csharp, il, options: TestOptions.
DebugExe
);
Semantics\NameOfTests.cs (5)
593
options: TestOptions.
DebugExe
,
617
options: TestOptions.
DebugExe
,
636
options: TestOptions.
DebugExe
,
658
options: TestOptions.
DebugExe
,
1442
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
);
Semantics\NonTrailingNamedArgumentsTests.cs (1)
673
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
Semantics\NullableReferenceTypesTests.cs (25)
1747
var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.
DebugExe
));
1781
var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.
DebugExe
));
1952
var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.
DebugExe
));
2237
var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.
DebugExe
));
2259
var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.
DebugExe
));
2337
var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.
DebugExe
));
2370
var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.
DebugExe
));
2455
var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.
DebugExe
));
16996
var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.
DebugExe
));
17071
var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.
DebugExe
));
17405
var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.
DebugExe
));
17473
var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.
DebugExe
));
17554
var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.
DebugExe
));
17638
var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.
DebugExe
));
32070
options: TestOptions.
DebugExe
.WithNullableContextOptions(NullableContextOptions.Enable));
76929
options: WithNullableEnable(TestOptions.
DebugExe
));
79413
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
79437
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
79479
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
91227
CreateCompilation(source, options: WithNullableEnable(TestOptions.
DebugExe
)).VerifyDiagnostics(
155859
options: TestOptions.
DebugExe
);
157420
var comp = CreateCompilation(src, options: TestOptions.
DebugExe
);
157446
var comp = CreateCompilation(src, options: TestOptions.
DebugExe
);
157482
var comp = CreateCompilation(src, options: TestOptions.
DebugExe
);
157871
var comp = CreateCompilation(src, options: TestOptions.
DebugExe
.WithNullableContextOptions(NullableContextOptions.Enable));
Semantics\ObjectAndCollectionInitializerTests.cs (2)
4220
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
4274
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
Semantics\OverloadResolutionTests.cs (24)
7021
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
7874
var compilation = CreateCompilation(source1, options: TestOptions.
DebugExe
);
7912
CreateCompilation(source1, options: TestOptions.
DebugExe
, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics(
7917
CreateCompilation(source1, options: TestOptions.
DebugExe
).VerifyDiagnostics(
7954
var compilation = CreateCompilation(source1, options: TestOptions.
DebugExe
);
7992
CreateCompilation(source1, options: TestOptions.
DebugExe
, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics(
7997
CreateCompilation(source1, options: TestOptions.
DebugExe
).VerifyDiagnostics(
8034
CreateCompilation(source1, options: TestOptions.
DebugExe
, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics(
8039
CreateCompilation(source1, options: TestOptions.
DebugExe
).VerifyDiagnostics(
8076
CreateCompilation(source1, options: TestOptions.
DebugExe
, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics(
8081
CreateCompilation(source1, options: TestOptions.
DebugExe
).VerifyDiagnostics(
8116
CreateCompilation(source1, options: TestOptions.
DebugExe
, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics(
8121
CreateCompilation(source1, options: TestOptions.
DebugExe
).VerifyDiagnostics(
8157
var compilation = CreateCompilation(source1, options: TestOptions.
DebugExe
);
8196
var compilation = CreateCompilationWithMscorlib40(source1, new[] { Net40.References.SystemCore }, options: TestOptions.
DebugExe
);
8232
var compilation = CreateCompilationWithMscorlib40(source1, new[] { Net40.References.SystemCore }, options: TestOptions.
DebugExe
);
8265
var compilation = CreateCompilation(source1, options: TestOptions.
DebugExe
);
8493
var compilation = CreateCompilation(source1, options: TestOptions.
DebugExe
);
8541
var compilation = CreateCompilation(source1, options: TestOptions.
DebugExe
);
8588
var compilation = CreateCompilation(source1, options: TestOptions.
DebugExe
);
8627
var compilation = CreateCompilation(source1, options: TestOptions.
DebugExe
);
8662
var compilation = CreateCompilation(source1, options: TestOptions.
DebugExe
);
8688
var compilation = CreateCompilation(source1, options: TestOptions.
DebugExe
);
8718
var compilation = CreateCompilation(source1, options: TestOptions.
DebugExe
);
Semantics\QueryTests.cs (1)
3880
var compilation = CreateCompilationWithMscorlib40AndSystemCore(sourceCode, options: TestOptions.
DebugExe
);
Semantics\RawInterpolationTests.cs (2)
1035
CreateEmptyCompilation(text, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.
DebugExe
)
1067
CreateEmptyCompilation(text, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.
DebugExe
)
Semantics\RecordStructTests.cs (2)
2423
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
5118
var compDebug = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
Semantics\RefFieldTests.cs (7)
18245
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.Net70);
21334
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.Net70);
21456
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.Net70);
30330
options: TestOptions.
DebugExe
.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings),
30384
options: TestOptions.
DebugExe
.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings),
30452
options: TestOptions.
DebugExe
.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings),
30515
options: TestOptions.
DebugExe
.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings),
Semantics\ScriptSemanticsTests.cs (7)
100
options: TestOptions.
DebugExe
,
117
options: TestOptions.
DebugExe
,
142
options: TestOptions.
DebugExe
.WithUsings("Hidden"),
162
options: TestOptions.
DebugExe
.WithUsings("Hidden"),
191
options: TestOptions.
DebugExe
,
210
options: TestOptions.
DebugExe
.WithUsings("Hidden"),
1374
options: TestOptions.
DebugExe
,
Semantics\SemanticErrorTests.cs (9)
2729
CreateCompilation(test, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2793
CreateCompilation(test, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2813
CreateCompilation(test, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
18393
CreateCompilation(source, options: TestOptions.
DebugExe
.WithWarningLevel(5)).VerifyDiagnostics();
18448
var comp = CreateCompilation(text, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.
DebugExe
);
18542
var comp = CreateCompilation(text, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.
DebugExe
);
18568
var comp = CreateCompilation(text, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.
DebugExe
);
21579
var compilation = CreateCompilation(text, targetFramework: TargetFramework.Mscorlib461, options: TestOptions.
DebugExe
);
24492
var compilation = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.
DebugExe
);
Semantics\SpanStackSafetyTests.cs (8)
1394
comp = CreateCompilationWithMscorlibAndSpan(text, TestOptions.
DebugExe
);
1755
comp = CreateCompilationWithMscorlibAndSpan(text, TestOptions.
DebugExe
);
1805
comp = CreateCompilationWithMscorlibAndSpan(text, TestOptions.
DebugExe
);
2621
CSharpCompilation comp = CreateCompilationWithMscorlibAndSpan(text, options: TestOptions.
DebugExe
);
2646
CSharpCompilation comp = CreateCompilationWithMscorlibAndSpan(text, options: TestOptions.
DebugExe
);
2671
CSharpCompilation comp = CreateCompilationWithMscorlibAndSpan(text, options: TestOptions.
DebugExe
);
2701
CSharpCompilation comp = CreateCompilationWithMscorlibAndSpan(text, options: TestOptions.
DebugExe
);
2724
CSharpCompilation comp = CreateCompilationWithMscorlibAndSpan(text, options: TestOptions.
DebugExe
);
Semantics\StackAllocInitializerTests.cs (1)
562
}", TestOptions.
DebugExe
);
Semantics\StructsTests.cs (1)
117
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
);
Semantics\TargetTypedConditionalOperatorTests.cs (2)
412
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular8, options: TestOptions.
DebugExe
)
415
comp = CreateCompilation(source, parseOptions: TestOptions.Regular.WithLanguageVersion(MessageID.IDS_FeatureTargetTypedConditional.RequiredVersion()), options: TestOptions.
DebugExe
)
Semantics\TargetTypedDefaultTests.cs (69)
117
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
136
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
167
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
189
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
236
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
273
var comp = CreateCompilation(source, parseOptions: TestOptions.RegularPreview, options: TestOptions.
DebugExe
);
487
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
552
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
595
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular8, options: TestOptions.
DebugExe
);
889
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
910
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
928
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
946
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
967
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
1057
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
1134
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
1163
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
1192
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
1228
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
1593
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
1621
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
1624
var comp2 = CreateCompilation(source, parseOptions: TestOptions.Regular7_3, options: TestOptions.
DebugExe
);
1721
var comp = CreateCompilation(source, parseOptions: parseOptions, options: TestOptions.
DebugExe
);
1787
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3, options: TestOptions.
DebugExe
);
1858
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular, options: TestOptions.
DebugExe
);
1903
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
1939
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
1968
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
2007
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
2053
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
2079
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
2108
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
2144
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
2177
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
2203
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
.WithAllowUnsafe(true));
2250
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
2287
var comp = CreateCompilationWithMscorlib40(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
,
2307
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
2326
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
2407
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
2449
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
2524
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
2549
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
2609
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
2653
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, references: new[] { CSharpRef }, options: TestOptions.
DebugExe
);
2671
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
2696
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3, options: TestOptions.
DebugExe
);
2743
var comp = CreateCompilation(text, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
2792
var compilation = CreateCompilationWithMscorlib40AndSystemCore(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
2833
var comp = CreateCompilation(text, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
2962
var comp = CreateCompilation(text, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
3049
var comp = CreateCompilationWithMscorlib40AndSystemCore(text, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
3078
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
3100
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
3129
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
3161
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
3193
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
3225
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
3254
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
3274
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
3406
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
3428
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
3447
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
3467
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
3487
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
3506
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
3547
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
3568
var comp = CreateCompilation(text, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
3705
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.
DebugExe
);
Semantics\TopLevelStatementsTests.cs (246)
43
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
77
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
105
var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
113
comp = CreateCompilation(new[] { text1, text2, text3 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
140
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
161
var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
164
comp = CreateCompilation(new[] { text2, text1 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
177
var comp = CreateCompilation(text1, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
183
comp = CreateCompilation(text1, options: TestOptions.
DebugExe
.WithNullableContextOptions(NullableContextOptions.Enable), parseOptions: DefaultParseOptions);
278
var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
293
comp = CreateCompilation(new[] { text2, text1 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
308
comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.
DebugExe
.WithNullableContextOptions(NullableContextOptions.Enable), parseOptions: DefaultParseOptions);
434
var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
455
comp = CreateCompilation(new[] { text2, text1 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
524
var comp = CreateCompilation(text1, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
562
var comp = CreateCompilation(text1, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
611
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular8);
690
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
736
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
780
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
812
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
825
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
838
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
859
var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
909
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
930
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
955
var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
970
var comp = CreateCompilation(text1, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
1002
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
1015
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
1028
var comp = CreateCompilation(text1, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
1055
var comp = CreateCompilation(text1, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
1073
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
1101
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
1116
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
1123
comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular12);
1130
comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular13);
1133
comp = CreateCompilation(text, options: TestOptions.
DebugExe
);
1159
var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
1186
var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
1208
var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
1251
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
1269
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
1286
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
1302
var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
1316
comp = CreateCompilation(new[] { "System.Console.WriteLine();", text1, text2 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
1346
var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
1360
comp = CreateCompilation(new[] { "System.Console.WriteLine();", text1, text2 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
1395
var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
1413
comp = CreateCompilation(new[] { text2, text1 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
1446
var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
1465
comp = CreateCompilation(new[] { text2, text1 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
1500
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
1541
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
1587
var comp = CreateCompilation(new[] { text1, text2, text3 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
1649
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
1822
var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
1976
var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
1979
comp = CreateCompilation(text1 + text2, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
1984
options: TestOptions.
DebugExe
));
1986
comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular7);
2043
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
2207
var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
2357
var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
2360
comp = CreateCompilation(text1 + text2, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
2363
comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular7);
2409
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
2554
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
2573
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
2604
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
2629
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
2690
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
2775
var comp = CreateCompilation(text, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
2832
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
2860
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
2894
var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
3008
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
3070
var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
3133
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
3200
var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
3264
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
3326
var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
3389
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
3456
var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
3520
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
3582
var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
3645
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
3712
var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
3776
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
3844
var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
3912
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
4061
var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
4161
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
4186
var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
4207
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
4289
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
4311
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
4363
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
4451
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
4468
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
4492
var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
4531
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
4559
var comp = CreateCompilation(text1, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
4597
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
4611
var comp = CreateCompilation(text1, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
4639
var comp = CreateCompilation(text1, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
4656
var comp = CreateCompilation(text1, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
4672
var comp = CreateCompilation(text1, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
4692
var comp = CreateCompilation(text1, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
4707
var comp = CreateCompilation(text1, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
4725
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
4748
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
4763
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
4777
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
4798
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
4819
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
4840
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
4865
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
4885
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
4917
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
4938
var comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
4970
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
5003
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
5031
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
5061
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
5093
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
5123
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
5149
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
5185
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
5224
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
5280
var comp = CreateCompilation(new[] { text1, text4 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
5317
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
.WithMainTypeName("Program2"), parseOptions: DefaultParseOptions);
5344
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
.WithMainTypeName(""), parseOptions: DefaultParseOptions);
5368
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
5388
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
5409
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
5430
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
5454
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
5479
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
5506
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
5534
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
5561
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
5589
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
5613
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
5638
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
5665
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
5679
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
5698
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
5719
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
5743
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
5769
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
5790
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
5811
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
5832
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
5853
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
5873
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
5897
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
5915
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
5939
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
5962
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
5999
var comp = CreateCompilation(text1, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
6078
options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
6149
options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
6223
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
6264
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
6307
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
6357
var comp = CreateCompilation(new[] { source1, source2 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
6396
var comp = CreateCompilation(text1, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
6407
comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
6501
var comp = CreateCompilation(text1, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
6510
comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
6558
var comp = CreateCompilation(text1, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
6573
comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
6679
var comp = CreateCompilation(text1, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
6690
comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
6766
var comp = CreateCompilation(text1, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
6775
comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
6824
var comp = CreateCompilation(text1, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
6833
comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
6882
var comp = CreateCompilation(text1, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
6891
comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
6950
var comp = CreateCompilation(text1, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
6959
comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
7029
var comp = CreateCompilation(text1 + text2, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
7037
comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
7142
var comp = CreateCompilation(text1 + text2 + text3, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
7151
comp = CreateCompilation(new[] { text1, text2, text3 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
7236
var comp = CreateCompilation(text1 + text2, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
7245
comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
7309
var comp = CreateCompilation(text1, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
7319
comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
7376
var comp = CreateCompilation(text1, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
7386
comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
7443
var comp = CreateEmptyCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
7465
var comp = CreateCompilation(text, targetFramework: TargetFramework.Minimal, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
7488
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
7510
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
7548
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
7574
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
7605
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
7623
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
7670
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
7717
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
7786
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
7851
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
7874
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
7893
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
7912
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
7932
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
7950
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
7972
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
7992
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
8011
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
8029
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
8049
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
8190
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
8208
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
8221
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
8230
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
8244
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
8258
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
8272
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
8299
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
8316
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
8333
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
8350
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
8397
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
.WithOverflowChecks(true), parseOptions: DefaultParseOptions);
8485
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
8515
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
8537
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
8556
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
8571
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
8604
var comp = CreateCompilation(text1, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
8624
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
8636
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
8713
", options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
8733
", options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
8951
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
8968
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
8985
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
8997
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
9010
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
9028
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
, parseOptions: DefaultParseOptions);
9046
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All));
9101
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All));
9495
var comp = CreateCompilation(text, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All));
Semantics\UsingDeclarationTests.cs (4)
385
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
).VerifyDiagnostics();
409
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
).VerifyDiagnostics();
435
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
).VerifyDiagnostics();
824
var compilation = CreateCompilationWithTasksExtensions(source, options: TestOptions.
DebugExe
).VerifyDiagnostics();
Semantics\Utf8StringsLiteralsTests.cs (96)
54
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
83
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
111
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
142
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
175
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
199
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
226
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
255
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
283
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
314
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
338
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
362
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
384
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
416
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
453
comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular11);
461
comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular10);
487
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
518
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
561
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
821
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
873
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
924
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
981
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1037
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1095
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1151
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1205
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1257
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1308
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1366
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1396
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1420
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1453
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1475
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1515
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1536
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1540
comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular10);
1575
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1602
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1605
comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular10);
1623
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1649
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1666
comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular11);
1672
comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular10);
1702
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1719
comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular11);
1725
comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular10);
1755
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1772
comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular11);
1778
comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular10);
1817
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1834
comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular11);
1840
comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular10);
1877
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1916
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1943
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.
DebugExe
);
1972
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
2002
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
2037
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
2074
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
2102
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
2122
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
2143
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
2169
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
2198
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
2235
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
2276
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
2325
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
2362
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
2399
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
2433
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
2457
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
2461
comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular10);
2482
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
2513
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
3446
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
3494
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
3536
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
3585
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
3634
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
3684
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
3731
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
3772
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
3827
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
3853
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
3899
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
3945
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
3989
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
4032
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
4061
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
4132
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
4155
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
4186
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
4225
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
4250
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
4275
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
SourceGeneration\GeneratorDriverTests.cs (1)
4170
Compilation compilation = CreateCompilation([source1], options: TestOptions.
DebugExe
, parseOptions: parseOptions);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (641)
Compilation\CompilationAPITests.cs (3)
371
var ops1 = TestOptions.
DebugExe
;
487
var opt = TestOptions.
DebugExe
;
489
var comp = CSharpCompilation.Create("Compilation", options: TestOptions.
DebugExe
);
Compilation\ReferenceManagerTests.cs (2)
52
options: TestOptions.
DebugExe
);
745
var compilation = CreateEmptyCompilation(tree, new[] { MscorlibRef, r1, r2_SysCore }, TestOptions.
DebugExe
, assemblyName: "Test");
Compilation\SemanticModelAPITests.cs (2)
4469
var options = WithNullable(TestOptions.
DebugExe
, nullableContextOption);
4524
var options = WithNullable(TestOptions.
DebugExe
, nullableContextOption);
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (1)
2754
options: TestOptions.
DebugExe
.WithScriptClassName("Script"),
DeclarationTests.cs (4)
61
var decl1 = DeclarationTreeBuilder.ForTree(tree1, TestOptions.
DebugExe
.ScriptClassName, isSubmission: false);
62
var decl2 = DeclarationTreeBuilder.ForTree(tree2, TestOptions.
DebugExe
.ScriptClassName, isSubmission: false);
230
var decl1 = Lazy(DeclarationTreeBuilder.ForTree(tree1, TestOptions.
DebugExe
.ScriptClassName, isSubmission: false));
231
var decl2 = Lazy(DeclarationTreeBuilder.ForTree(tree2, TestOptions.
DebugExe
.ScriptClassName, isSubmission: false));
Symbols\AssemblyAndNamespaceTests.cs (6)
117
var comp1 = CSharpCompilation.Create(assemblyName: "Test", options: TestOptions.
DebugExe
,
121
var comp = CSharpCompilation.Create(assemblyName: "Test1", options: TestOptions.
DebugExe
,
164
var comp = CSharpCompilation.Create(assemblyName: "Test1", options: TestOptions.
DebugExe
,
251
var comp1 = CSharpCompilation.Create(assemblyName: "Test1", options: TestOptions.
DebugExe
, syntaxTrees: new SyntaxTree[] { SyntaxFactory.ParseSyntaxTree(text1) }, references: new MetadataReference[] { });
252
var comp2 = CSharpCompilation.Create(assemblyName: "Test2", options: TestOptions.
DebugExe
, syntaxTrees: new SyntaxTree[] { SyntaxFactory.ParseSyntaxTree(text2) }, references: new MetadataReference[] { });
257
var comp = CSharpCompilation.Create(assemblyName: "Test3", options: TestOptions.
DebugExe
,
Symbols\CheckedUserDefinedOperatorsTests.cs (69)
3422
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
3432
compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular11);
3443
var compilation3 = CreateCompilation(source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular10, references: new[] { compilation2.ToMetadataReference() });
3614
var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
3694
var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
3771
var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
3821
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
3828
compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular11);
3836
var compilation3 = CreateCompilation(source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular10, references: new[] { compilation2.ToMetadataReference() });
3931
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
4035
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
4197
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
4207
compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular11);
4218
var compilation3 = CreateCompilation(source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular10, references: new[] { compilation2.ToMetadataReference() });
4396
var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
4478
var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
4557
var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
4658
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
4668
compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular11);
4679
var compilation3 = CreateCompilation(source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular10, references: new[] { compilation2.ToMetadataReference() });
4728
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
4779
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
4788
compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular11);
4798
var compilation3 = CreateCompilation(source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular10, references: new[] { compilation2.ToMetadataReference() });
4891
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
5001
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
5204
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
5216
compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular11);
5229
var compilation3 = CreateCompilation(source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular10, references: new[] { compilation2.ToMetadataReference() });
5290
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
5328
var compilation2 = CreateCompilation(source1 + source3, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
5485
var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
5574
var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
5620
var compilation2 = CreateCompilationWithIL(source2, ilSource, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
5682
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
5689
compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular11);
5697
var compilation3 = CreateCompilation(source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular10, references: new[] { compilation2.ToMetadataReference() });
5769
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
6037
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
6153
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
6306
var compilation1 = CreateCompilationWithCSharp(source1 + source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
6316
compilation1 = CreateCompilationWithCSharp(source1 + source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular11);
6327
var compilation3 = CreateCompilationWithCSharp(source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular10, references: new[] { compilation2.ToMetadataReference() });
6411
var compilation1 = CreateCompilationWithCSharp(source1 + source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
6421
compilation1 = CreateCompilationWithCSharp(source1 + source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular11);
6432
var compilation3 = CreateCompilationWithCSharp(source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular10, references: new[] { compilation2.ToMetadataReference() });
6526
var compilation1 = CreateCompilationWithCSharp(source1 + source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
6538
compilation1 = CreateCompilationWithCSharp(source1 + source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular11);
6551
var compilation3 = CreateCompilationWithCSharp(source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular10, references: new[] { compilation2.ToMetadataReference() });
6604
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
6608
var compilation3 = CreateCompilation(source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview, references: new[] { compilation2.EmitToImageReference() });
6709
var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
6754
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
6758
var compilation3 = CreateCompilation(source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview, references: new[] { compilation2.EmitToImageReference() });
6803
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
6807
var compilation3 = CreateCompilation(source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview, references: new[] { compilation2.EmitToImageReference() });
6852
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
6856
var compilation3 = CreateCompilation(source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview, references: new[] { compilation2.EmitToImageReference() });
6962
var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
7003
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
7007
var compilation3 = CreateCompilation(source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview, references: new[] { compilation2.EmitToImageReference() });
7048
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
7052
var compilation3 = CreateCompilation(source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview, references: new[] { compilation2.EmitToImageReference() });
7155
var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
7201
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
7273
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
7344
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
7417
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
7481
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
Symbols\CorLibrary\CorTypes.cs (13)
288
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
301
comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
390
var comp = CreateCompilation(source2, references: [corLib_v2_Comp.ToMetadataReference(), typeLib_v2_Comp.ToMetadataReference(), comp1Ref], options: TestOptions.
DebugExe
);
425
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
432
comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
575
var comp = CreateCompilation(source2, references: [corLib_v2_Comp.ToMetadataReference(), typeLib_v2_Comp.ToMetadataReference(), comp1Ref], options: TestOptions.
DebugExe
);
617
var comp = CreateCompilation(source, targetFramework: TargetFramework.Mscorlib40AndSystemCore, options: TestOptions.
DebugExe
);
627
comp = CreateCompilation(source, targetFramework: TargetFramework.Mscorlib40AndSystemCore, options: TestOptions.
DebugExe
);
635
comp = CreateCompilation(source, targetFramework: TargetFramework.Mscorlib40AndSystemCore, options: TestOptions.
DebugExe
);
663
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
673
comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
856
var comp = CreateCompilation(source2, references: [corLib_v2_Comp.ToMetadataReference(), typeLib_v2_Comp.ToMetadataReference(), comp1Ref], options: TestOptions.
DebugExe
);
1050
var comp = CreateCompilation(source2, references: [corLib_v2_Comp.ToMetadataReference(), typeLib_v2_Comp.ToMetadataReference(), comp1Ref], options: TestOptions.
DebugExe
);
Symbols\DefaultInterfaceImplementationTests.cs (475)
117
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.Net60,
168
var compilation2 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
287
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
345
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
361
var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.
DebugExe
,
427
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
485
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
501
var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.
DebugExe
,
578
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
676
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
778
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
880
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
967
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
1042
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
1121
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
1200
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
1279
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
1363
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
1451
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
1539
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
2102
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
2181
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
2203
var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.
DebugExe
,
2267
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
2336
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
2409
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
2482
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
2579
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
2633
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
2650
var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.
DebugExe
,
3722
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
3864
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
3982
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
4134
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
5383
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
5500
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
5591
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
5736
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
6541
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
6598
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
6619
var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.
DebugExe
,
6943
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
7046
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
7137
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
7244
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
7969
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
8245
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
8770
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
8871
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
9041
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
9230
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
9257
compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
9282
var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
9295
compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
9447
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
9455
compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
9472
var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
9481
compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
9529
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
9543
var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.
DebugExe
,
9554
var compilation4 = CreateCompilation(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.
DebugExe
,
9828
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
9842
var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.
DebugExe
,
9849
var compilation4 = CreateCompilation(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.
DebugExe
,
9887
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
9907
var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.
DebugExe
,
9919
var compilation4 = CreateCompilation(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.
DebugExe
,
9964
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
9976
compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
9996
var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
10050
var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.
DebugExe
,
10058
compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.
DebugExe
,
10133
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
10827
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
10881
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
10927
var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.
DebugExe
,
10938
var compilation4 = CreateCompilation(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.
DebugExe
,
11054
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
11160
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
11579
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
11692
var compilation1 = CreateCompilation(source0 + source1, options: TestOptions.
DebugExe
,
11716
var compilation2 = CreateCompilation(source0 + source2, options: TestOptions.
DebugExe
,
11757
var compilation4 = CreateCompilation(source3, options: TestOptions.
DebugExe
,
11767
var compilation5 = CreateCompilation(source4, options: TestOptions.
DebugExe
,
11784
var compilation6 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
11847
var compilation1 = CreateCompilation(source21 + source1, options: TestOptions.
DebugExe
,
11881
compilation1 = CreateCompilation(source22 + source1, options: TestOptions.
DebugExe
,
11907
var compilation3 = CreateCompilation(source21, new[] { reference }, options: TestOptions.
DebugExe
,
11915
compilation3 = CreateCompilation(source22, new[] { reference }, options: TestOptions.
DebugExe
,
11983
var compilation1 = CreateCompilation(source21 + source1, options: TestOptions.
DebugExe
,
11996
compilation1 = CreateCompilation(source21 + source1, options: TestOptions.
DebugExe
,
12022
var compilation3 = CreateCompilation(source21, new[] { reference }, options: TestOptions.
DebugExe
,
12037
compilation3 = CreateCompilation(source22, new[] { reference }, options: TestOptions.
DebugExe
,
12103
var compilation1 = CreateCompilation(source21 + source1, options: TestOptions.
DebugExe
,
12119
compilation1 = CreateCompilation(source22 + source1, options: TestOptions.
DebugExe
,
12145
var compilation3 = CreateCompilation(source21, new[] { reference }, options: TestOptions.
DebugExe
,
12160
compilation3 = CreateCompilation(source22, new[] { reference }, options: TestOptions.
DebugExe
,
12216
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
12237
var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
12278
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
12299
var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
12340
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
12360
var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
12612
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
12637
var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
12700
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
12725
var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
12788
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
12813
var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
13991
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
14212
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
14230
var compilation2 = CreateCompilation(source1, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
14606
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
14912
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
14920
compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
14958
var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
14966
compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
15110
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
15118
compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
15137
var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
15145
compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
15245
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
15263
var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
15660
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
15674
var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.
DebugExe
,
15683
var compilation4 = CreateCompilation(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.
DebugExe
,
15743
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
15755
var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.
DebugExe
,
15762
var compilation4 = CreateCompilation(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.
DebugExe
,
15845
compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
15872
compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
15969
var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.
DebugExe
,
16175
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
17456
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
17527
var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.
DebugExe
,
17541
var compilation4 = CreateCompilation(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.
DebugExe
,
17726
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
18282
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
.WithMetadataImportOptions(metadataImportOptions),
18329
options: TestOptions.
DebugExe
.WithMetadataImportOptions(metadataImportOptions),
18457
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
18465
compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
18495
options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
18504
options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
19837
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
19908
var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.
DebugExe
,
19922
var compilation4 = CreateCompilation(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.
DebugExe
,
20315
options: TestOptions.
DebugExe
,
20353
var compilation2 = CreateCompilation(source0 + source2, options: TestOptions.
DebugExe
,
20426
var compilation4 = CreateCompilation(source3, options: TestOptions.
DebugExe
,
20444
var compilation5 = CreateCompilation(source4, options: TestOptions.
DebugExe
,
20456
var compilation6 = CreateCompilation(source5, options: TestOptions.
DebugExe
,
20491
var compilation7 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
27619
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
27789
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
27863
var compilation2 = CreateCompilation(source2, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
27883
var compilation3 = CreateCompilation(source2, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
28117
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
28418
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
28426
compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
28501
var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
28509
compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
28615
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
28623
compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
28642
var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
28650
compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
28751
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
, targetFramework: targetFramework,
28767
var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
29169
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
29183
var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.
DebugExe
,
29192
var compilation4 = CreateCompilation(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.
DebugExe
,
29255
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
29267
var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.
DebugExe
,
29274
var compilation4 = CreateCompilation(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.
DebugExe
,
29357
compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
29384
compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
29474
var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.
DebugExe
,
29578
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
30861
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
30930
var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.
DebugExe
,
30944
var compilation4 = CreateCompilation(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.
DebugExe
,
31095
options: TestOptions.
DebugExe
,
31121
var compilation2 = CreateCompilation(source0 + source2, options: TestOptions.
DebugExe
,
31168
var compilation4 = CreateCompilation(source3, options: TestOptions.
DebugExe
,
31180
var compilation5 = CreateCompilation(source4, options: TestOptions.
DebugExe
,
31206
var compilation6 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
31750
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
31809
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
31932
var compilation1 = CreateCompilation(source0 + source1, options: TestOptions.
DebugExe
,
31983
var compilation2 = CreateCompilation(source2 + source0, options: TestOptions.
DebugExe
,
32024
var compilation4 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
32038
var compilation5 = CreateCompilation(source2, options: TestOptions.
DebugExe
,
32123
var compilation1 = CreateCompilation(source0 + source1, options: TestOptions.
DebugExe
,
32158
var compilation4 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
32172
var compilation5 = CreateCompilation(source2, options: TestOptions.
DebugExe
,
32257
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
);
32287
var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.
DebugExe
);
32481
var compilation1 = CreateCompilation(source0 + source1, options: TestOptions.
DebugExe
,
32508
var compilation2 = CreateCompilation(source2 + source0, options: TestOptions.
DebugExe
,
32549
var compilation4 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
32556
var compilation5 = CreateCompilation(source2, options: TestOptions.
DebugExe
,
32959
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
32975
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
32991
var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.
DebugExe
,
33980
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
34141
var compilation1 = CreateCompilation(source1 + source2 + source3, options: TestOptions.
DebugExe
,
34157
var compilation2 = CreateCompilation(source3, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
34173
var compilation3 = CreateCompilation(source3, new[] { compilation1.EmitToImageReference() }, options: TestOptions.
DebugExe
,
34501
var compilation4 = CreateCompilation(source4, new[] { ref1 }, options: TestOptions.
DebugExe
,
34585
var compilation5 = CreateCompilation(source5, new[] { ref1, ref2 }, options: TestOptions.
DebugExe
,
34797
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
34894
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
34912
var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.
DebugExe
,
35469
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
35578
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
35691
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
35804
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
35910
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
36015
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
36113
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
36227
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
36386
var compilation1 = CreateCompilation(source1 + source2 + source3, options: TestOptions.
DebugExe
,
36404
var compilation2 = CreateCompilation(source3, new[] { reference }, options: TestOptions.
DebugExe
,
36429
var compilation5 = CreateCompilation(source2 + source3, new[] { reference }, options: TestOptions.
DebugExe
,
36574
var compilation1 = CreateCompilation(source1 + source2 + source3, options: TestOptions.
DebugExe
,
36592
var compilation2 = CreateCompilation(source3, new[] { reference }, options: TestOptions.
DebugExe
,
36617
var compilation5 = CreateCompilation(source2 + source3, new[] { reference }, options: TestOptions.
DebugExe
,
36762
var compilation1 = CreateCompilation(source1 + source2 + source3, options: TestOptions.
DebugExe
,
36780
var compilation2 = CreateCompilation(source3, new[] { reference }, options: TestOptions.
DebugExe
,
36984
foreach (var options in new[] { TestOptions.
DebugExe
, TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All) })
38401
var compilation1 = CreateCompilation(source1 + source2 + source3, options: TestOptions.
DebugExe
,
38420
var compilation2 = CreateCompilation(source3, new[] { reference }, options: TestOptions.
DebugExe
,
38446
var compilation5 = CreateCompilation(source2 + source3, new[] { reference }, options: TestOptions.
DebugExe
,
38838
var compilation4 = CreateCompilation(source4, new[] { ref1 }, options: TestOptions.
DebugExe
,
38909
var compilation5 = CreateCompilation(source5, new[] { ref1, ref2 }, options: TestOptions.
DebugExe
,
39106
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
39175
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
39193
var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.
DebugExe
,
40014
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
40032
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
40050
var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.
DebugExe
,
41069
var compilation1 = CreateCompilation(source1 + source2 + source3, options: TestOptions.
DebugExe
,
41087
var compilation2 = CreateCompilation(source3, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
41105
var compilation3 = CreateCompilation(source3, new[] { compilation1.EmitToImageReference() }, options: TestOptions.
DebugExe
,
41500
var compilation4 = CreateCompilation(source4, new[] { ref1 }, options: TestOptions.
DebugExe
,
41587
var compilation5 = CreateCompilation(source5, new[] { ref1, ref2 }, options: TestOptions.
DebugExe
,
41782
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
41851
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
41869
var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.
DebugExe
,
42019
var compilation1 = CreateCompilation(source1 + source2 + source3, options: TestOptions.
DebugExe
,
42039
var compilation2 = CreateCompilation(source3, new[] { reference }, options: TestOptions.
DebugExe
,
42066
var compilation5 = CreateCompilation(source2 + source3, new[] { reference }, options: TestOptions.
DebugExe
,
42223
var compilation1 = CreateCompilation(source1 + source2 + source3, options: TestOptions.
DebugExe
,
42243
var compilation2 = CreateCompilation(source3, new[] { reference }, options: TestOptions.
DebugExe
,
42270
var compilation5 = CreateCompilation(source2 + source3, new[] { reference }, options: TestOptions.
DebugExe
,
42427
var compilation1 = CreateCompilation(source1 + source2 + source3, options: TestOptions.
DebugExe
,
42447
var compilation2 = CreateCompilation(source3, new[] { reference }, options: TestOptions.
DebugExe
,
43789
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
43834
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
43839
var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.
DebugExe
,
43844
var compilation4 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
43868
var compilation5 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
43919
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
43971
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
43976
var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.
DebugExe
,
43981
var compilation4 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
44004
var compilation5 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
44054
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
44101
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
44106
var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.
DebugExe
,
44111
var compilation4 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
44134
var compilation5 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
44192
var compilation1 = CreateCompilation(source0 + source1, options: TestOptions.
DebugExe
,
44222
var compilation2 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
44242
var compilation3 = CreateCompilation(source0 + source3, options: TestOptions.
DebugExe
,
44268
var compilation2 = CreateCompilation(source3 + source4, new[] { reference }, options: TestOptions.
DebugExe
,
44288
var compilation4 = CreateCompilation(source0 + source1, options: TestOptions.
DebugExe
,
44642
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
44689
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
44723
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
44797
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
44838
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
44883
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
44919
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
44964
var compilation1 = CreateCompilation(source0 + source1, options: TestOptions.
DebugExe
,
44982
var compilation2 = CreateCompilation(source0 + source2, options: TestOptions.
DebugExe
,
45056
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
45101
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
45106
var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.
DebugExe
,
45111
var compilation4 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
45144
var compilation5 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
45207
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
45254
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
45259
var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.
DebugExe
,
45264
var compilation4 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
45297
var compilation5 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
45350
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
45393
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
45398
var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.
DebugExe
,
45403
var compilation4 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
45439
var compilation5 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
45540
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
45585
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
45590
var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.
DebugExe
,
45595
var compilation4 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
45627
var compilation5 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
45680
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
45722
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
45727
var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.
DebugExe
,
45732
var compilation4 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
45764
var compilation5 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
45902
var compilation2 = CreateCompilation(source2, options: TestOptions.
DebugExe
,
45920
var compilation3 = CreateCompilation(source3, options: TestOptions.
DebugExe
,
45936
var compilation4 = CreateCompilation(source4, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.Mscorlib461Extended,
46034
var compilation2 = CreateCompilation(source2, options: TestOptions.
DebugExe
,
46160
var compilation3 = CreateCompilation(source3, options: TestOptions.
DebugExe
,
46198
var compilation4 = CreateCompilation(source4, options: TestOptions.
DebugExe
,
46303
var compilation3 = CreateCompilation(source3, options: TestOptions.
DebugExe
,
46346
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
46372
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
.WithMainTypeName("I2"),
46588
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
46598
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
46605
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
46766
var compilation7 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
46844
var compilation8 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
46864
var compilation9 = CreateCompilation(source3, new[] { compilationReference }, options: TestOptions.
DebugExe
,
46879
var compilation10 = CreateCompilation(source3, new[] { metadataReference }, options: TestOptions.
DebugExe
,
46949
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.NetCoreApp);
46952
var compilation2 = CreateCompilation(source1 + source3, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.NetCoreApp,
46995
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.NetCoreApp,
47012
CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.NetCoreApp,
47024
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
47028
CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
47082
var compilation3 = CreateCompilationWithIL(source2, ilSource, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
47088
CreateCompilationWithIL(source2, ilSource, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
47111
var compilation4 = CreateCompilationWithIL(source3, ilSource, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
47120
CreateCompilationWithIL(source3, ilSource, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
47222
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.NetCoreApp,
47231
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
47237
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
47256
var compilation9 = CreateCompilation(source3, new[] { compilationReference }, options: TestOptions.
DebugExe
,
47267
var compilation10 = CreateCompilation(source3, new[] { metadataReference }, options: TestOptions.
DebugExe
,
47314
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
47323
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
47329
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
47390
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
47399
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
47405
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
47463
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
47470
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
47520
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
47529
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
47535
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
47601
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
47610
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
47616
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
47684
var compilation1 = CreateCompilation(source3, new[] { compilationReference0 }, options: TestOptions.
DebugExe
,
47689
var compilation2 = CreateCompilation(source3, new[] { metadataReference0 }, options: TestOptions.
DebugExe
,
47716
var compilation4 = CreateCompilation(source3, new[] { compilationReference3 }, options: TestOptions.
DebugExe
,
47721
var compilation5 = CreateCompilation(source3, new[] { metadataReference3 }, options: TestOptions.
DebugExe
,
47745
var compilation7 = CreateCompilation(source3, new[] { compilationReference6 }, options: TestOptions.
DebugExe
,
47750
var compilation8 = CreateCompilation(source3, new[] { metadataReference6 }, options: TestOptions.
DebugExe
,
47817
var compilation1 = CreateCompilation(source3, new[] { compilationReference0 }, options: TestOptions.
DebugExe
,
47822
var compilation2 = CreateCompilation(source3, new[] { metadataReference0 }, options: TestOptions.
DebugExe
,
47849
var compilation4 = CreateCompilation(source3, new[] { compilationReference3 }, options: TestOptions.
DebugExe
,
47854
var compilation5 = CreateCompilation(source3, new[] { metadataReference3 }, options: TestOptions.
DebugExe
,
47878
var compilation7 = CreateCompilation(source3, new[] { compilationReference6 }, options: TestOptions.
DebugExe
,
47883
var compilation8 = CreateCompilation(source3, new[] { metadataReference6 }, options: TestOptions.
DebugExe
,
47945
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
47950
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
48012
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
48017
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
48079
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
48088
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
48094
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
48136
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
48145
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
48151
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
48203
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
48212
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
48218
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
48238
var compilation9 = CreateCompilation(source3, new[] { compilationReference }, options: TestOptions.
DebugExe
,
48252
var compilation10 = CreateCompilation(source3, new[] { metadataReference }, options: TestOptions.
DebugExe
,
48300
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
48309
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
48315
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
48370
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
48379
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
48385
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
48434
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
48443
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
48449
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
48513
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
48522
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
48528
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
48585
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
48594
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
48600
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
48666
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
48671
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
48736
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
48741
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
48798
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
48805
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
48890
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
48899
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
48905
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
48956
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
48965
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
48971
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
49063
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
49072
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
49078
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
49295
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
49304
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
49310
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
49528
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
49544
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
49550
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
49955
var compilation0 = CreateCompilation(source0 + source1, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.NetCoreApp);
49981
var compilation1 = CreateCompilation(source0 + source2, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.NetCoreApp);
50044
var compilation0 = CreateCompilation(source0, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.NetCoreApp);
50083
var compilation0 = CreateCompilation(source0 + source1, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.NetCoreApp);
50109
var compilation1 = CreateCompilation(source0 + source2, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.NetCoreApp);
50246
var compilation0 = CreateCompilation(source0 + source1, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.NetCoreApp);
50306
var compilation0 = CreateCompilation(source0 + source1, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.NetCoreApp);
50843
var compilation0 = CreateCompilation(source0, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.Net50);
50896
var compilation0 = CreateCompilation(source0, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.Net50);
50949
var compilation0 = CreateCompilation(source0, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.Net50);
51220
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
51237
var compilation3 = CreateCompilation(source2, options: TestOptions.
DebugExe
, references: new[] { reference },
51501
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
51518
var compilation3 = CreateCompilation(source2, options: TestOptions.
DebugExe
, references: new[] { reference },
51894
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
51911
var compilation3 = CreateCompilation(source2, options: TestOptions.
DebugExe
, references: new[] { reference },
52689
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
52706
var compilation3 = CreateCompilation(source2, options: TestOptions.
DebugExe
, references: new[] { reference },
53017
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
53034
var compilation3 = CreateCompilation(source2, options: TestOptions.
DebugExe
, references: new[] { reference },
53486
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
53503
var compilation3 = CreateCompilation(source2, options: TestOptions.
DebugExe
, references: new[] { reference },
57647
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
57664
var compilation3 = CreateCompilation(source2, options: TestOptions.
DebugExe
, references: new[] { reference },
57956
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
57973
var compilation3 = CreateCompilation(source2, options: TestOptions.
DebugExe
, references: new[] { reference },
58388
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
58405
var compilation3 = CreateCompilation(source2, options: TestOptions.
DebugExe
, references: new[] { reference },
62375
var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.NetCoreApp);
62468
var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.NetCoreApp);
62513
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.NetCoreApp);
62528
compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp);
63858
var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.Net60);
64607
var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.Net60);
64757
var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.Net60);
65158
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
65202
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
65246
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
65299
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
65351
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
66751
var compilation2 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
66804
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
66839
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
66870
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
66931
var compilation2 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
66991
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
67003
compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
67032
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
67044
compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
67096
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
67108
compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
67930
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
67996
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
68061
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
68159
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.Net60,
68191
var compilation2 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
Symbols\EnumTests.cs (1)
395
comp = CreateCompilation(sourceC, references: new[] { refB }, options: TestOptions.
DebugExe
);
Symbols\ExtendedPartialMethodsTests.cs (7)
1577
options: TestOptions.
DebugExe
,
1613
options: TestOptions.
DebugExe
,
2389
options: TestOptions.
DebugExe
);
2416
options: TestOptions.
DebugExe
,
2437
options: TestOptions.
DebugExe
);
2465
options: TestOptions.
DebugExe
,
2696
var comp = CreateCompilationWithIL(source, il, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
Symbols\ExtensionMethodTests.cs (2)
2427
options: TestOptions.
DebugExe
.WithScriptClassName("Script"),
2591
", options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All));
Symbols\InterfaceImplementationTests.cs (1)
2449
var comp = CreateCompilationWithILAndMscorlib40(source, il, options: TestOptions.
DebugExe
);
Symbols\Metadata\PE\LoadingFields.cs (1)
140
var compilation = CreateCompilationWithILAndMscorlib40(text, il, options: TestOptions.
DebugExe
);
Symbols\MissingSpecialMember.cs (1)
1134
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
);
Symbols\ModuleInitializers\ModuleInitializersTests.cs (6)
90
options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
125
options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
502
options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
552
options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
598
options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
651
options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
Symbols\PEParameterSymbolTests.cs (1)
92
var compilation = CreateCompilationWithMscorlib461(source, new[] { vbComp }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
Symbols\RelaxedShiftOperatorTests.cs (3)
47
var compilation1 = CreateCompilation(source0 + source1, options: TestOptions.
DebugExe
,
54
var compilation2 = CreateCompilation(source1, options: TestOptions.
DebugExe
, references: new[] { compilation0.ToMetadataReference() },
59
var compilation3 = CreateCompilation(source1, options: TestOptions.
DebugExe
, references: new[] { compilation0.EmitToImageReference() },
Symbols\Source\ClsComplianceTests.cs (3)
2996
CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
3017
CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
3038
CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
Symbols\Source\ExternAliasTests.cs (1)
100
var comp = CreateCompilationWithMscorlib461(src, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Script);
Symbols\Source\FileModifierTests.cs (3)
1857
var comp = CreateCompilation(new[] { (source1 + main, "file1.cs"), (source2, "file2.cs") }, options: TestOptions.
DebugExe
);
1865
comp = CreateCompilation(new[] { (source1, "file1.cs"), (source2 + main, "file2.cs") }, options: TestOptions.
DebugExe
);
3325
var compilation = CreateCompilation(new[] { (source, "file1.cs"), (IsExternalInitTypeDefinition, "file2.cs") }, options: TestOptions.
DebugExe
.WithUsings("NS"));
Symbols\StaticAbstractMembersInInterfacesTests.cs (11)
17348
var compilation2 = CreateCompilation(source2, options: TestOptions.
DebugExe
,
17454
var compilation2 = CreateCompilation(source2, options: TestOptions.
DebugExe
,
31463
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
31521
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
31574
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
33433
""", options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview, targetFramework: _supportingFramework).VerifyDiagnostics(
33450
""", options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview, targetFramework: _supportingFramework).VerifyDiagnostics(
33474
options: TestOptions.
DebugExe
,
33496
""", options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview, targetFramework: _supportingFramework).VerifyDiagnostics(
33520
options: TestOptions.
DebugExe
,
33542
""", options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview, targetFramework: _supportingFramework).VerifyDiagnostics(
Symbols\SymbolErrorTests.cs (1)
20458
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.
DebugExe
);
Symbols\UnsignedRightShiftTests.cs (24)
109
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
493
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
521
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
617
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
1160
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
1572
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
1973
var compilation1 = CreateCompilation(source0 + source1, options: TestOptions.
DebugExe
,
1993
var compilation2 = CreateCompilation(source1, options: TestOptions.
DebugExe
, references: new[] { compilation0.ToMetadataReference() },
1999
var compilation3 = CreateCompilation(source1, options: TestOptions.
DebugExe
, references: new[] { compilation0.EmitToImageReference() },
2062
var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.
DebugExe
,
2225
var compilation1 = CreateCompilation(source0 + source1, options: TestOptions.
DebugExe
,
2245
var compilation2 = CreateCompilation(source1, options: TestOptions.
DebugExe
, references: new[] { compilation0.ToMetadataReference() },
2251
var compilation3 = CreateCompilation(source1, options: TestOptions.
DebugExe
, references: new[] { compilation0.EmitToImageReference() },
2367
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
2495
var compilation1 = CreateCompilation(source0 + source1, options: TestOptions.
DebugExe
,
2593
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
3112
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
3120
var compilation2 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
3206
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
3214
var compilation2 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
3300
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
3308
var compilation2 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
3394
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
3402
var compilation2 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Parsing\ParserErrorMessageTests.cs (2)
638
CreateCompilation(test, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2421
CreateCompilation(test, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
Microsoft.CodeAnalysis.CSharp.Test.Utilities (2)
TestOptions.cs (2)
83
public static readonly CSharpCompilationOptions DebugExeThrowing =
DebugExe
.WithMetadataReferenceResolver(new ThrowingMetadataReferenceResolver());
95
public static readonly CSharpCompilationOptions UnsafeDebugExe =
DebugExe
.WithAllowUnsafe(true);
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver.UnitTests (1)
CSharpFunctionResolverTests.cs (1)
420
var compilationB = CreateCompilation(sourceB, assemblyName: nameB, options: TestOptions.
DebugExe
, references: new[] { refA });
Microsoft.CodeAnalysis.Rebuild.UnitTests (2)
CSharpRebuildTests.cs (1)
24
options: TestOptions.
DebugExe
);
OptionRoundTripTests.cs (1)
27
public static readonly CSharpCompilationOptions BaseCSharpCompilationOptions = TestOptions.
DebugExe
.WithDeterministic(true);
SemanticSearch.BuildTask.UnitTests (3)
GenerateFilteredReferenceAssembliesTaskTests.cs (3)
128
""", references: [libRef], TestOptions.
DebugExe
);
176
""", references: [libRef], TestOptions.
DebugExe
);
225
""", references: [libRef], TestOptions.
DebugExe
);