1 implementation of IBinaryOperation
Microsoft.CodeAnalysis (1)
155 references to IBinaryOperation
ILLink.RoslynAnalyzer (2)
Microsoft.AspNetCore.Mvc.Api.Analyzers (2)
Microsoft.CodeAnalysis (27)
Operations\ControlFlowGraphBuilder.cs (16)
2152private static bool IsConditional(IBinaryOperation operation)
2164public override IOperation VisitBinaryOperator(IBinaryOperation operation, int? captureIdForResult)
2204var stack = ArrayBuilder<(IBinaryOperation, EvalStackFrame)>.GetInstance();
2212if (leftOperand is not IBinaryOperation binary || IsConditional(binary))
2269private static bool CalculateAndOrSense(IBinaryOperation binOp, bool sense)
2285private IOperation VisitBinaryConditionalOperator(IBinaryOperation binOp, bool sense, int? captureIdForResult,
2301private IOperation VisitNullableBinaryConditionalOperator(IBinaryOperation binOp, int? captureIdForResult)
2407private IOperation VisitObjectBinaryConditionalOperator(IBinaryOperation binOp)
2462private IOperation VisitDynamicBinaryConditionalOperator(IBinaryOperation binOp, int? captureIdForResult)
2562private IOperation VisitUserDefinedBinaryConditionalOperator(IBinaryOperation binOp, int? captureIdForResult)
2651private IOperation VisitShortCircuitingOperator(IBinaryOperation condition, bool sense, bool stopSense, bool stopValue,
2727var binOp = (IBinaryOperation)condition;
2749private static bool IsBooleanConditionalOperator(IBinaryOperation binOp)
2791if (IsBooleanConditionalOperator((IBinaryOperation)condition))
2806else if (top.condition is IBinaryOperation binOp && IsBooleanConditionalOperator(binOp))
Microsoft.CodeAnalysis.CodeStyle (14)
Microsoft.CodeAnalysis.CodeStyle.Fixes (3)
Microsoft.CodeAnalysis.CSharp (3)
Microsoft.CodeAnalysis.CSharp.CodeStyle (16)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (8)
Microsoft.CodeAnalysis.CSharp.Features (25)
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Microsoft.CodeAnalysis.Features (25)
Microsoft.CodeAnalysis.Test.Utilities (18)
Microsoft.CodeAnalysis.Workspaces (6)
Roslyn.Compilers.VisualBasic.IOperation.UnitTests (4)