22 references to CurrentToken
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver (22)
CSharp\MemberSignatureParser.cs (22)
51
var token =
CurrentToken
;
61
if (
CurrentToken
.Kind == TokenKind.OpenParen)
65
if (
CurrentToken
.Kind != TokenKind.End)
77
if (
CurrentToken
.Kind != TokenKind.Identifier)
83
if (
CurrentToken
.Kind == TokenKind.LessThan)
88
if (
CurrentToken
.Kind != TokenKind.Dot)
98
Debug.Assert(
CurrentToken
.Kind == TokenKind.LessThan);
103
if (
CurrentToken
.Kind != TokenKind.Identifier)
109
switch (
CurrentToken
.Kind)
128
switch (
CurrentToken
.Kind)
142
var specialType = GetSpecialType(
CurrentToken
.KeywordKind);
158
if (
CurrentToken
.Kind == TokenKind.LessThan)
163
if (
CurrentToken
.Kind != TokenKind.Dot)
173
Debug.Assert(
CurrentToken
.Kind == TokenKind.LessThan);
180
switch (
CurrentToken
.Kind)
199
switch (
CurrentToken
.Kind)
204
while (
CurrentToken
.Kind == TokenKind.Comma)
209
if (
CurrentToken
.Kind != TokenKind.CloseBracket)
238
var kind =
CurrentToken
.KeywordKind;
256
Debug.Assert(
CurrentToken
.Kind == TokenKind.OpenParen);
258
if (
CurrentToken
.Kind == TokenKind.CloseParen)
269
switch (
CurrentToken
.Kind)