133 references to LessThanExpression
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder_Expressions.cs (1)
639
case SyntaxKind.
LessThanExpression
:
Binder\Binder_Operators.cs (3)
436
case SyntaxKind.
LessThanExpression
:
597
case SyntaxKind.
LessThanExpression
:
2250
case SyntaxKind.
LessThanExpression
: return BinaryOperatorKind.LessThan;
Binder\EarlyWellKnownAttributeBinder.cs (1)
137
case SyntaxKind.
LessThanExpression
:
Parser\LanguageParser.cs (1)
10789
case SyntaxKind.
LessThanExpression
:
Syntax\SyntaxKindFacts.cs (1)
638
return SyntaxKind.
LessThanExpression
;
Microsoft.CodeAnalysis.CSharp.CodeStyle (9)
src\Analyzers\CSharp\Analyzers\AddRequiredParentheses\CSharpAddRequiredExpressionParenthesesDiagnosticAnalyzer.cs (1)
42
SyntaxKind.
LessThanExpression
,
src\Analyzers\CSharp\Analyzers\UsePatternMatching\UsePatternMatchingHelpers.cs (1)
68
SyntaxKind.
LessThanExpression
or
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
765
case SyntaxKind.
LessThanExpression
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (6)
86
if (expression.Kind() is SyntaxKind.GreaterThanExpression or SyntaxKind.
LessThanExpression
&&
89
var opposite = expression.IsKind(SyntaxKind.GreaterThanExpression) ? SyntaxKind.
LessThanExpression
: SyntaxKind.GreaterThanExpression;
565
binaryExpression.Kind() is SyntaxKind.
LessThanExpression
or SyntaxKind.GreaterThanExpression &&
568
if (binaryExpression.IsKind(SyntaxKind.
LessThanExpression
))
596
else if (node.Expression.IsKind(SyntaxKind.
LessThanExpression
))
639
previousExpression is not BinaryExpressionSyntax(SyntaxKind.
LessThanExpression
) lessThanExpression)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\Analyzers\CSharp\CodeFixes\UsePatternMatching\CSharpAsAndMemberAccessCodeFixProvider.cs (1)
147
SyntaxKind.
LessThanExpression
or
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
1007
if (name.IsParentKind(SyntaxKind.
LessThanExpression
) &&
Microsoft.CodeAnalysis.CSharp.Features (11)
BraceCompletion\LessAndGreaterThanBraceCompletionService.cs (1)
50
if (token.Parent is not BinaryExpressionSyntax(SyntaxKind.
LessThanExpression
) node || node.OperatorToken != token)
CodeRefactorings\UseRecursivePatterns\UseRecursivePatternsCodeRefactoringProvider.cs (2)
283
LessThanExpression
) e
342
LessThanExpression
) expr
ConvertForToForEach\CSharpConvertForToForEachCodeRefactoringProvider.cs (1)
52
if (forStatement is { Declaration.Variables: [{ Initializer: not null } declarator], Condition.RawKind: (int)SyntaxKind.
LessThanExpression
, Incrementors.Count: 1 })
Debugging\CSharpProximityExpressionsService_ExpressionTermCollector.cs (1)
368
case SyntaxKind.
LessThanExpression
:
ReverseForStatement\CSharpReverseForStatementCodeRefactoringProvider.cs (2)
143
if (condition.Kind() is SyntaxKind.
LessThanExpression
or
366
var newOperatorKind = condition.Kind() is SyntaxKind.
LessThanExpression
or SyntaxKind.LessThanOrEqualExpression
Snippets\CSharpForLoopSnippetProvider.cs (1)
25
protected override SyntaxKind ConditionKind => SyntaxKind.
LessThanExpression
;
src\Analyzers\CSharp\Analyzers\AddRequiredParentheses\CSharpAddRequiredExpressionParenthesesDiagnosticAnalyzer.cs (1)
42
SyntaxKind.
LessThanExpression
,
src\Analyzers\CSharp\Analyzers\UsePatternMatching\UsePatternMatchingHelpers.cs (1)
68
SyntaxKind.
LessThanExpression
or
src\Analyzers\CSharp\CodeFixes\UsePatternMatching\CSharpAsAndMemberAccessCodeFixProvider.cs (1)
147
SyntaxKind.
LessThanExpression
or
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (94)
IncrementalParsing\BinaryExpression.cs (2)
120
MakeBinOpChange(SyntaxKind.AddExpression, SyntaxKind.
LessThanExpression
);
257
case SyntaxKind.
LessThanExpression
:
Parsing\CollectionExpressionParsingTests.cs (2)
4939
N(SyntaxKind.
LessThanExpression
);
7296
N(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\ForStatementParsingTest.cs (5)
55
N(SyntaxKind.
LessThanExpression
);
117
N(SyntaxKind.
LessThanExpression
);
182
N(SyntaxKind.
LessThanExpression
);
348
N(SyntaxKind.
LessThanExpression
);
422
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\MemberDeclarationParsingTests.cs (16)
16008
N(SyntaxKind.
LessThanExpression
);
16114
N(SyntaxKind.
LessThanExpression
);
16116
N(SyntaxKind.
LessThanExpression
);
16256
N(SyntaxKind.
LessThanExpression
);
16409
N(SyntaxKind.
LessThanExpression
);
16411
N(SyntaxKind.
LessThanExpression
);
16549
N(SyntaxKind.
LessThanExpression
);
16670
N(SyntaxKind.
LessThanExpression
);
16672
N(SyntaxKind.
LessThanExpression
);
16832
N(SyntaxKind.
LessThanExpression
);
17013
N(SyntaxKind.
LessThanExpression
);
17015
N(SyntaxKind.
LessThanExpression
);
18187
N(SyntaxKind.
LessThanExpression
);
18288
N(SyntaxKind.
LessThanExpression
);
18386
N(SyntaxKind.
LessThanExpression
);
18671
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
);
7499
N(SyntaxKind.
LessThanExpression
);
7501
N(SyntaxKind.
LessThanExpression
);
7568
N(SyntaxKind.
LessThanExpression
);
8889
N(SyntaxKind.
LessThanExpression
);
8930
N(SyntaxKind.
LessThanExpression
);
8971
N(SyntaxKind.
LessThanExpression
);
9174
N(SyntaxKind.
LessThanExpression
);
Parsing\PatternParsingTests2.cs (8)
960
N(SyntaxKind.
LessThanExpression
);
994
N(SyntaxKind.
LessThanExpression
);
1051
N(SyntaxKind.
LessThanExpression
);
1085
N(SyntaxKind.
LessThanExpression
);
1198
N(SyntaxKind.
LessThanExpression
);
1242
N(SyntaxKind.
LessThanExpression
);
1271
N(SyntaxKind.
LessThanExpression
);
1302
N(SyntaxKind.
LessThanExpression
);
Parsing\ScriptParsingTests.cs (8)
4764
N(SyntaxKind.
LessThanExpression
);
4813
N(SyntaxKind.
LessThanExpression
);
6974
N(SyntaxKind.
LessThanExpression
);
7993
N(SyntaxKind.
LessThanExpression
);
9193
N(SyntaxKind.
LessThanExpression
);
9304
N(SyntaxKind.
LessThanExpression
);
9361
N(SyntaxKind.
LessThanExpression
);
9419
N(SyntaxKind.
LessThanExpression
);
Parsing\TopLevelStatementsParsingTests.cs (2)
537
N(SyntaxKind.
LessThanExpression
);
1483
N(SyntaxKind.
LessThanExpression
);
Parsing\TypeArgumentListParsingTests.cs (24)
450
N(SyntaxKind.
LessThanExpression
);
482
N(SyntaxKind.
LessThanExpression
);
598
N(SyntaxKind.
LessThanExpression
);
638
N(SyntaxKind.
LessThanExpression
);
813
N(SyntaxKind.
LessThanExpression
);
1058
N(SyntaxKind.
LessThanExpression
);
1087
N(SyntaxKind.
LessThanExpression
);
1197
N(SyntaxKind.
LessThanExpression
);
1229
N(SyntaxKind.
LessThanExpression
);
1339
N(SyntaxKind.
LessThanExpression
);
1371
N(SyntaxKind.
LessThanExpression
);
1698
N(SyntaxKind.
LessThanExpression
);
1923
N(SyntaxKind.
LessThanExpression
);
2319
N(SyntaxKind.
LessThanExpression
);
2321
N(SyntaxKind.
LessThanExpression
);
2420
N(SyntaxKind.
LessThanExpression
);
2422
N(SyntaxKind.
LessThanExpression
);
2424
N(SyntaxKind.
LessThanExpression
);
2529
N(SyntaxKind.
LessThanExpression
);
2531
N(SyntaxKind.
LessThanExpression
);
2631
N(SyntaxKind.
LessThanExpression
);
2633
N(SyntaxKind.
LessThanExpression
);
2749
N(SyntaxKind.
LessThanExpression
);
2751
N(SyntaxKind.
LessThanExpression
);
Parsing\ValueTupleTests.cs (2)
923
N(SyntaxKind.
LessThanExpression
);
987
N(SyntaxKind.
LessThanExpression
);
Microsoft.CodeAnalysis.CSharp.Workspaces (9)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
3298
=> CreateBinaryExpression(SyntaxKind.
LessThanExpression
, left, right);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
765
case SyntaxKind.
LessThanExpression
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (6)
86
if (expression.Kind() is SyntaxKind.GreaterThanExpression or SyntaxKind.
LessThanExpression
&&
89
var opposite = expression.IsKind(SyntaxKind.GreaterThanExpression) ? SyntaxKind.
LessThanExpression
: SyntaxKind.GreaterThanExpression;
565
binaryExpression.Kind() is SyntaxKind.
LessThanExpression
or SyntaxKind.GreaterThanExpression &&
568
if (binaryExpression.IsKind(SyntaxKind.
LessThanExpression
))
596
else if (node.Expression.IsKind(SyntaxKind.
LessThanExpression
))
639
previousExpression is not BinaryExpressionSyntax(SyntaxKind.
LessThanExpression
) lessThanExpression)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
1007
if (name.IsParentKind(SyntaxKind.
LessThanExpression
) &&
Microsoft.Interop.SourceGeneration (1)
Utils\SyntaxFactoryExtensions.cs (1)
134
SyntaxKind.
LessThanExpression
,