43 references to ParserState
System.Data.Entity (43)
System\Data\EntityClient\DbConnectionOptions.cs (43)
211
ParserState
parserState =
ParserState
.NothingYet;
219
case
ParserState
.NothingYet: // [\\s;]*
224
if ('\0' == currentChar) { parserState =
ParserState
.NullTermination; continue; } // MDAC 83540
229
parserState =
ParserState
.Key;
234
parserState =
ParserState
.KeyEqual;
238
case
ParserState
.Key: // (?<key>([^=\\s\\p{Cc}]|\\s+[^=\\s\\p{Cc}]|\\s+==|==)+)
239
if ('=' == currentChar) { parserState =
ParserState
.KeyEqual; continue; }
244
case
ParserState
.KeyEqual: // \\s*=(?!=)\\s*
245
if ('=' == currentChar) { parserState =
ParserState
.Key; break; }
249
parserState =
ParserState
.KeyEnd;
250
goto case
ParserState
.KeyEnd;
252
case
ParserState
.KeyEnd:
254
if ('\'' == currentChar) { parserState =
ParserState
.SingleQuoteValue; continue; }
255
if ('"' == currentChar) { parserState =
ParserState
.DoubleQuoteValue; continue; }
260
parserState =
ParserState
.UnquotedValue;
263
case
ParserState
.UnquotedValue: // "((?![\"'\\s])" + "([^;\\s\\p{Cc}]|\\s+[^;\\s\\p{Cc}])*" + "(?<![\"']))"
268
case
ParserState
.DoubleQuoteValue: // "(\"([^\"\u0000]|\"\")*\")"
269
if ('"' == currentChar) { parserState =
ParserState
.DoubleQuoteValueQuote; continue; }
273
case
ParserState
.DoubleQuoteValueQuote:
274
if ('"' == currentChar) { parserState =
ParserState
.DoubleQuoteValue; break; }
276
parserState =
ParserState
.QuotedValueEnd;
277
goto case
ParserState
.QuotedValueEnd;
279
case
ParserState
.SingleQuoteValue: // "('([^'\u0000]|'')*')"
280
if ('\'' == currentChar) { parserState =
ParserState
.SingleQuoteValueQuote; continue; }
284
case
ParserState
.SingleQuoteValueQuote:
285
if ('\'' == currentChar) { parserState =
ParserState
.SingleQuoteValue; break; }
287
parserState =
ParserState
.QuotedValueEnd;
288
goto case
ParserState
.QuotedValueEnd;
290
case
ParserState
.QuotedValueEnd:
293
if ('\0' == currentChar) { parserState =
ParserState
.NullTermination; continue; } // MDAC 83540
296
case
ParserState
.NullTermination: // [\\s;\u0000]*
309
case
ParserState
.Key:
310
case
ParserState
.DoubleQuoteValue:
311
case
ParserState
.SingleQuoteValue:
315
case
ParserState
.KeyEqual:
321
case
ParserState
.UnquotedValue:
332
case
ParserState
.DoubleQuoteValueQuote:
333
case
ParserState
.SingleQuoteValueQuote:
334
case
ParserState
.QuotedValueEnd:
339
case
ParserState
.NothingYet:
340
case
ParserState
.KeyEnd:
341
case
ParserState
.NullTermination: