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