26 references to PercentToken
Microsoft.CodeAnalysis.CSharp (8)
Binder\Semantics\Operators\OperatorFacts.cs (1)
77
case SyntaxKind.
PercentToken
: return WellKnownMemberNames.ModulusOperatorName;
Parser\LanguageParser.cs (1)
12701
case SyntaxKind.
PercentToken
:
Parser\Lexer.cs (2)
590
info.Kind = TextWindow.TryAdvance('=') ? SyntaxKind.PercentEqualsToken : SyntaxKind.
PercentToken
;
3746
info.Kind = SyntaxKind.
PercentToken
;
Syntax\SyntaxKindFacts.cs (4)
497
case SyntaxKind.
PercentToken
:
659
case SyntaxKind.
PercentToken
:
1063
case WellKnownMemberNames.ModulusOperatorName: return SyntaxKind.
PercentToken
;
1373
case SyntaxKind.
PercentToken
:
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
433
case SyntaxKind.
PercentToken
:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpDeclarationComparer.cs (1)
46
{ SyntaxKind.
PercentToken
, 8 },
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
1053
case SyntaxKind.
PercentToken
:
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (11)
LexicalAndXml\CrefLexerTests.cs (2)
220
AssertTokens("%", Token(SyntaxKind.
PercentToken
));
246
AssertTokens("%", Token(SyntaxKind.
PercentToken
, "%", "%"));
LexicalAndXml\LexicalTests.cs (1)
902
TestPunctuation(SyntaxKind.
PercentToken
);
LexicalAndXml\NameAttributeValueLexerTests.cs (2)
227
AssertTokens("%", Token(SyntaxKind.
PercentToken
));
253
AssertTokens("%", Token(SyntaxKind.
PercentToken
, "%", "%"));
Parsing\DeclarationParsingTests.cs (1)
5333
TestClassBinaryOperatorMethod(SyntaxKind.
PercentToken
);
Parsing\ExpressionParsingTests.cs (1)
646
TestBinary(SyntaxKind.
PercentToken
);
Parsing\ImplicitObjectCreationParsingTests.cs (1)
293
[InlineData(SyntaxKind.ModuloExpression, SyntaxKind.
PercentToken
)]
Parsing\MemberDeclarationParsingTests.cs (3)
9767
[InlineData("%", SyntaxKind.
PercentToken
)]
9833
[InlineData("%", SyntaxKind.
PercentToken
)]
10049
[InlineData("%", SyntaxKind.
PercentToken
)]
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
Classification\ClassificationHelpers.cs (1)
396
case SyntaxKind.
PercentToken
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
433
case SyntaxKind.
PercentToken
:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpDeclarationComparer.cs (1)
46
{ SyntaxKind.
PercentToken
, 8 },
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
1053
case SyntaxKind.
PercentToken
: