153 references to ParsingFunction
dotnet-svcutil-lib (153)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImpl.cs (153)
160
private
ParsingFunction
_parsingFunction;
161
private
ParsingFunction
_nextParsingFunction;
162
private
ParsingFunction
_nextNextParsingFunction;
316
_parsingFunction =
ParsingFunction
.NoData;
351
_parsingFunction =
ParsingFunction
.SwitchToInteractiveXmlDecl;
352
_nextParsingFunction =
ParsingFunction
.DocumentContent;
440
_parsingFunction =
ParsingFunction
.SwitchToInteractiveXmlDecl;
441
_nextParsingFunction =
ParsingFunction
.DocumentContent;
599
_parsingFunction =
ParsingFunction
.OpenUrl;
919
if (_parsingFunction >=
ParsingFunction
.PartialTextValue)
921
if (_parsingFunction ==
ParsingFunction
.PartialTextValue)
1012
return _parsingFunction ==
ParsingFunction
.Eof;
1236
case
ParsingFunction
.ElementContent:
1238
case
ParsingFunction
.DocumentContent:
1240
case
ParsingFunction
.OpenUrl:
1242
Debug.Assert(_nextParsingFunction ==
ParsingFunction
.DocumentContent);
1243
goto case
ParsingFunction
.SwitchToInteractiveXmlDecl;
1244
case
ParsingFunction
.SwitchToInteractive:
1249
case
ParsingFunction
.SwitchToInteractiveXmlDecl:
1259
case
ParsingFunction
.ResetAttributesRootLevel:
1262
_parsingFunction = (_index == 0) ?
ParsingFunction
.DocumentContent :
ParsingFunction
.ElementContent;
1264
case
ParsingFunction
.MoveToElementContent:
1268
_parsingFunction =
ParsingFunction
.ElementContent;
1270
case
ParsingFunction
.PopElementContext:
1273
Debug.Assert(_parsingFunction ==
ParsingFunction
.ElementContent ||
1274
_parsingFunction ==
ParsingFunction
.DocumentContent);
1276
case
ParsingFunction
.PopEmptyElementContext:
1284
case
ParsingFunction
.EntityReference:
1288
case
ParsingFunction
.ReportEndEntity:
1292
case
ParsingFunction
.AfterResolveEntityInContent:
1298
case
ParsingFunction
.AfterResolveEmptyEntityInContent:
1306
case
ParsingFunction
.InReadAttributeValue:
1310
case
ParsingFunction
.InIncrementalRead:
1313
case
ParsingFunction
.FragmentAttribute:
1315
case
ParsingFunction
.XmlDeclarationFragment:
1317
_parsingFunction =
ParsingFunction
.GoToEof;
1319
case
ParsingFunction
.GoToEof:
1322
case
ParsingFunction
.Error:
1323
case
ParsingFunction
.Eof:
1324
case
ParsingFunction
.ReaderClosed:
1326
case
ParsingFunction
.NoData:
1329
case
ParsingFunction
.PartialTextValue:
1332
case
ParsingFunction
.InReadValueChunk:
1335
case
ParsingFunction
.InReadContentAsBinary:
1338
case
ParsingFunction
.InReadElementContentAsBinary:
1369
case
ParsingFunction
.InReadAttributeValue:
1372
case
ParsingFunction
.InIncrementalRead:
1375
case
ParsingFunction
.PartialTextValue:
1378
case
ParsingFunction
.InReadValueChunk:
1381
case
ParsingFunction
.InReadContentAsBinary:
1384
case
ParsingFunction
.InReadElementContentAsBinary:
1403
Debug.Assert(_parsingFunction !=
ParsingFunction
.Eof);
1429
if (_parsingFunction !=
ParsingFunction
.InReadAttributeValue)
1439
if (_parsingFunction ==
ParsingFunction
.InReadValueChunk)
1443
if (_parsingFunction ==
ParsingFunction
.InReadContentAsBinary)
1473
_parsingFunction =
ParsingFunction
.InReadAttributeValue;
1508
if (_parsingFunction ==
ParsingFunction
.InReadAttributeValue ||
1509
_parsingFunction ==
ParsingFunction
.FragmentAttribute)
1538
_parsingFunction =
ParsingFunction
.AfterResolveEmptyEntityInContent;
1542
_parsingFunction =
ParsingFunction
.AfterResolveEntityInContent;
1547
_parsingFunction =
ParsingFunction
.AfterResolveEmptyEntityInContent;
1574
_parsingFunction ==
ParsingFunction
.AfterResolveEntityInContent)
1620
if (_parsingFunction ==
ParsingFunction
.InReadContentAsBinary)
1636
if (_parsingFunction ==
ParsingFunction
.InReadElementContentAsBinary)
1680
if (_parsingFunction ==
ParsingFunction
.InReadContentAsBinary)
1696
if (_parsingFunction ==
ParsingFunction
.InReadElementContentAsBinary)
1739
if (_parsingFunction ==
ParsingFunction
.InReadElementContentAsBinary)
1755
if (_parsingFunction ==
ParsingFunction
.InReadContentAsBinary)
1799
if (_parsingFunction ==
ParsingFunction
.InReadElementContentAsBinary)
1815
if (_parsingFunction ==
ParsingFunction
.InReadContentAsBinary)
1872
if (_parsingFunction !=
ParsingFunction
.InReadValueChunk)
1878
if (_parsingFunction ==
ParsingFunction
.PartialTextValue)
1888
_parsingFunction =
ParsingFunction
.InReadValueChunk;
2208
_parsingFunction =
ParsingFunction
.SwitchToInteractiveXmlDecl;
2209
_nextParsingFunction =
ParsingFunction
.DocumentContent;
2231
case
ParsingFunction
.Eof:
2232
case
ParsingFunction
.ReaderClosed:
2234
case
ParsingFunction
.OpenUrl:
2237
case
ParsingFunction
.InIncrementalRead:
2271
if (_parsingFunction ==
ParsingFunction
.InIncrementalRead)
2313
if (_parsingFunction ==
ParsingFunction
.InIncrementalRead)
2350
if (_parsingFunction ==
ParsingFunction
.InIncrementalRead)
2815
_parsingFunction =
ParsingFunction
.Error;
2839
return _attrCount > 0 && _parsingFunction >=
ParsingFunction
.InReadAttributeValue;
2846
if (_parsingFunction ==
ParsingFunction
.InReadValueChunk)
2850
else if (_parsingFunction ==
ParsingFunction
.InReadContentAsBinary)
2854
if (_parsingFunction ==
ParsingFunction
.InReadAttributeValue)
2862
_nextParsingFunction = (_index > 0) ?
ParsingFunction
.ElementContent :
ParsingFunction
.DocumentContent;
3076
_parsingFunction =
ParsingFunction
.SwitchToInteractive;
3077
_nextParsingFunction =
ParsingFunction
.FragmentAttribute;
3080
Debug.Assert(_parsingFunction ==
ParsingFunction
.SwitchToInteractiveXmlDecl);
3081
_nextParsingFunction =
ParsingFunction
.DocumentContent;
3084
Debug.Assert(_parsingFunction ==
ParsingFunction
.SwitchToInteractiveXmlDecl);
3085
Debug.Assert(_nextParsingFunction ==
ParsingFunction
.DocumentContent);
3091
_parsingFunction =
ParsingFunction
.SwitchToInteractive;
3092
_nextParsingFunction =
ParsingFunction
.XmlDeclarationFragment;
3603
if (_parsingFunction ==
ParsingFunction
.ReaderClosed)
3616
_parsingFunction =
ParsingFunction
.ReaderClosed;
3691
_parsingFunction =
ParsingFunction
.ResetAttributesRootLevel;
4097
if (_parsingFunction ==
ParsingFunction
.EntityReference)
4342
int i = (_parsingFunction ==
ParsingFunction
.InIncrementalRead) ? _index : _index - 1;
4499
_parsingFunction =
ParsingFunction
.MoveToElementContent;
4518
_parsingFunction =
ParsingFunction
.PopEmptyElementContext;
4744
_nextParsingFunction = (_index > 0) ? _parsingFunction :
ParsingFunction
.DocumentContent;
4745
_parsingFunction =
ParsingFunction
.PopElementContext;
4839
_parsingFunction =
ParsingFunction
.MoveToElementContent;
4855
_parsingFunction =
ParsingFunction
.PopEmptyElementContext;
5589
_parsingFunction =
ParsingFunction
.PartialTextValue;
5627
_parsingFunction =
ParsingFunction
.PartialTextValue;
5637
if (_parsingFunction ==
ParsingFunction
.ReportEndEntity)
5643
else if (_parsingFunction ==
ParsingFunction
.EntityReference)
5764
_parsingFunction =
ParsingFunction
.EntityReference;
5866
_parsingFunction =
ParsingFunction
.ReportEndEntity;
5896
Debug.Assert(_parsingFunction ==
ParsingFunction
.PartialTextValue ||
5897
(_parsingFunction ==
ParsingFunction
.InReadValueChunk && _incReadState == IncrementalReadState.ReadValueChunk_OnPartialValue));
5919
case
ParsingFunction
.InReadAttributeValue:
5922
case
ParsingFunction
.InReadValueChunk:
5937
case
ParsingFunction
.InReadContentAsBinary:
5938
case
ParsingFunction
.InReadElementContentAsBinary:
5964
Debug.Assert(_parsingFunction ==
ParsingFunction
.PartialTextValue || _parsingFunction ==
ParsingFunction
.InReadValueChunk ||
5965
_parsingFunction ==
ParsingFunction
.InReadContentAsBinary || _parsingFunction ==
ParsingFunction
.InReadElementContentAsBinary);
5976
Debug.Assert(_parsingFunction ==
ParsingFunction
.InReadValueChunk);
5981
Debug.Assert((_index > 0) ? _nextParsingFunction ==
ParsingFunction
.ElementContent : _nextParsingFunction ==
ParsingFunction
.DocumentContent);
5993
Debug.Assert(_parsingFunction ==
ParsingFunction
.InReadContentAsBinary || _parsingFunction ==
ParsingFunction
.InReadElementContentAsBinary);
5998
Debug.Assert((_index > 0) ? _nextParsingFunction ==
ParsingFunction
.ElementContent : _nextParsingFunction ==
ParsingFunction
.DocumentContent);
6294
if (_index == 0 && _parsingFunction ==
ParsingFunction
.ElementContent)
6296
_parsingFunction =
ParsingFunction
.DocumentContent;
6832
_parsingFunction =
ParsingFunction
.ResetAttributesRootLevel;
7904
_parsingFunction =
ParsingFunction
.Eof;
8276
_parsingFunction =
ParsingFunction
.InIncrementalRead;
8382
_parsingFunction =
ParsingFunction
.PopElementContext;
8383
_nextParsingFunction = (_index > 0 || _fragmentType != XmlNodeType.Document) ?
ParsingFunction
.ElementContent
8384
:
ParsingFunction
.DocumentContent;
8687
_parsingFunction =
ParsingFunction
.InReadAttributeValue;
8693
Debug.Assert(_parsingFunction ==
ParsingFunction
.InReadAttributeValue);
8694
_parsingFunction =
ParsingFunction
.FragmentAttribute;
9016
Debug.Assert(_parsingFunction !=
ParsingFunction
.InReadContentAsBinary);
9018
if (_parsingFunction ==
ParsingFunction
.InReadValueChunk)
9022
if (_parsingFunction ==
ParsingFunction
.InIncrementalRead)
9035
SetupReadContentAsBinaryState(
ParsingFunction
.InReadContentAsBinary);
9042
Debug.Assert(_parsingFunction !=
ParsingFunction
.InReadElementContentAsBinary);
9065
SetupReadContentAsBinaryState(
ParsingFunction
.InReadElementContentAsBinary);
9103
private void SetupReadContentAsBinaryState(
ParsingFunction
inReadBinaryFunction)
9105
if (_parsingFunction ==
ParsingFunction
.PartialTextValue)
9550
ParsingFunction
tmp = _parsingFunction;
9587
Debug.Assert(_parsingFunction !=
ParsingFunction
.InReadElementContentAsBinary);