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