37 references to LessThanOrEqual
Microsoft.CodeAnalysis (4)
Operations\ControlFlowGraphBuilder.cs (4)
5085comparisonKind = BinaryOperatorKind.LessThanOrEqual; 5096comparisonKind = BinaryOperatorKind.LessThanOrEqual; 5105comparisonKind = BinaryOperatorKind.LessThanOrEqual; 5192condition = new BinaryOperation(BinaryOperatorKind.LessThanOrEqual,
Microsoft.CodeAnalysis.CodeStyle.Fixes (5)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_Negate.cs (5)
26{ BinaryOperatorKind.GreaterThan, BinaryOperatorKind.LessThanOrEqual }, 27{ BinaryOperatorKind.LessThanOrEqual, BinaryOperatorKind.GreaterThan }, 160BinaryOperatorKind.LessThanOrEqual or 389BinaryOperatorKind.LessThanOrEqual => IsSpecialCaseBinaryExpression(binaryOperation, operationKind) 422BinaryOperatorKind.LessThanOrEqual when rightOperand.IsNumericLiteral()
Microsoft.CodeAnalysis.CSharp (1)
Operations\CSharpOperationFactory_Methods.cs (1)
588return BinaryOperatorKind.LessThanOrEqual;
Microsoft.CodeAnalysis.CSharp.CodeStyle (5)
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\AnalyzedPattern.cs (2)
176BinaryOperatorKind.GreaterThan => BinaryOperatorKind.LessThanOrEqual, 177BinaryOperatorKind.LessThanOrEqual => BinaryOperatorKind.GreaterThan,
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\CSharpUsePatternCombinatorsAnalyzer.cs (3)
130case LessThanOrEqual: 152LessThanOrEqual => GreaterThanOrEqual, 153GreaterThanOrEqual => LessThanOrEqual,
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\UsePatternCombinators\CSharpUsePatternCombinatorsCodeFixProvider.cs (1)
42BinaryOperatorKind.LessThanOrEqual => SyntaxKind.LessThanEqualsToken,
Microsoft.CodeAnalysis.CSharp.Features (7)
ConvertIfToSwitch\CSharpConvertIfToSwitchCodeRefactoringProvider.Rewriting.cs (1)
27{ BinaryOperatorKind.LessThanOrEqual, SyntaxKind.LessThanEqualsToken },
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\AnalyzedPattern.cs (2)
176BinaryOperatorKind.GreaterThan => BinaryOperatorKind.LessThanOrEqual, 177BinaryOperatorKind.LessThanOrEqual => BinaryOperatorKind.GreaterThan,
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\CSharpUsePatternCombinatorsAnalyzer.cs (3)
130case LessThanOrEqual: 152LessThanOrEqual => GreaterThanOrEqual, 153GreaterThanOrEqual => LessThanOrEqual,
src\Analyzers\CSharp\CodeFixes\UsePatternCombinators\CSharpUsePatternCombinatorsCodeFixProvider.cs (1)
42BinaryOperatorKind.LessThanOrEqual => SyntaxKind.LessThanEqualsToken,
Microsoft.CodeAnalysis.Features (5)
ConvertIfToSwitch\AbstractConvertIfToSwitchCodeRefactoringProvider.Analyzer.cs (5)
392LessThanOrEqual when IsConstant(op.LeftOperand) => (BoundKind.Lower, op.RightOperand, op.LeftOperand), 394LessThanOrEqual when IsConstant(op.RightOperand) => (BoundKind.Higher, op.LeftOperand, op.RightOperand), 411LessThanOrEqual => GreaterThanOrEqual, 412GreaterThanOrEqual => LessThanOrEqual, 424case LessThanOrEqual:
Microsoft.CodeAnalysis.Test.Utilities (3)
Compilation\TestOperationVisitor.cs (1)
1376Operations.BinaryOperatorKind.LessThanOrEqual or
Diagnostics\OperationTestAnalyzer.cs (2)
205condition.OperatorKind == BinaryOperatorKind.LessThanOrEqual || 417case BinaryOperatorKind.LessThanOrEqual:
Microsoft.CodeAnalysis.VisualBasic.Features (1)
ConvertIfToSwitch\VisualBasicConvertIfToSwitchCodeRefactoringProvider.Rewriting.vb (1)
18{BinaryOperatorKind.LessThanOrEqual, (SyntaxKind.CaseLessThanOrEqualClause, SyntaxKind.LessThanEqualsToken)},
Microsoft.CodeAnalysis.Workspaces (5)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_Negate.cs (5)
26{ BinaryOperatorKind.GreaterThan, BinaryOperatorKind.LessThanOrEqual }, 27{ BinaryOperatorKind.LessThanOrEqual, BinaryOperatorKind.GreaterThan }, 160BinaryOperatorKind.LessThanOrEqual or 389BinaryOperatorKind.LessThanOrEqual => IsSpecialCaseBinaryExpression(binaryOperation, operationKind) 422BinaryOperatorKind.LessThanOrEqual when rightOperand.IsNumericLiteral()