2387 references to RegularPreview
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (5)
src\Analyzers\CSharp\Tests\ImplementAbstractClass\ImplementAbstractClassTests.cs (4)
2159
""", parseOptions: TestOptions.
RegularPreview
);
2190
""", parseOptions: TestOptions.
RegularPreview
);
2221
""", parseOptions: TestOptions.
RegularPreview
);
2250
""", parseOptions: TestOptions.
RegularPreview
);
src\Analyzers\CSharp\Tests\UseAutoProperty\UseAutoPropertyTests.cs (1)
109
""", new TestParameters(TestOptions.
RegularPreview
));
Microsoft.CodeAnalysis.CSharp.EditorFeatures2.UnitTests (7)
Recommendations\BaseKeywordRecommenderTests.cs (1)
97
""", absent: false, options: TestOptions.
RegularPreview
);
Recommendations\EventKeywordRecommenderTests.cs (1)
318
""", absent: false, options: TestOptions.
RegularPreview
);
Recommendations\FieldKeywordRecommenderTests.cs (1)
126
""", absent: false, TestOptions.
RegularPreview
);
Recommendations\OverrideKeywordRecommenderTests.cs (1)
161
""", absent: false, options: TestOptions.
RegularPreview
);
Recommendations\RecordKeywordRecommenderTests.cs (3)
316
""", absent: false, options: TestOptions.
RegularPreview
);
328
""", absent: false, options: TestOptions.
RegularPreview
);
341
""", absent: false, options: TestOptions.
RegularPreview
);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (85)
CodeGen\CodeGenAsyncMethodBuilderOverrideTests.cs (40)
277
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.
RegularPreview
);
331
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.
RegularPreview
);
369
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.
RegularPreview
);
407
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.
RegularPreview
);
447
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.
RegularPreview
);
485
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.
RegularPreview
);
571
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.
RegularPreview
);
617
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.
RegularPreview
);
659
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
696
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.
RegularPreview
);
883
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.
RegularPreview
);
941
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.
RegularPreview
);
983
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.
RegularPreview
);
1027
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.
RegularPreview
);
1070
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.
RegularPreview
);
1110
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.
RegularPreview
);
1151
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.
RegularPreview
);
1192
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.
RegularPreview
);
1241
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.
RegularPreview
);
1285
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.
RegularPreview
);
1319
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.
RegularPreview
);
1349
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.
RegularPreview
);
1401
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.
RegularPreview
);
1442
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.
RegularPreview
);
1476
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.
RegularPreview
);
1538
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.
RegularPreview
);
1578
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.
RegularPreview
);
1618
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.
RegularPreview
);
1658
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.
RegularPreview
);
1702
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.
RegularPreview
);
1742
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.
RegularPreview
);
1782
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.
RegularPreview
);
1822
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.
RegularPreview
);
1862
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.
RegularPreview
);
1902
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.
RegularPreview
);
1942
var compilation = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.
RegularPreview
);
2007
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
2063
var compilation = CreateCompilationWithTasksExtensions(source, parseOptions: TestOptions.
RegularPreview
);
2098
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
2135
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
CodeGen\CodeGenDeconstructTests.cs (14)
6172
var comp = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.
RegularPreview
);
6231
var comp = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.
RegularPreview
);
7147
var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.
RegularPreview
);
7198
var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.
RegularPreview
);
7460
var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.
RegularPreview
);
9525
var comp = CompileAndVerify(source, parseOptions: TestOptions.
RegularPreview
, expectedOutput: @"1 hello
9653
var comp = CompileAndVerify(source, parseOptions: TestOptions.
RegularPreview
, expectedOutput: @"1 hello True
9751
CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(
9785
CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(
9817
var comp = CompileAndVerify(source, parseOptions: TestOptions.
RegularPreview
, expectedOutput: @"1 hello
9902
var comp = CompileAndVerify(source, parseOptions: TestOptions.
RegularPreview
, expectedOutput: @"1 hello
10067
var comp = CompileAndVerify(source, parseOptions: TestOptions.
RegularPreview
, expectedOutput: @"1 hello True
10114
CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
)
10163
CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
)
CodeGen\CodeGenFunctionPointersTests.cs (16)
39
parseOptions: TestOptions.
RegularPreview
,
48
return CreateCompilation(source, references: references, options: options ?? TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.
RegularPreview
, targetFramework: targetFramework ?? TargetFramework.Net50);
56
return CreateCompilation(source, references: references, options: options ?? TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.
RegularPreview
, targetFramework: TargetFramework.Empty);
61
var comp = CreateCompilationWithIL(source, ilStub, parseOptions: TestOptions.
RegularPreview
, options: expectedOutput is null ? TestOptions.UnsafeReleaseDll : TestOptions.UnsafeReleaseExe);
70
return CreateCompilationWithIL(source, ilStub, references: references, options: options ?? TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.
RegularPreview
, targetFramework: TargetFramework.Empty);
683
var compilation = CreateCompilationWithIL(source: "", ilSource, parseOptions: TestOptions.
RegularPreview
);
2593
}", references: new[] { nopiaReference }, parseOptions: TestOptions.
RegularPreview
, options: TestOptions.UnsafeReleaseDll).EmitToImageReference();
2630
}", references: new[] { aRef }, assemblyName: "B", parseOptions: TestOptions.
RegularPreview
, options: TestOptions.UnsafeReleaseDll).EmitToImageReference();
2639
}", references: new[] { aRef, bRef }, assemblyName: "C", parseOptions: TestOptions.
RegularPreview
, options: TestOptions.UnsafeReleaseDll);
2660
}", references: new[] { aRef }, assemblyName: "B", parseOptions: TestOptions.
RegularPreview
, options: TestOptions.UnsafeReleaseDll).EmitToImageReference();
2669
}", references: new[] { aRef, bRef }, assemblyName: "C", parseOptions: TestOptions.
RegularPreview
, options: TestOptions.UnsafeReleaseDll);
5026
", options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.
RegularPreview
);
7563
var allInCoreLib = CreateEmptyCompilation(source1 + source2, parseOptions: TestOptions.
RegularPreview
.WithNoRefSafetyRulesAttribute(), options: TestOptions.UnsafeReleaseDll);
7583
var comp1 = CreateEmptyCompilation(source2, references: new[] { coreLib.EmitToImageReference() }, parseOptions: TestOptions.
RegularPreview
.WithNoRefSafetyRulesAttribute(), options: TestOptions.UnsafeReleaseDll);
7632
var allInCoreLib = CreateEmptyCompilation(source1 + source2, parseOptions: TestOptions.
RegularPreview
.WithNoRefSafetyRulesAttribute(), options: TestOptions.UnsafeReleaseDll);
7652
var comp1 = CreateEmptyCompilation(source2, references: new[] { coreLib.EmitToImageReference() }, parseOptions: TestOptions.
RegularPreview
.WithNoRefSafetyRulesAttribute(), options: TestOptions.UnsafeReleaseDll);
CodeGen\CodeGenOperators.cs (4)
6563
var comp = CreateCompilation(code, parseOptions: TestOptions.
RegularPreview
, targetFramework: TargetFramework.Net60);
6613
var comp = CreateCompilation(code, parseOptions: TestOptions.
RegularPreview
, targetFramework: TargetFramework.Net60);
6971
var comp = CreateCompilation(code, parseOptions: TestOptions.
RegularPreview
, targetFramework: TargetFramework.Net60);
7027
var comp = CreateCompilation(code, parseOptions: TestOptions.
RegularPreview
, targetFramework: TargetFramework.Net60);
CodeGen\CodeGenTupleEqualityTests.cs (1)
1662
comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
CodeGen\CodeGenTupleTest.cs (1)
5418
CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(
CodeGen\PatternTests.cs (1)
6465
var verifier = CompileAndVerify(source, expectedOutput: "0123233", options: TestOptions.DebugExe, parseOptions: TestOptions.
RegularPreview
);
CodeGen\SwitchTests.cs (7)
2900
parseOptions: TestOptions.
RegularPreview
.WithDisableLengthBasedSwitch(), expectedOutput: "True");
3349
parseOptions: TestOptions.
RegularPreview
.WithDisableLengthBasedSwitch(), expectedOutput: "PASS");
4032
var compVerifier = CompileAndVerify(text, expectedOutput: "1", parseOptions: TestOptions.
RegularPreview
.WithDisableLengthBasedSwitch());
7161
var compVerifier = CompileAndVerify(text, parseOptions: TestOptions.
RegularPreview
.WithDisableLengthBasedSwitch(), expectedOutput: "3");
7852
var comp = CreateCompilation(text, parseOptions: TestOptions.
RegularPreview
.WithDisableLengthBasedSwitch(),
8092
var comp = CreateCompilation(text, parseOptions: TestOptions.
RegularPreview
.WithDisableLengthBasedSwitch(),
8223
comp = CreateCompilation(text, parseOptions: TestOptions.
RegularPreview
.WithDisableLengthBasedSwitch());
Emit\DynamicAnalysis\DynamicInstrumentationTests.cs (1)
2749
var verifier = CompileAndVerify(source + InstrumentationHelperSource, options: TestOptions.ReleaseDll, parseOptions: TestOptions.
RegularPreview
);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (22)
CodeGen\CodeGenLengthBasedSwitchTests.cs (15)
267
comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
.WithDisableLengthBasedSwitch());
1034
comp = CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.
RegularPreview
.WithDisableLengthBasedSwitch());
1472
comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
.WithDisableLengthBasedSwitch());
1795
comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
.WithDisableLengthBasedSwitch());
2430
comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
.WithDisableLengthBasedSwitch());
2864
comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
.WithDisableLengthBasedSwitch());
7761
comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
.WithDisableLengthBasedSwitch());
9184
comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
.WithDisableLengthBasedSwitch());
9581
comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
.WithDisableLengthBasedSwitch());
10342
comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
.WithDisableLengthBasedSwitch());
11643
comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
.WithDisableLengthBasedSwitch());
12647
comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
.WithDisableLengthBasedSwitch());
13108
comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
.WithDisableLengthBasedSwitch());
13585
comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
.WithDisableLengthBasedSwitch());
14020
comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
.WithDisableLengthBasedSwitch());
CodeGen\IndexAndRangeTests.cs (7)
57
var comp = CreateCompilationWithIndex(source, parseOptions: useCsharp13 ? TestOptions.Regular13 : TestOptions.
RegularPreview
);
233
var comp = CreateCompilationWithIndex(source, parseOptions: useCsharp13 ? TestOptions.Regular13 : TestOptions.
RegularPreview
);
275
var comp = CreateCompilationWithIndex(source, parseOptions: useCsharp13 ? TestOptions.Regular13 : TestOptions.
RegularPreview
);
1567
var comp = CreateCompilationWithIndex(source, parseOptions: useCsharp13 ? TestOptions.Regular13 : TestOptions.
RegularPreview
);
1759
var comp = CreateCompilationWithIndex(source, parseOptions: useCsharp13 ? TestOptions.Regular13 : TestOptions.
RegularPreview
);
1976
comp = CreateCompilationWithIndex(source, parseOptions: useCsharp13 ? TestOptions.Regular13 : TestOptions.
RegularPreview
);
2197
var comp = CreateCompilationWithIndexAndRange(source, parseOptions: useCsharp13 ? TestOptions.Regular13 : TestOptions.
RegularPreview
);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (198)
Attributes\AttributeTests.cs (21)
6295
compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
6355
compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
7955
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
8009
comp = CreateCompilationWithILAndMscorlib40(csharpSource, ilSource, parseOptions: TestOptions.
RegularPreview
);
9030
comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
9091
comp = CreateCompilationWithILAndMscorlib40(source, il, parseOptions: TestOptions.
RegularPreview
);
9141
comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
9172
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
9199
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
10236
var libRef = CreateCompilation(lib_cs, parseOptions: TestOptions.
RegularPreview
).EmitToImageReference();
10238
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
, references: new[] { libRef });
10259
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
10286
var libRef = CreateCompilation(lib_cs, parseOptions: TestOptions.
RegularPreview
).EmitToImageReference();
10288
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
, references: new[] { libRef });
10312
var libRef = CreateCompilation(lib_cs, parseOptions: TestOptions.
RegularPreview
).EmitToImageReference();
10314
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
, references: new[] { libRef });
10338
var libRef = CreateCompilation(lib_cs, parseOptions: TestOptions.
RegularPreview
).EmitToImageReference();
10340
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
, references: new[] { libRef });
10360
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
10385
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
10421
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
Attributes\AttributeTests_Security.cs (1)
804
var compilation = CreateCompilationWithMscorlib40(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.
RegularPreview
);
Attributes\AttributeTests_WellKnownAttributes.cs (5)
11392
var verifier = CompileAndVerifyWithSkipLocalsInit(source, parseOptions: TestOptions.
RegularPreview
, verify: Verification.Skipped);
11417
var verifier = CompileAndVerifyWithSkipLocalsInit(source, parseOptions: TestOptions.
RegularPreview
, verify: Verification.Skipped);
11448
var verifier = CompileAndVerifyWithSkipLocalsInit(source, parseOptions: TestOptions.
RegularPreview
, verify: Verification.Skipped);
13553
var comp = CreateCompilation(new[] { sourceAttribute, sourceA }, parseOptions: TestOptions.
RegularPreview
);
13598
var comp = CreateCompilation(new[] { sourceAttribute, sourceA }, parseOptions: TestOptions.
RegularPreview
);
FieldKeywordTests.cs (2)
10486
var parseOptions = TestOptions.
RegularPreview
;
10520
var parseOptions = TestOptions.
RegularPreview
;
FirstClassSpanTests.cs (4)
6283
verifyWithMissing(missingRosHelper, TestOptions.
RegularPreview
);
6284
verifyWithMissing(missingSpanHelper, TestOptions.
RegularPreview
, expectedDiagnostics);
6356
verifyWithMissing(missingRosHelper, TestOptions.
RegularPreview
, expectedDiagnostics);
6357
verifyWithMissing(missingSpanHelper, TestOptions.
RegularPreview
);
FlowAnalysis\FlowTestBase.cs (3)
119
var comp = CreateCompilation(program, parseOptions: TestOptions.
RegularPreview
, references: references);
140
var comp = CreateCompilation(program, parseOptions: TestOptions.
RegularPreview
, references: references);
166
var comp = CreateCompilation(program, parseOptions: TestOptions.
RegularPreview
, targetFramework: targetFramework, references: references);
FlowAnalysis\FlowTests.cs (1)
5934
CompileAndVerify(source, parseOptions: TestOptions.
RegularPreview
, expectedOutput: "c").VerifyDiagnostics(expectedDiagnostic);
RefReadonlyParameterTests.cs (4)
7096
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose)).VerifyDiagnostics(
7124
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose)).VerifyDiagnostics(
7260
CompileAndVerify(source, expectedOutput: expectedOutput, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(expectedWarnings);
7278
CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(expectedDiagnostics);
Semantics\CollectionExpressionTests.cs (26)
838
CompileAndVerify([source, s_collectionExtensions], parseOptions: TestOptions.
RegularPreview
, expectedOutput: expectedOutput);
1046
CompileAndVerify([source, s_collectionExtensions], parseOptions: TestOptions.
RegularPreview
,
1411
verify(TestOptions.
RegularPreview
, expectedType13);
1928
parseOptions: TestOptions.
RegularPreview
,
1966
parseOptions: TestOptions.
RegularPreview
,
2078
comp = CreateCompilation(new[] { source, s_collectionExtensionsWithSpan }, parseOptions: TestOptions.
RegularPreview
, targetFramework: TargetFramework.Net80);
2212
parseOptions: TestOptions.
RegularPreview
,
2242
CompileAndVerify(source, parseOptions: TestOptions.
RegularPreview
, expectedOutput: expectedOutput).VerifyDiagnostics();
2334
CompileAndVerify(source, parseOptions: TestOptions.
RegularPreview
, expectedOutput: expectedOutput);
2369
parseOptions: TestOptions.
RegularPreview
,
2415
parseOptions: TestOptions.
RegularPreview
,
2498
parseOptions: TestOptions.
RegularPreview
,
2589
parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(expectedDiagnostics);
2667
parseOptions: TestOptions.
RegularPreview
,
2776
parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(expectedDiagnostics);
2850
parseOptions: TestOptions.
RegularPreview
,
2942
parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(expectedDiagnostics);
4973
var comp = CreateEmptyCompilation(new[] { sourceA, sourceB }, parseOptions: TestOptions.
RegularPreview
.WithNoRefSafetyRulesAttribute());
5037
var comp = CreateEmptyCompilation(new[] { sourceA, sourceB }, parseOptions: TestOptions.
RegularPreview
.WithNoRefSafetyRulesAttribute());
5085
var comp = CreateEmptyCompilation(new[] { sourceA, sourceB }, parseOptions: TestOptions.
RegularPreview
.WithNoRefSafetyRulesAttribute());
5928
var comp = CreateEmptyCompilation(new[] { sourceA, sourceB }, parseOptions: TestOptions.
RegularPreview
.WithNoRefSafetyRulesAttribute());
6006
var comp = CreateEmptyCompilation(new[] { sourceA, sourceB }, parseOptions: TestOptions.
RegularPreview
.WithNoRefSafetyRulesAttribute());
9280
var parseOptions = TestOptions.
RegularPreview
;
9311
var parseOptions = TestOptions.
RegularPreview
;
20970
var comp = CreateEmptyCompilation(new[] { sourceA, sourceB }, parseOptions: TestOptions.
RegularPreview
.WithNoRefSafetyRulesAttribute());
21118
var comp = CreateEmptyCompilation(new[] { sourceA, sourceB }, parseOptions: TestOptions.
RegularPreview
.WithNoRefSafetyRulesAttribute());
Semantics\InlineArrayTests.cs (1)
23340
foreach (var parseOptions in new[] { TestOptions.Regular12, TestOptions.Regular13, TestOptions.
RegularPreview
})
Semantics\LockTests.cs (1)
1637
CompileAndVerify(sources, parseOptions: TestOptions.
RegularPreview
, expectedOutput: expectedOutput,
Semantics\ParamsCollectionTests.cs (10)
3976
var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.
RegularPreview
);
4023
var comp2 = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.
RegularPreview
);
4070
var comp = CreateCompilation(src2 + src1, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.
RegularPreview
);
4090
var comp2 = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.
RegularPreview
);
4138
var comp = CreateCompilation(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.
RegularPreview
);
4185
var comp = CreateCompilation(src2 + src1, options: TestOptions.ReleaseDll, parseOptions: TestOptions.
RegularPreview
);
4205
var comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.ReleaseDll, parseOptions: TestOptions.
RegularPreview
);
4309
var comp = CreateCompilation(src2 + src1, options: TestOptions.ReleaseDll, parseOptions: TestOptions.
RegularPreview
);
4329
var comp2 = CreateCompilation(src2, references: [comp1Ref], options: TestOptions.ReleaseDll, parseOptions: TestOptions.
RegularPreview
);
4405
var comp2 = CreateCompilation(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.
RegularPreview
);
Semantics\PatternMatchingTests.cs (54)
7391
var compilation = CreateCompilationWithSpanAndMemoryExtensions(source, options: TestOptions.DebugExe, parseOptions: TestOptions.
RegularPreview
)
7440
var compilation = CreateCompilationWithSpanAndMemoryExtensions(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.
RegularPreview
)
7505
var compilation = CreateCompilationWithSpanAndMemoryExtensions(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.
RegularPreview
)
7584
var compilation = CreateCompilationWithSpanAndMemoryExtensions(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.
RegularPreview
)
7670
parseOptions: TestOptions.
RegularPreview
.WithDisableLengthBasedSwitch());
7987
parseOptions: TestOptions.
RegularPreview
.WithDisableLengthBasedSwitch());
8120
compilation = CreateCompilationWithSpanAndMemoryExtensions(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.
RegularPreview
)
8263
var compilation = CreateCompilationWithSpanAndMemoryExtensions(source, options: TestOptions.ReleaseExe, 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
)
8490
CreateCompilationWithSpan(source, parseOptions: TestOptions.
RegularPreview
)
8519
CreateCompilationWithSpan(source, parseOptions: TestOptions.
RegularPreview
)
8572
comp = CreateCompilation(sourceB, references: new[] { refA }, parseOptions: TestOptions.
RegularPreview
);
8692
var comp = CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.
RegularPreview
);
8711
var comp = CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.
RegularPreview
);
8728
var comp = CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.
RegularPreview
);
8748
var comp = CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.
RegularPreview
);
8765
CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.
RegularPreview
)
8782
var comp = CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.
RegularPreview
);
8798
var comp = CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.
RegularPreview
);
8815
var comp = CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.
RegularPreview
);
8837
CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.
RegularPreview
)
8873
var compilation = CreateCompilationWithSpanAndMemoryExtensions(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.
RegularPreview
)
8955
CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.
RegularPreview
)
8982
var compilation = CreateCompilationWithSpanAndMemoryExtensions(source, options: TestOptions.DebugExe, parseOptions: TestOptions.
RegularPreview
)
9033
var compilation = CreateCompilationWithSpanAndMemoryExtensions(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.
RegularPreview
)
9099
var compilation = CreateCompilationWithSpanAndMemoryExtensions(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.
RegularPreview
)
9180
var compilation = CreateCompilationWithSpanAndMemoryExtensions(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.
RegularPreview
)
9268
parseOptions: TestOptions.
RegularPreview
.WithDisableLengthBasedSwitch());
9586
parseOptions: TestOptions.
RegularPreview
.WithDisableLengthBasedSwitch());
9719
compilation = CreateCompilationWithSpanAndMemoryExtensions(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.
RegularPreview
)
9863
var compilation = CreateCompilationWithSpanAndMemoryExtensions(source, options: TestOptions.ReleaseExe, 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
)
10090
CreateCompilationWithSpan(source, parseOptions: TestOptions.
RegularPreview
)
10119
CreateCompilationWithSpan(source, parseOptions: TestOptions.
RegularPreview
)
10176
comp = CreateCompilation(sourceB, references: new[] { refA }, parseOptions: TestOptions.
RegularPreview
);
10293
var comp = CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.
RegularPreview
);
10312
var comp = CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.
RegularPreview
);
10329
var comp = CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.
RegularPreview
);
10349
var comp = CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.
RegularPreview
);
10366
CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.
RegularPreview
)
10383
var comp = CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.
RegularPreview
);
10399
var comp = CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.
RegularPreview
);
10416
var comp = CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.
RegularPreview
);
10438
CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.
RegularPreview
)
10476
var compilation = CreateCompilationWithSpanAndMemoryExtensions(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.
RegularPreview
)
10558
CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.
RegularPreview
)
11008
comp = CreateCompilation(sourceB, references: new[] { refA }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.
RegularPreview
);
11343
comp = CreateCompilation(sourceB, references: new[] { refA }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.
RegularPreview
);
12299
CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.
RegularPreview
)
12321
CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.
RegularPreview
)
12339
CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.
RegularPreview
)
12353
CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.
RegularPreview
)
Semantics\PrimaryConstructorTests.cs (29)
3189
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
6047
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
6080
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
6127
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
6164
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
6186
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
6207
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
6230
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
6257
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
6282
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
6320
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
6350
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
6384
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
6418
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
6453
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
6488
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
6528
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
6568
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
6611
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
6652
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
6697
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
6739
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
6827
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
.WithFeature("run-nullable-analysis", "never"), targetFramework: TargetFramework.NetCoreApp);
6853
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
.WithFeature("run-nullable-analysis", "never"), targetFramework: TargetFramework.NetCoreApp);
20593
var comp = CreateCompilation(src1, parseOptions: TestOptions.
RegularPreview
);
20626
var comp = CreateCompilation(src1, parseOptions: TestOptions.
RegularPreview
);
20667
var comp = CreateCompilation(src1, parseOptions: TestOptions.
RegularPreview
);
20711
var comp = CreateCompilation(src1, parseOptions: TestOptions.
RegularPreview
);
20758
var comp = CreateCompilation(src1, parseOptions: TestOptions.
RegularPreview
);
Semantics\RecordTests.cs (36)
25
parseOptions: TestOptions.
RegularPreview
);
34
parseOptions: TestOptions.
RegularPreview
,
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);
7187
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
28179
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
29165
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
29190
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
29215
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
29280
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
29315
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
29340
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
29368
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
29406
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
29444
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
29485
comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
29548
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularPreview
);
29579
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularPreview
);
29600
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularPreview
);
29613
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularPreview
);
29648
comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
29680
comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
29698
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
29725
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
29763
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
29786
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
29823
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
29855
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
29881
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
29910
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
29934
var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.
RegularPreview
);
29958
var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.
RegularPreview
);
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (1)
EndToEndTests.cs (1)
796
var parseOptions = TestOptions.
RegularPreview
;
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (10)
src\Analyzers\CSharp\Tests\ImplementAbstractClass\ImplementAbstractClassTests.cs (4)
2159
""", parseOptions: TestOptions.
RegularPreview
);
2190
""", parseOptions: TestOptions.
RegularPreview
);
2221
""", parseOptions: TestOptions.
RegularPreview
);
2250
""", parseOptions: TestOptions.
RegularPreview
);
src\Analyzers\CSharp\Tests\UseAutoProperty\UseAutoPropertyTests.cs (1)
109
""", new TestParameters(TestOptions.
RegularPreview
));
UsePatternCombinators\CSharpUsePatternCombinatorsDiagnosticAnalyzerTests.cs (1)
25
private static readonly ParseOptions CSharp9 = TestOptions.
RegularPreview
.WithLanguageVersion(LanguageVersion.CSharp9);
Wrapping\ParameterWrappingTests.cs (4)
1242
""", new TestParameters(TestOptions.
RegularPreview
));
1253
""", new TestParameters(TestOptions.
RegularPreview
));
1264
""", new TestParameters(TestOptions.
RegularPreview
));
1275
""", new TestParameters(TestOptions.
RegularPreview
));
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (42)
IOperation\IOperationTests_IDeconstructionAssignmentOperation.cs (4)
418
VerifyOperationTreeAndDiagnosticsForTest<BlockSyntax>(source, expectedOperationTree, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
482
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(source, expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
552
VerifyOperationTreeAndDiagnosticsForTest<BlockSyntax>(source, expectedOperationTree, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
628
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(source, expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
IOperation\IOperationTests_IInterpolatedStringOperation.cs (38)
1515
VerifyOperationTreeAndDiagnosticsForTest<VariableDeclaratorSyntax>(new[] { code, handler }, expectedOperationTree, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
1584
VerifyOperationTreeAndDiagnosticsForTest<VariableDeclaratorSyntax>(new[] { code, handler }, expectedOperationTree, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
1653
VerifyOperationTreeAndDiagnosticsForTest<VariableDeclaratorSyntax>(new[] { code, handler }, expectedOperationTree, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
1722
VerifyOperationTreeAndDiagnosticsForTest<VariableDeclaratorSyntax>(new[] { code, handler }, expectedOperationTree, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
1790
VerifyOperationTreeAndDiagnosticsForTest<VariableDeclaratorSyntax>(new[] { code, InterpolatedStringHandlerAttribute }, expectedOperationTree, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
1875
VerifyOperationTreeAndDiagnosticsForTest<VariableDeclaratorSyntax>(new[] { code, InterpolatedStringHandlerAttribute }, expectedOperationTree, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
1930
VerifyOperationTreeAndDiagnosticsForTest<VariableDeclaratorSyntax>(new[] { code, InterpolatedStringHandlerAttribute }, expectedOperationTree, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
1999
VerifyOperationTreeAndDiagnosticsForTest<VariableDeclaratorSyntax>(new[] { code, handler }, expectedOperationTree, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
2072
VerifyOperationTreeAndDiagnosticsForTest<VariableDeclaratorSyntax>(new[] { code, handler }, expectedOperationTree, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
2162
expectedOperationTree, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
2261
expectedOperationTree, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
2355
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(new[] { code, handlerType }, expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
2458
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(new[] { code, handlerType }, expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
2577
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(new[] { code, handlerType }, expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
2701
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(new[] { code, handlerType }, expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
2776
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(new[] { code, handlerType }, expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
2876
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(new[] { code, handlerType }, expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
3022
expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
3164
expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
3306
expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
3456
expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
3693
expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
3842
expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
4026
expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
4169
expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
4282
expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
4369
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(new[] { code, handlerType }, expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
4464
VerifyOperationTreeAndDiagnosticsForTest<InvocationExpressionSyntax>(new[] { code, InterpolatedStringHandlerAttribute }, expectedOperationTree, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
4554
VerifyOperationTreeAndDiagnosticsForTest<InvocationExpressionSyntax>(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute }, expectedOperationTree, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
4698
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute }, expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
4728
VerifyOperationTreeAndDiagnosticsForTest<InterpolatedStringExpressionSyntax>(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) }, expectedOperationTree, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
4921
expectedOperationTree, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
5012
expectedOperationTree, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
5206
VerifyOperationTreeAndDiagnosticsForTest<VariableDeclaratorSyntax>(new[] { code, handler }, expectedOperationTree, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
5262
VerifyOperationTreeAndDiagnosticsForTest<CastExpressionSyntax>(new[] { code, handler }, expectedOperationTree, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
5539
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute }, expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
5645
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(new[] { code, InterpolatedStringHandlerArgumentAttribute, InterpolatedStringHandlerAttribute }, expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
5782
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (664)
Semantics\AnonymousFunctionTests.cs (3)
21
=> CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(expected);
26
parseOptions: TestOptions.
RegularPreview
,
41
parseOptions: TestOptions.
RegularPreview
,
Semantics\ConstantTests.cs (8)
3626
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
3667
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
3688
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
3724
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
3806
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
3834
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
3977
", parseOptions: TestOptions.
RegularPreview
, expectedOutput: "", symbolValidator: module =>
3998
", parseOptions: TestOptions.
RegularPreview
, expectedOutput: "", symbolValidator: module =>
Semantics\DeconstructionTests.cs (1)
4090
parseOptions: TestOptions.
RegularPreview
);
Semantics\DelegateTypeTests.cs (62)
737
var comp = CreateCompilation(new[] { source, s_utils }, parseOptions: TestOptions.
RegularPreview
, options: TestOptions.ReleaseExe);
783
var comp = CreateCompilation(new[] { source, s_utils }, parseOptions: TestOptions.
RegularPreview
, options: TestOptions.ReleaseExe);
880
var comp = CreateCompilation(new[] { source, s_utils }, parseOptions: TestOptions.
RegularPreview
, options: TestOptions.ReleaseExe);
923
var comp = CreateCompilation(new[] { source, s_utils }, parseOptions: TestOptions.
RegularPreview
, options: TestOptions.ReleaseExe);
981
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
1021
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
1068
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
1199
var comp = CreateCompilation(new[] { source, s_utils }, parseOptions: TestOptions.
RegularPreview
, options: TestOptions.ReleaseExe);
1241
var comp = CreateCompilation(new[] { source, s_utils }, parseOptions: TestOptions.
RegularPreview
, options: TestOptions.ReleaseExe);
1320
var comp = CreateCompilation(new[] { source, s_utils }, parseOptions: TestOptions.
RegularPreview
, options: TestOptions.ReleaseExe);
1366
var comp = CreateCompilation(new[] { source, s_utils }, parseOptions: TestOptions.
RegularPreview
, options: TestOptions.ReleaseExe);
1409
var comp = CreateCompilation(new[] { source, s_utils }, parseOptions: TestOptions.
RegularPreview
, options: TestOptions.ReleaseExe);
1450
var comp = CreateCompilation(new[] { source, s_utils }, parseOptions: TestOptions.
RegularPreview
, options: TestOptions.ReleaseExe);
1673
var comp = CreateCompilation(new[] { source, s_utils }, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.
RegularPreview
);
1723
var comp = CreateCompilation(new[] { source, s_utils }, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.
RegularPreview
);
1773
var comp = CreateCompilation(new[] { source, s_utils }, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.
RegularPreview
);
1823
var comp = CreateCompilation(new[] { source, s_utils }, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.
RegularPreview
);
1873
var comp = CreateCompilation(new[] { source, s_utils }, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.
RegularPreview
);
1923
var comp = CreateCompilation(new[] { source, s_utils }, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.
RegularPreview
);
1974
var comp = CreateCompilation(new[] { source, s_utils }, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.
RegularPreview
);
2019
var comp = CreateCompilation(new[] { source, s_utils }, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.
RegularPreview
);
2075
comp = CreateCompilation(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.
RegularPreview
);
2132
comp = CreateCompilation(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.
RegularPreview
);
2197
comp = CreateCompilation(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.
RegularPreview
);
2257
comp = CreateCompilation(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.
RegularPreview
);
2310
comp = CreateCompilation(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.
RegularPreview
);
2349
comp = CreateCompilation(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.
RegularPreview
);
2392
comp = CreateCompilation(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.
RegularPreview
);
2439
comp = CreateCompilation(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.
RegularPreview
);
2486
comp = CreateCompilation(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.
RegularPreview
);
2534
comp = CreateCompilation(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.
RegularPreview
);
2582
comp = CreateCompilation(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.
RegularPreview
);
2631
comp = CreateCompilation(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.
RegularPreview
);
2680
comp = CreateCompilation(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.
RegularPreview
);
2721
comp = CreateCompilation(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.
RegularPreview
);
2773
comp = CreateCompilation(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.
RegularPreview
);
3072
var comp = CreateCompilation(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.
RegularPreview
);
3389
CompileAndVerify(new[] { source, s_utils }, parseOptions: TestOptions.
RegularPreview
, expectedOutput: "System.Func<System.Object>, System.Action<System.Object, System.Int32>");
3416
CompileAndVerify(source, parseOptions: TestOptions.
RegularPreview
, expectedOutput:
3446
CompileAndVerify(source, parseOptions: TestOptions.
RegularPreview
, expectedOutput:
3466
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
3494
CompileAndVerify(new[] { source, s_utils }, parseOptions: TestOptions.
RegularPreview
, expectedOutput: "System.Action<System.Object>");
3517
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
3598
var comp = CreateCompilation(new[] { source, s_utils }, parseOptions: TestOptions.
RegularPreview
, options: TestOptions.ReleaseExe);
3680
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
3706
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
3738
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
3774
CompileAndVerify(source, parseOptions: TestOptions.
RegularPreview
, references: new[] { CSharpRef }, expectedOutput: "Microsoft.CSharp.RuntimeBinder.RuntimeBinderException");
3799
CompileAndVerify(source, parseOptions: TestOptions.
RegularPreview
, options: TestOptions.UnsafeReleaseExe, verify: Verification.Skipped, expectedOutput:
3917
var comp = CreateCompilation(new[] { sourceB, s_utils }, new[] { refA }, parseOptions: TestOptions.
RegularPreview
, options: TestOptions.ReleaseExe);
3951
var comp = CreateCompilation(new[] { sourceB, s_utils }, new[] { refA }, parseOptions: TestOptions.
RegularPreview
, options: TestOptions.ReleaseExe);
3983
var comp = CreateCompilation(new[] { source, UnmanagedCallersOnlyAttributeDefinition }, parseOptions: TestOptions.
RegularPreview
);
4017
var comp = CreateCompilation(new[] { source, UnmanagedCallersOnlyAttributeDefinition }, parseOptions: TestOptions.
RegularPreview
);
4077
var comp = CreateEmptyCompilation(sourceB, new[] { refA }, parseOptions: TestOptions.
RegularPreview
);
4178
var comp = CreateEmptyCompilation(sourceB, new[] { refA }, parseOptions: TestOptions.
RegularPreview
);
4252
var comp = CreateEmptyCompilation(sourceB, new[] { refA }, parseOptions: TestOptions.
RegularPreview
);
4343
var comp = CreateEmptyCompilation(sourceB, new[] { refA }, parseOptions: TestOptions.
RegularPreview
);
4757
CompileAndVerify(source, parseOptions: TestOptions.
RegularPreview
, expectedOutput:
10947
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
10970
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
11757
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
15618
var verifier = CompileAndVerify(source, parseOptions: TestOptions.
RegularPreview
);
Semantics\DynamicTests.cs (14)
3037
CreateCompilationWithMscorlib40AndSystemCore(new[] { Parse(source, options: TestOptions.
RegularPreview
) }).VerifyDiagnostics(
4492
var comp1 = CreateCompilationWithMscorlib461AndCSharp(source1, parseOptions: TestOptions.
RegularPreview
, options: TestOptions.DebugExe);
4528
var comp2 = CreateCompilationWithMscorlib461AndCSharp(source2, parseOptions: TestOptions.
RegularPreview
, options: TestOptions.DebugExe);
4948
var parseOptions = testPreview ? TestOptions.
RegularPreview
: TestOptions.Regular13;
5072
var parseOptions = testPreview ? TestOptions.
RegularPreview
: TestOptions.Regular13;
5195
var parseOptions = testPreview ? TestOptions.
RegularPreview
: TestOptions.Regular13;
5319
var parseOptions = testPreview ? TestOptions.
RegularPreview
: TestOptions.Regular13;
5451
var parseOptions = testPreview ? TestOptions.
RegularPreview
: TestOptions.Regular13;
5636
var parseOptions = version switch { 12 => TestOptions.Regular12, 13 => TestOptions.Regular13, _ => TestOptions.
RegularPreview
};
5668
var parseOptions = testPreview ? TestOptions.
RegularPreview
: TestOptions.Regular13;
5802
var parseOptions = testPreview ? TestOptions.
RegularPreview
: TestOptions.Regular13;
5994
var parseOptions = testPreview ? TestOptions.
RegularPreview
: TestOptions.Regular13;
6117
var parseOptions = testPreview ? TestOptions.
RegularPreview
: TestOptions.Regular13;
6446
var parseOptions = testPreview ? TestOptions.
RegularPreview
: TestOptions.Regular13;
Semantics\FunctionPointerTests.cs (2)
105
comp = CreateCompilationWithFunctionPointers(src, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.
RegularPreview
);
150
comp = CreateCompilationWithFunctionPointers(src, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.
RegularPreview
);
Semantics\GlobalUsingDirectiveTests.cs (259)
86
CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics();
108
CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(
134
CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(
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);
869
var comp = CreateCompilation(new[] { globalUsings1 + globalUsings2, source1 }, parseOptions: TestOptions.
RegularPreview
);
889
comp = CreateCompilation(new[] { globalUsings2, globalUsings1 + source1 }, parseOptions: TestOptions.
RegularPreview
);
892
comp = CreateCompilation(new[] { globalUsings1 + source1, globalUsings2 }, parseOptions: TestOptions.
RegularPreview
);
895
comp = CreateCompilation(new[] { globalUsings2 + globalUsings1, source1 }, parseOptions: TestOptions.
RegularPreview
);
940
var comp = CreateCompilation(new[] { globalUsings1 + usings2, source1 }, parseOptions: TestOptions.
RegularPreview
);
960
comp = CreateCompilation(new[] { usings2, globalUsings1 + source1 }, parseOptions: TestOptions.
RegularPreview
);
963
comp = CreateCompilation(new[] { globalUsings1 + source1, usings2 }, parseOptions: TestOptions.
RegularPreview
);
1020
var comp = CreateCompilation(source1, parseOptions: TestOptions.
RegularPreview
, options: TestOptions.DebugExe);
1061
var comp = CreateCompilation(source1, parseOptions: TestOptions.
RegularPreview
);
1111
var comp = CreateCompilation(source1, parseOptions: TestOptions.
RegularPreview
);
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);
1530
var comp = CreateCompilation(new[] { globalUsings1 + globalUsings2, source1 }, parseOptions: TestOptions.
RegularPreview
);
1550
comp = CreateCompilation(new[] { globalUsings2, globalUsings1 + source1 }, parseOptions: TestOptions.
RegularPreview
);
1553
comp = CreateCompilation(new[] { globalUsings1 + source1, globalUsings2 }, parseOptions: TestOptions.
RegularPreview
);
1556
comp = CreateCompilation(new[] { globalUsings2 + globalUsings1, source1 }, parseOptions: TestOptions.
RegularPreview
);
1590
var comp = CreateCompilation(new[] { globalUsings1 + usings2, source1 }, parseOptions: TestOptions.
RegularPreview
);
1610
comp = CreateCompilation(new[] { usings2, globalUsings1 + source1 }, parseOptions: TestOptions.
RegularPreview
);
1613
comp = CreateCompilation(new[] { globalUsings1 + source1, usings2 }, parseOptions: TestOptions.
RegularPreview
);
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);
1927
var comp = CreateCompilation(source1, parseOptions: TestOptions.
RegularPreview
);
1963
var comp = CreateCompilation(source1, parseOptions: TestOptions.
RegularPreview
);
2026
var comp = CreateCompilation(new[] { source2, source1, source3, source6, source4, "", source5 }, parseOptions: TestOptions.
RegularPreview
, options: TestOptions.DebugExe);
2073
var comp2 = CreateCompilation(new[] { source2 + source3, source5, source6 }, parseOptions: TestOptions.
RegularPreview
, references: new[] { comp1Ref });
2083
var comp3 = CreateCompilation(new[] { source2 + source3 + source4, source5, source6 }, parseOptions: TestOptions.
RegularPreview
, references: new[] { comp1Ref });
2096
var comp4 = CreateCompilation(new[] { source2 + source3 + source5, source6 }, parseOptions: TestOptions.
RegularPreview
, references: new[] { comp1Ref });
2109
var comp5 = CreateCompilation(new[] { source2 + source3 + source4 + source5, source6 }, parseOptions: TestOptions.
RegularPreview
, references: new[] { comp1Ref });
2129
var comp6 = CreateCompilation(new[] { source2, source3, source5, source6 }, parseOptions: TestOptions.
RegularPreview
, references: new[] { comp1Ref });
2139
var comp7 = CreateCompilation(new[] { source2, source3, source4, source5, source6 }, parseOptions: TestOptions.
RegularPreview
, references: new[] { comp1Ref });
2152
var comp8 = CreateCompilation(new[] { source2 + source3 + source5, source4, source6 }, parseOptions: TestOptions.
RegularPreview
, references: new[] { comp1Ref });
2155
var comp9 = CreateCompilation(new[] { source2 + source5, source3, source6 }, parseOptions: TestOptions.
RegularPreview
, references: new[] { comp1Ref });
2168
var comp10 = CreateCompilation(new[] { source2 + source5, source3, source4, source6 }, parseOptions: TestOptions.
RegularPreview
, references: new[] { comp1Ref });
2207
var comp2 = CreateCompilation(new[] { source1, source2, source3 }, parseOptions: TestOptions.
RegularPreview
, references: new[] { comp1Ref });
2218
comp2 = CreateCompilation(new[] { source1, source3, source2 }, parseOptions: TestOptions.
RegularPreview
, references: new[] { comp1Ref });
2242
var comp2 = CreateCompilation(new[] { source3, source5, source6 }, parseOptions: TestOptions.
RegularPreview
);
2253
var comp3 = CreateCompilation(new[] { source3 + source4, source5, source6 }, parseOptions: TestOptions.
RegularPreview
);
2267
var comp4 = CreateCompilation(new[] { source3 + source5, source6 }, parseOptions: TestOptions.
RegularPreview
);
2270
var comp5 = CreateCompilation(new[] { source3 + source4 + source5, source6 }, parseOptions: TestOptions.
RegularPreview
);
2273
var comp6 = CreateCompilation(new[] { source3, source4, source5, source6 }, parseOptions: TestOptions.
RegularPreview
);
2276
var comp7 = CreateCompilation(new[] { source3 + source5, source4, source6 }, parseOptions: TestOptions.
RegularPreview
);
2279
var comp8 = CreateCompilation(new[] { source5, source3, source6 }, parseOptions: TestOptions.
RegularPreview
);
2282
var comp9 = CreateCompilation(new[] { source5, source3, source4, source6 }, parseOptions: TestOptions.
RegularPreview
);
2300
var comp2 = CreateCompilation(new[] { source2, source3 }, parseOptions: TestOptions.
RegularPreview
);
2307
comp2 = CreateCompilation(new[] { source3, source2 }, parseOptions: TestOptions.
RegularPreview
);
2329
var comp2 = CreateCompilation(new[] { source2, source3 }, parseOptions: TestOptions.
RegularPreview
);
2340
comp2 = CreateCompilation(new[] { source3, source2 }, parseOptions: TestOptions.
RegularPreview
);
2343
comp2 = CreateCompilation(source2 + source3, parseOptions: TestOptions.
RegularPreview
);
2384
var comp2 = CreateCompilation(new[] { source3, source5, source6 }, parseOptions: TestOptions.
RegularPreview
);
2398
var comp3 = CreateCompilation(new[] { source3 + source4, source5, source6 }, parseOptions: TestOptions.
RegularPreview
);
2415
var comp4 = CreateCompilation(new[] { source3 + source5, source6 }, parseOptions: TestOptions.
RegularPreview
);
2418
var comp5 = CreateCompilation(new[] { source3 + source4 + source5, source6 }, parseOptions: TestOptions.
RegularPreview
);
2421
var comp6 = CreateCompilation(new[] { source3, source4, source5, source6 }, parseOptions: TestOptions.
RegularPreview
);
2424
var comp7 = CreateCompilation(new[] { source3 + source5, source4, source6 }, parseOptions: TestOptions.
RegularPreview
);
2427
var comp8 = CreateCompilation(new[] { source5, source3, source6 }, parseOptions: TestOptions.
RegularPreview
);
2430
var comp9 = CreateCompilation(new[] { source5, source3, source4, source6 }, parseOptions: TestOptions.
RegularPreview
);
2480
var comp2 = CreateCompilation(new[] { source3, source5, source6 }, parseOptions: TestOptions.
RegularPreview
);
2494
var comp3 = CreateCompilation(new[] { source3 + source4, source5, source6 }, parseOptions: TestOptions.
RegularPreview
);
2511
var comp4 = CreateCompilation(new[] { source3 + source5, source6 }, parseOptions: TestOptions.
RegularPreview
);
2514
var comp5 = CreateCompilation(new[] { source3 + source4 + source5, source6 }, parseOptions: TestOptions.
RegularPreview
);
2517
var comp6 = CreateCompilation(new[] { source3, source4, source5, source6 }, parseOptions: TestOptions.
RegularPreview
);
2520
var comp7 = CreateCompilation(new[] { source3 + source5, source4, source6 }, parseOptions: TestOptions.
RegularPreview
);
2523
var comp8 = CreateCompilation(new[] { source5, source3, source6 }, parseOptions: TestOptions.
RegularPreview
);
2526
var comp9 = CreateCompilation(new[] { source5, source3, source4, source6 }, parseOptions: TestOptions.
RegularPreview
);
2548
var comp2 = CreateCompilation(new[] { source3, source5, source6 }, parseOptions: TestOptions.
RegularPreview
);
2559
var comp3 = CreateCompilation(new[] { source3 + source4, source5, source6 }, parseOptions: TestOptions.
RegularPreview
);
2570
var comp4 = CreateCompilation(new[] { source3 + source5, source6 }, parseOptions: TestOptions.
RegularPreview
);
2577
var comp5 = CreateCompilation(new[] { source3 + source4 + source5, source6 }, parseOptions: TestOptions.
RegularPreview
);
2587
var comp6 = CreateCompilation(new[] { source3, source4, source5, source6 }, parseOptions: TestOptions.
RegularPreview
);
2597
var comp7 = CreateCompilation(new[] { source3 + source5, source4, source6 }, parseOptions: TestOptions.
RegularPreview
);
2607
var comp8 = CreateCompilation(new[] { source5, source3, source6 }, parseOptions: TestOptions.
RegularPreview
);
2610
var comp9 = CreateCompilation(new[] { source5, source3, source4, source6 }, parseOptions: TestOptions.
RegularPreview
);
2634
var comp2 = CreateCompilation(new[] { source2, source3 }, parseOptions: TestOptions.
RegularPreview
);
2641
comp2 = CreateCompilation(new[] { source3, source2 }, parseOptions: TestOptions.
RegularPreview
);
2662
var comp2 = CreateCompilation(new[] { source2, source3 }, parseOptions: TestOptions.
RegularPreview
);
2673
comp2 = CreateCompilation(new[] { source3, source2 }, parseOptions: TestOptions.
RegularPreview
);
2676
comp2 = CreateCompilation(source2 + source3, parseOptions: TestOptions.
RegularPreview
);
2702
var comp2 = CreateCompilation(new[] { source3, source5, source6 }, parseOptions: TestOptions.
RegularPreview
);
2713
var comp3 = CreateCompilation(new[] { source3 + source4, source5, source6 }, parseOptions: TestOptions.
RegularPreview
);
2724
var comp4 = CreateCompilation(new[] { source3 + source5, source6 }, parseOptions: TestOptions.
RegularPreview
);
2731
var comp5 = CreateCompilation(new[] { source3 + source4 + source5, source6 }, parseOptions: TestOptions.
RegularPreview
);
2741
var comp6 = CreateCompilation(new[] { source3, source4, source5, source6 }, parseOptions: TestOptions.
RegularPreview
);
2751
var comp7 = CreateCompilation(new[] { source3 + source5, source4, source6 }, parseOptions: TestOptions.
RegularPreview
);
2761
var comp8 = CreateCompilation(new[] { source5, source3, source6 }, parseOptions: TestOptions.
RegularPreview
);
2764
var comp9 = CreateCompilation(new[] { source5, source3, source4, source6 }, parseOptions: TestOptions.
RegularPreview
);
2788
var comp2 = CreateCompilation(new[] { source2, source3 }, parseOptions: TestOptions.
RegularPreview
);
2795
comp2 = CreateCompilation(new[] { source3, source2 }, parseOptions: TestOptions.
RegularPreview
);
2816
var comp2 = CreateCompilation(new[] { source2, source3 }, parseOptions: TestOptions.
RegularPreview
);
2827
comp2 = CreateCompilation(new[] { source3, source2 }, parseOptions: TestOptions.
RegularPreview
);
2830
comp2 = CreateCompilation(source2 + source3, parseOptions: TestOptions.
RegularPreview
);
2871
var comp2 = CreateCompilation(new[] { source2, source3 }, parseOptions: TestOptions.
RegularPreview
);
2905
comp2 = CreateCompilation(new[] { source2, source3 }, parseOptions: TestOptions.
RegularPreview
);
2909
comp2 = CreateCompilation(new[] { source2, source3 }, parseOptions: TestOptions.
RegularPreview
);
2913
comp2 = CreateCompilation(new[] { source3, source2 }, parseOptions: TestOptions.
RegularPreview
);
2917
comp2 = CreateCompilation(source2 + source3, parseOptions: TestOptions.
RegularPreview
);
2957
var comp2 = CreateCompilation(new[] { source2, source3 }, parseOptions: TestOptions.
RegularPreview
);
2991
comp2 = CreateCompilation(new[] { source2, source3 }, parseOptions: TestOptions.
RegularPreview
);
2995
comp2 = CreateCompilation(new[] { source2, source3 }, parseOptions: TestOptions.
RegularPreview
);
2999
comp2 = CreateCompilation(new[] { source3, source2 }, parseOptions: TestOptions.
RegularPreview
);
3003
comp2 = CreateCompilation(source2 + source3, parseOptions: TestOptions.
RegularPreview
);
3043
var comp2 = CreateCompilation(new[] { source2, source3 }, parseOptions: TestOptions.
RegularPreview
);
3077
comp2 = CreateCompilation(new[] { source2, source3 }, parseOptions: TestOptions.
RegularPreview
);
3081
comp2 = CreateCompilation(new[] { source2, source3 }, parseOptions: TestOptions.
RegularPreview
);
3085
comp2 = CreateCompilation(new[] { source3, source2 }, parseOptions: TestOptions.
RegularPreview
);
3089
comp2 = CreateCompilation(source2 + source3, parseOptions: TestOptions.
RegularPreview
);
3170
var comp2 = CreateCompilation(new[] { source2, source3, source4 }, parseOptions: TestOptions.
RegularPreview
);
3254
comp2 = CreateCompilation(new[] { source2, source3, source4 }, parseOptions: TestOptions.
RegularPreview
);
3283
comp2 = CreateCompilation(new[] { source2, source3, source4 }, parseOptions: TestOptions.
RegularPreview
);
3300
comp2 = CreateCompilation(new[] { source2, source3, source4 }, parseOptions: TestOptions.
RegularPreview
);
3311
comp2 = CreateCompilation(new[] { source2, source3, source4 }, parseOptions: TestOptions.
RegularPreview
);
3364
references: new[] { compWithReferenceToLib.EmitToImageReference(), newCompImageRef }, assemblyName: "lib", parseOptions: TestOptions.
RegularPreview
);
3369
references: new[] { compWithReferenceToLib.ToMetadataReference(), newCompRef }, assemblyName: "lib", parseOptions: TestOptions.
RegularPreview
);
3373
references: new[] { compWithReferenceToLib.EmitToImageReference(), newCompImageRef }, assemblyName: "lib", parseOptions: TestOptions.
RegularPreview
);
3377
references: new[] { compWithReferenceToLib.ToMetadataReference(), newCompRef }, assemblyName: "lib", parseOptions: TestOptions.
RegularPreview
);
3381
references: new[] { compWithReferenceToLib.EmitToImageReference(), newCompImageRef }, assemblyName: "lib", parseOptions: TestOptions.
RegularPreview
);
3389
references: new[] { compWithReferenceToLib.ToMetadataReference(), newCompRef }, assemblyName: "lib", parseOptions: TestOptions.
RegularPreview
);
3397
references: new[] { compWithReferenceToLib.EmitToImageReference(), newCompImageRef }, assemblyName: "lib", parseOptions: TestOptions.
RegularPreview
);
3405
references: new[] { compWithReferenceToLib.ToMetadataReference(), newCompRef }, assemblyName: "lib", parseOptions: TestOptions.
RegularPreview
);
3413
references: new[] { compWithReferenceToLib.EmitToImageReference(), newCompImageRef }, assemblyName: "lib", parseOptions: TestOptions.
RegularPreview
);
3421
references: new[] { compWithReferenceToLib.ToMetadataReference(), newCompRef }, assemblyName: "lib", parseOptions: TestOptions.
RegularPreview
);
3429
references: new[] { compWithReferenceToLib.EmitToImageReference(), newCompImageRef }, assemblyName: "lib", parseOptions: TestOptions.
RegularPreview
);
3437
references: new[] { compWithReferenceToLib.ToMetadataReference(), newCompRef }, assemblyName: "lib", parseOptions: TestOptions.
RegularPreview
);
3505
var parseOptions = TestOptions.
RegularPreview
.WithNoRefSafetyRulesAttribute();
3701
var parseOptions = TestOptions.
RegularPreview
.WithNoRefSafetyRulesAttribute();
3839
var comp = CreateCompilation(new[] { externAlias + globalUsings1 + globalUsings2 + usings, source }, parseOptions: TestOptions.
RegularPreview
);
3865
comp = CreateCompilation(new[] { externAlias + globalUsings1 + usings, globalUsings2, source }, parseOptions: TestOptions.
RegularPreview
);
3896
comp = CreateCompilation(new[] { externAlias + usings, globalUsings1 + globalUsings2, source }, parseOptions: TestOptions.
RegularPreview
);
3929
comp = CreateCompilation(new[] { externAlias + globalUsings1 + globalUsings2, source }, parseOptions: TestOptions.
RegularPreview
);
3949
comp = CreateCompilation(new[] { externAlias + globalUsings1, globalUsings2, source }, parseOptions: TestOptions.
RegularPreview
);
3974
comp = CreateCompilation(new[] { externAlias, globalUsings1 + globalUsings2, source }, parseOptions: TestOptions.
RegularPreview
);
4001
comp = CreateCompilation(new[] { globalUsings1 + globalUsings2 + usings, source }, parseOptions: TestOptions.
RegularPreview
);
4021
comp = CreateCompilation(new[] { globalUsings1 + usings, globalUsings2, source }, parseOptions: TestOptions.
RegularPreview
);
4046
comp = CreateCompilation(new[] { usings, globalUsings1 + globalUsings2, source }, parseOptions: TestOptions.
RegularPreview
);
4073
comp = CreateCompilation(new[] { globalUsings1 + globalUsings2, source }, parseOptions: TestOptions.
RegularPreview
);
4087
comp = CreateCompilation(new[] { globalUsings1, globalUsings2, source }, parseOptions: TestOptions.
RegularPreview
);
4108
comp = CreateCompilation(new[] { externAlias + usings, source }, parseOptions: TestOptions.
RegularPreview
);
4130
comp = CreateCompilation(new[] { externAlias, source }, parseOptions: TestOptions.
RegularPreview
);
4146
comp = CreateCompilation(new[] { usings, source }, parseOptions: TestOptions.
RegularPreview
);
4212
var comp = CreateCompilation(new[] { externAlias1 + globalUsings1 + source }, parseOptions: TestOptions.
RegularPreview
);
4223
comp = CreateCompilation(new[] { externAlias1 + source, globalUsings1 }, parseOptions: TestOptions.
RegularPreview
);
4226
comp = CreateCompilation(new[] { externAlias1 + usings1 + source }, parseOptions: TestOptions.
RegularPreview
);
4240
comp = CreateCompilation(new[] { globalUsings1 + usings1 + source }, parseOptions: TestOptions.
RegularPreview
);
4248
comp = CreateCompilation(new[] { usings1 + source, globalUsings1 }, parseOptions: TestOptions.
RegularPreview
);
4256
comp = CreateCompilation(new[] { externAlias1 + globalUsings1 + usings1 + source }, parseOptions: TestOptions.
RegularPreview
);
4259
comp = CreateCompilation(new[] { externAlias1 + usings1 + source, globalUsings1 }, parseOptions: TestOptions.
RegularPreview
);
4262
comp = CreateCompilation(new[] { externAlias1 + externAlias2 + source }, parseOptions: TestOptions.
RegularPreview
);
4276
comp = CreateCompilation(new[] { globalUsings1 + globalUsings2 + source }, parseOptions: TestOptions.
RegularPreview
);
4284
comp = CreateCompilation(new[] { globalUsings1 + source, globalUsings2 }, parseOptions: TestOptions.
RegularPreview
);
4292
comp = CreateCompilation(new[] { source, globalUsings1 + globalUsings2 }, parseOptions: TestOptions.
RegularPreview
);
4300
comp = CreateCompilation(new[] { source, globalUsings1, globalUsings2 }, parseOptions: TestOptions.
RegularPreview
);
4308
comp = CreateCompilation(new[] { usings1 + usings2 + source }, parseOptions: TestOptions.
RegularPreview
);
4366
var comp = CreateCompilation(new[] { globalUsings1 + globalUsings2 + source }, parseOptions: TestOptions.
RegularPreview
);
4377
comp = CreateCompilation(new[] { globalUsings1 + source, globalUsings2 }, parseOptions: TestOptions.
RegularPreview
);
4380
comp = CreateCompilation(new[] { source, globalUsings1 + globalUsings2 }, parseOptions: TestOptions.
RegularPreview
);
4383
comp = CreateCompilation(new[] { source, globalUsings1, globalUsings2 }, parseOptions: TestOptions.
RegularPreview
);
4386
comp = CreateCompilation(new[] { globalUsings1 + usings2 + source }, parseOptions: TestOptions.
RegularPreview
);
4393
comp = CreateCompilation(new[] { usings1 + source, globalUsings2 }, parseOptions: TestOptions.
RegularPreview
);
4400
comp = CreateCompilation(new[] { usings1 + usings2 + source }, parseOptions: TestOptions.
RegularPreview
);
4462
var comp = CreateCompilation(new[] { globalUsings1 + globalUsings2 + source }, parseOptions: TestOptions.
RegularPreview
);
4473
comp = CreateCompilation(new[] { globalUsings1 + source, globalUsings2 }, parseOptions: TestOptions.
RegularPreview
);
4476
comp = CreateCompilation(new[] { source, globalUsings1 + globalUsings2 }, parseOptions: TestOptions.
RegularPreview
);
4479
comp = CreateCompilation(new[] { source, globalUsings1, globalUsings2 }, parseOptions: TestOptions.
RegularPreview
);
4482
comp = CreateCompilation(new[] { globalUsings1 + usings2 + source }, parseOptions: TestOptions.
RegularPreview
);
4489
comp = CreateCompilation(new[] { usings1 + source, globalUsings2 }, parseOptions: TestOptions.
RegularPreview
);
4496
comp = CreateCompilation(new[] { usings1 + usings2 + source }, parseOptions: TestOptions.
RegularPreview
);
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);
4865
CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(
4925
CreateCompilation(new[] { globalUsing1 + globalUsing2 + regularUsings + source }, parseOptions: TestOptions.
RegularPreview
).
4928
CreateCompilation(new[] { globalUsing1 + regularUsings + source, globalUsing2 }, parseOptions: TestOptions.
RegularPreview
).
4931
CreateCompilation(new[] { regularUsings + source, globalUsing1, globalUsing2 }, parseOptions: TestOptions.
RegularPreview
).
4944
CreateCompilation(new[] { globalUsing1 + globalUsing2 + source }, parseOptions: TestOptions.
RegularPreview
).
4947
CreateCompilation(new[] { globalUsing1 + source, globalUsing2 }, parseOptions: TestOptions.
RegularPreview
).
4950
CreateCompilation(new[] { regularUsings + source }, parseOptions: TestOptions.
RegularPreview
).
4974
var comp = CreateCompilation(new[] { globalUsings1, source }, parseOptions: TestOptions.
RegularPreview
);
5006
CreateCompilation(new[] { source1, source2 }, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics();
5022
CreateCompilation(new[] { source1, source2 }, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(
5063
CreateCompilation(new[] { source1, source2 }, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(
5082
CreateCompilation(new[] { source1, source2 }, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(
5101
CreateCompilation(new[] { source1, source2 }, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics();
Semantics\ImplicitObjectCreationTests.cs (1)
2065
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
, options: TestOptions.DebugExe);
Semantics\LambdaTests.cs (47)
3761
var comp = CreateCompilation(new[] { sourceA, sourceB }, parseOptions: TestOptions.
RegularPreview
);
3778
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
3813
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
3873
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
3929
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
3972
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
4023
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
4058
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
4088
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
, options: TestOptions.ReleaseExe);
4114
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
, options: TestOptions.ReleaseExe);
4149
var comp = CreateCompilation(new[] { sourceA, sourceB }, parseOptions: TestOptions.
RegularPreview
);
4180
var comp = CreateCompilationWithMscorlib40(source, parseOptions: TestOptions.
RegularPreview
);
4207
parseOptions: TestOptions.
RegularPreview
);
4238
var comp = CreateCompilation(new[] { source, MaybeNullAttributeDefinition, NotNullAttributeDefinition }, parseOptions: TestOptions.
RegularPreview
);
4725
var comp = CreateCompilation(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition }, parseOptions: TestOptions.
RegularPreview
);
4844
var comp = CreateCompilation(new[] { source, UnmanagedCallersOnlyAttributeDefinition }, parseOptions: TestOptions.
RegularPreview
);
4864
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
4949
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
4977
parseOptions: TestOptions.
RegularPreview
);
5016
var comp = CreateCompilation(new[] { source, NotNullWhenAttributeDefinition }, parseOptions: TestOptions.
RegularPreview
);
5081
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
5108
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
5136
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
5162
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
5186
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
5212
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
5246
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
5284
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
5325
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
5361
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
5387
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
5413
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
5432
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
5457
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
5485
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
5509
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
5598
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
5680
CompileAndVerify(sourceB, references: new[] { refA }, parseOptions: TestOptions.
RegularPreview
, expectedOutput:
5711
var comp = CreateCompilation(sourceB, references: new[] { refA }, parseOptions: TestOptions.
RegularPreview
);
5745
var comp = CreateCompilation(sourceB, references: new[] { refA }, parseOptions: TestOptions.
RegularPreview
);
5963
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
5991
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
6038
comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
6072
CompileAndVerify(source, parseOptions: TestOptions.
RegularPreview
, expectedOutput:
6124
comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
6150
CompileAndVerify(source, parseOptions: TestOptions.
RegularPreview
, expectedOutput: @"System.Int64");
6170
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
Semantics\LocalFunctionTests.cs (1)
2442
CreateCompilation(src, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.
RegularPreview
.WithFeature("run-nullable-analysis", "never")).VerifyDiagnostics(expectedDiagnostics);
Semantics\NameOfTests.cs (19)
1816
CompileAndVerify(source, parseOptions: TestOptions.
RegularPreview
, expectedOutput: expectedOutput).VerifyDiagnostics();
1850
CompileAndVerify(source, parseOptions: TestOptions.
RegularPreview
, expectedOutput: expectedOutput).VerifyDiagnostics();
1906
CompileAndVerify(source, parseOptions: TestOptions.
RegularPreview
, expectedOutput: expectedOutput).VerifyDiagnostics();
1947
CompileAndVerify(source, parseOptions: TestOptions.
RegularPreview
, expectedOutput: expectedOutput).VerifyDiagnostics();
1967
CompileAndVerify(source, parseOptions: TestOptions.
RegularPreview
, expectedOutput: "Length").VerifyDiagnostics();
1992
CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(expectedDiagnostics);
2011
CompileAndVerify(source, parseOptions: TestOptions.
RegularPreview
, expectedOutput: "Length").VerifyDiagnostics();
2037
CompileAndVerify(source, parseOptions: TestOptions.
RegularPreview
, expectedOutput: "Length").VerifyDiagnostics();
2056
CompileAndVerify(source, parseOptions: TestOptions.
RegularPreview
, expectedOutput: "StaticProp").VerifyDiagnostics();
2075
CompileAndVerify(source, parseOptions: TestOptions.
RegularPreview
, expectedOutput: "StaticProp").VerifyDiagnostics();
2096
CompileAndVerify(source, parseOptions: TestOptions.
RegularPreview
, expectedOutput: "M").VerifyDiagnostics();
2115
CompileAndVerify(source, parseOptions: TestOptions.
RegularPreview
, expectedOutput: "StaticMethod").VerifyDiagnostics();
2228
CompileAndVerify(source, parseOptions: TestOptions.
RegularPreview
, expectedOutput: "StaticMethod").VerifyDiagnostics();
2249
CompileAndVerify(source, parseOptions: TestOptions.
RegularPreview
, expectedOutput: "Length").VerifyDiagnostics();
2271
CompileAndVerify(source, parseOptions: TestOptions.
RegularPreview
, expectedOutput: "StaticMethod").VerifyDiagnostics();
2296
CompileAndVerify(source, parseOptions: TestOptions.
RegularPreview
, expectedOutput: "Prop").VerifyDiagnostics();
2321
CompileAndVerify(source, parseOptions: TestOptions.
RegularPreview
, expectedOutput: "Prop").VerifyDiagnostics();
2345
CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(expectedDiagnostics);
2366
CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(expectedDiagnostics);
Semantics\NativeIntegerTests.cs (4)
3794
comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics();
3821
comp = CreateCompilation(new[] { source1, source2 }, parseOptions: TestOptions.
RegularPreview
);
3851
comp = CreateCompilation(source1, parseOptions: TestOptions.
RegularPreview
);
3897
comp = CreateCompilation(source1, parseOptions: TestOptions.
RegularPreview
);
Semantics\NullableReferenceTypesTests.cs (6)
68223
", GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns, includeTrailingOutConstructorParameter: validityParameter) }, parseOptions: TestOptions.
RegularPreview
);
68267
parseOptions: TestOptions.
RegularPreview
);
68296
parseOptions: TestOptions.
RegularPreview
);
68332
parseOptions: TestOptions.
RegularPreview
);
68369
parseOptions: TestOptions.
RegularPreview
);
68420
parseOptions: TestOptions.
RegularPreview
);
Semantics\RawInterpolationTests.cs (1)
1000
CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(
Semantics\RawInterpolationTests_Handler.cs (5)
627
var verifier = CompileAndVerify(new[] { source, interpolatedStringBuilder }, expectedOutput: expectedOutput, targetFramework: TargetFramework.Net50, parseOptions: TestOptions.
RegularPreview
);
634
var comp2 = CreateCompilation(source, new[] { reference }, targetFramework: TargetFramework.Net50, parseOptions: TestOptions.
RegularPreview
);
3434
var comp = CreateCompilation(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) }, parseOptions: TestOptions.
RegularPreview
);
3802
comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
, targetFramework: TargetFramework.NetCoreApp);
4097
comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
Semantics\RecordStructTests.cs (57)
28
parseOptions: TestOptions.
RegularPreview
);
37
parseOptions: TestOptions.
RegularPreview
,
209
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
, options: TestOptions.ReleaseExe);
659
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularPreview
, options: TestOptions.UnsafeDebugDll);
1672
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.
RegularPreview
, options: TestOptions.UnsafeDebugExe);
2297
var comp = CreateEmptyCompilation(src, parseOptions: TestOptions.
RegularPreview
, references: new[] { corlibRef });
2321
var comp = CreateEmptyCompilation(src, parseOptions: TestOptions.
RegularPreview
, references: new[] { corlibRef });
2397
var comp = CreateEmptyCompilation(src, parseOptions: TestOptions.
RegularPreview
, references: new[] { corlibRef });
2423
var comp = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.
RegularPreview
, options: TestOptions.DebugExe);
3235
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
4053
var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.
RegularPreview
, options: TestOptions.ReleaseExe);
4092
var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.
RegularPreview
, options: TestOptions.ReleaseExe);
4138
var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.
RegularPreview
, options: TestOptions.ReleaseExe);
4511
var comp = CreateEmptyCompilation(src, parseOptions: TestOptions.
RegularPreview
.WithNoRefSafetyRulesAttribute());
4788
var comp = CreateEmptyCompilation(src, parseOptions: TestOptions.
RegularPreview
.WithNoRefSafetyRulesAttribute());
5118
var compDebug = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.
RegularPreview
, options: TestOptions.DebugExe);
5119
var compRelease = CreateCompilation(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.
RegularPreview
, options: TestOptions.ReleaseExe);
6979
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(src, expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
7040
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(src, expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
7133
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(src, expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
7219
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(src, expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
7480
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(src, expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
7702
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularPreview
, options: TestOptions.ReleaseExe);
7859
var comp = CreateCompilation(src, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.
RegularPreview
);
7941
CreateCompilationWithMscorlibAndSpan(text, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(
8013
CreateCompilationWithMscorlibAndSpan(text, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics();
8416
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(src, expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
8441
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularPreview
);
8592
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(src, expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
8616
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularPreview
);
8767
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(src, expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
8787
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularPreview
);
8964
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(src, expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
8984
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularPreview
);
9132
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(src, expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
9153
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularPreview
);
9318
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(src, expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
9339
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularPreview
);
9515
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(src, expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
9533
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularPreview
);
9628
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(src, expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
9646
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularPreview
);
9741
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(src, expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
9793
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularPreview
);
9901
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(src, expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
9919
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularPreview
);
10015
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(src, expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
10040
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularPreview
);
10131
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(src, expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
10182
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularPreview
);
10317
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(src, expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
10341
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularPreview
);
10432
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(src, expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularPreview
);
10444
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularPreview
);
10459
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularPreview
);
10511
parseOptions: TestOptions.
RegularPreview
,
10595
var comp = CreateCompilation(src, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.
RegularPreview
);
Semantics\RefFieldTests.cs (1)
8328
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
.WithFeature("peverify-compat"), targetFramework: TargetFramework.Net70);
Semantics\TargetTypedDefaultTests.cs (1)
273
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
, options: TestOptions.DebugExe);
Semantics\UninitializedNonNullableFieldTests.cs (2)
2244
var comp = CreateCompilation(new[] { source, MemberNotNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.
RegularPreview
);
2313
var comp = CreateCompilation(new[] { source, MemberNotNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.
RegularPreview
);
Semantics\UnsafeTests.cs (12)
13500
comp = CreateCompilation(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.
RegularPreview
);
13503
comp = CreateCompilation(csharp, parseOptions: TestOptions.
RegularPreview
);
13542
comp = CreateCompilation(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.
RegularPreview
);
13545
comp = CreateCompilation(csharp, parseOptions: TestOptions.
RegularPreview
);
13571
comp = CreateCompilation(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.
RegularPreview
);
13577
comp = CreateCompilation(csharp, parseOptions: TestOptions.
RegularPreview
);
13593
var comp = CreateCompilation(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.
RegularPreview
);
13599
comp = CreateCompilation(csharp, parseOptions: TestOptions.
RegularPreview
);
13721
comp = CreateCompilation(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.
RegularPreview
);
13866
comp = CreateCompilation(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.
RegularPreview
);
13909
comp = CreateCompilation(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.
RegularPreview
);
13942
comp = CreateCompilation(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.
RegularPreview
);
SourceGeneration\GeneratorDriverTests.cs (49)
1346
var parseOptions = TestOptions.
RegularPreview
;
1441
var parseOptions = TestOptions.
RegularPreview
;
1466
var parseOptions = TestOptions.
RegularPreview
;
1492
var parseOptions = TestOptions.
RegularPreview
;
1534
var parseOptions = TestOptions.
RegularPreview
;
1563
var parseOptions = TestOptions.
RegularPreview
;
1596
var parseOptions = TestOptions.
RegularPreview
;
1617
var parseOptions = TestOptions.
RegularPreview
;
1679
var parseOptions = TestOptions.
RegularPreview
;
1723
var parseOptions = TestOptions.
RegularPreview
;
1942
var parseOptions = TestOptions.
RegularPreview
;
1978
var parseOptions = TestOptions.
RegularPreview
;
2134
var parseOptions = TestOptions.
RegularPreview
;
2193
var parseOptions = TestOptions.
RegularPreview
;
2240
var parseOptions = TestOptions.
RegularPreview
;
2302
var parseOptions = TestOptions.
RegularPreview
;
2383
var parseOptions = TestOptions.
RegularPreview
;
2455
var parseOptions = TestOptions.
RegularPreview
;
2483
var parseOptions = TestOptions.
RegularPreview
;
2546
var parseOptions = TestOptions.
RegularPreview
;
2612
var parseOptions = TestOptions.
RegularPreview
;
2696
var parseOptions = TestOptions.
RegularPreview
;
2883
var parseOptions = TestOptions.
RegularPreview
;
3078
var parseOptions = TestOptions.
RegularPreview
;
3144
var parseOptions = TestOptions.
RegularPreview
;
3190
var parseOptions = TestOptions.
RegularPreview
;
3220
var parseOptions = TestOptions.
RegularPreview
;
3278
var parseOptions = TestOptions.
RegularPreview
;
3304
var parseOptions = TestOptions.
RegularPreview
;
3337
var parseOptions = TestOptions.
RegularPreview
;
3383
var parseOptions = TestOptions.
RegularPreview
;
3411
var parseOptions = TestOptions.
RegularPreview
;
3442
var parseOptions = TestOptions.
RegularPreview
;
3490
var parseOptions = TestOptions.
RegularPreview
;
3534
var parseOptions = TestOptions.
RegularPreview
;
3565
var parseOptions = TestOptions.
RegularPreview
;
3609
var parseOptions = TestOptions.
RegularPreview
;
3641
var parseOptions = TestOptions.
RegularPreview
;
3675
var parseOptions = TestOptions.
RegularPreview
;
3704
var parseOptions = TestOptions.
RegularPreview
;
3735
var parseOptions = TestOptions.
RegularPreview
;
3767
var parseOptions = TestOptions.
RegularPreview
;
3800
var parseOptions = TestOptions.
RegularPreview
;
3829
var parseOptions = TestOptions.
RegularPreview
;
3859
var parseOptions = TestOptions.
RegularPreview
;
3891
var parseOptions = TestOptions.
RegularPreview
;
4005
var parseOptions = TestOptions.
RegularPreview
;
4067
var parseOptions = TestOptions.
RegularPreview
;
4149
var parseOptions = TestOptions.
RegularPreview
.WithFeature("InterceptorsNamespaces", "global");
SourceGeneration\GeneratorDriverTests_Attributes_FullyQualifiedName.cs (46)
67
var parseOptions = TestOptions.
RegularPreview
;
109
var parseOptions = TestOptions.
RegularPreview
;
146
var parseOptions = TestOptions.
RegularPreview
;
176
var parseOptions = TestOptions.
RegularPreview
;
206
var parseOptions = TestOptions.
RegularPreview
;
235
var parseOptions = TestOptions.
RegularPreview
;
262
var parseOptions = TestOptions.
RegularPreview
;
290
var parseOptions = TestOptions.
RegularPreview
;
319
var parseOptions = TestOptions.
RegularPreview
;
355
var parseOptions = TestOptions.
RegularPreview
;
394
var parseOptions = TestOptions.
RegularPreview
;
423
var parseOptions = TestOptions.
RegularPreview
;
456
var parseOptions = TestOptions.
RegularPreview
;
489
var parseOptions = TestOptions.
RegularPreview
;
521
var parseOptions = TestOptions.
RegularPreview
;
553
var parseOptions = TestOptions.
RegularPreview
;
584
var parseOptions = TestOptions.
RegularPreview
;
615
var parseOptions = TestOptions.
RegularPreview
;
648
var parseOptions = TestOptions.
RegularPreview
;
679
var parseOptions = TestOptions.
RegularPreview
;
708
var parseOptions = TestOptions.
RegularPreview
;
742
var parseOptions = TestOptions.
RegularPreview
;
771
var parseOptions = TestOptions.
RegularPreview
;
808
var parseOptions = TestOptions.
RegularPreview
;
845
var parseOptions = TestOptions.
RegularPreview
;
882
var parseOptions = TestOptions.
RegularPreview
;
919
var parseOptions = TestOptions.
RegularPreview
;
956
var parseOptions = TestOptions.
RegularPreview
;
992
var parseOptions = TestOptions.
RegularPreview
;
1019
var parseOptions = TestOptions.
RegularPreview
;
1056
var parseOptions = TestOptions.
RegularPreview
;
1094
var parseOptions = TestOptions.
RegularPreview
;
1132
var parseOptions = TestOptions.
RegularPreview
;
1170
var parseOptions = TestOptions.
RegularPreview
;
1208
var parseOptions = TestOptions.
RegularPreview
;
1250
var parseOptions = TestOptions.
RegularPreview
;
1329
var parseOptions = TestOptions.
RegularPreview
;
1375
var parseOptions = TestOptions.
RegularPreview
;
1413
var parseOptions = TestOptions.
RegularPreview
;
1460
var parseOptions = TestOptions.
RegularPreview
;
1507
var parseOptions = TestOptions.
RegularPreview
;
1550
var parseOptions = TestOptions.
RegularPreview
;
1598
var parseOptions = TestOptions.
RegularPreview
;
1653
var parseOptions = TestOptions.
RegularPreview
;
1710
var parseOptions = TestOptions.
RegularPreview
;
1764
var parseOptions = TestOptions.
RegularPreview
;
SourceGeneration\GeneratorDriverTests_Attributes_SimpleName.cs (46)
38
var parseOptions = TestOptions.
RegularPreview
;
70
var parseOptions = TestOptions.
RegularPreview
;
96
var parseOptions = TestOptions.
RegularPreview
;
121
var parseOptions = TestOptions.
RegularPreview
;
146
var parseOptions = TestOptions.
RegularPreview
;
174
var parseOptions = TestOptions.
RegularPreview
;
206
var parseOptions = TestOptions.
RegularPreview
;
238
var parseOptions = TestOptions.
RegularPreview
;
272
var parseOptions = TestOptions.
RegularPreview
;
305
var parseOptions = TestOptions.
RegularPreview
;
331
var parseOptions = TestOptions.
RegularPreview
;
357
var parseOptions = TestOptions.
RegularPreview
;
383
var parseOptions = TestOptions.
RegularPreview
;
416
var parseOptions = TestOptions.
RegularPreview
;
444
var parseOptions = TestOptions.
RegularPreview
;
472
var parseOptions = TestOptions.
RegularPreview
;
499
var parseOptions = TestOptions.
RegularPreview
;
530
var parseOptions = TestOptions.
RegularPreview
;
563
var parseOptions = TestOptions.
RegularPreview
;
595
var parseOptions = TestOptions.
RegularPreview
;
627
var parseOptions = TestOptions.
RegularPreview
;
655
var parseOptions = TestOptions.
RegularPreview
;
683
var parseOptions = TestOptions.
RegularPreview
;
711
var parseOptions = TestOptions.
RegularPreview
;
740
var parseOptions = TestOptions.
RegularPreview
;
767
var parseOptions = TestOptions.
RegularPreview
;
794
var parseOptions = TestOptions.
RegularPreview
;
825
var parseOptions = TestOptions.
RegularPreview
;
857
var parseOptions = TestOptions.
RegularPreview
;
886
var parseOptions = TestOptions.
RegularPreview
;
914
var parseOptions = TestOptions.
RegularPreview
;
942
var parseOptions = TestOptions.
RegularPreview
;
971
var parseOptions = TestOptions.
RegularPreview
;
1001
var parseOptions = TestOptions.
RegularPreview
;
1041
var parseOptions = TestOptions.
RegularPreview
;
1089
var parseOptions = TestOptions.
RegularPreview
;
1142
var parseOptions = TestOptions.
RegularPreview
;
1193
var parseOptions = TestOptions.
RegularPreview
;
1248
var parseOptions = TestOptions.
RegularPreview
;
1301
var parseOptions = TestOptions.
RegularPreview
;
1359
var parseOptions = TestOptions.
RegularPreview
;
1407
var parseOptions = TestOptions.
RegularPreview
;
1452
var parseOptions = TestOptions.
RegularPreview
;
1503
var parseOptions = TestOptions.
RegularPreview
;
1554
var parseOptions = TestOptions.
RegularPreview
;
1615
var parseOptions = TestOptions.
RegularPreview
;
SourceGeneration\SyntaxAwareGeneratorTests.cs (17)
851
var parseOptions = TestOptions.
RegularPreview
;
891
var parseOptions = TestOptions.
RegularPreview
;
933
var parseOptions = TestOptions.
RegularPreview
;
1010
var parseOptions = TestOptions.
RegularPreview
;
1085
var parseOptions = TestOptions.
RegularPreview
;
1166
var parseOptions = TestOptions.
RegularPreview
;
1216
var parseOptions = TestOptions.
RegularPreview
;
1299
var parseOptions = TestOptions.
RegularPreview
;
1376
var parseOptions = TestOptions.
RegularPreview
;
1509
var parseOptions = TestOptions.
RegularPreview
;
1564
var parseOptions = TestOptions.
RegularPreview
;
1613
var parseOptions = TestOptions.
RegularPreview
;
1674
var parseOptions = TestOptions.
RegularPreview
;
1733
var parseOptions = TestOptions.
RegularPreview
;
1786
var parseOptions = TestOptions.
RegularPreview
;
1980
var parseOptions = TestOptions.
RegularPreview
;
2006
var parseOptions = TestOptions.
RegularPreview
;
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1115)
Compilation\UsedAssembliesTests.cs (2)
3834
Compilation comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
, references: references, options: TestOptions.UnsafeDebugDll);
3841
AssertUsedAssemblyReferences(source, references, references, parseOptions: TestOptions.
RegularPreview
, options: TestOptions.UnsafeDebugDll);
DocumentationComments\CrefTests.cs (4)
6740
verify(CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose)).VerifyDiagnostics());
6797
verify(CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose)).VerifyDiagnostics(expectedDiagnostics));
6840
verify(CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose)).VerifyDiagnostics(expectedDiagnostics));
6890
verify(CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose)).VerifyDiagnostics(expectedDiagnostics));
Symbols\CheckedUserDefinedOperatorsTests.cs (154)
34
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
78
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
112
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
142
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
187
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
208
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
227
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
249
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
311
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
347
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
372
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
398
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
427
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
445
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
472
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
511
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
570
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
601
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
633
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
683
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
742
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
774
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
806
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
855
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
893
foreach (var options in new[] { TestOptions.
RegularPreview
, TestOptions.Regular10, TestOptions.Regular11 })
924
foreach (var options in new[] { TestOptions.
RegularPreview
, TestOptions.Regular10, TestOptions.Regular11 })
969
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
1005
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
1054
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
1104
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
1157
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
1207
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
1251
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
1296
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
1331
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
1362
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
1395
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
1418
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
1481
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
1517
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
1544
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
1571
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
1605
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
1623
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
1650
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
1691
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
1752
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
1784
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
1807
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
1880
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
1924
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
1984
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
2017
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
2049
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
2108
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
2156
foreach (var options in new[] { TestOptions.
RegularPreview
, TestOptions.Regular10, TestOptions.Regular11 })
2214
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
2272
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
2366
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
2429
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
2456
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
2485
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
2532
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
2572
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
2605
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
2637
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
2656
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
2715
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
2749
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
2772
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
2795
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
2821
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
2850
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
2906
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
2935
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
2964
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
2993
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
3016
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
3072
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
3101
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
3130
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
3159
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
3177
foreach (var options in new[] { TestOptions.
RegularPreview
, TestOptions.Regular10, TestOptions.Regular11 })
3208
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
3251
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
3301
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
3422
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.
RegularPreview
);
3442
var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
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
);
3835
var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
3880
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
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
);
4217
var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
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
);
4678
var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
4728
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.
RegularPreview
);
4779
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.
RegularPreview
);
4797
var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
4840
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
4891
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.
RegularPreview
);
5001
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.
RegularPreview
);
5110
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
5204
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.
RegularPreview
);
5228
var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
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
);
5696
var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
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
);
6326
var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
6411
var compilation1 = CreateCompilationWithCSharp(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.
RegularPreview
);
6431
var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
6526
var compilation1 = CreateCompilationWithCSharp(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.
RegularPreview
);
6550
var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
);
6604
var compilation1 = CreateCompilation(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.
RegularPreview
);
6607
var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 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
);
6757
var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 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
);
6806
var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 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
);
6855
var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 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
);
7006
var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 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
);
7051
var compilation2 = CreateCompilation(source1, options: TestOptions.DebugDll, 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\DefaultInterfaceImplementationTests.cs (327)
118
parseOptions: TestOptions.
RegularPreview
);
169
parseOptions: TestOptions.
RegularPreview
,
288
parseOptions: TestOptions.
RegularPreview
,
428
parseOptions: TestOptions.
RegularPreview
,
579
parseOptions: TestOptions.
RegularPreview
,
677
parseOptions: TestOptions.
RegularPreview
,
779
parseOptions: TestOptions.
RegularPreview
,
881
parseOptions: TestOptions.
RegularPreview
,
968
parseOptions: TestOptions.
RegularPreview
,
1043
parseOptions: TestOptions.
RegularPreview
,
1122
parseOptions: TestOptions.
RegularPreview
,
1201
parseOptions: TestOptions.
RegularPreview
,
1280
parseOptions: TestOptions.
RegularPreview
,
1364
parseOptions: TestOptions.
RegularPreview
,
1452
parseOptions: TestOptions.
RegularPreview
,
1540
parseOptions: TestOptions.
RegularPreview
,
1586
parseOptions: TestOptions.
RegularPreview
);
1667
parseOptions: TestOptions.
RegularPreview
);
2580
parseOptions: TestOptions.
RegularPreview
,
2634
parseOptions: TestOptions.
RegularPreview
,
2651
parseOptions: TestOptions.
RegularPreview
,
3007
parseOptions: TestOptions.
RegularPreview
,
3109
parseOptions: TestOptions.
RegularPreview
,
3134
parseOptions: TestOptions.
RegularPreview
,
3198
parseOptions: TestOptions.
RegularPreview
,
3232
parseOptions: TestOptions.
RegularPreview
,
3296
parseOptions: TestOptions.
RegularPreview
,
3321
parseOptions: TestOptions.
RegularPreview
,
3360
parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.
RegularPreview
,
3449
parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.
RegularPreview
,
3515
parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.
RegularPreview
,
3600
parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.
RegularPreview
,
3723
parseOptions: TestOptions.
RegularPreview
,
3865
parseOptions: TestOptions.
RegularPreview
,
3983
parseOptions: TestOptions.
RegularPreview
,
4135
parseOptions: TestOptions.
RegularPreview
,
4226
parseOptions: TestOptions.
RegularPreview
, skipUsesIsNullable: true);
4279
parseOptions: TestOptions.
RegularPreview
);
4394
parseOptions: TestOptions.
RegularPreview
,
4407
parseOptions: TestOptions.
RegularPreview
);
4471
parseOptions: TestOptions.
RegularPreview
,
4787
parseOptions: TestOptions.
RegularPreview
,
6355
parseOptions: TestOptions.
RegularPreview
,
6369
parseOptions: TestOptions.
RegularPreview
,
6542
parseOptions: TestOptions.
RegularPreview
,
6599
parseOptions: TestOptions.
RegularPreview
,
6620
parseOptions: TestOptions.
RegularPreview
,
6944
parseOptions: TestOptions.
RegularPreview
,
7047
parseOptions: TestOptions.
RegularPreview
,
7138
parseOptions: TestOptions.
RegularPreview
,
7245
parseOptions: TestOptions.
RegularPreview
,
7310
parseOptions: TestOptions.
RegularPreview
, skipUsesIsNullable: true);
7345
parseOptions: TestOptions.
RegularPreview
);
7418
parseOptions: TestOptions.
RegularPreview
,
7431
parseOptions: TestOptions.
RegularPreview
);
7478
parseOptions: TestOptions.
RegularPreview
,
7498
parseOptions: TestOptions.
RegularPreview
);
7697
parseOptions: TestOptions.
RegularPreview
,
9266
parseOptions: TestOptions.
RegularPreview
,
9456
parseOptions: TestOptions.
RegularPreview
,
9463
parseOptions: TestOptions.
RegularPreview
,
9482
parseOptions: TestOptions.
RegularPreview
,
32960
parseOptions: TestOptions.
RegularPreview
,
32976
parseOptions: TestOptions.
RegularPreview
,
32992
parseOptions: TestOptions.
RegularPreview
,
33215
parseOptions: TestOptions.
RegularPreview
,
33244
parseOptions: TestOptions.
RegularPreview
,
33358
parseOptions: TestOptions.
RegularPreview
, skipUsesIsNullable: true);
33388
parseOptions: TestOptions.
RegularPreview
);
33434
parseOptions: TestOptions.
RegularPreview
,
33482
parseOptions: TestOptions.
RegularPreview
,
33531
parseOptions: TestOptions.
RegularPreview
,
33589
parseOptions: TestOptions.
RegularPreview
,
33651
parseOptions: TestOptions.
RegularPreview
,
33715
parseOptions: TestOptions.
RegularPreview
,
33761
parseOptions: TestOptions.
RegularPreview
,
33833
parseOptions: TestOptions.
RegularPreview
, skipUsesIsNullable: true);
33885
parseOptions: TestOptions.
RegularPreview
,
33981
parseOptions: TestOptions.
RegularPreview
,
34142
parseOptions: TestOptions.
RegularPreview
,
34158
parseOptions: TestOptions.
RegularPreview
,
34174
parseOptions: TestOptions.
RegularPreview
,
34189
parseOptions: TestOptions.
RegularPreview
,
34195
parseOptions: TestOptions.
RegularPreview
,
34211
parseOptions: TestOptions.
RegularPreview
,
34283
parseOptions: TestOptions.
RegularPreview
,
34464
parseOptions: TestOptions.
RegularPreview
,
34502
parseOptions: TestOptions.
RegularPreview
,
34541
parseOptions: TestOptions.
RegularPreview
,
34586
parseOptions: TestOptions.
RegularPreview
,
34684
parseOptions: TestOptions.
RegularPreview
,
34690
parseOptions: TestOptions.
RegularPreview
,
34704
parseOptions: TestOptions.
RegularPreview
,
34798
parseOptions: TestOptions.
RegularPreview
,
34895
parseOptions: TestOptions.
RegularPreview
,
34913
parseOptions: TestOptions.
RegularPreview
,
34969
parseOptions: TestOptions.
RegularPreview
,
34974
parseOptions: TestOptions.
RegularPreview
,
34998
parseOptions: TestOptions.
RegularPreview
,
35060
parseOptions: TestOptions.
RegularPreview
,
35065
parseOptions: TestOptions.
RegularPreview
,
35093
parseOptions: TestOptions.
RegularPreview
,
35161
parseOptions: TestOptions.
RegularPreview
,
35166
parseOptions: TestOptions.
RegularPreview
,
35191
parseOptions: TestOptions.
RegularPreview
,
35257
parseOptions: TestOptions.
RegularPreview
,
35262
parseOptions: TestOptions.
RegularPreview
,
35286
parseOptions: TestOptions.
RegularPreview
,
35352
parseOptions: TestOptions.
RegularPreview
,
35367
parseOptions: TestOptions.
RegularPreview
,
35463
parseOptions: TestOptions.
RegularPreview
,
35470
parseOptions: TestOptions.
RegularPreview
,
35572
parseOptions: TestOptions.
RegularPreview
,
35579
parseOptions: TestOptions.
RegularPreview
,
35685
parseOptions: TestOptions.
RegularPreview
,
35692
parseOptions: TestOptions.
RegularPreview
,
35798
parseOptions: TestOptions.
RegularPreview
,
35805
parseOptions: TestOptions.
RegularPreview
,
35900
parseOptions: TestOptions.
RegularPreview
,
35911
parseOptions: TestOptions.
RegularPreview
,
36009
parseOptions: TestOptions.
RegularPreview
,
36016
parseOptions: TestOptions.
RegularPreview
,
36103
parseOptions: TestOptions.
RegularPreview
,
36114
parseOptions: TestOptions.
RegularPreview
,
36221
parseOptions: TestOptions.
RegularPreview
,
36228
parseOptions: TestOptions.
RegularPreview
,
36387
parseOptions: TestOptions.
RegularPreview
,
36405
parseOptions: TestOptions.
RegularPreview
,
36422
parseOptions: TestOptions.
RegularPreview
,
36430
parseOptions: TestOptions.
RegularPreview
,
36575
parseOptions: TestOptions.
RegularPreview
,
36593
parseOptions: TestOptions.
RegularPreview
,
36610
parseOptions: TestOptions.
RegularPreview
,
36618
parseOptions: TestOptions.
RegularPreview
,
36763
parseOptions: TestOptions.
RegularPreview
,
36781
parseOptions: TestOptions.
RegularPreview
,
36798
parseOptions: TestOptions.
RegularPreview
,
36806
parseOptions: TestOptions.
RegularPreview
,
36860
parseOptions: TestOptions.
RegularPreview
,
36987
parseOptions: TestOptions.
RegularPreview
,
37003
parseOptions: TestOptions.
RegularPreview
,
37019
parseOptions: TestOptions.
RegularPreview
,
37376
parseOptions: TestOptions.
RegularPreview
, skipUsesIsNullable: true);
37393
parseOptions: TestOptions.
RegularPreview
);
37523
parseOptions: TestOptions.
RegularPreview
,
37606
parseOptions: TestOptions.
RegularPreview
,
37650
parseOptions: TestOptions.
RegularPreview
,
37716
parseOptions: TestOptions.
RegularPreview
,
37953
parseOptions: TestOptions.
RegularPreview
,
37996
parseOptions: TestOptions.
RegularPreview
, skipUsesIsNullable: true);
38003
parseOptions: TestOptions.
RegularPreview
,
38402
parseOptions: TestOptions.
RegularPreview
,
38421
parseOptions: TestOptions.
RegularPreview
,
38439
parseOptions: TestOptions.
RegularPreview
,
38447
parseOptions: TestOptions.
RegularPreview
,
38742
parseOptions: TestOptions.
RegularPreview
,
38801
parseOptions: TestOptions.
RegularPreview
,
38839
parseOptions: TestOptions.
RegularPreview
,
38881
parseOptions: TestOptions.
RegularPreview
,
38910
parseOptions: TestOptions.
RegularPreview
,
39003
parseOptions: TestOptions.
RegularPreview
,
39009
parseOptions: TestOptions.
RegularPreview
,
39016
parseOptions: TestOptions.
RegularPreview
,
39107
parseOptions: TestOptions.
RegularPreview
,
39176
parseOptions: TestOptions.
RegularPreview
,
39194
parseOptions: TestOptions.
RegularPreview
,
39493
parseOptions: TestOptions.
RegularPreview
,
39511
parseOptions: TestOptions.
RegularPreview
,
40015
parseOptions: TestOptions.
RegularPreview
,
40033
parseOptions: TestOptions.
RegularPreview
,
40051
parseOptions: TestOptions.
RegularPreview
,
40483
parseOptions: TestOptions.
RegularPreview
, skipUsesIsNullable: true);
40513
parseOptions: TestOptions.
RegularPreview
);
40573
parseOptions: TestOptions.
RegularPreview
,
40616
parseOptions: TestOptions.
RegularPreview
,
40664
parseOptions: TestOptions.
RegularPreview
,
40724
parseOptions: TestOptions.
RegularPreview
,
40788
parseOptions: TestOptions.
RegularPreview
,
40854
parseOptions: TestOptions.
RegularPreview
,
40928
parseOptions: TestOptions.
RegularPreview
,
41070
parseOptions: TestOptions.
RegularPreview
,
41088
parseOptions: TestOptions.
RegularPreview
,
41106
parseOptions: TestOptions.
RegularPreview
,
41123
parseOptions: TestOptions.
RegularPreview
,
41129
parseOptions: TestOptions.
RegularPreview
,
41142
parseOptions: TestOptions.
RegularPreview
,
41239
parseOptions: TestOptions.
RegularPreview
,
41463
parseOptions: TestOptions.
RegularPreview
,
41501
parseOptions: TestOptions.
RegularPreview
,
41543
parseOptions: TestOptions.
RegularPreview
,
41588
parseOptions: TestOptions.
RegularPreview
,
41669
parseOptions: TestOptions.
RegularPreview
,
41675
parseOptions: TestOptions.
RegularPreview
,
41689
parseOptions: TestOptions.
RegularPreview
,
41783
parseOptions: TestOptions.
RegularPreview
,
41852
parseOptions: TestOptions.
RegularPreview
,
41870
parseOptions: TestOptions.
RegularPreview
,
42020
parseOptions: TestOptions.
RegularPreview
,
42040
parseOptions: TestOptions.
RegularPreview
,
42059
parseOptions: TestOptions.
RegularPreview
,
42067
parseOptions: TestOptions.
RegularPreview
,
42224
parseOptions: TestOptions.
RegularPreview
,
42244
parseOptions: TestOptions.
RegularPreview
,
42263
parseOptions: TestOptions.
RegularPreview
,
42271
parseOptions: TestOptions.
RegularPreview
,
42428
parseOptions: TestOptions.
RegularPreview
,
42448
parseOptions: TestOptions.
RegularPreview
,
42467
parseOptions: TestOptions.
RegularPreview
,
42475
parseOptions: TestOptions.
RegularPreview
,
43590
parseOptions: TestOptions.
RegularPreview
,
43627
parseOptions: TestOptions.
RegularPreview
,
43670
parseOptions: TestOptions.
RegularPreview
,
46590
parseOptions: TestOptions.
RegularPreview
);
46600
parseOptions: TestOptions.
RegularPreview
);
46606
parseOptions: TestOptions.
RegularPreview
);
46692
parseOptions: TestOptions.
RegularPreview
);
47013
parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(
47025
parseOptions: TestOptions.
RegularPreview
, targetFramework: TargetFramework.NetCoreApp);
47082
var compilation3 = CreateCompilationWithIL(source2, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.
RegularPreview
);
47111
var compilation4 = CreateCompilationWithIL(source3, ilSource, options: TestOptions.DebugExe, parseOptions: TestOptions.
RegularPreview
);
49119
parseOptions: TestOptions.
RegularPreview
, targetFramework: TargetFramework.NetCoreApp);
49223
parseOptions: TestOptions.
RegularPreview
, targetFramework: TargetFramework.NetCoreApp);
49530
parseOptions: TestOptions.
RegularPreview
);
49546
parseOptions: TestOptions.
RegularPreview
);
49551
parseOptions: TestOptions.
RegularPreview
);
51043
parseOptions: TestOptions.
RegularPreview
,
51064
parseOptions: TestOptions.
RegularPreview
,
51071
parseOptions: TestOptions.
RegularPreview
,
51221
parseOptions: TestOptions.
RegularPreview
,
51231
parseOptions: TestOptions.
RegularPreview
,
51238
parseOptions: TestOptions.
RegularPreview
,
51361
parseOptions: TestOptions.
RegularPreview
,
51375
parseOptions: TestOptions.
RegularPreview
,
51382
parseOptions: TestOptions.
RegularPreview
,
51502
parseOptions: TestOptions.
RegularPreview
,
51512
parseOptions: TestOptions.
RegularPreview
,
51519
parseOptions: TestOptions.
RegularPreview
,
51645
parseOptions: TestOptions.
RegularPreview
,
51659
parseOptions: TestOptions.
RegularPreview
,
51666
parseOptions: TestOptions.
RegularPreview
,
51785
parseOptions: TestOptions.
RegularPreview
,
51799
parseOptions: TestOptions.
RegularPreview
,
51806
parseOptions: TestOptions.
RegularPreview
,
51895
parseOptions: TestOptions.
RegularPreview
,
51905
parseOptions: TestOptions.
RegularPreview
,
51912
parseOptions: TestOptions.
RegularPreview
,
51960
parseOptions: TestOptions.
RegularPreview
,
52015
parseOptions: TestOptions.
RegularPreview
,
52080
parseOptions: TestOptions.
RegularPreview
,
52138
parseOptions: TestOptions.
RegularPreview
,
52203
parseOptions: TestOptions.
RegularPreview
,
52258
parseOptions: TestOptions.
RegularPreview
,
52339
parseOptions: TestOptions.
RegularPreview
,
52433
parseOptions: TestOptions.
RegularPreview
,
52498
parseOptions: TestOptions.
RegularPreview
,
52504
parseOptions: TestOptions.
RegularPreview
,
52511
parseOptions: TestOptions.
RegularPreview
,
52690
parseOptions: TestOptions.
RegularPreview
,
52700
parseOptions: TestOptions.
RegularPreview
,
52707
parseOptions: TestOptions.
RegularPreview
,
52855
parseOptions: TestOptions.
RegularPreview
,
52861
parseOptions: TestOptions.
RegularPreview
,
52868
parseOptions: TestOptions.
RegularPreview
,
53018
parseOptions: TestOptions.
RegularPreview
,
53028
parseOptions: TestOptions.
RegularPreview
,
53035
parseOptions: TestOptions.
RegularPreview
,
53193
parseOptions: TestOptions.
RegularPreview
,
53199
parseOptions: TestOptions.
RegularPreview
,
53207
parseOptions: TestOptions.
RegularPreview
,
53355
parseOptions: TestOptions.
RegularPreview
,
53361
parseOptions: TestOptions.
RegularPreview
,
53369
parseOptions: TestOptions.
RegularPreview
,
53487
parseOptions: TestOptions.
RegularPreview
,
53497
parseOptions: TestOptions.
RegularPreview
,
53504
parseOptions: TestOptions.
RegularPreview
,
53594
parseOptions: TestOptions.
RegularPreview
,
53726
parseOptions: TestOptions.
RegularPreview
,
53872
parseOptions: TestOptions.
RegularPreview
,
54194
parseOptions: TestOptions.
RegularPreview
,
54201
parseOptions: TestOptions.
RegularPreview
,
57030
parseOptions: TestOptions.
RegularPreview
,
57273
parseOptions: TestOptions.
RegularPreview
,
57352
parseOptions: TestOptions.
RegularPreview
,
57428
parseOptions: TestOptions.
RegularPreview
,
57476
parseOptions: TestOptions.
RegularPreview
,
57482
parseOptions: TestOptions.
RegularPreview
,
57489
parseOptions: TestOptions.
RegularPreview
,
57648
parseOptions: TestOptions.
RegularPreview
,
57658
parseOptions: TestOptions.
RegularPreview
,
57665
parseOptions: TestOptions.
RegularPreview
,
57806
parseOptions: TestOptions.
RegularPreview
,
57812
parseOptions: TestOptions.
RegularPreview
,
57819
parseOptions: TestOptions.
RegularPreview
,
57957
parseOptions: TestOptions.
RegularPreview
,
57967
parseOptions: TestOptions.
RegularPreview
,
57974
parseOptions: TestOptions.
RegularPreview
,
58120
parseOptions: TestOptions.
RegularPreview
,
58126
parseOptions: TestOptions.
RegularPreview
,
58133
parseOptions: TestOptions.
RegularPreview
,
58269
parseOptions: TestOptions.
RegularPreview
,
58275
parseOptions: TestOptions.
RegularPreview
,
58282
parseOptions: TestOptions.
RegularPreview
,
58389
parseOptions: TestOptions.
RegularPreview
,
58399
parseOptions: TestOptions.
RegularPreview
,
58406
parseOptions: TestOptions.
RegularPreview
,
58482
parseOptions: TestOptions.
RegularPreview
,
58674
parseOptions: TestOptions.
RegularPreview
,
59246
parseOptions: TestOptions.
RegularPreview
,
59253
parseOptions: TestOptions.
RegularPreview
,
59314
parseOptions: TestOptions.
RegularPreview
,
59461
parseOptions: TestOptions.
RegularPreview
,
68160
parseOptions: TestOptions.
RegularPreview
);
68192
parseOptions: TestOptions.
RegularPreview
,
68555
parseOptions: TestOptions.
RegularPreview
, skipUsesIsNullable: true);
68594
parseOptions: TestOptions.
RegularPreview
);
68607
parseOptions: TestOptions.
RegularPreview
);
68683
parseOptions: TestOptions.
RegularPreview
,
68689
parseOptions: TestOptions.
RegularPreview
,
68700
parseOptions: TestOptions.
RegularPreview
,
68844
parseOptions: TestOptions.
RegularPreview
,
68860
parseOptions: TestOptions.
RegularPreview
,
68867
parseOptions: TestOptions.
RegularPreview
,
68926
parseOptions: TestOptions.
RegularPreview
,
68945
parseOptions: TestOptions.
RegularPreview
,
68952
parseOptions: TestOptions.
RegularPreview
,
69323
parseOptions: TestOptions.
RegularPreview
);
69391
parseOptions: TestOptions.
RegularPreview
);
Symbols\PartialPropertiesTests.cs (1)
832
CompileAndVerify(source, parseOptions: TestOptions.
RegularPreview
.WithNoRefSafetyRulesAttribute(), assemblyValidator: (assembly) =>
Symbols\RelaxedShiftOperatorTests.cs (10)
48
parseOptions: TestOptions.
RegularPreview
);
52
parseOptions: TestOptions.
RegularPreview
);
55
parseOptions: TestOptions.
RegularPreview
);
60
parseOptions: TestOptions.
RegularPreview
);
93
parseOptions: TestOptions.
RegularPreview
);
137
parseOptions: TestOptions.
RegularPreview
);
181
parseOptions: TestOptions.
RegularPreview
);
225
parseOptions: TestOptions.
RegularPreview
);
269
parseOptions: TestOptions.
RegularPreview
);
313
parseOptions: TestOptions.
RegularPreview
);
Symbols\Source\FileModifierTests.cs (19)
730
var verifier = CompileAndVerify(SyntaxFactory.ParseSyntaxTree(source, options: TestOptions.
RegularPreview
, path: "path/to/MyFile.cs", encoding: Encoding.Default), expectedOutput: "1", symbolValidator: symbolValidator);
773
var verifier = CompileAndVerify(SyntaxFactory.ParseSyntaxTree(source, options: TestOptions.
RegularPreview
, path: "path/to/My<>File.cs", encoding: Encoding.Default), expectedOutput: "1", symbolValidator: symbolValidator);
804
var verifier = CompileAndVerify(SyntaxFactory.ParseSyntaxTree(source, options: TestOptions.
RegularPreview
, path: "path/to/MyGeneratedFile.g.cs", encoding: Encoding.Default), expectedOutput: "1", symbolValidator: symbolValidator);
874
""", options: TestOptions.
RegularPreview
, path: path, encoding: Encoding.Default);
875
var source2 = SyntaxFactory.ParseSyntaxTree("", options: TestOptions.
RegularPreview
, path: path, encoding: Encoding.Default);
909
""", options: TestOptions.
RegularPreview
, path: path, encoding: Encoding.Default);
919
""", options: TestOptions.
RegularPreview
, path: path, encoding: Encoding.Default);
956
""", options: TestOptions.
RegularPreview
, path: path, encoding: Encoding.Default);
957
var source2 = SyntaxFactory.ParseSyntaxTree("", options: TestOptions.
RegularPreview
, path: path, encoding: Encoding.Default);
990
""", options: TestOptions.
RegularPreview
, path: "path/to/file.cs", encoding: Encoding.Default);
991
var source2 = SyntaxFactory.ParseSyntaxTree("", options: TestOptions.
RegularPreview
, path: "path/to/File.cs", encoding: Encoding.Default);
1086
var comp = CreateCompilation(SyntaxFactory.ParseSyntaxTree(source, options: TestOptions.
RegularPreview
, path: $"path/to/My{badChar}File.cs", encoding: Encoding.Default));
1113
var comp = CreateCompilation(SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.
RegularPreview
, path: "\uD800.cs"));
1148
var verifier = CompileAndVerify(SyntaxFactory.ParseSyntaxTree(source, options: TestOptions.
RegularPreview
, path: "path/to/My+File.cs", encoding: Encoding.Default), expectedOutput: "1", symbolValidator: validateSymbols);
3853
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
3880
var compilation = CreateCompilation(new[] { (source, "file1.cs"), (main, "file2.cs") }, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
4061
SyntaxFactory.ParseSyntaxTree(source1, TestOptions.
RegularPreview
),
4062
SyntaxFactory.ParseSyntaxTree(source2, TestOptions.
RegularPreview
, path: "path/to/FileB.cs")
4330
var comp = CreateCompilation(SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.
RegularPreview
, path: "path/to/SomeFile.cs"));
Symbols\Source\NullablePublicAPITests.cs (3)
5184
var comp = CreateCompilation(source, parseOptions: runNullableAnalysisAlways ? TestOptions.
RegularPreview
.WithFeature("run-nullable-analysis", "always") : TestOptions.
RegularPreview
);
5222
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
.WithFeature("run-nullable-analysis", "never"));
Symbols\Source\PropertyTests.cs (1)
2997
comp = CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
);
Symbols\StaticAbstractMembersInInterfacesTests.cs (536)
421
parseOptions: TestOptions.
RegularPreview
,
508
parseOptions: TestOptions.
RegularPreview
,
815
parseOptions: TestOptions.
RegularPreview
,
900
parseOptions: TestOptions.
RegularPreview
,
973
parseOptions: TestOptions.
RegularPreview
,
1013
parseOptions: TestOptions.
RegularPreview
,
1050
parseOptions: TestOptions.
RegularPreview
,
1106
parseOptions: TestOptions.
RegularPreview
,
1127
parseOptions: TestOptions.
RegularPreview
,
1144
parseOptions: TestOptions.
RegularPreview
,
1181
parseOptions: TestOptions.
RegularPreview
,
1218
parseOptions: TestOptions.
RegularPreview
,
1259
parseOptions: TestOptions.
RegularPreview
,
1320
parseOptions: TestOptions.
RegularPreview
,
1371
parseOptions: TestOptions.
RegularPreview
,
1426
parseOptions: TestOptions.
RegularPreview
,
1484
parseOptions: TestOptions.
RegularPreview
,
1539
parseOptions: TestOptions.
RegularPreview
,
1611
parseOptions: TestOptions.
RegularPreview
,
2107
parseOptions: TestOptions.
RegularPreview
,
2176
parseOptions: TestOptions.
RegularPreview
,
2923
parseOptions: TestOptions.
RegularPreview
,
2993
parseOptions: TestOptions.
RegularPreview
,
3636
parseOptions: TestOptions.
RegularPreview
,
3723
parseOptions: TestOptions.
RegularPreview
,
4104
parseOptions: TestOptions.
RegularPreview
,
4332
parseOptions: TestOptions.
RegularPreview
,
4542
parseOptions: TestOptions.
RegularPreview
,
4764
parseOptions: TestOptions.
RegularPreview
,
4866
parseOptions: TestOptions.
RegularPreview
,
4908
parseOptions: TestOptions.
RegularPreview
,
4941
parseOptions: TestOptions.
RegularPreview
,
4974
parseOptions: TestOptions.
RegularPreview
,
5010
parseOptions: TestOptions.
RegularPreview
,
5048
parseOptions: TestOptions.
RegularPreview
,
5068
parseOptions: TestOptions.
RegularPreview
,
5110
parseOptions: TestOptions.
RegularPreview
,
5152
parseOptions: TestOptions.
RegularPreview
,
5185
parseOptions: TestOptions.
RegularPreview
,
5227
parseOptions: TestOptions.
RegularPreview
,
5269
parseOptions: TestOptions.
RegularPreview
,
5299
parseOptions: TestOptions.
RegularPreview
,
5335
parseOptions: TestOptions.
RegularPreview
,
5371
parseOptions: TestOptions.
RegularPreview
,
5386
parseOptions: TestOptions.
RegularPreview
,
5412
parseOptions: TestOptions.
RegularPreview
,
5427
parseOptions: TestOptions.
RegularPreview
,
5489
parseOptions: TestOptions.
RegularPreview
,
5557
parseOptions: TestOptions.
RegularPreview
,
5596
parseOptions: TestOptions.
RegularPreview
,
5640
parseOptions: TestOptions.
RegularPreview
,
5701
parseOptions: TestOptions.
RegularPreview
,
5748
parseOptions: TestOptions.
RegularPreview
,
5778
parseOptions: TestOptions.
RegularPreview
,
5827
parseOptions: TestOptions.
RegularPreview
,
5871
parseOptions: TestOptions.
RegularPreview
,
5910
parseOptions: TestOptions.
RegularPreview
,
5952
parseOptions: TestOptions.
RegularPreview
,
5979
parseOptions: TestOptions.
RegularPreview
,
6024
parseOptions: TestOptions.
RegularPreview
,
6069
parseOptions: TestOptions.
RegularPreview
,
6093
parseOptions: TestOptions.
RegularPreview
,
6117
parseOptions: TestOptions.
RegularPreview
,
6163
parseOptions: TestOptions.
RegularPreview
,
6208
parseOptions: TestOptions.
RegularPreview
,
6229
parseOptions: TestOptions.
RegularPreview
,
6261
parseOptions: TestOptions.
RegularPreview
,
6336
parseOptions: TestOptions.
RegularPreview
,
6385
parseOptions: TestOptions.
RegularPreview
,
6416
parseOptions: TestOptions.
RegularPreview
,
6468
parseOptions: TestOptions.
RegularPreview
,
6486
parseOptions: TestOptions.
RegularPreview
,
6524
parseOptions: TestOptions.
RegularPreview
,
6599
parseOptions: TestOptions.
RegularPreview
,
6615
parseOptions: TestOptions.
RegularPreview
,
6642
parseOptions: TestOptions.
RegularPreview
,
6717
parseOptions: TestOptions.
RegularPreview
,
6751
parseOptions: TestOptions.
RegularPreview
,
6783
parseOptions: TestOptions.
RegularPreview
,
6858
parseOptions: TestOptions.
RegularPreview
,
6880
parseOptions: TestOptions.
RegularPreview
,
6912
parseOptions: TestOptions.
RegularPreview
,
6987
parseOptions: TestOptions.
RegularPreview
,
7009
parseOptions: TestOptions.
RegularPreview
,
7041
parseOptions: TestOptions.
RegularPreview
,
7069
parseOptions: TestOptions.
RegularPreview
,
7099
parseOptions: TestOptions.
RegularPreview
,
7129
parseOptions: TestOptions.
RegularPreview
,
7161
parseOptions: TestOptions.
RegularPreview
,
7240
parseOptions: TestOptions.
RegularPreview
,
7334
parseOptions: TestOptions.
RegularPreview
,
7439
parseOptions: TestOptions.
RegularPreview
,
7545
parseOptions: TestOptions.
RegularPreview
,
7639
parseOptions: TestOptions.
RegularPreview
,
7738
parseOptions: TestOptions.
RegularPreview
,
7855
parseOptions: TestOptions.
RegularPreview
,
7975
parseOptions: TestOptions.
RegularPreview
,
8072
parseOptions: TestOptions.
RegularPreview
,
8169
parseOptions: TestOptions.
RegularPreview
,
8250
parseOptions: TestOptions.
RegularPreview
,
8339
parseOptions: TestOptions.
RegularPreview
,
8391
parseOptions: TestOptions.
RegularPreview
,
8425
parseOptions: TestOptions.
RegularPreview
,
8503
parseOptions: TestOptions.
RegularPreview
,
8507
parseOptions: TestOptions.
RegularPreview
,
8518
parseOptions: TestOptions.
RegularPreview
,
8551
parseOptions: TestOptions.
RegularPreview
,
8588
parseOptions: TestOptions.
RegularPreview
,
8673
parseOptions: TestOptions.
RegularPreview
,
8768
parseOptions: TestOptions.
RegularPreview
,
8774
parseOptions: TestOptions.
RegularPreview
,
8907
parseOptions: TestOptions.
RegularPreview
,
9113
parseOptions: TestOptions.
RegularPreview
,
9117
parseOptions: TestOptions.
RegularPreview
,
9128
parseOptions: TestOptions.
RegularPreview
,
9181
parseOptions: TestOptions.
RegularPreview
,
9273
parseOptions: TestOptions.
RegularPreview
,
9315
parseOptions: TestOptions.
RegularPreview
,
9336
parseOptions: TestOptions.
RegularPreview
,
9398
parseOptions: TestOptions.
RegularPreview
,
9402
parseOptions: TestOptions.
RegularPreview
,
9413
parseOptions: TestOptions.
RegularPreview
,
9451
parseOptions: TestOptions.
RegularPreview
,
9526
parseOptions: TestOptions.
RegularPreview
,
9606
parseOptions: TestOptions.
RegularPreview
,
9681
parseOptions: TestOptions.
RegularPreview
,
9803
parseOptions: TestOptions.
RegularPreview
,
9807
parseOptions: TestOptions.
RegularPreview
,
9818
parseOptions: TestOptions.
RegularPreview
,
9865
parseOptions: TestOptions.
RegularPreview
,
9949
parseOptions: TestOptions.
RegularPreview
,
10078
parseOptions: TestOptions.
RegularPreview
,
10292
parseOptions: TestOptions.
RegularPreview
,
10412
parseOptions: TestOptions.
RegularPreview
,
10535
parseOptions: TestOptions.
RegularPreview
,
10541
parseOptions: TestOptions.
RegularPreview
,
10646
parseOptions: TestOptions.
RegularPreview
,
10818
parseOptions: TestOptions.
RegularPreview
,
10883
parseOptions: TestOptions.
RegularPreview
,
10990
parseOptions: TestOptions.
RegularPreview
,
11064
parseOptions: TestOptions.
RegularPreview
,
11203
parseOptions: TestOptions.
RegularPreview
,
11268
parseOptions: TestOptions.
RegularPreview
,
11368
parseOptions: TestOptions.
RegularPreview
,
11479
parseOptions: TestOptions.
RegularPreview
,
11705
parseOptions: TestOptions.
RegularPreview
,
11711
parseOptions: TestOptions.
RegularPreview
,
11835
parseOptions: TestOptions.
RegularPreview
,
11998
parseOptions: TestOptions.
RegularPreview
,
12069
parseOptions: TestOptions.
RegularPreview
,
12182
parseOptions: TestOptions.
RegularPreview
,
12186
parseOptions: TestOptions.
RegularPreview
,
12197
parseOptions: TestOptions.
RegularPreview
,
12245
parseOptions: TestOptions.
RegularPreview
,
12249
parseOptions: TestOptions.
RegularPreview
,
12267
parseOptions: TestOptions.
RegularPreview
,
12332
parseOptions: TestOptions.
RegularPreview
,
12336
parseOptions: TestOptions.
RegularPreview
,
12347
parseOptions: TestOptions.
RegularPreview
,
12382
parseOptions: TestOptions.
RegularPreview
,
12386
parseOptions: TestOptions.
RegularPreview
,
12397
parseOptions: TestOptions.
RegularPreview
,
12439
parseOptions: TestOptions.
RegularPreview
,
12552
parseOptions: TestOptions.
RegularPreview
,
12639
parseOptions: TestOptions.
RegularPreview
,
12739
parseOptions: TestOptions.
RegularPreview
,
12818
parseOptions: TestOptions.
RegularPreview
,
12909
parseOptions: TestOptions.
RegularPreview
,
13003
parseOptions: TestOptions.
RegularPreview
,
13101
parseOptions: TestOptions.
RegularPreview
,
13142
parseOptions: TestOptions.
RegularPreview
,
13161
parseOptions: TestOptions.
RegularPreview
,
13227
parseOptions: TestOptions.
RegularPreview
,
13247
parseOptions: TestOptions.
RegularPreview
,
13318
parseOptions: TestOptions.
RegularPreview
,
13356
parseOptions: TestOptions.
RegularPreview
,
13437
parseOptions: TestOptions.
RegularPreview
,
13441
parseOptions: TestOptions.
RegularPreview
,
13452
parseOptions: TestOptions.
RegularPreview
,
13489
parseOptions: TestOptions.
RegularPreview
,
13493
parseOptions: TestOptions.
RegularPreview
,
13504
parseOptions: TestOptions.
RegularPreview
,
13541
parseOptions: TestOptions.
RegularPreview
,
13545
parseOptions: TestOptions.
RegularPreview
,
13559
parseOptions: TestOptions.
RegularPreview
,
13596
parseOptions: TestOptions.
RegularPreview
,
13648
parseOptions: TestOptions.
RegularPreview
,
13700
parseOptions: TestOptions.
RegularPreview
,
13779
parseOptions: TestOptions.
RegularPreview
,
13876
parseOptions: TestOptions.
RegularPreview
,
13971
parseOptions: TestOptions.
RegularPreview
,
14018
parseOptions: TestOptions.
RegularPreview
,
14057
parseOptions: TestOptions.
RegularPreview
,
14147
parseOptions: TestOptions.
RegularPreview
,
14151
parseOptions: TestOptions.
RegularPreview
,
14162
parseOptions: TestOptions.
RegularPreview
,
14196
parseOptions: TestOptions.
RegularPreview
,
14200
parseOptions: TestOptions.
RegularPreview
,
14211
parseOptions: TestOptions.
RegularPreview
,
14245
parseOptions: TestOptions.
RegularPreview
,
14297
parseOptions: TestOptions.
RegularPreview
,
14402
parseOptions: TestOptions.
RegularPreview
,
14430
parseOptions: TestOptions.
RegularPreview
,
14497
parseOptions: TestOptions.
RegularPreview
,
14520
parseOptions: TestOptions.
RegularPreview
,
14596
parseOptions: TestOptions.
RegularPreview
,
14658
parseOptions: TestOptions.
RegularPreview
,
14688
parseOptions: TestOptions.
RegularPreview
,
14749
parseOptions: TestOptions.
RegularPreview
,
14753
parseOptions: TestOptions.
RegularPreview
,
14764
parseOptions: TestOptions.
RegularPreview
,
14798
parseOptions: TestOptions.
RegularPreview
,
14888
parseOptions: TestOptions.
RegularPreview
,
14954
parseOptions: TestOptions.
RegularPreview
,
15014
parseOptions: TestOptions.
RegularPreview
,
15076
parseOptions: TestOptions.
RegularPreview
,
15100
parseOptions: TestOptions.
RegularPreview
,
15155
parseOptions: TestOptions.
RegularPreview
,
15159
parseOptions: TestOptions.
RegularPreview
,
15170
parseOptions: TestOptions.
RegularPreview
,
15204
parseOptions: TestOptions.
RegularPreview
,
15283
parseOptions: TestOptions.
RegularPreview
,
15348
parseOptions: TestOptions.
RegularPreview
,
15370
parseOptions: TestOptions.
RegularPreview
,
15423
parseOptions: TestOptions.
RegularPreview
,
15427
parseOptions: TestOptions.
RegularPreview
,
15438
parseOptions: TestOptions.
RegularPreview
,
15472
parseOptions: TestOptions.
RegularPreview
,
15549
parseOptions: TestOptions.
RegularPreview
,
15629
parseOptions: TestOptions.
RegularPreview
,
15691
parseOptions: TestOptions.
RegularPreview
,
15767
parseOptions: TestOptions.
RegularPreview
,
15844
parseOptions: TestOptions.
RegularPreview
,
15905
parseOptions: TestOptions.
RegularPreview
,
15961
parseOptions: TestOptions.
RegularPreview
,
15965
parseOptions: TestOptions.
RegularPreview
,
15976
parseOptions: TestOptions.
RegularPreview
,
16008
parseOptions: TestOptions.
RegularPreview
,
16012
parseOptions: TestOptions.
RegularPreview
,
16023
parseOptions: TestOptions.
RegularPreview
,
16060
parseOptions: TestOptions.
RegularPreview
,
16122
parseOptions: TestOptions.
RegularPreview
,
16178
parseOptions: TestOptions.
RegularPreview
,
16192
foreach (var parseOptions in new[] { TestOptions.Regular10, TestOptions.
RegularPreview
})
16294
parseOptions: TestOptions.
RegularPreview
,
16355
parseOptions: TestOptions.
RegularPreview
,
16386
parseOptions: TestOptions.
RegularPreview
,
16432
parseOptions: TestOptions.
RegularPreview
,
16473
parseOptions: TestOptions.
RegularPreview
,
16558
parseOptions: TestOptions.
RegularPreview
,
16659
parseOptions: TestOptions.
RegularPreview
,
16673
foreach (var parseOptions in new[] { TestOptions.
RegularPreview
, TestOptions.Regular10 })
16747
parseOptions: TestOptions.
RegularPreview
,
16762
parseOptions: TestOptions.
RegularPreview
,
16837
parseOptions: TestOptions.
RegularPreview
,
16853
foreach (var parseOptions in new[] { TestOptions.Regular10, TestOptions.
RegularPreview
})
16919
parseOptions: TestOptions.
RegularPreview
,
16935
foreach (var parseOptions in new[] { TestOptions.Regular10, TestOptions.
RegularPreview
})
17001
parseOptions: TestOptions.
RegularPreview
,
17017
foreach (var parseOptions in new[] { TestOptions.Regular10, TestOptions.
RegularPreview
})
17071
parseOptions: TestOptions.
RegularPreview
,
17088
foreach (var parseOptions in new[] { TestOptions.Regular10, TestOptions.
RegularPreview
})
17146
parseOptions: TestOptions.
RegularPreview
,
17162
foreach (var parseOptions in new[] { TestOptions.Regular10, TestOptions.
RegularPreview
})
17233
parseOptions: TestOptions.
RegularPreview
,
17249
foreach (var parseOptions in new[] { TestOptions.Regular10, TestOptions.
RegularPreview
})
17323
parseOptions: TestOptions.
RegularPreview
,
17349
parseOptions: TestOptions.
RegularPreview
,
17429
parseOptions: TestOptions.
RegularPreview
,
17455
parseOptions: TestOptions.
RegularPreview
,
17607
parseOptions: TestOptions.
RegularPreview
,
17750
parseOptions: TestOptions.
RegularPreview
,
17886
parseOptions: TestOptions.
RegularPreview
,
18029
parseOptions: TestOptions.
RegularPreview
,
18138
parseOptions: TestOptions.
RegularPreview
,
18285
parseOptions: TestOptions.
RegularPreview
,
18438
parseOptions: TestOptions.
RegularPreview
,
18624
parseOptions: TestOptions.
RegularPreview
,
18772
parseOptions: TestOptions.
RegularPreview
,
18900
parseOptions: TestOptions.
RegularPreview
,
19060
parseOptions: TestOptions.
RegularPreview
,
19064
parseOptions: TestOptions.
RegularPreview
,
19075
parseOptions: TestOptions.
RegularPreview
,
19112
parseOptions: TestOptions.
RegularPreview
,
19116
parseOptions: TestOptions.
RegularPreview
,
19127
parseOptions: TestOptions.
RegularPreview
,
19164
parseOptions: TestOptions.
RegularPreview
,
19168
parseOptions: TestOptions.
RegularPreview
,
19179
parseOptions: TestOptions.
RegularPreview
,
19219
parseOptions: TestOptions.
RegularPreview
,
19223
parseOptions: TestOptions.
RegularPreview
,
19234
parseOptions: TestOptions.
RegularPreview
,
19294
parseOptions: TestOptions.
RegularPreview
,
19375
parseOptions: TestOptions.
RegularPreview
,
19467
parseOptions: TestOptions.
RegularPreview
,
19555
parseOptions: TestOptions.
RegularPreview
,
19638
parseOptions: TestOptions.
RegularPreview
,
19730
parseOptions: TestOptions.
RegularPreview
,
19819
parseOptions: TestOptions.
RegularPreview
,
19906
parseOptions: TestOptions.
RegularPreview
,
19920
foreach (var parseOptions in new[] { TestOptions.Regular10, TestOptions.
RegularPreview
})
19978
parseOptions: TestOptions.
RegularPreview
,
19994
foreach (var parseOptions in new[] { TestOptions.Regular10, TestOptions.
RegularPreview
})
20063
parseOptions: TestOptions.
RegularPreview
,
20077
foreach (var parseOptions in new[] { TestOptions.Regular10, TestOptions.
RegularPreview
})
20143
parseOptions: TestOptions.
RegularPreview
,
20157
foreach (var parseOptions in new[] { TestOptions.Regular10, TestOptions.
RegularPreview
})
20271
parseOptions: TestOptions.
RegularPreview
,
20406
parseOptions: TestOptions.
RegularPreview
,
20484
parseOptions: TestOptions.
RegularPreview
,
20516
parseOptions: TestOptions.
RegularPreview
,
20564
parseOptions: TestOptions.
RegularPreview
,
20596
parseOptions: TestOptions.
RegularPreview
,
20654
parseOptions: TestOptions.
RegularPreview
,
20719
parseOptions: TestOptions.
RegularPreview
,
20789
parseOptions: TestOptions.
RegularPreview
,
20906
parseOptions: TestOptions.
RegularPreview
,
21017
parseOptions: TestOptions.
RegularPreview
,
21152
parseOptions: TestOptions.
RegularPreview
,
21271
parseOptions: TestOptions.
RegularPreview
,
21285
foreach (var parseOptions in new[] { TestOptions.
RegularPreview
, TestOptions.Regular10 })
21331
parseOptions: TestOptions.
RegularPreview
,
21345
foreach (var parseOptions in new[] { TestOptions.
RegularPreview
, TestOptions.Regular10 })
21434
parseOptions: TestOptions.
RegularPreview
,
21448
foreach (var parseOptions in new[] { TestOptions.
RegularPreview
, TestOptions.Regular10 })
21554
parseOptions: TestOptions.
RegularPreview
,
21569
parseOptions: TestOptions.
RegularPreview
,
21675
parseOptions: TestOptions.
RegularPreview
,
21691
foreach (var parseOptions in new[] { TestOptions.Regular10, TestOptions.
RegularPreview
})
21784
parseOptions: TestOptions.
RegularPreview
,
21800
foreach (var parseOptions in new[] { TestOptions.Regular10, TestOptions.
RegularPreview
})
21886
parseOptions: TestOptions.
RegularPreview
,
21902
foreach (var parseOptions in new[] { TestOptions.Regular10, TestOptions.
RegularPreview
})
22043
parseOptions: TestOptions.
RegularPreview
,
22193
parseOptions: TestOptions.
RegularPreview
,
22263
parseOptions: TestOptions.
RegularPreview
,
22308
parseOptions: TestOptions.
RegularPreview
,
22379
parseOptions: TestOptions.
RegularPreview
,
22459
parseOptions: TestOptions.
RegularPreview
,
22521
parseOptions: TestOptions.
RegularPreview
,
22597
parseOptions: TestOptions.
RegularPreview
,
22678
parseOptions: TestOptions.
RegularPreview
,
22749
parseOptions: TestOptions.
RegularPreview
,
22811
parseOptions: TestOptions.
RegularPreview
,
22815
parseOptions: TestOptions.
RegularPreview
,
22832
parseOptions: TestOptions.
RegularPreview
,
22867
parseOptions: TestOptions.
RegularPreview
,
22871
parseOptions: TestOptions.
RegularPreview
,
22882
parseOptions: TestOptions.
RegularPreview
,
22922
parseOptions: TestOptions.
RegularPreview
,
23017
parseOptions: TestOptions.
RegularPreview
,
23108
parseOptions: TestOptions.
RegularPreview
,
23196
parseOptions: TestOptions.
RegularPreview
,
23210
foreach (var parseOptions in new[] { TestOptions.Regular10, TestOptions.
RegularPreview
})
23375
parseOptions: TestOptions.
RegularPreview
,
23476
parseOptions: TestOptions.
RegularPreview
,
23514
parseOptions: TestOptions.
RegularPreview
,
23544
parseOptions: TestOptions.
RegularPreview
,
23606
parseOptions: TestOptions.
RegularPreview
,
23635
parseOptions: TestOptions.
RegularPreview
,
23696
parseOptions: TestOptions.
RegularPreview
,
23776
parseOptions: TestOptions.
RegularPreview
,
23806
parseOptions: TestOptions.
RegularPreview
,
23866
parseOptions: TestOptions.
RegularPreview
,
23896
parseOptions: TestOptions.
RegularPreview
,
23958
parseOptions: TestOptions.
RegularPreview
,
23987
parseOptions: TestOptions.
RegularPreview
,
24048
parseOptions: TestOptions.
RegularPreview
,
24128
parseOptions: TestOptions.
RegularPreview
,
24158
parseOptions: TestOptions.
RegularPreview
,
24218
parseOptions: TestOptions.
RegularPreview
,
24248
parseOptions: TestOptions.
RegularPreview
,
24339
parseOptions: TestOptions.
RegularPreview
,
24387
parseOptions: TestOptions.
RegularPreview
,
24576
parseOptions: TestOptions.
RegularPreview
,
24757
parseOptions: TestOptions.
RegularPreview
,
24771
foreach (var parseOptions in new[] { TestOptions.
RegularPreview
, TestOptions.Regular10 })
24872
parseOptions: TestOptions.
RegularPreview
,
24887
parseOptions: TestOptions.
RegularPreview
,
24997
parseOptions: TestOptions.
RegularPreview
,
25013
foreach (var parseOptions in new[] { TestOptions.Regular10, TestOptions.
RegularPreview
})
25067
parseOptions: TestOptions.
RegularPreview
,
25084
foreach (var parseOptions in new[] { TestOptions.Regular10, TestOptions.
RegularPreview
})
25158
parseOptions: TestOptions.
RegularPreview
,
25238
parseOptions: TestOptions.
RegularPreview
,
25300
parseOptions: TestOptions.
RegularPreview
,
25376
parseOptions: TestOptions.
RegularPreview
,
25458
parseOptions: TestOptions.
RegularPreview
,
25527
parseOptions: TestOptions.
RegularPreview
,
25595
parseOptions: TestOptions.
RegularPreview
,
25599
parseOptions: TestOptions.
RegularPreview
,
25616
parseOptions: TestOptions.
RegularPreview
,
25648
parseOptions: TestOptions.
RegularPreview
,
25652
parseOptions: TestOptions.
RegularPreview
,
25663
parseOptions: TestOptions.
RegularPreview
,
25700
parseOptions: TestOptions.
RegularPreview
,
25795
parseOptions: TestOptions.
RegularPreview
,
25883
parseOptions: TestOptions.
RegularPreview
,
25897
foreach (var parseOptions in new[] { TestOptions.Regular10, TestOptions.
RegularPreview
})
26067
parseOptions: TestOptions.
RegularPreview
,
26169
parseOptions: TestOptions.
RegularPreview
,
26207
parseOptions: TestOptions.
RegularPreview
,
26233
parseOptions: TestOptions.
RegularPreview
,
26288
parseOptions: TestOptions.
RegularPreview
,
26317
parseOptions: TestOptions.
RegularPreview
,
26346
parseOptions: TestOptions.
RegularPreview
,
26419
parseOptions: TestOptions.
RegularPreview
,
26445
parseOptions: TestOptions.
RegularPreview
,
26472
parseOptions: TestOptions.
RegularPreview
,
26502
parseOptions: TestOptions.
RegularPreview
,
26562
parseOptions: TestOptions.
RegularPreview
,
26591
parseOptions: TestOptions.
RegularPreview
,
26620
parseOptions: TestOptions.
RegularPreview
,
26693
parseOptions: TestOptions.
RegularPreview
,
26719
parseOptions: TestOptions.
RegularPreview
,
26746
parseOptions: TestOptions.
RegularPreview
,
26776
parseOptions: TestOptions.
RegularPreview
,
26867
parseOptions: TestOptions.
RegularPreview
,
26915
parseOptions: TestOptions.
RegularPreview
,
27116
parseOptions: TestOptions.
RegularPreview
,
27422
parseOptions: TestOptions.
RegularPreview
,
27436
foreach (var parseOptions in new[] { TestOptions.
RegularPreview
, TestOptions.Regular10 })
27537
parseOptions: TestOptions.
RegularPreview
,
27552
parseOptions: TestOptions.
RegularPreview
,
27663
parseOptions: TestOptions.
RegularPreview
,
27679
foreach (var parseOptions in new[] { TestOptions.Regular10, TestOptions.
RegularPreview
})
27733
parseOptions: TestOptions.
RegularPreview
,
27750
foreach (var parseOptions in new[] { TestOptions.Regular10, TestOptions.
RegularPreview
})
27892
parseOptions: TestOptions.
RegularPreview
,
28035
parseOptions: TestOptions.
RegularPreview
,
28144
parseOptions: TestOptions.
RegularPreview
,
28301
parseOptions: TestOptions.
RegularPreview
,
28419
parseOptions: TestOptions.
RegularPreview
,
28520
parseOptions: TestOptions.
RegularPreview
,
28524
parseOptions: TestOptions.
RegularPreview
,
28535
parseOptions: TestOptions.
RegularPreview
,
28572
parseOptions: TestOptions.
RegularPreview
,
28576
parseOptions: TestOptions.
RegularPreview
,
28587
parseOptions: TestOptions.
RegularPreview
,
28651
parseOptions: TestOptions.
RegularPreview
,
28768
parseOptions: TestOptions.
RegularPreview
,
28870
parseOptions: TestOptions.
RegularPreview
,
28884
foreach (var parseOptions in new[] { TestOptions.Regular10, TestOptions.
RegularPreview
})
29010
parseOptions: TestOptions.
RegularPreview
,
29089
parseOptions: TestOptions.
RegularPreview
,
29121
parseOptions: TestOptions.
RegularPreview
,
29183
parseOptions: TestOptions.
RegularPreview
,
29248
parseOptions: TestOptions.
RegularPreview
,
29364
parseOptions: TestOptions.
RegularPreview
,
29495
parseOptions: TestOptions.
RegularPreview
,
29509
foreach (var parseOptions in new[] { TestOptions.
RegularPreview
, TestOptions.Regular10 })
29610
parseOptions: TestOptions.
RegularPreview
,
29626
foreach (var parseOptions in new[] { TestOptions.Regular10, TestOptions.
RegularPreview
})
29716
parseOptions: TestOptions.
RegularPreview
,
29732
foreach (var parseOptions in new[] { TestOptions.Regular10, TestOptions.
RegularPreview
})
29855
parseOptions: TestOptions.
RegularPreview
,
29922
parseOptions: TestOptions.
RegularPreview
,
29987
parseOptions: TestOptions.
RegularPreview
,
30055
parseOptions: TestOptions.
RegularPreview
,
30141
parseOptions: TestOptions.
RegularPreview
,
30147
parseOptions: TestOptions.
RegularPreview
,
30213
parseOptions: TestOptions.
RegularPreview
,
30326
parseOptions: TestOptions.
RegularPreview
,
30399
parseOptions: TestOptions.
RegularPreview
,
30517
parseOptions: TestOptions.
RegularPreview
,
30521
parseOptions: TestOptions.
RegularPreview
,
30532
parseOptions: TestOptions.
RegularPreview
,
30575
parseOptions: TestOptions.
RegularPreview
,
30579
parseOptions: TestOptions.
RegularPreview
,
30590
parseOptions: TestOptions.
RegularPreview
,
30632
parseOptions: TestOptions.
RegularPreview
,
30718
parseOptions: TestOptions.
RegularPreview
,
30784
parseOptions: TestOptions.
RegularPreview
,
30870
parseOptions: TestOptions.
RegularPreview
,
30988
parseOptions: TestOptions.
RegularPreview
,
31039
parseOptions: TestOptions.
RegularPreview
,
31083
parseOptions: TestOptions.
RegularPreview
,
31137
parseOptions: TestOptions.
RegularPreview
,
31197
parseOptions: TestOptions.
RegularPreview
,
31245
parseOptions: TestOptions.
RegularPreview
,
31288
parseOptions: TestOptions.
RegularPreview
,
31342
parseOptions: TestOptions.
RegularPreview
,
31391
parseOptions: TestOptions.
RegularPreview
,
31464
parseOptions: TestOptions.
RegularPreview
,
31522
parseOptions: TestOptions.
RegularPreview
,
31575
parseOptions: TestOptions.
RegularPreview
,
31616
parseOptions: TestOptions.
RegularPreview
,
31700
parseOptions: TestOptions.
RegularPreview
,
31712
parseOptions: TestOptions.
RegularPreview
,
31772
parseOptions: TestOptions.
RegularPreview
,
31785
parseOptions: TestOptions.
RegularPreview
,
31835
parseOptions: TestOptions.
RegularPreview
,
31870
parseOptions: TestOptions.
RegularPreview
,
31904
parseOptions: TestOptions.
RegularPreview
,
32038
parseOptions: TestOptions.
RegularPreview
,
32086
parseOptions: TestOptions.
RegularPreview
,
32137
parseOptions: TestOptions.
RegularPreview
,
32181
parseOptions: TestOptions.
RegularPreview
,
32215
parseOptions: TestOptions.
RegularPreview
,
32269
parseOptions: TestOptions.
RegularPreview
,
32310
parseOptions: TestOptions.
RegularPreview
,
32345
parseOptions: TestOptions.
RegularPreview
,
32386
parseOptions: TestOptions.
RegularPreview
,
32428
parseOptions: TestOptions.
RegularPreview
,
32474
parseOptions: TestOptions.
RegularPreview
,
32516
parseOptions: TestOptions.
RegularPreview
,
32552
parseOptions: TestOptions.
RegularPreview
,
32594
parseOptions: TestOptions.
RegularPreview
,
32616
parseOptions: TestOptions.
RegularPreview
,
32656
parseOptions: TestOptions.
RegularPreview
,
32694
parseOptions: TestOptions.
RegularPreview
,
32726
parseOptions: TestOptions.
RegularPreview
,
32764
parseOptions: TestOptions.
RegularPreview
,
32796
parseOptions: TestOptions.
RegularPreview
,
32834
parseOptions: TestOptions.
RegularPreview
,
32866
parseOptions: TestOptions.
RegularPreview
,
32904
parseOptions: TestOptions.
RegularPreview
,
32936
parseOptions: TestOptions.
RegularPreview
,
32974
parseOptions: TestOptions.
RegularPreview
,
33006
parseOptions: TestOptions.
RegularPreview
,
33044
parseOptions: TestOptions.
RegularPreview
,
33066
parseOptions: TestOptions.
RegularPreview
,
33097
parseOptions: TestOptions.
RegularPreview
,
33133
parseOptions: TestOptions.
RegularPreview
,
33164
parseOptions: TestOptions.
RegularPreview
,
33200
parseOptions: TestOptions.
RegularPreview
,
33231
parseOptions: TestOptions.
RegularPreview
,
33267
parseOptions: TestOptions.
RegularPreview
,
33298
parseOptions: TestOptions.
RegularPreview
,
33408
""", options: TestOptions.DebugDll, parseOptions: TestOptions.
RegularPreview
, targetFramework: _supportingFramework).VerifyDiagnostics(
33433
""", options: TestOptions.DebugExe, parseOptions: TestOptions.
RegularPreview
, targetFramework: _supportingFramework).VerifyDiagnostics(
33450
""", options: TestOptions.DebugExe, parseOptions: TestOptions.
RegularPreview
, targetFramework: _supportingFramework).VerifyDiagnostics(
33475
parseOptions: TestOptions.
RegularPreview
,
33496
""", options: TestOptions.DebugExe, parseOptions: TestOptions.
RegularPreview
, targetFramework: _supportingFramework).VerifyDiagnostics(
33521
parseOptions: TestOptions.
RegularPreview
,
33542
""", options: TestOptions.DebugExe, parseOptions: TestOptions.
RegularPreview
, targetFramework: _supportingFramework).VerifyDiagnostics(
Symbols\SymbolErrorTests.cs (3)
2086
CreateCompilation(text, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(
2152
CreateCompilation(text, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(
10764
var comp = CreateCompilation(text, parseOptions: TestOptions.
RegularPreview
);
Symbols\UnsignedRightShiftTests.cs (55)
110
parseOptions: TestOptions.
RegularPreview
);
390
parseOptions: TestOptions.
RegularPreview
);
494
parseOptions: TestOptions.
RegularPreview
);
522
parseOptions: TestOptions.
RegularPreview
);
618
parseOptions: TestOptions.
RegularPreview
);
893
parseOptions: TestOptions.
RegularPreview
);
923
parseOptions: TestOptions.
RegularPreview
);
949
parseOptions: TestOptions.
RegularPreview
);
971
parseOptions: TestOptions.
RegularPreview
);
1008
parseOptions: TestOptions.
RegularPreview
);
1049
parseOptions: TestOptions.
RegularPreview
);
1161
parseOptions: TestOptions.
RegularPreview
);
1446
parseOptions: TestOptions.
RegularPreview
);
1573
parseOptions: TestOptions.
RegularPreview
);
1854
parseOptions: TestOptions.
RegularPreview
);
1884
parseOptions: TestOptions.
RegularPreview
);
1910
parseOptions: TestOptions.
RegularPreview
);
1932
parseOptions: TestOptions.
RegularPreview
);
1974
parseOptions: TestOptions.
RegularPreview
);
1991
parseOptions: TestOptions.
RegularPreview
);
1994
parseOptions: TestOptions.
RegularPreview
);
2000
parseOptions: TestOptions.
RegularPreview
);
2063
parseOptions: TestOptions.
RegularPreview
);
2130
parseOptions: TestOptions.
RegularPreview
);
2180
parseOptions: TestOptions.
RegularPreview
);
2226
parseOptions: TestOptions.
RegularPreview
);
2243
parseOptions: TestOptions.
RegularPreview
);
2246
parseOptions: TestOptions.
RegularPreview
);
2252
parseOptions: TestOptions.
RegularPreview
);
2281
parseOptions: TestOptions.
RegularPreview
);
2289
parseOptions: TestOptions.
RegularPreview
);
2319
parseOptions: TestOptions.
RegularPreview
);
2368
parseOptions: TestOptions.
RegularPreview
);
2405
parseOptions: TestOptions.
RegularPreview
);
2444
parseOptions: TestOptions.
RegularPreview
);
2496
parseOptions: TestOptions.
RegularPreview
);
2539
parseOptions: TestOptions.
RegularPreview
);
2594
parseOptions: TestOptions.
RegularPreview
);
2636
parseOptions: TestOptions.
RegularPreview
);
2675
parseOptions: TestOptions.
RegularPreview
);
2702
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
2758
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
2787
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
2811
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
2851
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
2874
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
2930
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
2959
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
2983
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
3023
var compilation = CreateCompilationWithMscorlib40AndDocumentationComments(source, parseOptions: TestOptions.
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose));
3441
parseOptions: TestOptions.
RegularPreview
);
3493
parseOptions: TestOptions.
RegularPreview
);
3545
parseOptions: TestOptions.
RegularPreview
);
3597
parseOptions: TestOptions.
RegularPreview
);
3630
parseOptions: TestOptions.
RegularPreview
);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (227)
Parsing\CrefParsingTests.cs (4)
350
foreach (var options in new[] { TestOptions.
RegularPreview
, TestOptions.Regular10, TestOptions.Regular11 })
365
foreach (var options in new[] { TestOptions.
RegularPreview
, TestOptions.Regular10, TestOptions.Regular11 })
381
foreach (var options in new[] { TestOptions.
RegularPreview
, TestOptions.Regular10, TestOptions.Regular11 })
397
foreach (var options in new[] { TestOptions.
RegularPreview
, TestOptions.Regular10, TestOptions.Regular11 })
Parsing\DeclarationParsingTests.cs (26)
7252
UsingStatement(@"void M(string name!!) { }", options: TestOptions.
RegularPreview
,
7287
UsingStatement(@"void M(string name!) { }", options: TestOptions.
RegularPreview
,
7325
/*comment1*/!/*comment2*/) { }", options: TestOptions.
RegularPreview
,
7362
UsingStatement(@"void M(string name!! = null) { }", options: TestOptions.
RegularPreview
,
7399
UsingStatement(@"void M(string name!!=null) { }", options: TestOptions.
RegularPreview
,
7436
UsingStatement(@"void M(__arglist!) { }", options: TestOptions.
RegularPreview
,
7468
UsingStatement(@"void M(__arglist!!) { }", options: TestOptions.
RegularPreview
,
7500
UsingStatement(@"void M(__arglist!! = null) { }", options: TestOptions.
RegularPreview
,
7532
UsingStatement(@"void M(__arglist!!= null) { }", options: TestOptions.
RegularPreview
,
7564
UsingStatement(@"void M(__arglist[]!!= null) { }", options: TestOptions.
RegularPreview
,
7630
UsingStatement(@"void M(__arglist[]) { }", options: TestOptions.
RegularPreview
,
7692
UsingStatement(@"void M(__arglist = null) { }", options: TestOptions.
RegularPreview
,
7724
UsingStatement(@"void M(string name !!=null) { }", options: TestOptions.
RegularPreview
,
7761
UsingStatement(@"void M(string name!!=null) { }", options: TestOptions.
RegularPreview
,
7798
UsingStatement(@"void M(string name!!= null) { }", options: TestOptions.
RegularPreview
,
7835
UsingStatement(@"void M(string name!!=null) { }", options: TestOptions.
RegularPreview
,
7872
UsingStatement(@"void M(string name! !=null) { }", options: TestOptions.
RegularPreview
,
7909
UsingStatement(@"void M(string name !!=null) { }", options: TestOptions.
RegularPreview
,
7946
UsingStatement(@"void M(string name! ! =null) { }", options: TestOptions.
RegularPreview
,
7983
UsingStatement(@"void M(string name ! !=null) { }", options: TestOptions.
RegularPreview
,
8020
UsingStatement(@"void M(string name!!= null) { }", options: TestOptions.
RegularPreview
,
8057
UsingStatement(@"void M(string name!!= = null) { }", options: TestOptions.
RegularPreview
,
8098
}", options: TestOptions.
RegularPreview
,
8149
}", options: TestOptions.
RegularPreview
,
8199
}", options: TestOptions.
RegularPreview
,
8269
Del d = delegate(int k!!) { /* ... */ };", options: TestOptions.
RegularPreview
,
Parsing\DeclarationScopeParsingTests.cs (1)
3101
UsingTree(source, TestOptions.
RegularPreview
,
Parsing\DeconstructionTests.cs (1)
2104
CreateCompilation(source, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics();
Parsing\ExpressionParsingTests.cs (8)
359
UsingExpression(text, TestOptions.
RegularPreview
);
6608
foreach (var options in new[] { TestOptions.
RegularPreview
, TestOptions.Regular10, TestOptions.Regular11 })
6631
foreach (var options in new[] { TestOptions.
RegularPreview
, TestOptions.Regular10, TestOptions.Regular11 })
6666
foreach (var options in new[] { TestOptions.
RegularPreview
, TestOptions.Regular10, TestOptions.Regular11 })
6701
foreach (var options in new[] { TestOptions.
RegularPreview
, TestOptions.Regular10, TestOptions.Regular11 })
6724
foreach (var options in new[] { TestOptions.
RegularPreview
, TestOptions.Regular10, TestOptions.Regular11 })
6759
foreach (var options in new[] { TestOptions.
RegularPreview
, TestOptions.Regular10, TestOptions.Regular11 })
6794
foreach (var options in new[] { TestOptions.
RegularPreview
, TestOptions.Regular10, TestOptions.Regular11 })
Parsing\FieldKeywordParsingTests.cs (2)
2399
TestOptions.
RegularPreview
);
2410
TestOptions.
RegularPreview
);
Parsing\FileModifierParsingTests.cs (1)
30
options ??= TestOptions.
RegularPreview
;
Parsing\FunctionPointerTests.cs (11)
140
UsingStatement("delegate* unmanaged[void]<void> ptr;", options: TestOptions.
RegularPreview
,
198
UsingStatement($"delegate* {convention}<void> ptr;", options: TestOptions.
RegularPreview
);
237
UsingStatement("delegate* managed[Cdecl]<void> ptr;", options: TestOptions.
RegularPreview
,
289
UsingStatement("delegate* invalid[Cdecl]<void> ptr;", options: TestOptions.
RegularPreview
,
341
UsingStatement("delegate* invalid<void> ptr;", options: TestOptions.
RegularPreview
,
383
UsingStatement("delegate* unmanaged[]<void> ptr;", options: TestOptions.
RegularPreview
,
435
UsingStatement("delegate* unmanaged[Cdecl, Thiscall, Stdcall, Fastcall, Vectorcall, SuppressGCTransition]<void> ptr;", options: TestOptions.
RegularPreview
);
1424
UsingStatement("delegate* unmanaged[ ;", options: TestOptions.
RegularPreview
,
1485
UsingStatement("delegate* unmanaged[Cdecl ;", options: TestOptions.
RegularPreview
,
1543
UsingStatement("delegate* unmanaged[Cdecl,", options: TestOptions.
RegularPreview
,
3264
UsingStatement("delegate* unmanaged Cdecl]<void> ptr;", options: TestOptions.
RegularPreview
,
Parsing\LambdaAttributeParsingTests.cs (32)
39
UsingExpression(source, TestOptions.
RegularPreview
);
79
UsingExpression(source, TestOptions.
RegularPreview
);
129
UsingExpression(source, TestOptions.
RegularPreview
);
190
UsingExpression(source, TestOptions.
RegularPreview
);
236
UsingExpression(source, TestOptions.
RegularPreview
,
282
UsingExpression(source, TestOptions.
RegularPreview
,
306
UsingExpression(source, TestOptions.
RegularPreview
,
926
UsingExpression($"f = {exprLambda}", TestOptions.
RegularPreview
);
944
UsingExpression($"F({exprLambda})", TestOptions.
RegularPreview
);
969
UsingExpression($"F(x, {exprLambda})", TestOptions.
RegularPreview
);
1002
UsingExpression("f = ([A] x => x)", TestOptions.
RegularPreview
);
1048
UsingExpression("new B { [A] x => y }", TestOptions.
RegularPreview
,
1104
UsingExpression("new B { ([A] x => y) }", TestOptions.
RegularPreview
);
1154
UsingExpression("[A] () => { } ++", TestOptions.
RegularPreview
);
1192
UsingExpression("-- [A] () => { }", TestOptions.
RegularPreview
,
1227
UsingExpression("! [A] () => { }", TestOptions.
RegularPreview
,
1262
UsingExpression("(F) [A] () => { }", TestOptions.
RegularPreview
,
1305
UsingExpression("[A] () => { } + y", TestOptions.
RegularPreview
,
1350
UsingExpression("x * [A] () => { }", TestOptions.
RegularPreview
,
1389
UsingExpression("[A] () => { } is E", TestOptions.
RegularPreview
,
1434
UsingExpression("[A] () => x as E", TestOptions.
RegularPreview
);
1475
UsingExpression("x ? [A] () => { } : z", TestOptions.
RegularPreview
);
1522
UsingExpression("x ? () => { } : z", TestOptions.
RegularPreview
);
1557
UsingExpression("x ? y : [A] () => { }", TestOptions.
RegularPreview
);
1605
UsingExpression("x ? ([A] () => { }) : y", TestOptions.
RegularPreview
);
1657
UsingExpression("[A] () => { } switch { }", TestOptions.
RegularPreview
,
1700
UsingExpression("x switch { y => [A] () => { }, _ => [A] () => z }", TestOptions.
RegularPreview
);
1789
UsingExpression("([A] () => { }, y)", TestOptions.
RegularPreview
);
1839
UsingExpression("(x, [A] () => { })", TestOptions.
RegularPreview
);
1889
UsingExpression("s[[A] x => x..]", TestOptions.
RegularPreview
);
1940
UsingExpression("s[..[A] () => { }]", TestOptions.
RegularPreview
,
1994
UsingExpression(source, TestOptions.
RegularPreview
);
Parsing\LambdaParameterParsingTests.cs (33)
778
UsingDeclaration("""Func<string, string> func1 = x!! => x + "1";""", options: TestOptions.
RegularPreview
,
834
UsingDeclaration("Func<int, int, bool> func1 = (x!!, y) => x == y;", options: TestOptions.
RegularPreview
,
911
UsingDeclaration("Func<int, int> func1 = (x!!) => x;", options: TestOptions.
RegularPreview
,
972
UsingDeclaration("Func<int, int> func1 = x!!=>x;", options: TestOptions.
RegularPreview
,
1040
UsingDeclaration("Func<int, int> func1 = (int x!!) => x;", options: TestOptions.
RegularPreview
,
1099
UsingDeclaration("Func<int, int, int> func1 = (int x!!, int y) => x;", options: TestOptions.
RegularPreview
,
1174
UsingDeclaration("Func<int, int, int> func1 = (int x!!, int y!!) => x;", options: TestOptions.
RegularPreview
,
1249
UsingDeclaration("Func<int> func1 = (!!) => 42;", options: TestOptions.
RegularPreview
,
1308
UsingDeclaration("Func<int, int> func1 = (_!!) => 42;", options: TestOptions.
RegularPreview
,
1369
UsingDeclaration("Func<string, string> func0 = x!=> x;", options: TestOptions.
RegularPreview
,
1433
UsingDeclaration("Func<string, string> func1 = x !=> x;", options: TestOptions.
RegularPreview
,
1497
UsingDeclaration("Func<string, string> func2 = x != > x;", options: TestOptions.
RegularPreview
,
1561
UsingDeclaration("Func<string, string> func3 = x! => x;", options: TestOptions.
RegularPreview
,
1611
UsingDeclaration("Func<string, string> func4 = x ! => x;", options: TestOptions.
RegularPreview
,
1661
UsingDeclaration("Func<string, string> func5 = x !!=> x;", options: TestOptions.
RegularPreview
,
1729
UsingDeclaration("Func<string, string> func6 = x !!= > x;", options: TestOptions.
RegularPreview
,
1797
UsingDeclaration("Func<string, string> func7 = x!! => x;", options: TestOptions.
RegularPreview
,
1853
UsingDeclaration("Func<string, string> func8 = x! !=> x;", options: TestOptions.
RegularPreview
,
1921
UsingDeclaration("Func<string, string> func9 = x! ! => x;", options: TestOptions.
RegularPreview
,
1977
UsingDeclaration("Func<string[], string> func0 = x[] => x;", options: TestOptions.
RegularPreview
,
2054
UsingDeclaration("Func<string[], string> func0 = (x[]) => x;", options: TestOptions.
RegularPreview
,
2142
UsingDeclaration("Func<string[], string> func0 = (string x[]) => x;", options: TestOptions.
RegularPreview
,
2212
UsingDeclaration("Func<string, string> func0 = x = null => x;", options: TestOptions.
RegularPreview
,
4331
UsingDeclaration("Func<string, string> func0 = x!! = null => x;", options: TestOptions.
RegularPreview
,
4394
UsingDeclaration("Func<string, string> func0 = (x!! = null) => x;", options: TestOptions.
RegularPreview
,
4463
UsingDeclaration("Func<string, string> func0 = (y, x!! = null) => x;", options: TestOptions.
RegularPreview
,
4543
UsingDeclaration("Func<string, string> func0 = (string x!! = null) => x;", options: TestOptions.
RegularPreview
,
4602
UsingDeclaration("Func<string, string> func0 = (string y, string x!! = null) => x;", options: TestOptions.
RegularPreview
,
4757
UsingDeclaration("Func<string, string> func0 = x! ! => x;", options: TestOptions.
RegularPreview
,
4813
UsingDeclaration("Func<string, string> func0 = (x! !) => x;", options: TestOptions.
RegularPreview
,
4874
UsingDeclaration("Func<string, string> func0 = (y, x! !) => x;", options: TestOptions.
RegularPreview
,
4946
UsingDeclaration("Func<string, string> func0 = (string x! !) => x;", options: TestOptions.
RegularPreview
,
5005
UsingDeclaration("Func<string, string> func0 = (string y, string x! !) => x;", options: TestOptions.
RegularPreview
,
Parsing\LambdaReturnTypeParsingTests.cs (6)
45
UsingExpression(source, TestOptions.
RegularPreview
);
82
UsingExpression(source, TestOptions.
RegularPreview
);
129
UsingExpression(source, TestOptions.
RegularPreview
);
214
UsingExpression(source, TestOptions.
RegularPreview
,
286
verify(source, TestOptions.
RegularPreview
);
316
verify(source, TestOptions.
RegularPreview
);
Parsing\MemberDeclarationParsingTests.cs (37)
428
foreach (var options in new[] { TestOptions.
RegularPreview
, TestOptions.Regular10, TestOptions.Regular11 })
479
foreach (var options in new[] { TestOptions.
RegularPreview
, TestOptions.Regular10, TestOptions.Regular11 })
562
foreach (var options in new[] { TestOptions.
RegularPreview
, TestOptions.Regular10, TestOptions.Regular11 })
645
foreach (var options in new[] { TestOptions.
RegularPreview
, TestOptions.Regular10, TestOptions.Regular11 })
2333
CreateCompilation(classWithText, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(
2453
CreateCompilation(classWithText, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(
2578
CreateCompilation(classWithText, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(
2696
CreateCompilation(classWithText, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(
2802
CreateCompilation(classWithText, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(
3214
CreateCompilation(classWithText, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(
3338
CreateCompilation(classWithText, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(
3466
CreateCompilation(classWithText, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(
3588
CreateCompilation(classWithText, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(
3698
CreateCompilation(classWithText, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(
4256
CreateCompilation(classWithText, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(
4369
CreateCompilation(classWithText, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(
4486
CreateCompilation(classWithText, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(
4597
CreateCompilation(classWithText, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(
4696
CreateCompilation(classWithText, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(
5096
CreateCompilation(classWithText, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(
5213
CreateCompilation(classWithText, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(
5334
CreateCompilation(classWithText, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(
5449
CreateCompilation(classWithText, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(
5552
CreateCompilation(classWithText, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(
6281
CreateCompilation(classWithText, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(
6371
CreateCompilation(classWithText, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(
6522
CreateCompilation(classWithText, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(
6622
CreateCompilation(classWithText, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(
7006
CreateCompilation(classWithText, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(
7103
CreateCompilation(classWithText, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(
7213
CreateCompilation(classWithText, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(
7317
CreateCompilation(classWithText, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(
7421
CreateCompilation(classWithText, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(
9717
UsingDeclaration("C I.operator checked " + op + "(C x) => x;", options: TestOptions.
RegularPreview
);
9848
UsingDeclaration("C I.operator checked " + op + "(C x, C y) => x;", options: TestOptions.
RegularPreview
);
9949
UsingDeclaration(op + " I.operator checked D(C x) => x;", options: TestOptions.
RegularPreview
);
10064
UsingDeclaration("C I.operator unchecked " + op + "(C x, C y) => x;", options: TestOptions.
RegularPreview
,
Parsing\ParsingTests.cs (1)
365
_ = SyntaxFactory.ParseSyntaxTree(stringBuilder.ToString(), TestOptions.
RegularPreview
);
Parsing\RecordParsing.cs (20)
333
tree = ParseTree(text, options: TestOptions.
RegularPreview
);
3058
UsingTree(text, options: TestOptions.
RegularPreview
,
3116
UsingTree(text, options: TestOptions.
RegularPreview
,
3448
UsingTree(text, options: TestOptions.
RegularPreview
,
3540
UsingTree(text, options: TestOptions.
RegularPreview
);
3561
UsingTree(text, options: TestOptions.
RegularPreview
);
3582
UsingTree(text, options: TestOptions.
RegularPreview
);
3602
UsingTree(text, options: TestOptions.
RegularPreview
);
3636
UsingTree(text, options: TestOptions.
RegularPreview
);
3671
UsingTree(text, options: TestOptions.
RegularPreview
);
3692
UsingTree(text, options: TestOptions.
RegularPreview
);
3714
UsingTree(text, options: TestOptions.
RegularPreview
,
3746
UsingTree(text, options: TestOptions.
RegularPreview
,
3793
CreateCompilation(text, parseOptions: TestOptions.
RegularPreview
).VerifyDiagnostics(
3797
UsingTree(text, options: TestOptions.
RegularPreview
);
3869
UsingTree(text, options: TestOptions.
RegularPreview
);
3942
UsingTree(text, options: TestOptions.
RegularPreview
,
3990
UsingTree(text, options: TestOptions.
RegularPreview
,
4053
UsingTree(text, options: TestOptions.
RegularPreview
);
4096
UsingTree(text, options: TestOptions.
RegularPreview
);
Parsing\RefReadonlyTests.cs (4)
956
UsingDeclaration(source, TestOptions.
RegularPreview
, expectedDiagnostics);
1018
UsingDeclaration(source, TestOptions.
RegularPreview
, expectedDiagnostics);
1080
UsingDeclaration(source, TestOptions.
RegularPreview
, expectedDiagnostics);
1141
UsingDeclaration(source, TestOptions.
RegularPreview
, expectedDiagnostics);
Parsing\SingleLineDeclarationParsingTests.cs (26)
32
@"namespace", TestOptions.
RegularPreview
,
64
@"namespace A", TestOptions.
RegularPreview
,
93
@"namespace A.", TestOptions.
RegularPreview
,
133
@"namespace A.B", TestOptions.
RegularPreview
,
170
@"namespace A;", TestOptions.
RegularPreview
);
220
@"namespace A.;", TestOptions.
RegularPreview
,
253
@"namespace A.B;", TestOptions.
RegularPreview
);
283
@"namespace A; {", TestOptions.
RegularPreview
,
308
@"namespace A; { }", TestOptions.
RegularPreview
,
336
@"namespace A; }", TestOptions.
RegularPreview
,
362
namespace B;", TestOptions.
RegularPreview
);
396
}", TestOptions.
RegularPreview
);
431
}", TestOptions.
RegularPreview
);
466
namespace B;", TestOptions.
RegularPreview
);
499
namespace A;", TestOptions.
RegularPreview
);
531
using X;", TestOptions.
RegularPreview
);
563
namespace A;", TestOptions.
RegularPreview
);
593
class X { }", TestOptions.
RegularPreview
);
623
namespace A;", TestOptions.
RegularPreview
);
653
extern alias X;", TestOptions.
RegularPreview
);
682
@"namespace A;;", TestOptions.
RegularPreview
,
707
@"namespace A<X>;", TestOptions.
RegularPreview
);
738
@"namespace A::B;", TestOptions.
RegularPreview
);
768
@"public namespace A;", TestOptions.
RegularPreview
);
791
@"[X] namespace A;", TestOptions.
RegularPreview
);
825
@"namespace A; int x;", TestOptions.
RegularPreview
);
Parsing\TopLevelStatementsParsingTests.cs (1)
1621
var tree = UsingTree(test, TestOptions.
RegularPreview
.WithLanguageVersion(version));
Parsing\UsingDirectiveParsingTests.cs (1)
18
return SyntaxFactory.ParseSyntaxTree(text, options: options ?? TestOptions.
RegularPreview
);
Syntax\SyntaxTreeTests.cs (12)
626
UsingTree(test, TestOptions.
RegularPreview
);
704
UsingTree(test, TestOptions.
RegularPreview
);
808
UsingTree(test, TestOptions.
RegularPreview
,
839
UsingTree(test, TestOptions.
RegularPreview
,
873
UsingTree(test, TestOptions.
RegularPreview
,
914
UsingTree(test, TestOptions.
RegularPreview
);
975
UsingTree(test, TestOptions.
RegularPreview
,
1039
UsingTree(test, TestOptions.
RegularPreview
,
1080
UsingTree(test, TestOptions.
RegularPreview
,
1121
UsingTree(test, TestOptions.
RegularPreview
);
1177
UsingTree(test, TestOptions.
RegularPreview
);
1249
UsingTree(test, TestOptions.
RegularPreview
);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (10)
CSharpTestBase.cs (3)
1075
CreateCompilationWithMscorlib40(source, parseOptions: TestOptions.
RegularPreview
.WithNoRefSafetyRulesAttribute()),
1106
var tree = Parse(text, options: options ?? TestOptions.
RegularPreview
);
1310
parseOptions = (parseOptions ?? TestOptions.
RegularPreview
).WithExperimental(experimentalFeature.Value);
CSharpTestSource.cs (1)
42
var tree = SyntaxFactory.ParseSyntaxTree(stringText, options ?? TestOptions.
RegularPreview
, path);
DiagnosticTestUtilities.cs (1)
47
var comp = CSharpTestBase.CreateCompilation(srcs, parseOptions: TestOptions.
RegularPreview
);
TestOptions.cs (5)
47
public static readonly CSharpParseOptions RegularPreviewWithDocumentationComments =
RegularPreview
.WithDocumentationMode(DocumentationMode.Diagnose);
53
public static readonly CSharpParseOptions RegularWithExtendedPartialMethods =
RegularPreview
;
68
public static readonly CSharpParseOptions RegularWithPatternCombinators =
RegularPreview
;
69
public static readonly CSharpParseOptions RegularWithExtendedPropertyPatterns =
RegularPreview
;
70
public static readonly CSharpParseOptions RegularWithListPatterns =
RegularPreview
;
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
EditAndContinue\EditAndContinueWorkspaceTestBase.cs (1)
271
var parseOptions = TestOptions.
RegularPreview
.WithNoRefSafetyRulesAttribute();