1 implementation of RightOperand
Microsoft.CodeAnalysis (1)
100 references to RightOperand
Microsoft.CodeAnalysis (15)
Operations\ControlFlowGraphBuilder.cs (14)
2155ITypeSymbolHelpers.IsBooleanType(operation.RightOperand.Type))
2163ITypeSymbolHelpers.IsNullableOfBoolean(operation.RightOperand.Type))
2170ITypeSymbolHelpers.IsObjectType(operation.RightOperand.Type))
2176ITypeSymbolHelpers.IsDynamicType(operation.RightOperand.Type)))
2211IOperation rightOperand = VisitRequired(operation.RightOperand);
2289IOperation right = binOp.RightOperand;
2396IOperation right = binOp.RightOperand;
2454IOperation right = binOp.RightOperand;
2556IOperation right = binOp.RightOperand;
2662IOperation resultFromRight = VisitConditionalExpression(condition.RightOperand, sense, captureId, fallToTrueOpt, fallToFalseOpt);
2664CaptureResultIfNotAlready(condition.RightOperand.Syntax, captureId, resultFromRight);
2738ITypeSymbolHelpers.IsBooleanType(binOp.RightOperand.Type);
2801stack.Push((skipParenthesized(binOp.RightOperand), top.dest, top.jumpIfTrue));
2810stack.Push((skipParenthesized(binOp.RightOperand), top.dest, top.jumpIfTrue));
Microsoft.CodeAnalysis.CodeStyle (6)
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp.CodeStyle (12)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (9)
ConvertToRecordHelpers.cs (8)
160RightOperand: IOperation rightOperand,
669AreConditionsSatisfiedEitherOrder(binOp.LeftOperand, binOp.RightOperand,
739TryAddEqualizedFieldsForCondition(andOp.RightOperand, successRequirement, currentObject, otherObject, builder),
746TryAddEqualizedFieldsForCondition(orOp.RightOperand, successRequirement, currentObject, otherObject, builder),
753RightOperand: IMemberReferenceOperation rightMemberReference,
761RightOperand: IMemberReferenceOperation rightMemberReference,
805RightOperand: IOperation rightOperation,
817RightOperand: IOperation rightOperation,
Microsoft.CodeAnalysis.CSharp.Features (18)
ConvertToRecordHelpers.cs (8)
160RightOperand: IOperation rightOperand,
669AreConditionsSatisfiedEitherOrder(binOp.LeftOperand, binOp.RightOperand,
739TryAddEqualizedFieldsForCondition(andOp.RightOperand, successRequirement, currentObject, otherObject, builder),
746TryAddEqualizedFieldsForCondition(orOp.RightOperand, successRequirement, currentObject, otherObject, builder),
753RightOperand: IMemberReferenceOperation rightMemberReference,
761RightOperand: IMemberReferenceOperation rightMemberReference,
805RightOperand: IOperation rightOperation,
817RightOperand: IOperation rightOperation,
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Microsoft.CodeAnalysis.Features (21)
ConvertIfToSwitch\AbstractConvertIfToSwitchCodeRefactoringProvider.Analyzer.cs (13)
207operation = op.RightOperand;
248return (op.LeftOperand, op.RightOperand) switch
282ConstantResult.Right when op.RightOperand.Syntax is TExpressionSyntax right
307var rightPattern = ParsePattern(op.RightOperand, guards);
315if (Supports(Feature.CaseGuard) && op.RightOperand.Syntax is TExpressionSyntax node)
345ConstantResult.Right when op.RightOperand.Syntax is TExpressionSyntax right
370{ LeftOperand: IBinaryOperation left, RightOperand: IBinaryOperation right })
393LessThanOrEqual when IsConstant(op.LeftOperand) => (BoundKind.Lower, op.RightOperand, op.LeftOperand),
395LessThanOrEqual when IsConstant(op.RightOperand) => (BoundKind.Higher, op.LeftOperand, op.RightOperand),
397GreaterThanOrEqual when IsConstant(op.LeftOperand) => (BoundKind.Higher, op.RightOperand, op.LeftOperand),
399GreaterThanOrEqual when IsConstant(op.RightOperand) => (BoundKind.Lower, op.LeftOperand, op.RightOperand),
Microsoft.CodeAnalysis.Test.Utilities (12)
Microsoft.CodeAnalysis.Workspaces (1)
Roslyn.Compilers.VisualBasic.IOperation.UnitTests (2)