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