1 implementation of OperatorKind
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
9896public BinaryOperatorKind OperatorKind { get; }
9 references to OperatorKind
Microsoft.CodeAnalysis (1)
Operations\ControlFlowGraphBuilder.cs (1)
7596operatorKind: operation.OperatorKind,
Microsoft.CodeAnalysis.AnalyzerUtilities (2)
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DataFlowOperationVisitor.cs (2)
1794if (operation is IBinaryPatternOperation { OperatorKind: BinaryOperatorKind.Or } binaryOrOperation) 1812if (operation is IBinaryPatternOperation { OperatorKind: BinaryOperatorKind.And } binaryOrOperation)
Microsoft.CodeAnalysis.CodeStyle (2)
src\Analyzers\Core\Analyzers\PopulateSwitch\PopulateSwitchExpressionHelpers.cs (2)
66if (binaryPattern?.OperatorKind == BinaryOperatorKind.Or) 95IBinaryPatternOperation binaryPattern => binaryPattern.OperatorKind switch
Microsoft.CodeAnalysis.Features (2)
src\Analyzers\Core\Analyzers\PopulateSwitch\PopulateSwitchExpressionHelpers.cs (2)
66if (binaryPattern?.OperatorKind == BinaryOperatorKind.Or) 95IBinaryPatternOperation binaryPattern => binaryPattern.OperatorKind switch
Microsoft.CodeAnalysis.Test.Utilities (2)
Compilation\OperationTreeVerifier.cs (1)
1981LogString($" ({nameof(BinaryOperatorKind)}.{operation.OperatorKind})");
Compilation\TestOperationVisitor.cs (1)
1389Assert.True(operation.OperatorKind switch { Operations.BinaryOperatorKind.Or => true, Operations.BinaryOperatorKind.And => true, _ => false });