73 references to GreaterThanExpression
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder_Expressions.cs (1)
638
case SyntaxKind.
GreaterThanExpression
:
Binder\Binder_Operators.cs (3)
435
case SyntaxKind.
GreaterThanExpression
:
599
case SyntaxKind.
GreaterThanExpression
:
2244
case SyntaxKind.
GreaterThanExpression
: return BinaryOperatorKind.GreaterThan;
Binder\EarlyWellKnownAttributeBinder.cs (1)
136
case SyntaxKind.
GreaterThanExpression
:
Parser\LanguageParser.cs (1)
10726
case SyntaxKind.
GreaterThanExpression
:
Syntax\SyntaxKindFacts.cs (1)
642
return SyntaxKind.
GreaterThanExpression
;
Microsoft.CodeAnalysis.CSharp.CodeStyle (10)
src\Analyzers\CSharp\Analyzers\AddRequiredParentheses\CSharpAddRequiredExpressionParenthesesDiagnosticAnalyzer.cs (1)
44
SyntaxKind.
GreaterThanExpression
,
src\Analyzers\CSharp\Analyzers\UsePatternMatching\UsePatternMatchingHelpers.cs (1)
66
SyntaxKind.
GreaterThanExpression
or
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
765
case SyntaxKind.
GreaterThanExpression
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (7)
86
if (expression.Kind() is SyntaxKind.
GreaterThanExpression
or SyntaxKind.LessThanExpression &&
89
var opposite = expression.IsKind(SyntaxKind.
GreaterThanExpression
) ? SyntaxKind.LessThanExpression : SyntaxKind.
GreaterThanExpression
;
544
binaryExpression.Kind() is SyntaxKind.LessThanExpression or SyntaxKind.
GreaterThanExpression
&&
560
else if (binaryExpression.IsKind(SyntaxKind.
GreaterThanExpression
))
582
else if (node.Expression.IsKind(SyntaxKind.
GreaterThanExpression
))
653
nextExpression is not BinaryExpressionSyntax(SyntaxKind.
GreaterThanExpression
) greaterThanExpression)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\UsePatternMatching\CSharpAsAndMemberAccessCodeFixProvider.cs (1)
131
SyntaxKind.
GreaterThanExpression
or
Microsoft.CodeAnalysis.CSharp.Features (7)
CodeRefactorings\UseRecursivePatterns\UseRecursivePatternsCodeRefactoringProvider.cs (2)
280
BinaryExpressionSyntax(
GreaterThanExpression
or
339
GreaterThanExpression
or
Debugging\CSharpProximityExpressionsService_ExpressionTermCollector.cs (1)
370
case SyntaxKind.
GreaterThanExpression
:
ReverseForStatement\CSharpReverseForStatementCodeRefactoringProvider.cs (1)
152
if (condition.Kind() is SyntaxKind.
GreaterThanExpression
or
src\Analyzers\CSharp\Analyzers\AddRequiredParentheses\CSharpAddRequiredExpressionParenthesesDiagnosticAnalyzer.cs (1)
44
SyntaxKind.
GreaterThanExpression
,
src\Analyzers\CSharp\Analyzers\UsePatternMatching\UsePatternMatchingHelpers.cs (1)
66
SyntaxKind.
GreaterThanExpression
or
src\Analyzers\CSharp\CodeFixes\UsePatternMatching\CSharpAsAndMemberAccessCodeFixProvider.cs (1)
131
SyntaxKind.
GreaterThanExpression
or
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Compilation\GetSemanticInfoTests.cs (1)
1140
Assert.Equal(SyntaxKind.
GreaterThanExpression
, expr.Kind());
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (37)
IncrementalParsing\BinaryExpression.cs (2)
132
MakeBinOpChange(SyntaxKind.AddExpression, SyntaxKind.
GreaterThanExpression
);
261
case SyntaxKind.
GreaterThanExpression
:
Parsing\CollectionExpressionParsingTests.cs (1)
4937
N(SyntaxKind.
GreaterThanExpression
);
Parsing\ExpressionParsingTests.cs (6)
4141
N(SyntaxKind.
GreaterThanExpression
);
4332
N(SyntaxKind.
GreaterThanExpression
);
4437
N(SyntaxKind.
GreaterThanExpression
);
6639
N(SyntaxKind.
GreaterThanExpression
);
6674
N(SyntaxKind.
GreaterThanExpression
);
6734
N(SyntaxKind.
GreaterThanExpression
);
Parsing\FunctionPointerTests.cs (1)
1269
N(SyntaxKind.
GreaterThanExpression
);
Parsing\ImplicitObjectCreationParsingTests.cs (1)
306
[InlineData(SyntaxKind.
GreaterThanExpression
, SyntaxKind.GreaterThanToken)]
Parsing\LambdaParameterParsingTests.cs (8)
1016
N(SyntaxKind.
GreaterThanExpression
);
1409
N(SyntaxKind.
GreaterThanExpression
);
1473
N(SyntaxKind.
GreaterThanExpression
);
1537
N(SyntaxKind.
GreaterThanExpression
);
1705
N(SyntaxKind.
GreaterThanExpression
);
1773
N(SyntaxKind.
GreaterThanExpression
);
1897
N(SyntaxKind.
GreaterThanExpression
);
4702
N(SyntaxKind.
GreaterThanExpression
);
Parsing\ParserRegressionTests.cs (1)
696
N(SyntaxKind.
GreaterThanExpression
);
Parsing\PatternParsingTests.cs (2)
275
N(SyntaxKind.
GreaterThanExpression
);
520
N(SyntaxKind.
GreaterThanExpression
);
Parsing\PatternParsingTests_ListPatterns.cs (1)
1033
N(SyntaxKind.
GreaterThanExpression
);
Parsing\ScriptParsingTests.cs (1)
8009
N(SyntaxKind.
GreaterThanExpression
);
Parsing\StatementParsingTests.cs (3)
5641
N(SyntaxKind.
GreaterThanExpression
);
5711
N(SyntaxKind.
GreaterThanExpression
);
5786
N(SyntaxKind.
GreaterThanExpression
);
Parsing\SwitchExpressionParsingTests.cs (6)
4484
N(SyntaxKind.
GreaterThanExpression
);
4545
N(SyntaxKind.
GreaterThanExpression
);
4607
N(SyntaxKind.
GreaterThanExpression
);
4672
N(SyntaxKind.
GreaterThanExpression
);
4739
N(SyntaxKind.
GreaterThanExpression
);
4809
N(SyntaxKind.
GreaterThanExpression
);
Parsing\TopLevelStatementsParsingTests.cs (1)
907
N(SyntaxKind.
GreaterThanExpression
);
Parsing\TypeArgumentListParsingTests.cs (1)
1923
N(SyntaxKind.
GreaterThanExpression
);
Parsing\ValueTupleTests.cs (2)
939
N(SyntaxKind.
GreaterThanExpression
);
1005
N(SyntaxKind.
GreaterThanExpression
);
Microsoft.CodeAnalysis.CSharp.Workspaces (10)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
3323
=> CreateBinaryExpression(SyntaxKind.
GreaterThanExpression
, left, right);
Simplification\CSharpSimplificationService.Expander.cs (1)
362
if ((node.Kind() == SyntaxKind.
GreaterThanExpression
|| node.Kind() == SyntaxKind.RightShiftExpression) && !node.IsParentKind(SyntaxKind.ParenthesizedExpression))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
765
case SyntaxKind.
GreaterThanExpression
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (7)
86
if (expression.Kind() is SyntaxKind.
GreaterThanExpression
or SyntaxKind.LessThanExpression &&
89
var opposite = expression.IsKind(SyntaxKind.
GreaterThanExpression
) ? SyntaxKind.LessThanExpression : SyntaxKind.
GreaterThanExpression
;
544
binaryExpression.Kind() is SyntaxKind.LessThanExpression or SyntaxKind.
GreaterThanExpression
&&
560
else if (binaryExpression.IsKind(SyntaxKind.
GreaterThanExpression
))
582
else if (node.Expression.IsKind(SyntaxKind.
GreaterThanExpression
))
653
nextExpression is not BinaryExpressionSyntax(SyntaxKind.
GreaterThanExpression
) greaterThanExpression)