69 references to GreaterThanEqualsToken
Microsoft.CodeAnalysis.CSharp (18)
Binder\Binder_Patterns.cs (1)
1684SyntaxKind.GreaterThanEqualsToken => BinaryOperatorKind.GreaterThanOrEqual,
Binder\Semantics\Operators\OperatorFacts.cs (1)
86case SyntaxKind.GreaterThanEqualsToken: return WellKnownMemberNames.GreaterThanOrEqualOperatorName;
Parser\DocumentationCommentParser.cs (3)
1022CurrentToken.Kind is (SyntaxKind.GreaterThanToken or SyntaxKind.GreaterThanEqualsToken)) 1074SyntaxKind.GreaterThanEqualsToken, 1079else if (CurrentToken.Kind == SyntaxKind.GreaterThanEqualsToken)
Parser\LanguageParser.cs (4)
5976case SyntaxKind.GreaterThanEqualsToken: // e.g. `e is A<B> >= C` 11196&& this.PeekToken(1) is { Kind: SyntaxKind.GreaterThanToken or SyntaxKind.GreaterThanEqualsToken } token2 11201if (this.PeekToken(2) is { Kind: SyntaxKind.GreaterThanToken or SyntaxKind.GreaterThanEqualsToken } token3 12692case SyntaxKind.GreaterThanEqualsToken:
Parser\LanguageParser_Patterns.cs (3)
205case SyntaxKind.GreaterThanEqualsToken: 407case SyntaxKind.GreaterThanEqualsToken: 536SyntaxKind.GreaterThanEqualsToken;
Parser\Lexer.cs (2)
623info.Kind = TextWindow.TryAdvance('=') ? SyntaxKind.GreaterThanEqualsToken : SyntaxKind.GreaterThanToken; 3777if (AdvanceIfMatches('=')) info.Kind = SyntaxKind.GreaterThanEqualsToken;
Syntax\SyntaxKindFacts.cs (4)
506case SyntaxKind.GreaterThanEqualsToken: 643case SyntaxKind.GreaterThanEqualsToken: 1049case WellKnownMemberNames.GreaterThanOrEqualOperatorName: return SyntaxKind.GreaterThanEqualsToken; 1469case SyntaxKind.GreaterThanEqualsToken:
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
38public static readonly SyntaxToken GreaterThanEqualsToken = Token(SyntaxKind.GreaterThanEqualsToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
413case SyntaxKind.GreaterThanEqualsToken:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (4)
src\Analyzers\CSharp\CodeFixes\UsePatternCombinators\CSharpUsePatternCombinatorsCodeFixProvider.cs (1)
43BinaryOperatorKind.GreaterThanOrEqual => SyntaxKind.GreaterThanEqualsToken,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpDeclarationComparer.cs (1)
57{ SyntaxKind.GreaterThanEqualsToken, 19 },
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)
1048case SyntaxKind.GreaterThanEqualsToken:
Microsoft.CodeAnalysis.CSharp.Features (6)
CodeRefactorings\UseRecursivePatterns\UseRecursivePatternsCodeRefactoringProvider.cs (2)
295LessThanEqualsToken => GreaterThanEqualsToken, 296GreaterThanEqualsToken => LessThanEqualsToken,
ConvertIfToSwitch\CSharpConvertIfToSwitchCodeRefactoringProvider.Rewriting.cs (1)
28{ BinaryOperatorKind.GreaterThanOrEqual, SyntaxKind.GreaterThanEqualsToken },
ReverseForStatement\CSharpReverseForStatementCodeRefactoringProvider.cs (2)
367? SyntaxKind.GreaterThanEqualsToken 370var newExpressionKind = newOperatorKind == SyntaxKind.GreaterThanEqualsToken
src\Analyzers\CSharp\CodeFixes\UsePatternCombinators\CSharpUsePatternCombinatorsCodeFixProvider.cs (1)
43BinaryOperatorKind.GreaterThanOrEqual => SyntaxKind.GreaterThanEqualsToken,
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (33)
LexicalAndXml\CrefLexerTests.cs (7)
235AssertTokens(">=", Token(SyntaxKind.GreaterThanEqualsToken)); 267AssertTokens("&#62;=", Token(SyntaxKind.GreaterThanEqualsToken, "&#62;=", ">=")); 268AssertTokens(">&#61;", Token(SyntaxKind.GreaterThanEqualsToken, ">&#61;", ">=")); 269AssertTokens("&#62;&#61;", Token(SyntaxKind.GreaterThanEqualsToken, "&#62;&#61;", ">=")); 305AssertTokens(">>=", Token(SyntaxKind.GreaterThanToken), Token(SyntaxKind.GreaterThanEqualsToken)); //fixed up by parser 306AssertTokens(">>>=", Token(SyntaxKind.GreaterThanToken), Token(SyntaxKind.GreaterThanToken), Token(SyntaxKind.GreaterThanEqualsToken)); //fixed up by parser 310AssertTokens(">==", Token(SyntaxKind.GreaterThanEqualsToken), Token(SyntaxKind.EqualsToken));
LexicalAndXml\LexicalTests.cs (1)
944TestPunctuation(SyntaxKind.GreaterThanEqualsToken);
LexicalAndXml\NameAttributeValueLexerTests.cs (7)
242AssertTokens(">=", Token(SyntaxKind.GreaterThanEqualsToken)); 274AssertTokens("&#62;=", Token(SyntaxKind.GreaterThanEqualsToken, "&#62;=", ">=")); 275AssertTokens(">&#61;", Token(SyntaxKind.GreaterThanEqualsToken, ">&#61;", ">=")); 276AssertTokens("&#62;&#61;", Token(SyntaxKind.GreaterThanEqualsToken, "&#62;&#61;", ">=")); 312AssertTokens(">>=", Token(SyntaxKind.GreaterThanToken), Token(SyntaxKind.GreaterThanEqualsToken)); //fixed up by parser 313AssertTokens(">>>=", Token(SyntaxKind.GreaterThanToken), Token(SyntaxKind.GreaterThanToken), Token(SyntaxKind.GreaterThanEqualsToken)); //fixed up by parser 317AssertTokens(">==", Token(SyntaxKind.GreaterThanEqualsToken), Token(SyntaxKind.EqualsToken));
Parsing\DeclarationParsingTests.cs (1)
5344TestClassBinaryOperatorMethod(SyntaxKind.GreaterThanEqualsToken);
Parsing\ExpressionParsingTests.cs (2)
653TestBinary(SyntaxKind.GreaterThanEqualsToken); 6781N(SyntaxKind.GreaterThanEqualsToken);
Parsing\ImplicitObjectCreationParsingTests.cs (1)
307[InlineData(SyntaxKind.GreaterThanOrEqualExpression, SyntaxKind.GreaterThanEqualsToken)]
Parsing\MemberDeclarationParsingTests.cs (3)
9778[InlineData(">=", SyntaxKind.GreaterThanEqualsToken)] 9844[InlineData(">=", SyntaxKind.GreaterThanEqualsToken)] 10060[InlineData(">=", SyntaxKind.GreaterThanEqualsToken)]
Parsing\PatternParsingTests.cs (11)
8759N(SyntaxKind.GreaterThanEqualsToken); 9855N(SyntaxKind.GreaterThanEqualsToken); 9876N(SyntaxKind.GreaterThanEqualsToken); 11112N(SyntaxKind.GreaterThanEqualsToken); 11169N(SyntaxKind.GreaterThanEqualsToken); 11233N(SyntaxKind.GreaterThanEqualsToken); 11383N(SyntaxKind.GreaterThanEqualsToken); 11429N(SyntaxKind.GreaterThanEqualsToken); 11497N(SyntaxKind.GreaterThanEqualsToken); 11523N(SyntaxKind.GreaterThanEqualsToken); 11593N(SyntaxKind.GreaterThanEqualsToken);
Microsoft.CodeAnalysis.CSharp.Workspaces (6)
Classification\ClassificationHelpers.cs (1)
423case SyntaxKind.GreaterThanEqualsToken:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
38public static readonly SyntaxToken GreaterThanEqualsToken = Token(SyntaxKind.GreaterThanEqualsToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
413case SyntaxKind.GreaterThanEqualsToken:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpDeclarationComparer.cs (1)
57{ SyntaxKind.GreaterThanEqualsToken, 19 },
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)
1048case SyntaxKind.GreaterThanEqualsToken: