1 implementation of LeftOperand
Microsoft.CodeAnalysis (1)
108 references to LeftOperand
ILLink.RoslynAnalyzer (3)
Microsoft.AspNetCore.Mvc.Api.Analyzers (4)
ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzer.cs (4)
142return EvaluateBinaryOperator(symbolCache, binaryOperation.LeftOperand, binaryOperation.RightOperand, false) ||
143EvaluateBinaryOperator(symbolCache, binaryOperation.RightOperand, binaryOperation.LeftOperand, false);
148return EvaluateBinaryOperator(symbolCache, binaryOperation.LeftOperand, binaryOperation.RightOperand, true) ||
149EvaluateBinaryOperator(symbolCache, binaryOperation.RightOperand, binaryOperation.LeftOperand, true);
Microsoft.CodeAnalysis (16)
Microsoft.CodeAnalysis.CodeStyle (6)
src\Analyzers\Core\Analyzers\RemoveRedundantEquality\AbstractRemoveRedundantEqualityDiagnosticAnalyzer.cs (1)
72operation.LeftOperand,
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp.CodeStyle (14)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (8)
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (8)
159LeftOperand: IOperation leftOperand,
671AreConditionsSatisfiedEitherOrder(binOp.LeftOperand, binOp.RightOperand,
740=> TryAddEqualizedFieldsForCondition(andOp.LeftOperand, successRequirement, currentObject, otherObject, builder) &&
747=> TryAddEqualizedFieldsForCondition(orOp.LeftOperand, successRequirement, currentObject, otherObject, builder) &&
754LeftOperand: IMemberReferenceOperation leftMemberReference,
762LeftOperand: IMemberReferenceOperation leftMemberReference,
806LeftOperand: IOperation leftOperation,
818LeftOperand: IOperation leftOperation,
Microsoft.CodeAnalysis.CSharp.Features (22)
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (8)
159LeftOperand: IOperation leftOperand,
671AreConditionsSatisfiedEitherOrder(binOp.LeftOperand, binOp.RightOperand,
740=> TryAddEqualizedFieldsForCondition(andOp.LeftOperand, successRequirement, currentObject, otherObject, builder) &&
747=> TryAddEqualizedFieldsForCondition(orOp.LeftOperand, successRequirement, currentObject, otherObject, builder) &&
754LeftOperand: IMemberReferenceOperation leftMemberReference,
762LeftOperand: IMemberReferenceOperation leftMemberReference,
806LeftOperand: IOperation leftOperation,
818LeftOperand: IOperation leftOperation,
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Microsoft.CodeAnalysis.Features (20)
ConvertIfToSwitch\AbstractConvertIfToSwitchCodeRefactoringProvider.Analyzer.cs (12)
209if (!ParseSwitchLabels(op.LeftOperand, labels))
255return (op.LeftOperand, op.RightOperand) switch
287ConstantResult.Left when op.LeftOperand.Syntax is TExpressionSyntax left
307var leftPattern = ParsePattern(op.LeftOperand, guards);
350ConstantResult.Left when op.LeftOperand.Syntax is TExpressionSyntax left
377{ LeftOperand: IBinaryOperation left, RightOperand: IBinaryOperation right })
400LessThanOrEqual when IsConstant(op.LeftOperand) => (BoundKind.Lower, op.RightOperand, op.LeftOperand),
402LessThanOrEqual when IsConstant(op.RightOperand) => (BoundKind.Higher, op.LeftOperand, op.RightOperand),
404GreaterThanOrEqual when IsConstant(op.LeftOperand) => (BoundKind.Higher, op.RightOperand, op.LeftOperand),
406GreaterThanOrEqual when IsConstant(op.RightOperand) => (BoundKind.Lower, op.LeftOperand, op.RightOperand),
src\Analyzers\Core\Analyzers\RemoveRedundantEquality\AbstractRemoveRedundantEqualityDiagnosticAnalyzer.cs (1)
72operation.LeftOperand,
Microsoft.CodeAnalysis.Test.Utilities (8)
Microsoft.CodeAnalysis.Workspaces (1)
Roslyn.Compilers.VisualBasic.IOperation.UnitTests (2)