284 references to Regular7_3
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
QuickInfo\SemanticQuickInfoSourceTests.cs (1)
8143
await TestWithOptionsAsync(TestOptions.
Regular7_3
,
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (14)
CodeGen\CodeGenAsyncIteratorTests.cs (2)
615
var comp = CreateCompilationWithTasksExtensions(new[] { source }, parseOptions: TestOptions.
Regular7_3
);
1923
var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, parseOptions: TestOptions.
Regular7_3
);
CodeGen\CodeGenAwaitForeachTests.cs (6)
42
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, parseOptions: TestOptions.
Regular7_3
);
72
var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, parseOptions: TestOptions.
Regular7_3
);
9089
parseOptions: withCSharp8 ? TestOptions.Regular8 : TestOptions.
Regular7_3
);
9165
parseOptions: withCSharp8 ? TestOptions.Regular8 : TestOptions.
Regular7_3
);
9243
parseOptions: withCSharp8 ? TestOptions.Regular8 : TestOptions.
Regular7_3
);
9375
parseOptions: withCSharp8 ? TestOptions.Regular8 : TestOptions.
Regular7_3
);
CodeGen\CodeGenAwaitUsingTests.cs (2)
36
var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, parseOptions: TestOptions.
Regular7_3
);
62
var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, parseOptions: TestOptions.
Regular7_3
);
CodeGen\CodeGenForEachTests.cs (1)
1749
var comp = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
);
CodeGen\CodeGenOperators.cs (1)
6198
var comp = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
);
CodeGen\CodeGenReadonlyStructTests.cs (1)
2560
{ false, TestOptions.
Regular7_3
, Verification.Passes },
CodeGen\CodeGenThrowTests.cs (1)
335
CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
Emit\NumericIntPtrTests.cs (2)
1865
var comp = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
, targetFramework: TargetFramework.Net70);
1889
var comp = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (17)
FlowAnalysis\FlowTests.cs (1)
169
comp = CreateCompilation(src, parseOptions: TestOptions.
Regular7_3
);
Semantics\OutVarTests.cs (5)
4474
compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.
Regular7_3
);
9091
compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.
Regular7_3
);
12084
compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.
Regular7_3
);
12234
compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.
Regular7_3
);
12762
compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.
Regular7_3
);
Semantics\PatternMatchingTests.cs (1)
4339
CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
Semantics\PatternMatchingTests_Scope.cs (5)
1448
compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.
Regular7_3
);
2175
compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.
Regular7_3
);
2311
compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.
Regular7_3
);
2778
compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.
Regular7_3
);
2935
compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.
Regular7_3
);
Semantics\PatternMatchingTests2.cs (3)
1198
compilation = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
);
2400
CreateCompilation(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
2435
CreateCompilation(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics();
Semantics\PatternMatchingTests3.cs (1)
1229
CreateCompilation(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
Semantics\PatternMatchingTests4.cs (1)
3831
CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (120)
Semantics\ForEachTests.cs (2)
2349
var comp = CreateEmptyCompilation(text, parseOptions: TestOptions.
Regular7_3
, skipUsesIsNullable: true);
3195
var boundNode = GetBoundForEachStatement(text, TestOptions.
Regular7_3
,
Semantics\FunctionPointerTests.cs (1)
3403
comp = CreateCompilationWithFunctionPointers(source, parseOptions: TestOptions.
Regular7_3
);
Semantics\GenericConstraintsTests.cs (11)
3417
CreateCompilation(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.
Regular7_3
)
3464
CreateCompilation(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.
Regular7_3
)
4001
CreateCompilation(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.
Regular7_3
)
4031
CreateCompilation(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.
Regular7_3
)
4057
CreateCompilation(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.
Regular7_3
)
4081
CreateCompilation(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.
Regular7_3
)
4104
CreateCompilation(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.
Regular7_3
)
4127
CreateCompilation(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.
Regular7_3
)
4154
CreateCompilation(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.
Regular7_3
)
4184
CreateCompilation(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.
Regular7_3
)
4221
CreateCompilation(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.
Regular7_3
)
Semantics\IndexAndRangeTests.cs (3)
79
comp = CreateCompilationWithIndexAndRange(src, parseOptions: TestOptions.
Regular7_3
);
999
var compilation = CreateCompilationWithIndex(source, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(expected);
1482
CreateCompilationWithIndexAndRange(source, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(expected);
Semantics\InheritanceBindingTests.cs (2)
8752
CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
8815
CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
Semantics\LambdaDiscardParametersTests.cs (1)
267
var comp = CreateCompilation(src, parseOptions: TestOptions.
Regular7_3
);
Semantics\LambdaTests.cs (14)
3078
var comp = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
);
3122
var comp = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
);
3160
var comp = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
);
3201
var comp = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
);
3239
var comp = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
);
3279
var comp = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
);
3313
var comp = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
);
3355
var comp = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
);
3388
var comp = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
);
3412
var comp = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
);
3436
var comp = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
);
3463
var comp = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
);
3501
var comp = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
);
3540
var comp = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
);
Semantics\LocalFunctionTests.cs (16)
2156
var comp = CreateCompilation(src, parseOptions: TestOptions.
Regular7_3
);
3032
var comp = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
);
3056
var comp = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
);
3733
var comp = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
);
5254
var comp = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
);
5303
var comp = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
);
5347
var comp = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
);
5410
var comp = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
);
5449
var comp = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
);
5493
var comp = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
);
5541
var comp = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
);
5580
var comp = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
);
5620
var comp = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
);
5693
var comp = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
);
5727
var comp = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
);
5755
var comp = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
);
Semantics\NameCollisionTests.cs (6)
834
CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
894
CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
1099
CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
1168
CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
1776
CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
1839
CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
Semantics\NullableReferenceTypesTests.cs (19)
6643
var comp = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
);
7866
var c2 = CreateCompilation(new[] { source }, parseOptions: TestOptions.
Regular7_3
, skipUsesIsNullable: true);
8589
var comp = CreateCompilation("", options: WithNullable(NullableContextOptions.Enable), parseOptions: TestOptions.
Regular7_3
);
8595
comp = CreateCompilation("", options: WithNullable(NullableContextOptions.Warnings), parseOptions: TestOptions.
Regular7_3
);
8601
comp = CreateCompilation("", options: WithNullable(NullableContextOptions.Disable), parseOptions: TestOptions.
Regular7_3
);
8613
comp = CreateCompilation(new string[] { }, options: WithNullable(NullableContextOptions.Enable), parseOptions: TestOptions.
Regular7_3
);
8619
comp = CreateCompilation(new string[] { }, options: WithNullable(NullableContextOptions.Warnings), parseOptions: TestOptions.
Regular7_3
);
8625
comp = CreateCompilation(new string[] { }, options: WithNullable(NullableContextOptions.Disable), parseOptions: TestOptions.
Regular7_3
);
81767
comp = CreateCompilation(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.
Regular7_3
, skipUsesIsNullable: true);
81874
var comp = CreateCompilation(source, references: new[] { libComp.EmitToImageReference() }, parseOptions: TestOptions.
Regular7_3
);
97834
comp = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
, skipUsesIsNullable: true);
97848
comp = CreateCompilation(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.
Regular7_3
, skipUsesIsNullable: true);
99131
comp = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
);
99134
comp = CreateCompilation(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.
Regular7_3
, skipUsesIsNullable: true);
100407
var comp = CreateCompilation(new[] { source }, parseOptions: TestOptions.
Regular7_3
);
100428
comp = CreateCompilation(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.
Regular7_3
, skipUsesIsNullable: true);
101861
var compilation = CreateCompilation(new[] { Tuple2NonNullable, TupleRestNonNullable, source }, targetFramework: TargetFramework.Mscorlib46, parseOptions: TestOptions.
Regular7_3
, skipUsesIsNullable: true);
136642
CreateCompilation(new[] { source }, parseOptions: TestOptions.
Regular7_3
)
136672
CreateCompilation(new[] { source }, parseOptions: TestOptions.
Regular7_3
)
Semantics\NullableTests.cs (1)
66
var comp = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
);
Semantics\QueryTests.cs (1)
4231
VerifyOperationTreeAndDiagnosticsForTest<QueryExpressionSyntax>(source, expectedOperationTree, expectedDiagnostics, parseOptions: TestOptions.
Regular7_3
);
Semantics\ReadOnlyStructsTests.cs (1)
2339
var comp = CreateCompilation(csharp, parseOptions: TestOptions.
Regular7_3
);
Semantics\RefEscapingTests.cs (1)
46
}", options: TestOptions.
Regular7_3
);
Semantics\SemanticAnalyzerTests.cs (1)
82
CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
Semantics\SemanticErrorTests.cs (6)
4002
var comp = CreateCompilation(text, parseOptions: TestOptions.
Regular7_3
);
4727
CreateCompilation(text, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
4755
CreateCompilation(text, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
22579
CreateCompilationWithMscorlib40(source, references: new[] { Net40.References.SystemCore }, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
22640
CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
22686
CompileAndVerifyWithMscorlib40(source, expectedOutput: "True", references: new[] { Net40.References.SystemCore }, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
Semantics\StackAllocInitializerTests.cs (9)
597
CreateCompilationWithMscorlibAndSpan(source, TestOptions.ReleaseDll, parseOptions: TestOptions.
Regular7_3
)
646
CreateCompilationWithMscorlibAndSpan(source, TestOptions.ReleaseDll, parseOptions: TestOptions.
Regular7_3
)
695
CreateCompilationWithMscorlibAndSpan(source, TestOptions.ReleaseDll, parseOptions: TestOptions.
Regular7_3
)
1716
CreateCompilationWithMscorlibAndSpan(test, options: TestOptions.ReleaseDll.WithAllowUnsafe(true), parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
1749
CreateCompilationWithMscorlibAndSpan(test, TestOptions.ReleaseDll, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
1793
CreateCompilationWithMscorlibAndSpan(test, TestOptions.UnsafeReleaseExe, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
1894
CreateCompilationWithMscorlibAndSpan(source, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
1931
CreateCompilationWithMscorlibAndSpan(source, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
1959
CreateCompilationWithMscorlibAndSpan(source, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
Semantics\StackAllocSpanExpressionsTests.cs (8)
345
CreateCompilationWithMscorlibAndSpan(source, TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
512
CreateCompilationWithMscorlibAndSpan(test, options: TestOptions.ReleaseDll.WithAllowUnsafe(true), parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
540
CreateCompilationWithMscorlibAndSpan(test, options: TestOptions.ReleaseDll.WithAllowUnsafe(true), parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
561
CreateCompilationWithMscorlibAndSpan(test, options: TestOptions.ReleaseDll.WithAllowUnsafe(true), parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
588
CreateCompilationWithMscorlibAndSpan(test, TestOptions.UnsafeReleaseExe, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
648
CreateCompilationWithMscorlibAndSpan(source, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
671
CreateCompilationWithMscorlibAndSpan(source, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
691
CreateCompilationWithMscorlibAndSpan(source, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
Semantics\SwitchTests.cs (3)
2719
CreateCompilation(text, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
2753
CreateCompilation(text, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics();
2946
CreateCompilation(text, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics();
Semantics\TargetTypedDefaultTests.cs (6)
1365
var comp2 = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
);
1471
var comp2 = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
);
1574
var comp2 = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
);
1624
var comp2 = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
, options: TestOptions.DebugExe);
1787
var comp = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
, options: TestOptions.DebugExe);
2696
var comp = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
, options: TestOptions.DebugExe);
Semantics\UnsafeTests.cs (4)
9824
CreateCompilationWithMscorlibAndSpan(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
10061
CreateCompilation(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
11166
CreateCompilationWithMscorlibAndSpan(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
11197
CreateCompilationWithMscorlibAndSpan(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
Semantics\UsingDeclarationTests.cs (2)
849
CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(expected);
878
CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(expected);
Semantics\UsingStatementTests.cs (2)
1163
CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
1192
CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (93)
Compilation\SemanticModelAPITests.cs (2)
94
comp2 = CreateCompilation(src2, parseOptions: TestOptions.
Regular7_3
,
4421
var comp = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
);
Symbols\ConversionTests.cs (1)
1382
CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
Symbols\DefaultInterfaceImplementationTests.cs (73)
1746
parseOptions: TestOptions.
Regular7_3
);
1777
parseOptions: isStatic ? TestOptions.Regular10 : TestOptions.
Regular7_3
, skipUsesIsNullable: true);
1821
parseOptions: isStatic ? TestOptions.Regular10 : TestOptions.
Regular7_3
);
1872
parseOptions: isStatic ? TestOptions.Regular10 : TestOptions.
Regular7_3
,
1929
parseOptions: isStatic ? TestOptions.Regular10 : TestOptions.
Regular7_3
,
2016
parseOptions: TestOptions.
Regular7_3
,
4535
parseOptions: TestOptions.
Regular7_3
, skipUsesIsNullable: true);
4581
parseOptions: TestOptions.
Regular7_3
);
4736
parseOptions: isStatic ? TestOptions.Regular10 : TestOptions.
Regular7_3
,
4803
parseOptions: isStatic ? TestOptions.Regular10 : TestOptions.
Regular7_3
,
4868
parseOptions: TestOptions.
Regular7_3
,
6082
parseOptions: TestOptions.
Regular7_3
, skipUsesIsNullable: true);
6128
parseOptions: TestOptions.
Regular7_3
);
6190
parseOptions: TestOptions.
Regular7_3
,
6237
parseOptions: TestOptions.
Regular7_3
,
6284
parseOptions: TestOptions.
Regular7_3
,
7533
parseOptions: TestOptions.
Regular7_3
, skipUsesIsNullable: true);
7561
parseOptions: TestOptions.
Regular7_3
);
7664
parseOptions: isStatic ? TestOptions.Regular10 : TestOptions.
Regular7_3
,
7713
parseOptions: isStatic ? TestOptions.Regular10 : TestOptions.
Regular7_3
,
7761
parseOptions: TestOptions.
Regular7_3
,
8613
parseOptions: TestOptions.
Regular7_3
,
8813
parseOptions: TestOptions.
Regular7_3
);
10457
parseOptions: TestOptions.
Regular7_3
,
11234
parseOptions: TestOptions.
Regular7_3
);
11257
parseOptions: TestOptions.
Regular7_3
,
13568
parseOptions: TestOptions.
Regular7_3
,
14066
parseOptions: TestOptions.
Regular7_3
);
16918
parseOptions: TestOptions.
Regular7_3
,
22042
parseOptions: TestOptions.
Regular7_3
,
22448
parseOptions: TestOptions.
Regular7_3
);
27134
parseOptions: TestOptions.
Regular7_3
,
27694
parseOptions: TestOptions.
Regular7_3
);
30266
parseOptions: TestOptions.
Regular7_3
,
31810
parseOptions: TestOptions.
Regular7_3
);
33118
parseOptions: TestOptions.
Regular7_3
,
33142
parseOptions: TestOptions.
Regular7_3
,
33800
parseOptions: isStatic ? TestOptions.Regular10 : TestOptions.
Regular7_3
,
34490
parseOptions: TestOptions.
Regular7_3
,
37275
parseOptions: isStatic ? TestOptions.Regular10 : TestOptions.
Regular7_3
,
37292
parseOptions: isStatic ? TestOptions.Regular10 : TestOptions.
Regular7_3
,
37988
parseOptions: isStatic ? TestOptions.Regular10 : TestOptions.
Regular7_3
,
38827
parseOptions: isStatic ? TestOptions.Regular10 : TestOptions.
Regular7_3
,
40213
parseOptions: TestOptions.
Regular7_3
,
40243
parseOptions: TestOptions.
Regular7_3
,
41489
parseOptions: isStatic ? TestOptions.Regular10 : TestOptions.
Regular7_3
,
43845
parseOptions: TestOptions.
Regular7_3
,
43982
parseOptions: TestOptions.
Regular7_3
, targetFramework: TargetFramework.NetCoreApp);
44112
parseOptions: TestOptions.
Regular7_3
, targetFramework: TargetFramework.NetCoreApp);
44289
parseOptions: TestOptions.
Regular7_3
,
44390
parseOptions: TestOptions.
Regular7_3
,
45112
parseOptions: TestOptions.
Regular7_3
,
45265
parseOptions: TestOptions.
Regular7_3
,
45404
parseOptions: TestOptions.
Regular7_3
,
45596
parseOptions: TestOptions.
Regular7_3
, targetFramework: TargetFramework.NetCoreApp);
45733
parseOptions: TestOptions.
Regular7_3
, targetFramework: TargetFramework.NetCoreApp);
46613
parseOptions: TestOptions.
Regular7_3
);
46768
parseOptions: TestOptions.
Regular7_3
);
46846
parseOptions: TestOptions.
Regular7_3
);
46866
parseOptions: TestOptions.
Regular7_3
);
46880
parseOptions: TestOptions.
Regular7_3
);
47257
parseOptions: TestOptions.
Regular7_3
, targetFramework: TargetFramework.NetCoreApp);
47268
parseOptions: TestOptions.
Regular7_3
, targetFramework: TargetFramework.NetCoreApp);
48239
parseOptions: TestOptions.
Regular7_3
, targetFramework: TargetFramework.NetCoreApp);
48253
parseOptions: TestOptions.
Regular7_3
, targetFramework: TargetFramework.NetCoreApp);
52409
parseOptions: isStatic ? TestOptions.Regular10 : TestOptions.
Regular7_3
,
57220
parseOptions: TestOptions.
Regular7_3
,
57305
parseOptions: TestOptions.
Regular7_3
,
57381
parseOptions: TestOptions.
Regular7_3
,
59414
parseOptions: TestOptions.
Regular7_3
,
62198
parseOptions: TestOptions.
Regular7_3
,
62239
parseOptions: TestOptions.
Regular7_3
,
62274
parseOptions: TestOptions.
Regular7_3
,
Symbols\Source\NullablePublicAPITests.cs (5)
441
var comp3 = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
, skipUsesIsNullable: true);
473
var comp6 = CreateCompilation("", references: new[] { comp1Emit }, parseOptions: TestOptions.
Regular7_3
);
1043
var comp3 = CreateCompilation(source, parseOptions: TestOptions.
Regular7_3
, skipUsesIsNullable: true);
1059
var comp6 = CreateCompilation("", references: new[] { comp1Emit }, parseOptions: TestOptions.
Regular7_3
);
1817
var comp = CreateCompilation(source, options: WithNullableEnable(), parseOptions: TestOptions.
Regular7_3
, skipUsesIsNullable: true);
Symbols\StaticAbstractMembersInInterfacesTests.cs (12)
589
parseOptions: TestOptions.
Regular7_3
,
709
parseOptions: TestOptions.
Regular7_3
,
2257
parseOptions: TestOptions.
Regular7_3
,
2359
parseOptions: TestOptions.
Regular7_3
,
3076
parseOptions: TestOptions.
Regular7_3
,
3179
parseOptions: TestOptions.
Regular7_3
,
3801
parseOptions: TestOptions.
Regular7_3
,
3918
parseOptions: TestOptions.
Regular7_3
,
4014
parseOptions: TestOptions.
Regular7_3
,
4206
parseOptions: TestOptions.
Regular7_3
,
4452
parseOptions: TestOptions.
Regular7_3
,
4638
parseOptions: TestOptions.
Regular7_3
,
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (36)
Diagnostics\DiagnosticTest.cs (6)
2140
CreateCompilation(text1, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(expected1);
2145
CreateCompilation(text1, parseOptions: TestOptions.
Regular7_3
, options: options).VerifyDiagnostics();
2152
CreateCompilation(text2, parseOptions: TestOptions.
Regular7_3
, options: options).VerifyDiagnostics(expected1);
2159
CreateCompilation(text3, parseOptions: TestOptions.
Regular7_3
, options: options).VerifyDiagnostics(expected1);
2173
CreateCompilation(text4, parseOptions: TestOptions.
Regular7_3
, options: options).VerifyDiagnostics(expected2);
2180
CreateCompilation(text5, parseOptions: TestOptions.
Regular7_3
, options: options).VerifyDiagnostics(expected2);
LexicalAndXml\PreprocessorTests.cs (2)
3751
var node = Parse(text, options: TestOptions.
Regular7_3
);
4466
var node = Parse(text, options: TestOptions.
Regular7_3
);
Parsing\AsyncStreamsParsingTests.cs (3)
45
", options: useCSharp8 ? TestOptions.Regular8 : TestOptions.
Regular7_3
);
286
", options: useCSharp8 ? TestOptions.Regular8 : TestOptions.
Regular7_3
);
479
", options: useCSharp8 ? TestOptions.Regular8 : TestOptions.
Regular7_3
);
Parsing\DeclarationParsingTests.cs (10)
7162
", TestOptions.
Regular7_3
);
7206
", TestOptions.
Regular7_3
,
8359
", TestOptions.
Regular7_3
,
8403
text, TestOptions.
Regular7_3
,
8452
", TestOptions.
Regular7_3
,
8529
CreateCompilation(text, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
8568
var tree = UsingNode(text, TestOptions.
Regular7_3
,
8646
text, TestOptions.
Regular7_3
,
8693
text, TestOptions.
Regular7_3
,
8741
text, TestOptions.
Regular7_3
,
Parsing\ExpressionParsingTests.cs (4)
216
UsingExpression(text, TestOptions.
Regular7_3
);
272
UsingExpression(text, TestOptions.
Regular7_3
);
5240
CreateCompilation(testWithStatement, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
5251
UsingExpression(test, TestOptions.
Regular7_3
);
Parsing\LocalFunctionParsingTests.cs (8)
1720
CreateCompilation(text, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
1736
UsingDeclaration(text, options: TestOptions.
Regular7_3
);
1805
CreateCompilation(text, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
1851
UsingDeclaration(text, options: TestOptions.
Regular7_3
);
1939
CreateCompilation(text, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
2018
UsingDeclaration(text, options: TestOptions.
Regular7_3
,
2474
CreateCompilation(text, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
2535
UsingDeclaration(text, options: TestOptions.
Regular7_3
,
Parsing\PatternParsingTests.cs (1)
5524
UsingStatement("switch(e) { case _: break; }", TestOptions.
Regular7_3
);
Parsing\SuppressNullableWarningExpressionParsingTests.cs (2)
793
CreateCompilation(text, parseOptions: TestOptions.
Regular7_3
).VerifyDiagnostics(
817
UsingNode(text, options: TestOptions.
Regular7_3
);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
TestOptions.cs (1)
65
public static readonly CSharpParseOptions RegularWithoutRecursivePatterns =
Regular7_3
;