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