2 writes to start
System.Data (2)
fx\src\data\System\Data\Filter\ExpressionParser.cs (2)
150start = 0; 752start = pos;
42 references to start
System.Data (42)
fx\src\data\System\Data\Filter\ExpressionParser.cs (42)
208throw ExprException.MissingOperator(new string(text, start, pos - start)); 235relname = NameNode.ParseName(text, start, pos); 253colname = NameNode.ParseName(text, start, pos); 267node = new NameNode(_table, text, start, pos); 272str = new string(text, start, pos - start); 276str = new string(text, start, pos - start); 280str = new string(text, start, pos - start); 284Debug.Assert(text[start] == '\'' && text[pos-1] == '\'', "The expression contains an invalid string constant"); 285Debug.Assert(pos - start > 1, "The expression contains an invalid string constant"); 287str = new string(text, start+1, pos - start-2); 291Debug.Assert(text[start] == '#' && text[pos-1] == '#', "The expression contains invalid date constant."); 292Debug.Assert(pos - start > 2, "The expression contains invalid date constant '{0}'."); 294str = new string(text, start+1, pos - start-2); 490throw ExprException.MissingOperator(new string(text, start, pos - start)); 508string newName = nameBefore.name + "." + NameNode.ParseName(text, start, pos); 517throw ExprException.UnknownToken(new string(text, start, pos - start), start+1); 548colname = NameNode.ParseName(text, start, pos); 562relname = NameNode.ParseName(text, start, pos); 572colname = NameNode.ParseName(text, start, pos); 920throw ExprException.UnknownToken(new string(text, start, pos - start), start+1); 1002throw ExprException.InvalidNameBracketing(new string(text, start, (pos - 1) - start)); 1023throw ExprException.InvalidDate(new string(text, start, (pos - 1) - start)); 1025throw ExprException.InvalidDate(new string(text, start, pos - start)); 1044Debug.Assert(pos > start, "Exprecing an identifier."); 1046string name = new string(text, start, pos - start); 1091throw ExprException.InvalidString(new string(text, start, (pos - 1) - start));