9 writes to Id
System.Data.Services (9)
System\Data\Services\Parsing\ExpressionLexer.cs (6)
239
this.token.
Id
= t;
251
this.token.
Id
= TokenId.DoubleLiteral;
255
this.token.
Id
= TokenId.SingleLiteral;
259
this.token.
Id
= TokenId.BooleanLiteral;
263
this.token.
Id
= TokenId.NullLiteral;
455
this.token.
Id
= id;
System\Data\Services\Parsing\Token.cs (3)
22
internal static readonly Token GreaterThan = new Token { Text = ExpressionConstants.KeywordGreaterThan,
Id
= TokenId.Identifier, Position = 0 };
25
internal static readonly Token EqualsTo = new Token { Text = ExpressionConstants.KeywordEqual,
Id
= TokenId.Identifier, Position = 0 };
28
internal static readonly Token LessThan = new Token { Text = ExpressionConstants.KeywordLessThan,
Id
= TokenId.Identifier, Position = 0 };
44 references to Id
System.Data.Services (44)
System\Data\Services\KeyInstance.cs (7)
205
if (currentToken.
Id
== TokenId.End)
214
if (currentToken.
Id
== TokenId.Identifier && allowNamedValues)
225
if (lexer.CurrentToken.
Id
!= TokenId.Equal)
246
else if (currentToken.IsKeyValueToken || (allowNull && currentToken.
Id
== TokenId.NullLiteral))
267
if (currentToken.
Id
== TokenId.Comma)
271
if (currentToken.
Id
== TokenId.End)
278
while (currentToken.
Id
!= TokenId.End);
System\Data\Services\Parsing\ExpressionLexer.cs (4)
247
if (this.token.
Id
== TokenId.Identifier)
280
while (this.CurrentToken.
Id
== TokenId.Dot)
324
if (this.token.
Id
!= t)
412
TokenId id = this.token.
Id
;
System\Data\Services\Parsing\RequestQueryParser.cs (19)
326
if (this.CurrentToken.
Id
!= TokenId.Comma)
1325
return token.
Id
== TokenId.Identifier && String.Equals(id, token.Text, StringComparison.OrdinalIgnoreCase);
1351
Debug.Assert(l.CurrentToken.
Id
== TokenId.NullLiteral, "l.CurrentToken.Id == TokenId.NullLiteral");
1586
Debug.Assert(op.
Id
== TokenId.Identifier, "op.id == TokenId.Identifier");
1707
if (this.CurrentToken.
Id
== TokenId.Minus || this.CurrentToken.IdentifierIs(ExpressionConstants.KeywordNot))
1711
if (op.
Id
== TokenId.Minus && (ExpressionLexer.IsNumeric(this.CurrentToken.
Id
)))
1722
if (op.
Id
== TokenId.Minus)
1749
if (this.CurrentToken.
Id
== TokenId.Slash)
1769
switch (l.CurrentToken.
Id
)
1808
if (this.CurrentToken.
Id
!= TokenId.OpenParen)
1815
if (this.CurrentToken.
Id
!= TokenId.CloseParen)
1831
bool identifierIsFunction = this.lexer.PeekNextToken().
Id
== TokenId.OpenParen;
1996
Debug.Assert(this.CurrentToken.
Id
== TokenId.BooleanLiteral, "this.CurrentToken.Id == TokenId.BooleanLiteral");
2127
if (this.CurrentToken.
Id
!= TokenId.OpenParen)
2133
Expression[] args = this.CurrentToken.
Id
!= TokenId.CloseParen ? this.ParseArguments() : emptyExpressions;
2134
if (this.CurrentToken.
Id
!= TokenId.CloseParen)
2151
if (this.CurrentToken.
Id
!= TokenId.Comma)
2575
if (this.CurrentToken.
Id
!= t)
System\Data\Services\Parsing\Token.cs (11)
44
if (this.
Id
!= TokenId.Identifier)
65
this.
Id
== TokenId.Identifier &&
77
this.
Id
== TokenId.BinaryLiteral ||
78
this.
Id
== TokenId.BooleanLiteral ||
79
this.
Id
== TokenId.DateTimeLiteral ||
80
this.
Id
== TokenId.GuidLiteral ||
81
this.
Id
== TokenId.StringLiteral ||
82
ExpressionLexer.IsNumeric(this.
Id
);
90
return String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0} @ {1}: [{2}]", this.
Id
, this.Position, this.Text);
97
if (this.
Id
!= TokenId.Identifier)
110
return this.
Id
== TokenId.Identifier && this.Text == id;
System\Data\Services\RequestQueryProcessor.cs (3)
323
while (lexer.CurrentToken.
Id
!= TokenId.End)
327
if (select && lexer.CurrentToken.
Id
== TokenId.Star)
348
TokenId tokenId = lexer.CurrentToken.
Id
;