1 implementation of LeftOperand
Microsoft.CodeAnalysis (1)
142 references to LeftOperand
GenerateDocumentationAndConfigFiles (1)
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.Analyzers (9)
Microsoft.CodeAnalysis.AnalyzerUtilities (9)
Microsoft.CodeAnalysis.BannedApiAnalyzers (1)
Microsoft.CodeAnalysis.CodeStyle (8)
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 (11)
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (8)
159LeftOperand: IOperation leftOperand,
670AreConditionsSatisfiedEitherOrder(binOp.LeftOperand, binOp.RightOperand,
739=> TryAddEqualizedFieldsForCondition(andOp.LeftOperand, successRequirement, currentObject, otherObject, builder) &&
746=> TryAddEqualizedFieldsForCondition(orOp.LeftOperand, successRequirement, currentObject, otherObject, builder) &&
753LeftOperand: IMemberReferenceOperation leftMemberReference,
761LeftOperand: IMemberReferenceOperation leftMemberReference,
805LeftOperand: IOperation leftOperation,
817LeftOperand: IOperation leftOperation,
Microsoft.CodeAnalysis.CSharp.Features (22)
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (8)
159LeftOperand: IOperation leftOperand,
670AreConditionsSatisfiedEitherOrder(binOp.LeftOperand, binOp.RightOperand,
739=> TryAddEqualizedFieldsForCondition(andOp.LeftOperand, successRequirement, currentObject, otherObject, builder) &&
746=> TryAddEqualizedFieldsForCondition(orOp.LeftOperand, successRequirement, currentObject, otherObject, builder) &&
753LeftOperand: IMemberReferenceOperation leftMemberReference,
761LeftOperand: IMemberReferenceOperation leftMemberReference,
805LeftOperand: IOperation leftOperation,
817LeftOperand: IOperation leftOperation,
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Microsoft.CodeAnalysis.Features (23)
ConvertIfToSwitch\AbstractConvertIfToSwitchCodeRefactoringProvider.Analyzer.cs (12)
210if (!ParseSwitchLabels(op.LeftOperand, labels))
256return (op.LeftOperand, op.RightOperand) switch
288ConstantResult.Left when op.LeftOperand.Syntax is TExpressionSyntax left
308var leftPattern = ParsePattern(op.LeftOperand, guards);
351ConstantResult.Left when op.LeftOperand.Syntax is TExpressionSyntax left
378{ LeftOperand: IBinaryOperation left, RightOperand: IBinaryOperation right })
401LessThanOrEqual when IsConstant(op.LeftOperand) => (BoundKind.Lower, op.RightOperand, op.LeftOperand),
403LessThanOrEqual when IsConstant(op.RightOperand) => (BoundKind.Higher, op.LeftOperand, op.RightOperand),
405GreaterThanOrEqual when IsConstant(op.LeftOperand) => (BoundKind.Higher, op.RightOperand, op.LeftOperand),
407GreaterThanOrEqual when IsConstant(op.RightOperand) => (BoundKind.Lower, op.LeftOperand, op.RightOperand),
src\Analyzers\Core\Analyzers\RemoveRedundantEquality\AbstractRemoveRedundantEqualityDiagnosticAnalyzer.cs (1)
72operation.LeftOperand,
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (1)
Microsoft.CodeAnalysis.Test.Utilities (8)
Microsoft.CodeAnalysis.Workspaces (1)
Roslyn.Compilers.VisualBasic.IOperation.UnitTests (2)
Roslyn.Diagnostics.Analyzers (1)
Roslyn.Diagnostics.CSharp.Analyzers (3)
Text.Analyzers (1)