101 references to LessThanExpression
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder_Expressions.cs (1)
607case SyntaxKind.LessThanExpression:
Binder\Binder_Operators.cs (3)
436case SyntaxKind.LessThanExpression: 597case SyntaxKind.LessThanExpression: 2214case SyntaxKind.LessThanExpression: return BinaryOperatorKind.LessThan;
Binder\EarlyWellKnownAttributeBinder.cs (1)
137case SyntaxKind.LessThanExpression:
Parser\LanguageParser.cs (1)
10108case SyntaxKind.LessThanExpression:
Syntax\SyntaxKindFacts.cs (1)
610return SyntaxKind.LessThanExpression;
Microsoft.CodeAnalysis.CSharp.CodeStyle (9)
CSharpAddRequiredExpressionParenthesesDiagnosticAnalyzer.cs (1)
41SyntaxKind.LessThanExpression,
ExpressionSyntaxExtensions.cs (1)
782case SyntaxKind.LessThanExpression:
ParenthesizedExpressionSyntaxExtensions.cs (6)
92if (expression.Kind() is SyntaxKind.GreaterThanExpression or SyntaxKind.LessThanExpression && 95var opposite = expression.IsKind(SyntaxKind.GreaterThanExpression) ? SyntaxKind.LessThanExpression : SyntaxKind.GreaterThanExpression; 555binaryExpression.Kind() is SyntaxKind.LessThanExpression or SyntaxKind.GreaterThanExpression && 558if (binaryExpression.IsKind(SyntaxKind.LessThanExpression)) 586else if (node.Expression.IsKind(SyntaxKind.LessThanExpression)) 629previousExpression is not BinaryExpressionSyntax(SyntaxKind.LessThanExpression) lessThanExpression)
UsePatternMatchingHelpers.cs (1)
68SyntaxKind.LessThanExpression or
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
CSharpAsAndMemberAccessCodeFixProvider.cs (1)
138SyntaxKind.LessThanExpression or
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs\SyntaxTreeExtensions.cs (1)
1007if (name.IsParentKind(SyntaxKind.LessThanExpression) &&
Microsoft.CodeAnalysis.CSharp.Features (10)
BraceCompletion\LessAndGreaterThanBraceCompletionService.cs (1)
54if (token.Parent is not BinaryExpressionSyntax(SyntaxKind.LessThanExpression) node || node.OperatorToken != token)
CodeRefactorings\UseRecursivePatterns\UseRecursivePatternsCodeRefactoringProvider.cs (2)
265LessThanExpression) e 324LessThanExpression) expr
ConvertForToForEach\CSharpConvertForToForEachCodeRefactoringProvider.cs (1)
50if (forStatement is { Declaration.Variables: [{ Initializer: not null } declarator], Condition.RawKind: (int)SyntaxKind.LessThanExpression, Incrementors.Count: 1 })
CSharpAddRequiredExpressionParenthesesDiagnosticAnalyzer.cs (1)
41SyntaxKind.LessThanExpression,
CSharpAsAndMemberAccessCodeFixProvider.cs (1)
138SyntaxKind.LessThanExpression or
Debugging\CSharpProximityExpressionsService_ExpressionTermCollector.cs (1)
369case SyntaxKind.LessThanExpression:
ReverseForStatement\CSharpReverseForStatementCodeRefactoringProvider.cs (2)
141if (condition.Kind() is SyntaxKind.LessThanExpression or 364var newOperatorKind = condition.Kind() is SyntaxKind.LessThanExpression or SyntaxKind.LessThanOrEqualExpression
UsePatternMatchingHelpers.cs (1)
68SyntaxKind.LessThanExpression or
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (64)
IncrementalParsing\BinaryExpression.cs (2)
120MakeBinOpChange(SyntaxKind.AddExpression, SyntaxKind.LessThanExpression); 257case SyntaxKind.LessThanExpression:
Parsing\ExpressionParsingTests.cs (10)
3873N(SyntaxKind.LessThanExpression); 3964N(SyntaxKind.LessThanExpression); 4054N(SyntaxKind.LessThanExpression); 4235N(SyntaxKind.LessThanExpression); 4334N(SyntaxKind.LessThanExpression); 4439N(SyntaxKind.LessThanExpression); 4538N(SyntaxKind.LessThanExpression); 4630N(SyntaxKind.LessThanExpression); 4722N(SyntaxKind.LessThanExpression); 4924N(SyntaxKind.LessThanExpression);
Parsing\FunctionPointerTests.cs (1)
1271N(SyntaxKind.LessThanExpression);
Parsing\ImplicitObjectCreationParsingTests.cs (1)
304[InlineData(SyntaxKind.LessThanExpression, SyntaxKind.LessThanToken)]
Parsing\LocalFunctionParsingTests.cs (1)
132N(SyntaxKind.LessThanExpression);
Parsing\ParserRegressionTests.cs (1)
698N(SyntaxKind.LessThanExpression);
Parsing\PatternParsingTests.cs (11)
277N(SyntaxKind.LessThanExpression); 621N(SyntaxKind.LessThanExpression); 651N(SyntaxKind.LessThanExpression); 855N(SyntaxKind.LessThanExpression); 7538N(SyntaxKind.LessThanExpression); 7540N(SyntaxKind.LessThanExpression); 7607N(SyntaxKind.LessThanExpression); 8928N(SyntaxKind.LessThanExpression); 8969N(SyntaxKind.LessThanExpression); 9010N(SyntaxKind.LessThanExpression); 9213N(SyntaxKind.LessThanExpression);
Parsing\ScriptParsingTests.cs (9)
4764N(SyntaxKind.LessThanExpression); 4813N(SyntaxKind.LessThanExpression); 6974N(SyntaxKind.LessThanExpression); 7993N(SyntaxKind.LessThanExpression); 9193N(SyntaxKind.LessThanExpression); 9251N(SyntaxKind.LessThanExpression); 9308N(SyntaxKind.LessThanExpression); 9365N(SyntaxKind.LessThanExpression); 9423N(SyntaxKind.LessThanExpression);
Parsing\TopLevelStatementsParsingTests.cs (2)
537N(SyntaxKind.LessThanExpression); 1483N(SyntaxKind.LessThanExpression);
Parsing\TypeArgumentListParsingTests.cs (24)
452N(SyntaxKind.LessThanExpression); 484N(SyntaxKind.LessThanExpression); 600N(SyntaxKind.LessThanExpression); 640N(SyntaxKind.LessThanExpression); 815N(SyntaxKind.LessThanExpression); 1060N(SyntaxKind.LessThanExpression); 1089N(SyntaxKind.LessThanExpression); 1199N(SyntaxKind.LessThanExpression); 1231N(SyntaxKind.LessThanExpression); 1341N(SyntaxKind.LessThanExpression); 1373N(SyntaxKind.LessThanExpression); 1700N(SyntaxKind.LessThanExpression); 1925N(SyntaxKind.LessThanExpression); 2321N(SyntaxKind.LessThanExpression); 2323N(SyntaxKind.LessThanExpression); 2422N(SyntaxKind.LessThanExpression); 2424N(SyntaxKind.LessThanExpression); 2426N(SyntaxKind.LessThanExpression); 2531N(SyntaxKind.LessThanExpression); 2533N(SyntaxKind.LessThanExpression); 2633N(SyntaxKind.LessThanExpression); 2635N(SyntaxKind.LessThanExpression); 2751N(SyntaxKind.LessThanExpression); 2753N(SyntaxKind.LessThanExpression);
Parsing\ValueTupleTests.cs (2)
923N(SyntaxKind.LessThanExpression); 987N(SyntaxKind.LessThanExpression);
Microsoft.CodeAnalysis.CSharp.Workspaces (9)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
3316=> CreateBinaryExpression(SyntaxKind.LessThanExpression, left, right);
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs\ExpressionSyntaxExtensions.cs (1)
782case SyntaxKind.LessThanExpression:
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs\SyntaxTreeExtensions.cs (1)
1007if (name.IsParentKind(SyntaxKind.LessThanExpression) &&
ParenthesizedExpressionSyntaxExtensions.cs (6)
92if (expression.Kind() is SyntaxKind.GreaterThanExpression or SyntaxKind.LessThanExpression && 95var opposite = expression.IsKind(SyntaxKind.GreaterThanExpression) ? SyntaxKind.LessThanExpression : SyntaxKind.GreaterThanExpression; 555binaryExpression.Kind() is SyntaxKind.LessThanExpression or SyntaxKind.GreaterThanExpression && 558if (binaryExpression.IsKind(SyntaxKind.LessThanExpression)) 586else if (node.Expression.IsKind(SyntaxKind.LessThanExpression)) 629previousExpression is not BinaryExpressionSyntax(SyntaxKind.LessThanExpression) lessThanExpression)