84 references to LessThanOrEqual
Microsoft.CodeAnalysis.CSharp (84)
Binder\Binder_Operators.cs (3)
1299case BinaryOperatorKind.LessThanOrEqual: 1756case BinaryOperatorKind.LessThanOrEqual: 2247case SyntaxKind.LessThanOrEqualExpression: return BinaryOperatorKind.LessThanOrEqual;
Binder\Binder_Patterns.cs (1)
1681SyntaxKind.LessThanEqualsToken => BinaryOperatorKind.LessThanOrEqual,
Binder\DecisionDagBuilder.cs (2)
1756BinaryOperatorKind.LessThanOrEqual => "<=", 2255var possibleValues = fac.Related(BinaryOperatorKind.LessThanOrEqual, int.MaxValue - offset);
Binder\Semantics\Operators\BinaryOperatorOverloadResolution.cs (5)
344case BinaryOperatorKind.LessThanOrEqual: 526case BinaryOperatorKind.LessThanOrEqual: 581case BinaryOperatorKind.LessThanOrEqual: 651case BinaryOperatorKind.LessThanOrEqual: 1045case BinaryOperatorKind.LessThanOrEqual:
Binder\Semantics\Operators\OperatorFacts.cs (1)
200case BinaryOperatorKind.LessThanOrEqual: return WellKnownMemberNames.LessThanOrEqualOperatorName;
Binder\Semantics\Operators\OperatorKind.cs (24)
653IntLessThanOrEqual = Int | LessThanOrEqual, 654UIntLessThanOrEqual = UInt | LessThanOrEqual, 655LongLessThanOrEqual = Long | LessThanOrEqual, 656ULongLessThanOrEqual = ULong | LessThanOrEqual, 657NIntLessThanOrEqual = NInt | LessThanOrEqual, 658NUIntLessThanOrEqual = NUInt | LessThanOrEqual, 659FloatLessThanOrEqual = Float | LessThanOrEqual, 660DoubleLessThanOrEqual = Double | LessThanOrEqual, 661DecimalLessThanOrEqual = Decimal | LessThanOrEqual, 662EnumLessThanOrEqual = Enum | LessThanOrEqual, 663UserDefinedLessThanOrEqual = UserDefined | LessThanOrEqual, 664LiftedIntLessThanOrEqual = Lifted | Int | LessThanOrEqual, 665LiftedUIntLessThanOrEqual = Lifted | UInt | LessThanOrEqual, 666LiftedLongLessThanOrEqual = Lifted | Long | LessThanOrEqual, 667LiftedULongLessThanOrEqual = Lifted | ULong | LessThanOrEqual, 668LiftedNIntLessThanOrEqual = Lifted | NInt | LessThanOrEqual, 669LiftedNUIntLessThanOrEqual = Lifted | NUInt | LessThanOrEqual, 670LiftedFloatLessThanOrEqual = Lifted | Float | LessThanOrEqual, 671LiftedDoubleLessThanOrEqual = Lifted | Double | LessThanOrEqual, 672LiftedDecimalLessThanOrEqual = Lifted | Decimal | LessThanOrEqual, 673LiftedEnumLessThanOrEqual = Lifted | Enum | LessThanOrEqual, 674LiftedUserDefinedLessThanOrEqual = Lifted | UserDefined | LessThanOrEqual, 675PointerLessThanOrEqual = Pointer | LessThanOrEqual, 676DynamicLessThanOrEqual = Dynamic | LessThanOrEqual,
Binder\Semantics\Operators\OperatorKindExtensions.cs (2)
209case BinaryOperatorKind.LessThanOrEqual: 370case BinaryOperatorKind.LessThanOrEqual: return ExpressionType.LessThanOrEqual;
BoundTree\BoundDagTest.cs (1)
95BinaryOperatorKind.LessThanOrEqual => "<=",
CodeGen\EmitOperators.cs (2)
423case BinaryOperatorKind.LessThanOrEqual: 821case BinaryOperatorKind.LessThanOrEqual:
CodeGen\EmitStatement.cs (2)
317case BinaryOperatorKind.LessThanOrEqual: 510case BinaryOperatorKind.LessThanOrEqual:
Compilation\BuiltInOperators.cs (1)
732case BinaryOperatorKind.LessThanOrEqual:
Compilation\CSharpCompilation.cs (2)
4307BinaryOperatorKind.LessThanOrEqual && 4362BinaryOperatorKind.LessThanOrEqual &&
FlowAnalysis\NullableWalker.cs (2)
5176&& operatorKind.Operator() is BinaryOperatorKind.GreaterThan or BinaryOperatorKind.GreaterThanOrEqual or BinaryOperatorKind.LessThan or BinaryOperatorKind.LessThanOrEqual) 5266case BinaryOperatorKind.LessThanOrEqual:
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
465case BinaryOperatorKind.LessThanOrEqual:
Lowering\DiagnosticsPass_Warnings.cs (1)
792case BinaryOperatorKind.LessThanOrEqual:
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (2)
732_fac.Related(BinaryOperatorKind.LessThanOrEqual, x, y) ? 733(_fac.Related(BinaryOperatorKind.LessThanOrEqual, y, x) ? 0 : -1) :
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.ValueDispatchNode.cs (1)
63/// For <see cref="BinaryOperatorKind.LessThan"/> and <see cref="BinaryOperatorKind.LessThanOrEqual"/>,
Operations\CSharpOperationFactory_Methods.cs (1)
587case CSharp.BinaryOperatorKind.LessThanOrEqual:
Utilities\IValueSet.cs (1)
36/// <see cref="BinaryOperatorKind.LessThan"/>, <see cref="BinaryOperatorKind.LessThanOrEqual"/>, <see cref="BinaryOperatorKind.GreaterThan"/>, and
Utilities\ValueSetFactory.ByteTC.cs (1)
34case LessThanOrEqual:
Utilities\ValueSetFactory.CharTC.cs (1)
34case LessThanOrEqual:
Utilities\ValueSetFactory.DecimalTC.cs (1)
99case LessThanOrEqual:
Utilities\ValueSetFactory.DoubleTC.cs (1)
74case LessThanOrEqual:
Utilities\ValueSetFactory.FloatingValueSet.cs (1)
77case BinaryOperatorKind.LessThanOrEqual:
Utilities\ValueSetFactory.IntTC.cs (1)
44case LessThanOrEqual:
Utilities\ValueSetFactory.LongTC.cs (1)
34case LessThanOrEqual:
Utilities\ValueSetFactory.NintValueSet.cs (2)
67if (_hasLarge && relation switch { LessThan => true, LessThanOrEqual => true, _ => false }) 78if (_hasSmall && relation switch { LessThan => true, LessThanOrEqual => true, _ => false })
Utilities\ValueSetFactory.NintValueSetFactory.cs (1)
26hasSmall: relation switch { LessThan => true, LessThanOrEqual => true, _ => false },
Utilities\ValueSetFactory.NonNegativeIntValueSetFactory.cs (1)
34case LessThanOrEqual:
Utilities\ValueSetFactory.NuintValueSet.cs (1)
58if (_hasLarge && relation switch { LessThan => true, LessThanOrEqual => true, _ => false })
Utilities\ValueSetFactory.NumericValueSet.cs (9)
33Debug.Assert(tc.Related(LessThanOrEqual, first, last)); 42Debug.Assert(tc.Related(LessThanOrEqual, intervals[i].first, intervals[i].last)); 77case LessThanOrEqual: 96return _tc.Related(GreaterThanOrEqual, value, _intervals[lastIntervalIndex].first) && _tc.Related(LessThanOrEqual, value, _intervals[lastIntervalIndex].last); 99if (_tc.Related(LessThanOrEqual, value, _intervals[midIndex].last)) 117case LessThanOrEqual: 211Debug.Assert(tc.Related(LessThanOrEqual, first, last)); 213Debug.Assert(tc.Related(LessThanOrEqual, last, tc.MaxValue)); 214Debug.Assert(builder.Count == 0 || tc.Related(LessThanOrEqual, builder.Last().first, first));
Utilities\ValueSetFactory.NumericValueSetFactory.cs (2)
34if (_tc.Related(LessThanOrEqual, value, _tc.MinValue)) 37case LessThanOrEqual:
Utilities\ValueSetFactory.SByteTC.cs (1)
33case LessThanOrEqual:
Utilities\ValueSetFactory.ShortTC.cs (1)
34case LessThanOrEqual:
Utilities\ValueSetFactory.SingleTC.cs (1)
78case LessThanOrEqual:
Utilities\ValueSetFactory.UIntTC.cs (1)
34case LessThanOrEqual:
Utilities\ValueSetFactory.ULongTC.cs (1)
34case LessThanOrEqual:
Utilities\ValueSetFactory.UShortTC.cs (1)
34case LessThanOrEqual: