49 references to LessThanEqualsToken
Microsoft.CodeAnalysis.CSharp (13)
Binder\Binder_Patterns.cs (1)
1681
SyntaxKind.
LessThanEqualsToken
=> BinaryOperatorKind.LessThanOrEqual,
Binder\Semantics\Operators\OperatorFacts.cs (1)
83
case SyntaxKind.
LessThanEqualsToken
: return WellKnownMemberNames.LessThanOrEqualOperatorName;
Parser\LanguageParser.cs (2)
5932
case SyntaxKind.
LessThanEqualsToken
: // e.g. `e is A<B> <= C`
12625
case SyntaxKind.
LessThanEqualsToken
:
Parser\LanguageParser_Patterns.cs (3)
203
case SyntaxKind.
LessThanEqualsToken
:
405
case SyntaxKind.
LessThanEqualsToken
:
534
SyntaxKind.
LessThanEqualsToken
or
Parser\Lexer.cs (2)
615
TextWindow.TryAdvance('=') ? SyntaxKind.
LessThanEqualsToken
:
3749
if (AdvanceIfMatches('=')) info.Kind = SyntaxKind.
LessThanEqualsToken
;
Syntax\SyntaxKindFacts.cs (4)
503
case SyntaxKind.
LessThanEqualsToken
:
639
case SyntaxKind.
LessThanEqualsToken
:
1060
case WellKnownMemberNames.LessThanOrEqualOperatorName: return SyntaxKind.
LessThanEqualsToken
;
1463
case SyntaxKind.
LessThanEqualsToken
:
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
49
public static readonly SyntaxToken LessThanEqualsToken = Token(SyntaxKind.
LessThanEqualsToken
);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
419
case SyntaxKind.
LessThanEqualsToken
:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (4)
src\Analyzers\CSharp\CodeFixes\UsePatternCombinators\CSharpUsePatternCombinatorsCodeFixProvider.cs (1)
42
BinaryOperatorKind.LessThanOrEqual => SyntaxKind.
LessThanEqualsToken
,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpDeclarationComparer.cs (1)
56
{ SyntaxKind.
LessThanEqualsToken
, 18 },
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
1447
if (leftToken.Kind() is SyntaxKind.GreaterThanToken or SyntaxKind.GreaterThanEqualsToken or SyntaxKind.LessThanToken or SyntaxKind.
LessThanEqualsToken
&&
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
1030
case SyntaxKind.
LessThanEqualsToken
:
Microsoft.CodeAnalysis.CSharp.Features (5)
CodeRefactorings\UseRecursivePatterns\UseRecursivePatternsCodeRefactoringProvider.cs (2)
295
LessThanEqualsToken
=> GreaterThanEqualsToken,
296
GreaterThanEqualsToken =>
LessThanEqualsToken
,
ConvertIfToSwitch\CSharpConvertIfToSwitchCodeRefactoringProvider.Rewriting.cs (1)
27
{ BinaryOperatorKind.LessThanOrEqual, SyntaxKind.
LessThanEqualsToken
},
ReverseForStatement\CSharpReverseForStatementCodeRefactoringProvider.cs (1)
368
: SyntaxKind.
LessThanEqualsToken
;
src\Analyzers\CSharp\CodeFixes\UsePatternCombinators\CSharpUsePatternCombinatorsCodeFixProvider.cs (1)
42
BinaryOperatorKind.LessThanOrEqual => SyntaxKind.
LessThanEqualsToken
,
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (19)
LexicalAndXml\CrefLexerTests.cs (3)
261
AssertTokens("<=", Token(SyntaxKind.
LessThanEqualsToken
, "<=", "<="));
262
AssertTokens("<=", Token(SyntaxKind.
LessThanEqualsToken
, "<=", "<="));
309
AssertTokens("<==", Token(SyntaxKind.
LessThanEqualsToken
, "<=", "<="), Token(SyntaxKind.EqualsToken));
LexicalAndXml\LexicalTests.cs (1)
941
TestPunctuation(SyntaxKind.
LessThanEqualsToken
);
LexicalAndXml\NameAttributeValueLexerTests.cs (3)
268
AssertTokens("<=", Token(SyntaxKind.
LessThanEqualsToken
, "<=", "<="));
269
AssertTokens("<=", Token(SyntaxKind.
LessThanEqualsToken
, "<=", "<="));
316
AssertTokens("<==", Token(SyntaxKind.
LessThanEqualsToken
, "<=", "<="), Token(SyntaxKind.EqualsToken));
Parsing\DeclarationParsingTests.cs (1)
5341
TestClassBinaryOperatorMethod(SyntaxKind.
LessThanEqualsToken
);
Parsing\ExpressionParsingTests.cs (1)
650
TestBinary(SyntaxKind.
LessThanEqualsToken
);
Parsing\ImplicitObjectCreationParsingTests.cs (1)
305
[InlineData(SyntaxKind.LessThanOrEqualExpression, SyntaxKind.
LessThanEqualsToken
)]
Parsing\MemberDeclarationParsingTests.cs (3)
9779
[InlineData("<=", SyntaxKind.
LessThanEqualsToken
)]
9845
[InlineData("<=", SyntaxKind.
LessThanEqualsToken
)]
10061
[InlineData("<=", SyntaxKind.
LessThanEqualsToken
)]
Parsing\PatternParsingTests.cs (6)
8725
N(SyntaxKind.
LessThanEqualsToken
);
9864
N(SyntaxKind.
LessThanEqualsToken
);
9885
N(SyntaxKind.
LessThanEqualsToken
);
11506
N(SyntaxKind.
LessThanEqualsToken
);
11532
N(SyntaxKind.
LessThanEqualsToken
);
11581
N(SyntaxKind.
LessThanEqualsToken
);
Microsoft.CodeAnalysis.CSharp.Workspaces (6)
Classification\ClassificationHelpers.cs (1)
420
case SyntaxKind.
LessThanEqualsToken
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
49
public static readonly SyntaxToken LessThanEqualsToken = Token(SyntaxKind.
LessThanEqualsToken
);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
419
case SyntaxKind.
LessThanEqualsToken
:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpDeclarationComparer.cs (1)
56
{ SyntaxKind.
LessThanEqualsToken
, 18 },
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
1447
if (leftToken.Kind() is SyntaxKind.GreaterThanToken or SyntaxKind.GreaterThanEqualsToken or SyntaxKind.LessThanToken or SyntaxKind.
LessThanEqualsToken
&&
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
1030
case SyntaxKind.
LessThanEqualsToken
: