3239 references to DebugExe
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (1)
CommandLineTests.cs (1)
15600
var comp = CreateCompilation(src, options: TestOptions.
DebugExe
.WithGeneralDiagnosticOption(ReportDiagnostic.Suppress));
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (789)
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 (95)
179
}", options: TestOptions.
DebugExe
);
352
}", options: TestOptions.
DebugExe
);
647
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
650
comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular13);
653
comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular12);
696
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular12);
702
comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular13);
705
comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
855
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular12);
861
comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular13);
864
comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
1848
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
2174
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations: 2), source }, options: TestOptions.
DebugExe
);
2347
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
2388
var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.
DebugExe
);
2466
var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.
DebugExe
);
2515
var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.
DebugExe
);
2560
var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.
DebugExe
);
2603
var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.
DebugExe
);
2633
foreach (var options in new[] { TestOptions.
DebugExe
, TestOptions.ReleaseExe })
2659
if (options == TestOptions.
DebugExe
)
2864
if (options == TestOptions.
DebugExe
)
4233
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
4266
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
4298
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
4331
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
4382
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
4413
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
4442
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
4465
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
4499
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
4543
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
4571
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
4644
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
4679
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
4727
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
4768
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
4814
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
4863
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
4907
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
4961
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
5005
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
5051
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
5104
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
5137
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
5168
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
5233
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
5267
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
5298
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
5330
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
5365
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
5399
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
5438
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
5478
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
5556
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
5649
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
5684
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
5714
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
5745
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
5778
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
6170
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
6204
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
6245
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
6284
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
6320
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
6354
var comp = CreateCompilationWithAsyncIterator(new[] { Run(iterations), source }, options: TestOptions.
DebugExe
);
6396
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
6424
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
6637
var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, options: TestOptions.
DebugExe
);
6660
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
6690
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
6736
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
6813
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
6877
var comp = CreateCompilationWithAsyncIterator(source, options: TestOptions.
DebugExe
);
6926
var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, options: TestOptions.
DebugExe
);
6978
var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
7029
var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, options: TestOptions.
DebugExe
);
7077
var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, options: TestOptions.
DebugExe
);
7126
foreach (var options in new[] { TestOptions.
DebugExe
, TestOptions.ReleaseExe })
7259
foreach (var options in new[] { TestOptions.
DebugExe
, TestOptions.ReleaseExe })
7391
foreach (var options in new[] { TestOptions.
DebugExe
, TestOptions.ReleaseExe })
7436
var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, options: TestOptions.
DebugExe
);
7482
var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, options: TestOptions.
DebugExe
);
7540
foreach (var options in new[] { TestOptions.
DebugExe
, TestOptions.ReleaseExe })
7600
foreach (var options in new[] { TestOptions.
DebugExe
, TestOptions.ReleaseExe })
7639
var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, options: TestOptions.
DebugExe
);
7666
var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, TestOptions.
DebugExe
);
7697
var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, TestOptions.
DebugExe
, TestOptions.Regular9);
7923
var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, options: TestOptions.
DebugExe
);
7967
var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, options: TestOptions.
DebugExe
);
8025
var comp = CreateCompilationWithAsyncIterator(new[] { source, EnumeratorCancellationAttributeType }, options: TestOptions.
DebugExe
);
8218
}", options: TestOptions.
DebugExe
);
8267
}", options: TestOptions.
DebugExe
);
8316
}", options: TestOptions.
DebugExe
);
8584
var comp = CreateCompilation(src, 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)
79
options = TestOptions.
DebugExe
;
2484
var c = CompileAndVerify(source, expectedOutput: expected, options: TestOptions.
DebugExe
);
3545
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
3615
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
3640
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
3668
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
3693
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
3780
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
3831
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
3864
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
3988
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
4071
var comp1 = CreateCompilation(source1, options: TestOptions.
DebugExe
);
4105
var comp2 = CreateCompilation(source2, options: TestOptions.
DebugExe
);
4379
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
4416
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
4453
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
4494
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
4504
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.
DebugExe
);
4513
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.
DebugExe
);
4523
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.
DebugExe
);
4567
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Script, options: TestOptions.
DebugExe
);
4601
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
4696
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
4737
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
4787
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
4840
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
4898
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
5248
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
5287
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
);
5873
CompileAndVerify(source, options: TestOptions.
DebugExe
, verify: Verification.Skipped, expectedOutput: "0123").VerifyDiagnostics(diags);
CodeGen\CodeGenAwaitForeachTests.cs (104)
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
);
4965
var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.
DebugExe
);
5046
var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.
DebugExe
);
5272
var comp = CreateCompilationWithTasksExtensions(source + s_IAsyncEnumerable, options: TestOptions.
DebugExe
);
5546
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
);
5642
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
);
5687
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
);
5730
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
);
5778
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
);
5822
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
);
5956
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
);
6000
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
);
6046
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
);
6091
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
);
6245
var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
6269
var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
6356
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
6399
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
6429
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
6459
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
6677
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
6712
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
6743
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
6775
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
6874
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
6905
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
6935
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
6966
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
6996
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
7026
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
7056
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
7091
options: TestOptions.
DebugExe
,
7124
var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
7160
var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
7275
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
7362
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
7395
CreateCompilationWithCSharp(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9)
7552
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
7672
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
7748
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
7819
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
7886
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
8022
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
8055
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
8118
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
8148
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
8260
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
8297
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
8330
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
8363
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
8397
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
8430
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
8460
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
8496
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
8540
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
8607
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
8658
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
8707
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
8852
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
8887
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
8957
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
9008
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
,
9084
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
,
9162
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
,
9235
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
);
9294
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
);
3101
verifier = CompileAndVerify(source, expectedOutput, options: TestOptions.
DebugExe
);
3175
verifier = CompileAndVerify(source, expectedOutput, options: TestOptions.
DebugExe
);
3300
verifier = CompileAndVerify(sources, expectedOutput, options: TestOptions.
DebugExe
);
3426
verifier = CompileAndVerify(sources, expectedOutput, options: TestOptions.
DebugExe
);
3500
verifier = CompileAndVerify(source, expectedOutput, options: TestOptions.
DebugExe
);
3550
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\NoPiaEmbedTypes.cs (24)
192
var compilation = CreateCompilation(consumer, options: TestOptions.
DebugExe
,
197
compilation = CreateCompilation(consumer, options: TestOptions.
DebugExe
,
261
var compilation = CreateCompilation(consumer, options: TestOptions.
DebugExe
,
266
compilation = CreateCompilation(consumer, options: TestOptions.
DebugExe
,
321
var compilation = CreateCompilation(consumer, options: TestOptions.
DebugExe
,
326
compilation = CreateCompilation(consumer, options: TestOptions.
DebugExe
,
372
var compilation = CreateCompilation(consumer, options: TestOptions.
DebugExe
,
377
compilation = CreateCompilation(consumer, options: TestOptions.
DebugExe
,
871
var compilation = CreateEmptyCompilation(consumer, new MetadataReference[] { MscorlibRef_v20, new CSharpCompilationReference(piaCompilation, embedInteropTypes: true) }, options: TestOptions.
DebugExe
);
875
compilation = CreateEmptyCompilation(consumer, references: new MetadataReference[] { MscorlibRef_v20, piaCompilation.EmitToImageReference(embedInteropTypes: true) }, options: TestOptions.
DebugExe
);
1912
var compilation = CreateCompilationWithMscorlib40(consumer, options: TestOptions.
DebugExe
,
1919
compilation = CreateCompilationWithMscorlib40(consumer, options: TestOptions.
DebugExe
,
2001
options: TestOptions.
DebugExe
);
2009
options: TestOptions.
DebugExe
);
4888
var compilation1 = CreateCompilation(consumer, options: TestOptions.
DebugExe
,
4892
var compilation2 = CreateCompilation(consumer, options: TestOptions.
DebugExe
,
4896
var compilation3 = CreateCompilation(consumer, options: TestOptions.
DebugExe
,
4900
var compilation4 = CreateCompilation(consumer, options: TestOptions.
DebugExe
,
5038
var compilation1 = CreateCompilation(consumer, options: TestOptions.
DebugExe
,
5042
var compilation2 = CreateCompilation(consumer, options: TestOptions.
DebugExe
,
5365
var compilation1 = CreateCompilation(consumer, options: TestOptions.
DebugExe
,
5369
var compilation2 = CreateCompilation(consumer, options: TestOptions.
DebugExe
,
5373
var compilation3 = CreateCompilation(consumer, options: TestOptions.
DebugExe
,
5377
var compilation4 = CreateCompilation(consumer, 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)
4633
var compilation0 = CreateCompilation(source0.Tree, options: TestOptions.
DebugExe
);
5540
using var _ = new EditAndContinueTest(options: TestOptions.
DebugExe
)
Emit\EditAndContinue\EditAndContinueTests.cs (10)
453
var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.
DebugExe
);
747
var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.
DebugExe
, targetFramework: TargetFramework.NetStandard20);
1090
var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.
DebugExe
, targetFramework: TargetFramework.NetStandard20);
1213
var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.
DebugExe
, targetFramework: TargetFramework.NetStandard20);
2374
using var _ = new EditAndContinueTest(options: TestOptions.
DebugExe
)
2477
using var _ = new EditAndContinueTest(options: TestOptions.
DebugExe
)
2819
var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.
DebugExe
, targetFramework: TargetFramework.NetStandard20);
2903
var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.
DebugExe
, targetFramework: TargetFramework.NetStandard20);
8182
var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.
DebugExe
);
15660
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)
589
var c = CreateCompilation(source, options: TestOptions.
DebugExe
);
3637
var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.
DebugExe
);
3759
var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular7_1);
3925
var c = CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular7_1);
7819
var c = CreateCompilationWithMscorlib40AndSystemCore(src, references: new[] { CSharpRef, ValueTupleRef, SystemRuntimeFacadeRef }, options: TestOptions.
DebugExe
);
PDB\PDBUsingTests.cs (3)
2069
CompileAndVerify(source, new[] { libRef }, options: TestOptions.
DebugExe
).VerifyPdb("Test.Main", @"
2309
var comp2 = CreateCompilation(source2, new[] { comp1.ToMetadataReference() }, options: TestOptions.
DebugExe
);
2363
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)
28783
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
);
18237
var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.
DebugExe
.WithAllowUnsafe(true));
18265
var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.
DebugExe
.WithAllowUnsafe(true));
18294
var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.
DebugExe
.WithAllowUnsafe(true));
18333
var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.
DebugExe
.WithAllowUnsafe(true));
18365
var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.
DebugExe
.WithAllowUnsafe(true));
18396
var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.
DebugExe
.WithAllowUnsafe(true));
18426
var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.
DebugExe
.WithAllowUnsafe(true));
18466
var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.
DebugExe
.WithAllowUnsafe(true));
20082
comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.
DebugExe
);
20282
comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.
DebugExe
);
20541
comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.
DebugExe
);
20741
comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.
DebugExe
);
20958
comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.
DebugExe
);
21353
comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.
DebugExe
);
21572
comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.
DebugExe
);
21692
comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.
DebugExe
);
21891
comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.
DebugExe
);
22011
comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.
DebugExe
);
22195
comp = CreateCompilation(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.
DebugExe
);
22618
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);
21006
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
21106
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
21203
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
21287
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
21339
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
21405
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
21564
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
21729
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
21919
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
22071
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
22166
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
22334
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true), parseOptions: TestOptions.Regular);
22500
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true), parseOptions: TestOptions.Regular);
22598
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
22711
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true), parseOptions: TestOptions.Regular);
22804
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
22886
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
22950
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true), parseOptions: TestOptions.Regular);
22988
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true), parseOptions: TestOptions.Regular);
29482
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
.WithScriptClassName("Script"), parseOptions: TestOptions.Script);
29532
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
29984
options: TestOptions.
DebugExe
.WithScriptClassName("Script"), parseOptions: TestOptions.Script);
32610
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
32643
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
32784
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
32808
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
32837
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
32870
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
33008
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
33068
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
33122
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
33180
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
33257
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
33324
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
33347
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
33374
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
33712
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
33810
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
33909
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
34007
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
34092
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
34148
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
34509
var compilation = CreateCompilation(syntaxTree, options: TestOptions.
DebugExe
);
35901
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
35905
CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular7_2).VerifyDiagnostics(
Semantics\ParamsCollectionTests.cs (5)
12322
CompileAndVerify(source, options: TestOptions.
DebugExe
, expectedOutput: "DisposedDisposed").VerifyDiagnostics();
12353
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
15319
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
);
15369
var comp = CreateCompilationWithMscorlib46(source, options: TestOptions.
DebugExe
);
15427
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, options: TestOptions.
DebugExe
);
Semantics\PatternMatchingTestBase.cs (1)
424
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);
12555
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
12739
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
12885
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
12974
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
13136
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true), parseOptions: TestOptions.Regular);
13296
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true), parseOptions: TestOptions.Regular);
13383
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
13461
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true), parseOptions: TestOptions.Regular);
13549
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
13626
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular);
13690
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true), parseOptions: TestOptions.Regular);
13728
var compilation = CreateCompilation(source, options: TestOptions.
DebugExe
.WithAllowUnsafe(true), parseOptions: TestOptions.Regular);
13865
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 (1)
EndToEndTests.cs (1)
321
var compilation = 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)
3343
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)
9255
var comp = CreateCompilation(new[] { source, s_utils }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
9267
comp = CreateCompilation(new[] { source, s_utils }, parseOptions: TestOptions.Regular10, options: TestOptions.
DebugExe
);
9636
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)
970
var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
1002
var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
1046
parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
1051
parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
1082
parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
1130
parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
1135
parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
1683
var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, options: TestOptions.
DebugExe
);
1711
var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, options: TestOptions.
DebugExe
);
2734
options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
2782
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
3005
var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.
DebugExe
);
4184
targetFramework: TargetFramework.Mscorlib40, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
4191
targetFramework: TargetFramework.Mscorlib46, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9);
4473
var comp = CreateCompilation(new[] { IsExternalInitTypeDefinition, source }, options: TestOptions.
DebugExe
);
4526
var comp = CreateCompilation(new[] { IsExternalInitTypeDefinition, source }, options: TestOptions.
DebugExe
);
4552
var comp = CreateCompilation(new[] { IsExternalInitTypeDefinition, source }, options: TestOptions.
DebugExe
);
4602
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
)
9943
comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, options: TestOptions.
DebugExe
);
10099
var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.
DebugExe
);
18756
var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, options: TestOptions.
DebugExe
);
18869
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)
600
options: TestOptions.
DebugExe
,
624
options: TestOptions.
DebugExe
,
643
options: TestOptions.
DebugExe
,
665
options: TestOptions.
DebugExe
,
1449
var compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.
DebugExe
);
Semantics\NonTrailingNamedArgumentsTests.cs (1)
673
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
Semantics\NullableReferenceTypesTests.cs (25)
1737
var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.
DebugExe
));
1771
var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.
DebugExe
));
1942
var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.
DebugExe
));
2227
var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.
DebugExe
));
2249
var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.
DebugExe
));
2327
var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.
DebugExe
));
2360
var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.
DebugExe
));
2445
var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.
DebugExe
));
16980
var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.
DebugExe
));
17055
var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.
DebugExe
));
17389
var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.
DebugExe
));
17457
var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.
DebugExe
));
17538
var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.
DebugExe
));
17622
var comp = CreateCompilation(source, options: WithNullableEnable(TestOptions.
DebugExe
));
30267
options: TestOptions.
DebugExe
.WithNullableContextOptions(NullableContextOptions.Enable));
75126
options: WithNullableEnable(TestOptions.
DebugExe
));
77610
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
77634
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
77676
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
89424
CreateCompilation(source, options: WithNullableEnable(TestOptions.
DebugExe
)).VerifyDiagnostics(
154056
options: TestOptions.
DebugExe
);
155556
var comp = CreateCompilation(src, options: TestOptions.
DebugExe
);
155582
var comp = CreateCompilation(src, options: TestOptions.
DebugExe
);
155618
var comp = CreateCompilation(src, options: TestOptions.
DebugExe
);
156007
var comp = CreateCompilation(src, options: TestOptions.
DebugExe
.WithNullableContextOptions(NullableContextOptions.Enable));
Semantics\ObjectAndCollectionInitializerTests.cs (2)
4209
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.StandardAndCSharp);
4263
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)
17813
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.Net70);
20896
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.Net70);
21018
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.Net70);
29880
options: TestOptions.
DebugExe
.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings),
29931
options: TestOptions.
DebugExe
.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings),
29999
options: TestOptions.
DebugExe
.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings),
30059
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(
18396
CreateCompilation(source, options: TestOptions.
DebugExe
.WithWarningLevel(5)).VerifyDiagnostics();
18451
var comp = CreateCompilation(text, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.
DebugExe
);
18545
var comp = CreateCompilation(text, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.
DebugExe
);
18571
var comp = CreateCompilation(text, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.
DebugExe
);
21582
var compilation = CreateCompilation(text, targetFramework: TargetFramework.Mscorlib461, options: TestOptions.
DebugExe
);
24495
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)
53
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
82
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
110
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
141
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
174
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
198
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
225
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
254
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
282
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
313
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
337
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
361
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
383
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
415
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
452
comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular11);
460
comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular10);
486
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
517
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
560
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
820
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
872
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
923
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
980
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1036
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1094
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1150
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1204
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1256
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1307
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1365
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1395
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1419
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1452
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1474
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1514
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1535
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1539
comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular10);
1574
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1601
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1604
comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular10);
1622
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1648
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1665
comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular11);
1671
comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular10);
1701
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1718
comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular11);
1724
comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular10);
1754
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1771
comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular11);
1777
comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular10);
1816
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1833
comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular11);
1839
comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular10);
1876
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1915
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
1942
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.
DebugExe
);
1971
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
2001
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
2036
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
2073
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
2101
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
2121
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
2142
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
2168
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
2197
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
2234
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
2275
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
2324
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
2361
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
2398
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
2432
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
2456
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
2460
comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular10);
2481
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
2512
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
3444
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
3492
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
3534
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
3583
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
3632
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
3682
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
3729
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
3770
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
3825
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
3851
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
3897
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
3943
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
3987
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
4030
var comp = CreateCompilation(source, options: TestOptions.
DebugExe
);
4059
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
4130
var comp = CreateCompilation(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
4153
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
4184
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
4223
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
4248
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
4273
var comp = CreateCompilation(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.
DebugExe
);
SourceGeneration\GeneratorDriverTests.cs (1)
4153
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)
129
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.Net60,
180
var compilation2 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
299
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
357
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
373
var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.
DebugExe
,
439
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
497
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
513
var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.
DebugExe
,
590
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
688
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
790
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
892
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
979
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
1054
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
1133
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
1212
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
1291
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
1375
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
1463
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
1551
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
2114
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
2193
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
2215
var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.
DebugExe
,
2279
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
2348
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
2421
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
2494
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
2591
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
2645
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
2662
var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.
DebugExe
,
3537
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
3679
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
3797
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
3949
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
5198
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
5315
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
5406
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
5551
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
6356
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
6413
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
6434
var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.
DebugExe
,
6758
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
6861
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
6952
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
7059
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
7784
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
8060
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
8585
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
8686
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
8856
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
9045
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
9072
compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
9097
var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
9110
compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
9262
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
9270
compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
9287
var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
9296
compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
9344
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
9358
var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.
DebugExe
,
9369
var compilation4 = CreateCompilation(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.
DebugExe
,
9643
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
9657
var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.
DebugExe
,
9664
var compilation4 = CreateCompilation(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.
DebugExe
,
9702
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
9722
var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.
DebugExe
,
9734
var compilation4 = CreateCompilation(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.
DebugExe
,
9779
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
9791
compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
9811
var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
9865
var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.
DebugExe
,
9873
compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.
DebugExe
,
9948
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
10642
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
10696
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
10742
var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.
DebugExe
,
10753
var compilation4 = CreateCompilation(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.
DebugExe
,
10869
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
10975
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
11394
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
11507
var compilation1 = CreateCompilation(source0 + source1, options: TestOptions.
DebugExe
,
11531
var compilation2 = CreateCompilation(source0 + source2, options: TestOptions.
DebugExe
,
11572
var compilation4 = CreateCompilation(source3, options: TestOptions.
DebugExe
,
11582
var compilation5 = CreateCompilation(source4, options: TestOptions.
DebugExe
,
11599
var compilation6 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
11662
var compilation1 = CreateCompilation(source21 + source1, options: TestOptions.
DebugExe
,
11696
compilation1 = CreateCompilation(source22 + source1, options: TestOptions.
DebugExe
,
11722
var compilation3 = CreateCompilation(source21, new[] { reference }, options: TestOptions.
DebugExe
,
11730
compilation3 = CreateCompilation(source22, new[] { reference }, options: TestOptions.
DebugExe
,
11798
var compilation1 = CreateCompilation(source21 + source1, options: TestOptions.
DebugExe
,
11811
compilation1 = CreateCompilation(source21 + source1, options: TestOptions.
DebugExe
,
11837
var compilation3 = CreateCompilation(source21, new[] { reference }, options: TestOptions.
DebugExe
,
11852
compilation3 = CreateCompilation(source22, new[] { reference }, options: TestOptions.
DebugExe
,
11918
var compilation1 = CreateCompilation(source21 + source1, options: TestOptions.
DebugExe
,
11934
compilation1 = CreateCompilation(source22 + source1, options: TestOptions.
DebugExe
,
11960
var compilation3 = CreateCompilation(source21, new[] { reference }, options: TestOptions.
DebugExe
,
11975
compilation3 = CreateCompilation(source22, new[] { reference }, options: TestOptions.
DebugExe
,
12031
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
12052
var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
12093
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
12114
var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
12155
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
12175
var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
12427
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
12452
var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
12515
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
12540
var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
12603
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
12628
var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
13806
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
14027
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
14045
var compilation2 = CreateCompilation(source1, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
14421
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
14727
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
14735
compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
14773
var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
14781
compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
14925
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
14933
compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
14952
var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
14960
compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
15060
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
15078
var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
15475
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
15489
var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.
DebugExe
,
15498
var compilation4 = CreateCompilation(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.
DebugExe
,
15558
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
15570
var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.
DebugExe
,
15577
var compilation4 = CreateCompilation(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.
DebugExe
,
15660
compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
15687
compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
15784
var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.
DebugExe
,
15990
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
17271
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
17342
var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.
DebugExe
,
17356
var compilation4 = CreateCompilation(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.
DebugExe
,
17541
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
18097
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
.WithMetadataImportOptions(metadataImportOptions),
18144
options: TestOptions.
DebugExe
.WithMetadataImportOptions(metadataImportOptions),
18272
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
18280
compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
18310
options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
18319
options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
19652
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
19723
var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.
DebugExe
,
19737
var compilation4 = CreateCompilation(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.
DebugExe
,
20130
options: TestOptions.
DebugExe
,
20168
var compilation2 = CreateCompilation(source0 + source2, options: TestOptions.
DebugExe
,
20241
var compilation4 = CreateCompilation(source3, options: TestOptions.
DebugExe
,
20259
var compilation5 = CreateCompilation(source4, options: TestOptions.
DebugExe
,
20271
var compilation6 = CreateCompilation(source5, options: TestOptions.
DebugExe
,
20306
var compilation7 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
27434
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
27604
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
27678
var compilation2 = CreateCompilation(source2, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
27698
var compilation3 = CreateCompilation(source2, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
27932
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
28233
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
28241
compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
28316
var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
28324
compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
28430
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
28438
compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
28457
var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
28465
compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
28566
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
, targetFramework: targetFramework,
28582
var compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
28984
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
28998
var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.
DebugExe
,
29007
var compilation4 = CreateCompilation(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.
DebugExe
,
29070
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
29082
var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.
DebugExe
,
29089
var compilation4 = CreateCompilation(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.
DebugExe
,
29172
compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
29199
compilation3 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
29289
var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.
DebugExe
,
29393
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
30676
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
30745
var compilation3 = CreateCompilation(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.
DebugExe
,
30759
var compilation4 = CreateCompilation(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.
DebugExe
,
30910
options: TestOptions.
DebugExe
,
30936
var compilation2 = CreateCompilation(source0 + source2, options: TestOptions.
DebugExe
,
30983
var compilation4 = CreateCompilation(source3, options: TestOptions.
DebugExe
,
30995
var compilation5 = CreateCompilation(source4, options: TestOptions.
DebugExe
,
31021
var compilation6 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
31565
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
31624
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
31747
var compilation1 = CreateCompilation(source0 + source1, options: TestOptions.
DebugExe
,
31798
var compilation2 = CreateCompilation(source2 + source0, options: TestOptions.
DebugExe
,
31839
var compilation4 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
31853
var compilation5 = CreateCompilation(source2, options: TestOptions.
DebugExe
,
31938
var compilation1 = CreateCompilation(source0 + source1, options: TestOptions.
DebugExe
,
31973
var compilation4 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
31987
var compilation5 = CreateCompilation(source2, options: TestOptions.
DebugExe
,
32072
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
);
32102
var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.
DebugExe
);
32296
var compilation1 = CreateCompilation(source0 + source1, options: TestOptions.
DebugExe
,
32323
var compilation2 = CreateCompilation(source2 + source0, options: TestOptions.
DebugExe
,
32364
var compilation4 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
32371
var compilation5 = CreateCompilation(source2, options: TestOptions.
DebugExe
,
32774
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
32790
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
32806
var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.
DebugExe
,
33795
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
33956
var compilation1 = CreateCompilation(source1 + source2 + source3, options: TestOptions.
DebugExe
,
33972
var compilation2 = CreateCompilation(source3, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
33988
var compilation3 = CreateCompilation(source3, new[] { compilation1.EmitToImageReference() }, options: TestOptions.
DebugExe
,
34316
var compilation4 = CreateCompilation(source4, new[] { ref1 }, options: TestOptions.
DebugExe
,
34400
var compilation5 = CreateCompilation(source5, new[] { ref1, ref2 }, options: TestOptions.
DebugExe
,
34612
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
34709
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
34727
var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.
DebugExe
,
35284
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
35393
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
35506
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
35619
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
35725
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
35830
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
35928
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
36042
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
36201
var compilation1 = CreateCompilation(source1 + source2 + source3, options: TestOptions.
DebugExe
,
36219
var compilation2 = CreateCompilation(source3, new[] { reference }, options: TestOptions.
DebugExe
,
36244
var compilation5 = CreateCompilation(source2 + source3, new[] { reference }, options: TestOptions.
DebugExe
,
36389
var compilation1 = CreateCompilation(source1 + source2 + source3, options: TestOptions.
DebugExe
,
36407
var compilation2 = CreateCompilation(source3, new[] { reference }, options: TestOptions.
DebugExe
,
36432
var compilation5 = CreateCompilation(source2 + source3, new[] { reference }, options: TestOptions.
DebugExe
,
36577
var compilation1 = CreateCompilation(source1 + source2 + source3, options: TestOptions.
DebugExe
,
36595
var compilation2 = CreateCompilation(source3, new[] { reference }, options: TestOptions.
DebugExe
,
36799
foreach (var options in new[] { TestOptions.
DebugExe
, TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All) })
38216
var compilation1 = CreateCompilation(source1 + source2 + source3, options: TestOptions.
DebugExe
,
38235
var compilation2 = CreateCompilation(source3, new[] { reference }, options: TestOptions.
DebugExe
,
38261
var compilation5 = CreateCompilation(source2 + source3, new[] { reference }, options: TestOptions.
DebugExe
,
38653
var compilation4 = CreateCompilation(source4, new[] { ref1 }, options: TestOptions.
DebugExe
,
38724
var compilation5 = CreateCompilation(source5, new[] { ref1, ref2 }, options: TestOptions.
DebugExe
,
38921
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
38990
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
39008
var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.
DebugExe
,
39829
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
39847
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
39865
var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.
DebugExe
,
40884
var compilation1 = CreateCompilation(source1 + source2 + source3, options: TestOptions.
DebugExe
,
40902
var compilation2 = CreateCompilation(source3, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
40920
var compilation3 = CreateCompilation(source3, new[] { compilation1.EmitToImageReference() }, options: TestOptions.
DebugExe
,
41315
var compilation4 = CreateCompilation(source4, new[] { ref1 }, options: TestOptions.
DebugExe
,
41402
var compilation5 = CreateCompilation(source5, new[] { ref1, ref2 }, options: TestOptions.
DebugExe
,
41597
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
41666
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
41684
var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.
DebugExe
,
41834
var compilation1 = CreateCompilation(source1 + source2 + source3, options: TestOptions.
DebugExe
,
41854
var compilation2 = CreateCompilation(source3, new[] { reference }, options: TestOptions.
DebugExe
,
41881
var compilation5 = CreateCompilation(source2 + source3, new[] { reference }, options: TestOptions.
DebugExe
,
42038
var compilation1 = CreateCompilation(source1 + source2 + source3, options: TestOptions.
DebugExe
,
42058
var compilation2 = CreateCompilation(source3, new[] { reference }, options: TestOptions.
DebugExe
,
42085
var compilation5 = CreateCompilation(source2 + source3, new[] { reference }, options: TestOptions.
DebugExe
,
42242
var compilation1 = CreateCompilation(source1 + source2 + source3, options: TestOptions.
DebugExe
,
42262
var compilation2 = CreateCompilation(source3, new[] { reference }, options: TestOptions.
DebugExe
,
43604
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
43649
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
43654
var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.
DebugExe
,
43659
var compilation4 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
43683
var compilation5 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
43734
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
43786
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
43791
var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.
DebugExe
,
43796
var compilation4 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
43819
var compilation5 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
43869
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
43916
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
43921
var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.
DebugExe
,
43926
var compilation4 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
43949
var compilation5 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
44007
var compilation1 = CreateCompilation(source0 + source1, options: TestOptions.
DebugExe
,
44037
var compilation2 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
44057
var compilation3 = CreateCompilation(source0 + source3, options: TestOptions.
DebugExe
,
44083
var compilation2 = CreateCompilation(source3 + source4, new[] { reference }, options: TestOptions.
DebugExe
,
44103
var compilation4 = CreateCompilation(source0 + source1, options: TestOptions.
DebugExe
,
44457
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
44504
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
44538
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
44612
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
44653
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
44698
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
44734
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
44779
var compilation1 = CreateCompilation(source0 + source1, options: TestOptions.
DebugExe
,
44797
var compilation2 = CreateCompilation(source0 + source2, options: TestOptions.
DebugExe
,
44871
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
44916
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
44921
var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.
DebugExe
,
44926
var compilation4 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
44959
var compilation5 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
45022
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
45069
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
45074
var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.
DebugExe
,
45079
var compilation4 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
45112
var compilation5 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
45165
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
45208
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
45213
var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.
DebugExe
,
45218
var compilation4 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
45254
var compilation5 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
45355
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
45400
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
45405
var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.
DebugExe
,
45410
var compilation4 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
45442
var compilation5 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
45495
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
.WithMetadataImportOptions(MetadataImportOptions.All),
45537
var compilation2 = CreateCompilation(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.
DebugExe
,
45542
var compilation3 = CreateCompilation(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.
DebugExe
,
45547
var compilation4 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
45579
var compilation5 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
45717
var compilation2 = CreateCompilation(source2, options: TestOptions.
DebugExe
,
45735
var compilation3 = CreateCompilation(source3, options: TestOptions.
DebugExe
,
45751
var compilation4 = CreateCompilation(source4, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.Mscorlib461Extended,
45849
var compilation2 = CreateCompilation(source2, options: TestOptions.
DebugExe
,
45975
var compilation3 = CreateCompilation(source3, options: TestOptions.
DebugExe
,
46013
var compilation4 = CreateCompilation(source4, options: TestOptions.
DebugExe
,
46118
var compilation3 = CreateCompilation(source3, options: TestOptions.
DebugExe
,
46161
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
46187
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
.WithMainTypeName("I2"),
46403
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
46413
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
46420
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
46581
var compilation7 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
46659
var compilation8 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
46679
var compilation9 = CreateCompilation(source3, new[] { compilationReference }, options: TestOptions.
DebugExe
,
46694
var compilation10 = CreateCompilation(source3, new[] { metadataReference }, options: TestOptions.
DebugExe
,
46764
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.NetCoreApp);
46767
var compilation2 = CreateCompilation(source1 + source3, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.NetCoreApp,
46810
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.NetCoreApp,
46827
CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.NetCoreApp,
46839
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
46843
CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
46897
var compilation3 = CreateCompilationWithIL(source2, ilSource, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
46903
CreateCompilationWithIL(source2, ilSource, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
46926
var compilation4 = CreateCompilationWithIL(source3, ilSource, options: TestOptions.
DebugExe
, parseOptions: TestOptions.RegularPreview);
46935
CreateCompilationWithIL(source3, ilSource, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
47037
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.NetCoreApp,
47046
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
47052
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
47071
var compilation9 = CreateCompilation(source3, new[] { compilationReference }, options: TestOptions.
DebugExe
,
47082
var compilation10 = CreateCompilation(source3, new[] { metadataReference }, options: TestOptions.
DebugExe
,
47129
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
47138
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
47144
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
47205
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
47214
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
47220
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
47278
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
47285
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
47335
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
47344
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
47350
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
47416
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
47425
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
47431
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
47499
var compilation1 = CreateCompilation(source3, new[] { compilationReference0 }, options: TestOptions.
DebugExe
,
47504
var compilation2 = CreateCompilation(source3, new[] { metadataReference0 }, options: TestOptions.
DebugExe
,
47531
var compilation4 = CreateCompilation(source3, new[] { compilationReference3 }, options: TestOptions.
DebugExe
,
47536
var compilation5 = CreateCompilation(source3, new[] { metadataReference3 }, options: TestOptions.
DebugExe
,
47560
var compilation7 = CreateCompilation(source3, new[] { compilationReference6 }, options: TestOptions.
DebugExe
,
47565
var compilation8 = CreateCompilation(source3, new[] { metadataReference6 }, options: TestOptions.
DebugExe
,
47632
var compilation1 = CreateCompilation(source3, new[] { compilationReference0 }, options: TestOptions.
DebugExe
,
47637
var compilation2 = CreateCompilation(source3, new[] { metadataReference0 }, options: TestOptions.
DebugExe
,
47664
var compilation4 = CreateCompilation(source3, new[] { compilationReference3 }, options: TestOptions.
DebugExe
,
47669
var compilation5 = CreateCompilation(source3, new[] { metadataReference3 }, options: TestOptions.
DebugExe
,
47693
var compilation7 = CreateCompilation(source3, new[] { compilationReference6 }, options: TestOptions.
DebugExe
,
47698
var compilation8 = CreateCompilation(source3, new[] { metadataReference6 }, options: TestOptions.
DebugExe
,
47760
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
47765
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
47827
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
47832
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
47894
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
47903
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
47909
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
47951
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
47960
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
47966
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
48018
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
48027
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
48033
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
48053
var compilation9 = CreateCompilation(source3, new[] { compilationReference }, options: TestOptions.
DebugExe
,
48067
var compilation10 = CreateCompilation(source3, new[] { metadataReference }, options: TestOptions.
DebugExe
,
48115
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
48124
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
48130
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
48185
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
48194
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
48200
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
48249
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
48258
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
48264
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
48328
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
48337
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
48343
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
48400
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
48409
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
48415
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
48481
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
48486
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
48551
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
48556
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
48613
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
48620
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
48705
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
48714
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
48720
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
48771
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
48780
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
48786
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
48878
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
48887
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
48893
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
49110
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
49119
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
49125
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
49343
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.
DebugExe
,
49359
var compilation2 = CreateCompilation(source2, new[] { compilationReference }, options: TestOptions.
DebugExe
,
49365
var compilation3 = CreateCompilation(source2, new[] { metadataReference }, options: TestOptions.
DebugExe
,
49770
var compilation0 = CreateCompilation(source0 + source1, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.NetCoreApp);
49796
var compilation1 = CreateCompilation(source0 + source2, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.NetCoreApp);
49859
var compilation0 = CreateCompilation(source0, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.NetCoreApp);
49898
var compilation0 = CreateCompilation(source0 + source1, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.NetCoreApp);
49924
var compilation1 = CreateCompilation(source0 + source2, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.NetCoreApp);
50061
var compilation0 = CreateCompilation(source0 + source1, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.NetCoreApp);
50121
var compilation0 = CreateCompilation(source0 + source1, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.NetCoreApp);
50658
var compilation0 = CreateCompilation(source0, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.Net50);
50711
var compilation0 = CreateCompilation(source0, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.Net50);
50764
var compilation0 = CreateCompilation(source0, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.Net50);
51035
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
51052
var compilation3 = CreateCompilation(source2, options: TestOptions.
DebugExe
, references: new[] { reference },
51316
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
51333
var compilation3 = CreateCompilation(source2, options: TestOptions.
DebugExe
, references: new[] { reference },
51709
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
51726
var compilation3 = CreateCompilation(source2, options: TestOptions.
DebugExe
, references: new[] { reference },
52504
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
52521
var compilation3 = CreateCompilation(source2, options: TestOptions.
DebugExe
, references: new[] { reference },
52832
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
52849
var compilation3 = CreateCompilation(source2, options: TestOptions.
DebugExe
, references: new[] { reference },
53301
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
53318
var compilation3 = CreateCompilation(source2, options: TestOptions.
DebugExe
, references: new[] { reference },
57462
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
57479
var compilation3 = CreateCompilation(source2, options: TestOptions.
DebugExe
, references: new[] { reference },
57771
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
57788
var compilation3 = CreateCompilation(source2, options: TestOptions.
DebugExe
, references: new[] { reference },
58203
var compilation1 = CreateCompilation(source2 + source1, options: TestOptions.
DebugExe
,
58220
var compilation3 = CreateCompilation(source2, options: TestOptions.
DebugExe
, references: new[] { reference },
62190
var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.NetCoreApp);
62283
var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.NetCoreApp);
62328
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.NetCoreApp);
62343
compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
, parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp);
63673
var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.Net60);
64422
var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.Net60);
64572
var compilation1 = CreateCompilationWithIL(source1, ilSource, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.Net60);
64973
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
65017
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
65061
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
65114
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
65166
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
66566
var compilation2 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
66619
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
66654
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
66685
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
66746
var compilation2 = CreateCompilation(source2, new[] { reference }, options: TestOptions.
DebugExe
,
66806
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
66818
compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
66847
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
66859
compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
66911
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
66923
compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
67742
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
67808
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
67873
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
,
67971
var compilation1 = CreateCompilation(source1, options: TestOptions.
DebugExe
, targetFramework: TargetFramework.Net60,
68003
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)
1132
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)
20441
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)
82
public static readonly CSharpCompilationOptions DebugExeThrowing =
DebugExe
.WithMetadataReferenceResolver(new ThrowingMetadataReferenceResolver());
94
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
);