2 writes to _start
System.Data.Common (2)
System\Data\Filter\ExpressionParser.cs (2)
152
_start
= 0;
794
_start
= _pos;
42 references to _start
System.Data.Common (42)
System\Data\Filter\ExpressionParser.cs (42)
217
throw ExprException.MissingOperator(new string(_text,
_start
, _pos -
_start
));
249
relname = NameNode.ParseName(_text,
_start
, _pos);
265
colname = NameNode.ParseName(_text,
_start
, _pos);
277
node = new NameNode(_table, _text,
_start
, _pos);
282
str = new string(_text,
_start
, _pos -
_start
);
286
str = new string(_text,
_start
, _pos -
_start
);
290
str = new string(_text,
_start
, _pos -
_start
);
294
Debug.Assert(_text[
_start
] == '\'' && _text[_pos - 1] == '\'', "The expression contains an invalid string constant");
295
Debug.Assert(_pos -
_start
> 1, "The expression contains an invalid string constant");
297
str = new string(_text,
_start
+ 1, _pos -
_start
- 2);
301
Debug.Assert(_text[
_start
] == '#' && _text[_pos - 1] == '#', "The expression contains invalid date constant.");
302
Debug.Assert(_pos -
_start
> 2, "The expression contains invalid date constant '{0}'.");
304
str = new string(_text,
_start
+ 1, _pos -
_start
- 2);
517
throw ExprException.MissingOperator(new string(_text,
_start
, _pos -
_start
));
536
string newName = nameBefore._name + "." + NameNode.ParseName(_text,
_start
, _pos);
544
throw ExprException.UnknownToken(new string(_text,
_start
, _pos -
_start
),
_start
+ 1);
577
colname = NameNode.ParseName(_text,
_start
, _pos);
592
relname = NameNode.ParseName(_text,
_start
, _pos);
603
colname = NameNode.ParseName(_text,
_start
, _pos);
974
throw ExprException.UnknownToken(new string(text,
_start
, _pos -
_start
),
_start
+ 1);
1069
throw ExprException.InvalidNameBracketing(new string(text,
_start
, (_pos - 1) -
_start
));
1092
throw ExprException.InvalidDate(new string(text,
_start
, (_pos - 1) -
_start
));
1094
throw ExprException.InvalidDate(new string(text,
_start
, _pos -
_start
));
1112
Debug.Assert(_pos >
_start
, "Exprecing an identifier.");
1114
string name = new string(text,
_start
, _pos -
_start
);
1167
throw ExprException.InvalidString(new string(text,
_start
, (_pos - 1) -
_start
));