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