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