1 implementation of RightPattern
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
9525
public IPatternOperation
RightPattern
{ get; }
11 references to RightPattern
Microsoft.CodeAnalysis (1)
Operations\ControlFlowGraphBuilder.cs (1)
7333
rightPattern: (IPatternOperation)VisitRequired(operation.
RightPattern
),
Microsoft.CodeAnalysis.CodeStyle (4)
PopulateSwitchExpressionHelpers.cs (4)
70
RemoveIfConstantPatternHasValue(binaryPattern.
RightPattern
, enumMembers);
73
HandleBinaryPattern(binaryPattern.
RightPattern
as IBinaryPatternOperation, enumMembers);
99
BinaryOperatorKind.Or => IsDefault(binaryPattern.LeftPattern) || IsDefault(binaryPattern.
RightPattern
),
101
BinaryOperatorKind.And => IsDefault(binaryPattern.LeftPattern) && IsDefault(binaryPattern.
RightPattern
),
Microsoft.CodeAnalysis.Features (4)
PopulateSwitchExpressionHelpers.cs (4)
70
RemoveIfConstantPatternHasValue(binaryPattern.
RightPattern
, enumMembers);
73
HandleBinaryPattern(binaryPattern.
RightPattern
as IBinaryPatternOperation, enumMembers);
99
BinaryOperatorKind.Or => IsDefault(binaryPattern.LeftPattern) || IsDefault(binaryPattern.
RightPattern
),
101
BinaryOperatorKind.And => IsDefault(binaryPattern.LeftPattern) && IsDefault(binaryPattern.
RightPattern
),
Microsoft.CodeAnalysis.Test.Utilities (2)
Compilation\OperationTreeVerifier.cs (1)
1946
Visit(operation.
RightPattern
, "RightPattern");
Compilation\TestOperationVisitor.cs (1)
1375
Assert.Same(operation.
RightPattern
, children[1]);