155 references to RegularWithPatternCombinators
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (14)
CodeGen\PatternTests.cs (10)
5507
var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.
RegularWithPatternCombinators
);
5549
compilation = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.
RegularWithPatternCombinators
);
5607
var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.
RegularWithPatternCombinators
);
5653
compilation = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.
RegularWithPatternCombinators
);
5715
var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.
RegularWithPatternCombinators
);
5789
compilation = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.
RegularWithPatternCombinators
);
5879
var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.
RegularWithPatternCombinators
);
5938
compilation = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.
RegularWithPatternCombinators
);
6023
var compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.
RegularWithPatternCombinators
);
6107
compilation = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.
RegularWithPatternCombinators
);
CodeGen\SwitchTests.cs (4)
11029
parseOptions: TestOptions.
RegularWithPatternCombinators
,
11287
parseOptions: TestOptions.
RegularWithPatternCombinators
,
11545
parseOptions: TestOptions.
RegularWithPatternCombinators
,
11974
parseOptions: TestOptions.
RegularWithPatternCombinators
,
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (63)
Semantics\PatternMatchingTestBase.cs (1)
433
return CreateCompilation(new[] { source, _iTupleSource }, options: options ?? TestOptions.DebugExe, parseOptions: TestOptions.
RegularWithPatternCombinators
);
Semantics\PatternMatchingTests.cs (6)
4848
var compilation = CreateCompilation(program, parseOptions: TestOptions.
RegularWithPatternCombinators
).VerifyDiagnostics(
4864
var compilation = CreateCompilation(program, parseOptions: TestOptions.
RegularWithPatternCombinators
).VerifyDiagnostics(
6749
CreateCompilationWithMscorlibAndSpan(parseOptions: TestOptions.
RegularWithPatternCombinators
,
6805
CreateCompilationWithMscorlibAndSpan(parseOptions: TestOptions.
RegularWithPatternCombinators
, text: @"
6928
CreateCompilationWithMscorlibAndSpan(parseOptions: TestOptions.
RegularWithPatternCombinators
, text: @"
7106
CreateCompilationWithMscorlibAndSpan(parseOptions: TestOptions.
RegularWithPatternCombinators
, text: @"
Semantics\PatternMatchingTests2.cs (9)
2461
CreateCompilation(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.
RegularWithPatternCombinators
).VerifyDiagnostics(
2519
CreateCompilation(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.
RegularWithPatternCombinators
).VerifyDiagnostics(
2560
CreateCompilation(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.
RegularWithPatternCombinators
).VerifyDiagnostics(
2598
CreateCompilation(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.
RegularWithPatternCombinators
).VerifyDiagnostics(
2636
CreateCompilation(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.
RegularWithPatternCombinators
).VerifyDiagnostics(
2666
CreateCompilation(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.
RegularWithPatternCombinators
).VerifyDiagnostics(
2701
CreateCompilation(source, parseOptions: TestOptions.
RegularWithPatternCombinators
).VerifyDiagnostics(
2733
CreateCompilation(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.
RegularWithPatternCombinators
).VerifyDiagnostics(
2852
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularWithPatternCombinators
).VerifyDiagnostics(
Semantics\PatternMatchingTests3.cs (47)
5046
var compilation = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.
RegularWithPatternCombinators
);
5093
var compilation = CreateCompilation(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.
RegularWithPatternCombinators
);
5536
var compilation = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.
RegularWithPatternCombinators
);
5563
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularWithPatternCombinators
);
5585
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularWithPatternCombinators
);
5608
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularWithPatternCombinators
);
5629
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularWithPatternCombinators
);
5654
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularWithPatternCombinators
);
5680
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularWithPatternCombinators
);
5704
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularWithPatternCombinators
, targetFramework: TargetFramework.NetCoreApp);
5725
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularWithPatternCombinators
);
5753
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularWithPatternCombinators
);
5791
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularWithPatternCombinators
);
5820
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularWithPatternCombinators
);
5853
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularWithPatternCombinators
);
5874
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularWithPatternCombinators
);
5909
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularWithPatternCombinators
);
5938
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularWithPatternCombinators
);
5967
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularWithPatternCombinators
);
5988
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularWithPatternCombinators
);
6014
var compilation = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.
RegularWithPatternCombinators
);
6035
var compilation = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.
RegularWithPatternCombinators
);
6076
var compilation = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.
RegularWithPatternCombinators
);
6128
var compilation = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.
RegularWithPatternCombinators
);
6180
var compilation = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.
RegularWithPatternCombinators
);
6723
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularWithPatternCombinators
);
6860
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularWithPatternCombinators
);
6901
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularWithPatternCombinators
);
6926
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularWithPatternCombinators
);
6953
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularWithPatternCombinators
);
6986
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularWithPatternCombinators
);
7013
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularWithPatternCombinators
);
7038
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularWithPatternCombinators
);
7067
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularWithPatternCombinators
);
7097
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularWithPatternCombinators
);
7124
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularWithPatternCombinators
);
7158
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularWithPatternCombinators
);
7192
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularWithPatternCombinators
);
7225
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularWithPatternCombinators
);
7249
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularWithPatternCombinators
);
7273
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularWithPatternCombinators
);
7296
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularWithPatternCombinators
);
7315
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularWithPatternCombinators
);
7335
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularWithPatternCombinators
);
7361
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularWithPatternCombinators
);
7389
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularWithPatternCombinators
);
7418
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularWithPatternCombinators
);
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (11)
IOperation\IOperationTests_IIsPatternExpression.cs (2)
2052
VerifyOperationTreeAndDiagnosticsForTest<IsPatternExpressionSyntax>(source, expectedOperationTree, expectedDiagnostics, parseOptions: TestOptions.
RegularWithPatternCombinators
);
2085
VerifyOperationTreeAndDiagnosticsForTest<IsPatternExpressionSyntax>(source, expectedOperationTree, expectedDiagnostics, parseOptions: TestOptions.
RegularWithPatternCombinators
);
IOperation\IOperationTests_IPatternSwitchCase.cs (2)
746
VerifyOperationTreeAndDiagnosticsForTest<CasePatternSwitchLabelSyntax>(source, expectedOperationTree, expectedDiagnostics, parseOptions: TestOptions.
RegularWithPatternCombinators
);
781
VerifyOperationTreeAndDiagnosticsForTest<CasePatternSwitchLabelSyntax>(source, expectedOperationTree, expectedDiagnostics, parseOptions: TestOptions.
RegularWithPatternCombinators
);
IOperation\IOperationTests_ISwitchExpression.cs (1)
1689
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(source, expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularWithPatternCombinators
);
IOperation\IOperationTests_ISwitchOperation.cs (6)
3460
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(source, expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularWithPatternCombinators
);
3528
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(source, expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularWithPatternCombinators
);
3623
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(source, expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularWithPatternCombinators
);
3721
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(source, expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularWithPatternCombinators
);
3809
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(source, expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularWithPatternCombinators
);
3880
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(source, expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.
RegularWithPatternCombinators
);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\NullableReferenceTypesVsPatterns.cs (1)
2211
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularWithPatternCombinators
);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (66)
Parsing\PatternParsingTests.cs (66)
8823
TestOptions.
RegularWithPatternCombinators
,
9018
TestOptions.
RegularWithPatternCombinators
9125
TestOptions.
RegularWithPatternCombinators
9163
TestOptions.
RegularWithPatternCombinators
9209
TestOptions.
RegularWithPatternCombinators
9254
TestOptions.
RegularWithPatternCombinators
9294
TestOptions.
RegularWithPatternCombinators
9360
TestOptions.
RegularWithPatternCombinators
9407
TestOptions.
RegularWithPatternCombinators
9462
TestOptions.
RegularWithPatternCombinators
9520
TestOptions.
RegularWithPatternCombinators
9586
TestOptions.
RegularWithPatternCombinators
9648
TestOptions.
RegularWithPatternCombinators
9711
TestOptions.
RegularWithPatternCombinators
9764
TestOptions.
RegularWithPatternCombinators
9817
TestOptions.
RegularWithPatternCombinators
9904
TestOptions.
RegularWithPatternCombinators
9944
TestOptions.
RegularWithPatternCombinators
9992
TestOptions.
RegularWithPatternCombinators
10040
TestOptions.
RegularWithPatternCombinators
10095
TestOptions.
RegularWithPatternCombinators
10142
TestOptions.
RegularWithPatternCombinators
10190
TestOptions.
RegularWithPatternCombinators
10338
TestOptions.
RegularWithPatternCombinators
10379
TestOptions.
RegularWithPatternCombinators
10420
TestOptions.
RegularWithPatternCombinators
10461
TestOptions.
RegularWithPatternCombinators
10516
TestOptions.
RegularWithPatternCombinators
10561
TestOptions.
RegularWithPatternCombinators
10634
TestOptions.
RegularWithPatternCombinators
10671
TestOptions.
RegularWithPatternCombinators
10712
TestOptions.
RegularWithPatternCombinators
10754
TestOptions.
RegularWithPatternCombinators
10806
TestOptions.
RegularWithPatternCombinators
10856
TestOptions.
RegularWithPatternCombinators
10912
TestOptions.
RegularWithPatternCombinators
10973
TestOptions.
RegularWithPatternCombinators
11024
TestOptions.
RegularWithPatternCombinators
11077
TestOptions.
RegularWithPatternCombinators
11130
TestOptions.
RegularWithPatternCombinators
11187
TestOptions.
RegularWithPatternCombinators
11251
TestOptions.
RegularWithPatternCombinators
11305
TestOptions.
RegularWithPatternCombinators
11360
TestOptions.
RegularWithPatternCombinators
11403
TestOptions.
RegularWithPatternCombinators
11456
TestOptions.
RegularWithPatternCombinators
11554
TestOptions.
RegularWithPatternCombinators
11614
TestOptions.
RegularWithPatternCombinators
11672
TestOptions.
RegularWithPatternCombinators
11731
TestOptions.
RegularWithPatternCombinators
11795
TestOptions.
RegularWithPatternCombinators
11866
TestOptions.
RegularWithPatternCombinators
,
11974
TestOptions.
RegularWithPatternCombinators
,
12043
TestOptions.
RegularWithPatternCombinators
12124
TestOptions.
RegularWithPatternCombinators
12174
TestOptions.
RegularWithPatternCombinators
12219
TestOptions.
RegularWithPatternCombinators
12274
TestOptions.
RegularWithPatternCombinators
12324
TestOptions.
RegularWithPatternCombinators
12375
TestOptions.
RegularWithPatternCombinators
12420
TestOptions.
RegularWithPatternCombinators
12475
TestOptions.
RegularWithPatternCombinators
12525
TestOptions.
RegularWithPatternCombinators
12589
TestOptions.
RegularWithPatternCombinators
12640
TestOptions.
RegularWithPatternCombinators
12695
UsingExpression(@"new object() is { {}: 1 }", TestOptions.
RegularWithPatternCombinators
,