78 references to GreaterThan
Microsoft.CodeAnalysis.CSharp (78)
Binder\Binder_Operators.cs (3)
1296case BinaryOperatorKind.GreaterThan: 1757case BinaryOperatorKind.GreaterThan: 2244case SyntaxKind.GreaterThanExpression: return BinaryOperatorKind.GreaterThan;
Binder\Binder_Patterns.cs (1)
1683SyntaxKind.GreaterThanToken => BinaryOperatorKind.GreaterThan,
Binder\DecisionDagBuilder.cs (1)
1757BinaryOperatorKind.GreaterThan => ">",
Binder\PatternExplainer.cs (2)
676if (remainingValues.Any(BinaryOperatorKind.GreaterThan, ConstantValue.Create(int.MaxValue))) 684if (remainingValues.Any(BinaryOperatorKind.GreaterThan, ConstantValue.Create(uint.MaxValue)))
Binder\Semantics\Operators\BinaryOperatorOverloadResolution.cs (6)
341case BinaryOperatorKind.GreaterThan: 523case BinaryOperatorKind.GreaterThan: 578case BinaryOperatorKind.GreaterThan: 648case BinaryOperatorKind.GreaterThan: 1041goto case BinaryOperatorKind.GreaterThan; 1042case BinaryOperatorKind.GreaterThan:
Binder\Semantics\Operators\OperatorFacts.cs (1)
196case BinaryOperatorKind.GreaterThan: return WellKnownMemberNames.GreaterThanOperatorName;
Binder\Semantics\Operators\OperatorKind.cs (24)
628IntGreaterThan = Int | GreaterThan, 629UIntGreaterThan = UInt | GreaterThan, 630LongGreaterThan = Long | GreaterThan, 631ULongGreaterThan = ULong | GreaterThan, 632NIntGreaterThan = NInt | GreaterThan, 633NUIntGreaterThan = NUInt | GreaterThan, 634FloatGreaterThan = Float | GreaterThan, 635DoubleGreaterThan = Double | GreaterThan, 636DecimalGreaterThan = Decimal | GreaterThan, 637EnumGreaterThan = Enum | GreaterThan, 638UserDefinedGreaterThan = UserDefined | GreaterThan, 639LiftedIntGreaterThan = Lifted | Int | GreaterThan, 640LiftedUIntGreaterThan = Lifted | UInt | GreaterThan, 641LiftedLongGreaterThan = Lifted | Long | GreaterThan, 642LiftedULongGreaterThan = Lifted | ULong | GreaterThan, 643LiftedNIntGreaterThan = Lifted | NInt | GreaterThan, 644LiftedNUIntGreaterThan = Lifted | NUInt | GreaterThan, 645LiftedFloatGreaterThan = Lifted | Float | GreaterThan, 646LiftedDoubleGreaterThan = Lifted | Double | GreaterThan, 647LiftedDecimalGreaterThan = Lifted | Decimal | GreaterThan, 648LiftedEnumGreaterThan = Lifted | Enum | GreaterThan, 649LiftedUserDefinedGreaterThan = Lifted | UserDefined | GreaterThan, 650PointerGreaterThan = Pointer | GreaterThan, 651DynamicGreaterThan = Dynamic | GreaterThan,
Binder\Semantics\Operators\OperatorKindExtensions.cs (2)
206case BinaryOperatorKind.GreaterThan: 367case BinaryOperatorKind.GreaterThan: return ExpressionType.GreaterThan;
BoundTree\BoundDagTest.cs (1)
96BinaryOperatorKind.GreaterThan => ">",
CodeGen\EmitOperators.cs (2)
428case BinaryOperatorKind.GreaterThan: 822case BinaryOperatorKind.GreaterThan:
CodeGen\EmitStatement.cs (2)
321case BinaryOperatorKind.GreaterThan: 511case BinaryOperatorKind.GreaterThan:
Compilation\BuiltInOperators.cs (1)
729case BinaryOperatorKind.GreaterThan:
Compilation\CSharpCompilation.cs (2)
4309BinaryOperatorKind.GreaterThan or 4364BinaryOperatorKind.GreaterThan or
FlowAnalysis\NullableWalker.cs (2)
5176&& operatorKind.Operator() is BinaryOperatorKind.GreaterThan or BinaryOperatorKind.GreaterThanOrEqual or BinaryOperatorKind.LessThan or BinaryOperatorKind.LessThanOrEqual) 5263case BinaryOperatorKind.GreaterThan:
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
469case BinaryOperatorKind.GreaterThan:
Lowering\DiagnosticsPass_Warnings.cs (1)
793case BinaryOperatorKind.GreaterThan:
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.ValueDispatchNode.cs (2)
65/// is <see cref="Right"/>; for <see cref="BinaryOperatorKind.GreaterThan"/> and 100private static bool IsReversed(BinaryOperatorKind op) => op.Operator() switch { BinaryOperatorKind.GreaterThan => true, BinaryOperatorKind.GreaterThanOrEqual => true, _ => false };
Operations\CSharpOperationFactory_Methods.cs (1)
599case CSharp.BinaryOperatorKind.GreaterThan:
Utilities\IValueSet.cs (1)
36/// <see cref="BinaryOperatorKind.LessThan"/>, <see cref="BinaryOperatorKind.LessThanOrEqual"/>, <see cref="BinaryOperatorKind.GreaterThan"/>, and
Utilities\ValueSetFactory.ByteTC.cs (1)
32case GreaterThan:
Utilities\ValueSetFactory.CharTC.cs (1)
32case GreaterThan:
Utilities\ValueSetFactory.DecimalTC.cs (1)
97case GreaterThan:
Utilities\ValueSetFactory.DoubleTC.cs (1)
72case GreaterThan:
Utilities\ValueSetFactory.FloatingValueSet.cs (1)
85case BinaryOperatorKind.GreaterThan:
Utilities\ValueSetFactory.IntTC.cs (1)
42case GreaterThan:
Utilities\ValueSetFactory.LongTC.cs (1)
32case GreaterThan:
Utilities\ValueSetFactory.NintValueSet.cs (2)
69if (_hasSmall && relation switch { GreaterThan => true, GreaterThanOrEqual => true, _ => false }) 80if (_hasLarge && relation switch { GreaterThan => true, GreaterThanOrEqual => true, _ => false })
Utilities\ValueSetFactory.NintValueSetFactory.cs (1)
28hasLarge: relation switch { GreaterThan => true, GreaterThanOrEqual => true, _ => false }
Utilities\ValueSetFactory.NonNegativeIntValueSetFactory.cs (1)
38case GreaterThan:
Utilities\ValueSetFactory.NuintValueSet.cs (1)
67if (_hasLarge && relation switch { GreaterThan => true, GreaterThanOrEqual => true, _ => false })
Utilities\ValueSetFactory.NuintValueSetFactory.cs (1)
27hasLarge: relation switch { GreaterThan => true, GreaterThanOrEqual => true, _ => false }
Utilities\ValueSetFactory.NumericValueSet.cs (2)
79case GreaterThan: 119case GreaterThan:
Utilities\ValueSetFactory.NumericValueSetFactory.cs (1)
39case GreaterThan:
Utilities\ValueSetFactory.SByteTC.cs (1)
31case GreaterThan:
Utilities\ValueSetFactory.ShortTC.cs (1)
32case GreaterThan:
Utilities\ValueSetFactory.SingleTC.cs (1)
76case GreaterThan:
Utilities\ValueSetFactory.UIntTC.cs (1)
32case GreaterThan:
Utilities\ValueSetFactory.ULongTC.cs (1)
32case GreaterThan:
Utilities\ValueSetFactory.UShortTC.cs (1)
32case GreaterThan: