6 writes to Text
System.Data.Services (6)
System\Data\Services\Parsing\ExpressionLexer.cs (2)
240this.token.Text = this.text.Substring(tokenPos, this.textPos - tokenPos); 456this.token.Text = this.text.Substring(tokenPos, this.textPos - tokenPos);
System\Data\Services\Parsing\RequestQueryParser.cs (1)
1714numberLiteral.Text = "-" + numberLiteral.Text;
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 };
51 references to Text
System.Data.Services (51)
System\Data\Services\KeyInstance.cs (2)
236string namedValue = lexer.CurrentToken.Text; 256positionalValues.Add(lexer.CurrentToken.Text);
System\Data\Services\Parsing\ExpressionLexer.cs (9)
249if (IsInfinityOrNaNDouble(this.token.Text)) 253else if (IsInfinityOrNanSingle(this.token.Text)) 257else if (this.token.Text == ExpressionConstants.KeywordTrue || this.token.Text == ExpressionConstants.KeywordFalse) 261else if (this.token.Text == ExpressionConstants.KeywordNull) 278string result = this.CurrentToken.Text; 286builder = new StringBuilder(result, result.Length + 1 + this.CurrentToken.Text.Length); 290builder.Append(this.CurrentToken.Text); 424string tokenText = this.token.Text;
System\Data\Services\Parsing\RequestQueryParser.cs (28)
1325return token.Id == TokenId.Identifier && String.Equals(id, token.Text, StringComparison.OrdinalIgnoreCase); 1377this.CheckAndPromoteOperands(typeof(OperationSignatures.ILogicalSignatures), op.Text, ref left, ref right, op.Position); 1396this.CheckAndPromoteOperands(typeof(OperationSignatures.ILogicalSignatures), op.Text, ref left, ref right, op.Position); 1448op.Text == ExpressionConstants.KeywordGreaterThan || op.Text == ExpressionConstants.KeywordLessThan, 1473switch (op.Text) 1516Strings.RequestQueryParser_NullOperatorUnsupported(op.Text, op.Position, this.lexer.ExpressionText)); 1553throw ExpressionParser.IncompatibleOperandsError(op.Text, left, right, op.Position); 1562Strings.RequestQueryParser_NullOperatorUnsupported(op.Text, op.Position, this.lexer.ExpressionText)); 1583this.CheckAndPromoteOperands(signatures, op.Text, ref left, ref right, op.Position); 1615switch (op.Text) 1654this.CheckAndPromoteOperands(typeof(OperationSignatures.IAddSignatures), op.Text, ref left, ref right, op.Position); 1660this.CheckAndPromoteOperands(typeof(OperationSignatures.ISubtractSignatures), op.Text, ref left, ref right, op.Position); 1682this.CheckAndPromoteOperands(typeof(OperationSignatures.IArithmeticSignatures), op.Text, ref left, ref right, op.Position); 1714numberLiteral.Text = "-" + numberLiteral.Text; 1724this.CheckAndPromoteOperand(typeof(OperationSignatures.INegationSignatures), op.Text, ref expr, op.Position); 1729this.CheckAndPromoteOperand(typeof(OperationSignatures.INotSignatures), op.Text, ref expr, op.Position); 1849if (!functions.TryGetValue(functionToken.Text, out functionDescriptions)) 1851throw ParseError(Strings.RequestQueryParser_UnknownFunction(functionToken.Text, functionToken.Position)); 1856throw ParseError(Strings.RequestQueryParser_UnknownFunction(functionToken.Text, functionToken.Position)); 1910functionToken.Text, 1912FunctionDescription.BuildSignatureList(functionToken.Text, functionDescriptions)); 1924functionToken.Text, 1926FunctionDescription.BuildSignatureList(functionToken.Text, functionDescriptions)); 1997string originalText = this.CurrentToken.Text; 2018if (!WebConvert.TryKeyStringToPrimitive(l.CurrentToken.Text, targetType, out targetValue)) 2020string message = Strings.RequestQueryParser_UnrecognizedLiteral(targetTypeName, l.CurrentToken.Text, l.CurrentToken.Position); 2024Expression result = this.CreateLiteral(targetValue, l.CurrentToken.Text);
System\Data\Services\Parsing\Token.cs (11)
50this.Text == ExpressionConstants.KeywordEqual || 51this.Text == ExpressionConstants.KeywordNotEqual || 52this.Text == ExpressionConstants.KeywordLessThan || 53this.Text == ExpressionConstants.KeywordGreaterThan || 54this.Text == ExpressionConstants.KeywordLessThanOrEqual || 55this.Text == ExpressionConstants.KeywordGreaterThanOrEqual; 66(this.Text == ExpressionConstants.KeywordEqual || 67this.Text == ExpressionConstants.KeywordNotEqual); 90return String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0} @ {1}: [{2}]", this.Id, this.Position, this.Text); 102return this.Text; 110return this.Id == TokenId.Identifier && this.Text == id;
System\Data\Services\RequestQueryProcessor.cs (1)
329identifier = lexer.CurrentToken.Text;