1 implementation of IBinaryPatternOperation
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
9887internal sealed partial class BinaryPatternOperation : BasePatternOperation, IBinaryPatternOperation
30 references to IBinaryPatternOperation
ILLink.RoslynAnalyzer (1)
IOperationExtensions.cs (1)
45 while (operation.Parent is IBinaryPatternOperation ||
Microsoft.CodeAnalysis (12)
Generated\OperationKind.Generated.cs (1)
250/// <summary>Indicates an <see cref="IBinaryPatternOperation"/>.</summary>
Generated\Operations.Generated.cs (3)
11321public override IOperation VisitBinaryPattern(IBinaryPatternOperation operation, object? argument) 11531public virtual void VisitBinaryPattern(IBinaryPatternOperation operation) => DefaultVisit(operation); 11670public virtual TResult? VisitBinaryPattern(IBinaryPatternOperation operation, TArgument argument) => DefaultVisit(operation, argument);
Operations\ControlFlowGraphBuilder.cs (6)
7566public override IOperation VisitBinaryPattern(IBinaryPatternOperation operation, int? argument) 7568if (operation.LeftPattern is not IBinaryPatternOperation) 7574var stack = ArrayBuilder<IBinaryPatternOperation>.GetInstance(); 7575IBinaryPatternOperation? current = operation; 7580current = current.LeftPattern as IBinaryPatternOperation; 7593static BinaryPatternOperation createOperation(ControlFlowGraphBuilder @this, IBinaryPatternOperation operation, IPatternOperation left)
Operations\OperationMapBuilder.cs (2)
78public override object? VisitBinaryPattern(IBinaryPatternOperation operation, Dictionary<SyntaxNode, IOperation> argument) 86if (operation.LeftPattern is IBinaryPatternOperation nested)
Microsoft.CodeAnalysis.CodeStyle (7)
src\Analyzers\Core\Analyzers\PopulateSwitch\PopulateSwitchExpressionHelpers.cs (5)
57if (arm.Pattern is IBinaryPatternOperation binaryPattern) 64internal static void HandleBinaryPattern(IBinaryPatternOperation? binaryPattern, Dictionary<long, ISymbol> enumMembers) 71HandleBinaryPattern(binaryPattern.LeftPattern as IBinaryPatternOperation, enumMembers); 72HandleBinaryPattern(binaryPattern.RightPattern as IBinaryPatternOperation, enumMembers); 95IBinaryPatternOperation binaryPattern => binaryPattern.OperatorKind switch
src\Analyzers\Core\Analyzers\PopulateSwitch\PopulateSwitchStatementHelpers.cs (1)
138if (((IPatternCaseClauseOperation)clause).Pattern is IBinaryPatternOperation pattern)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (1)
60while (operation.Parent is IBinaryPatternOperation or
Microsoft.CodeAnalysis.Features (6)
src\Analyzers\Core\Analyzers\PopulateSwitch\PopulateSwitchExpressionHelpers.cs (5)
57if (arm.Pattern is IBinaryPatternOperation binaryPattern) 64internal static void HandleBinaryPattern(IBinaryPatternOperation? binaryPattern, Dictionary<long, ISymbol> enumMembers) 71HandleBinaryPattern(binaryPattern.LeftPattern as IBinaryPatternOperation, enumMembers); 72HandleBinaryPattern(binaryPattern.RightPattern as IBinaryPatternOperation, enumMembers); 95IBinaryPatternOperation binaryPattern => binaryPattern.OperatorKind switch
src\Analyzers\Core\Analyzers\PopulateSwitch\PopulateSwitchStatementHelpers.cs (1)
138if (((IPatternCaseClauseOperation)clause).Pattern is IBinaryPatternOperation pattern)
Microsoft.CodeAnalysis.Test.Utilities (3)
Compilation\OperationTreeVerifier.cs (2)
1978public override void VisitBinaryPattern(IBinaryPatternOperation operation) 1980LogString(nameof(IBinaryPatternOperation));
Compilation\TestOperationVisitor.cs (1)
1385public override void VisitBinaryPattern(IBinaryPatternOperation operation)
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (1)
60while (operation.Parent is IBinaryPatternOperation or