1 implementation of RightPattern
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
9898
public IPatternOperation
RightPattern
{ get; }
12 references to RightPattern
Microsoft.CodeAnalysis (2)
Operations\ControlFlowGraphBuilder.cs (1)
7598
rightPattern: (IPatternOperation)@this.VisitRequired(operation.
RightPattern
),
Operations\OperationMapBuilder.cs (1)
85
Visit(operation.
RightPattern
, argument);
Microsoft.CodeAnalysis.CodeStyle (4)
src\Analyzers\Core\Analyzers\PopulateSwitch\PopulateSwitchExpressionHelpers.cs (4)
69
RemoveIfConstantPatternHasValue(binaryPattern.
RightPattern
, enumMembers);
72
HandleBinaryPattern(binaryPattern.
RightPattern
as IBinaryPatternOperation, enumMembers);
98
BinaryOperatorKind.Or => IsDefault(binaryPattern.LeftPattern) || IsDefault(binaryPattern.
RightPattern
),
100
BinaryOperatorKind.And => IsDefault(binaryPattern.LeftPattern) && IsDefault(binaryPattern.
RightPattern
),
Microsoft.CodeAnalysis.Features (4)
src\Analyzers\Core\Analyzers\PopulateSwitch\PopulateSwitchExpressionHelpers.cs (4)
69
RemoveIfConstantPatternHasValue(binaryPattern.
RightPattern
, enumMembers);
72
HandleBinaryPattern(binaryPattern.
RightPattern
as IBinaryPatternOperation, enumMembers);
98
BinaryOperatorKind.Or => IsDefault(binaryPattern.LeftPattern) || IsDefault(binaryPattern.
RightPattern
),
100
BinaryOperatorKind.And => IsDefault(binaryPattern.LeftPattern) && IsDefault(binaryPattern.
RightPattern
),
Microsoft.CodeAnalysis.Test.Utilities (2)
Compilation\OperationTreeVerifier.cs (1)
1984
Visit(operation.
RightPattern
, "RightPattern");
Compilation\TestOperationVisitor.cs (1)
1393
Assert.Same(operation.
RightPattern
, children[1]);