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