245 references to ReadState
Microsoft.Build.Engine.UnitTests (1)
Construction\XmlReaderWithoutLocation_Tests.cs (1)
139
public override
ReadState
ReadState
netstandard (1)
netstandard.cs (1)
2289
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.
ReadState
))]
PresentationBuildTasks (1)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
63
public override
ReadState
ReadState { get { return _reader.ReadState; } }
PresentationFramework (11)
MS\Internal\Annotations\Serializer.cs (1)
91
if (reader.ReadState ==
ReadState
.Initial)
System\Windows\Markup\BamlReader.cs (10)
161
_readState =
ReadState
.Initial;
312
if (_readState ==
ReadState
.EndOfFile ||
313
_readState ==
ReadState
.Closed)
320
return _readState !=
ReadState
.EndOfFile;
342
if (_readState !=
ReadState
.Closed)
347
_readState =
ReadState
.Closed;
510
if(_readState ==
ReadState
.Initial)
541
_readState =
ReadState
.EndOfFile;
550
_readState =
ReadState
.Interactive;
2787
private
ReadState
_readState;
System.Data.Common (5)
System\Data\SQLTypes\SqlXml.cs (4)
149
if (reader.ReadState ==
ReadState
.Initial)
187
if (reader.ReadState ==
ReadState
.Closed)
190
if (reader.ReadState ==
ReadState
.Initial)
244
if (reader.ReadState ==
ReadState
.Initial)
System\Data\xmlsaver.cs (1)
3490
public override
ReadState
ReadState
System.IO.Packaging (2)
System\IO\Packaging\PackagingUtilities.cs (1)
31
Debug.Assert(reader != null && reader.ReadState ==
ReadState
.Initial);
System\IO\Packaging\XmlWrappingReader.cs (1)
46
public override
ReadState
ReadState { get { return _reader.ReadState; } }
System.Private.DataContractSerialization (35)
System\Runtime\Serialization\ExtensionDataReader.cs (8)
33
private
ReadState
_readState =
ReadState
.Initial;
120
public override bool EOF { get { return IsXmlDataNode ? _xmlNodeReader.EOF : (_readState ==
ReadState
.EndOfFile); } }
121
public override
ReadState
ReadState { get { return IsXmlDataNode ? _xmlNodeReader.ReadState : _readState; } }
242
if (ReadState !=
ReadState
.Interactive)
281
_readState =
ReadState
.Closed;
332
_readState =
ReadState
.EndOfFile;
343
_readState =
ReadState
.Interactive;
System\Runtime\Serialization\Json\XmlJsonReader.cs (1)
405
if (this.Node.ReadState ==
ReadState
.Closed)
System\Runtime\Serialization\XmlSerializableReader.cs (1)
92
public override
ReadState
ReadState { get { return InnerReader.ReadState; } }
System\Xml\XmlBaseReader.cs (20)
495
return _node.ReadState ==
ReadState
.EndOfFile;
1271
public override
ReadState
ReadState
1724
if (_node.ReadState !=
ReadState
.Interactive)
2044
private readonly
ReadState
_readState;
2071
ReadState
readState,
2103
public
ReadState
ReadState { get { return _readState; } }
2365
ReadState
.Interactive,
2409
ReadState
.Interactive,
2424
ReadState
.Interactive,
2438
ReadState
readState,
2455
ReadState
.Interactive,
2470
ReadState
.Interactive,
2485
ReadState
.Interactive,
2500
ReadState
.Interactive,
2515
ReadState
.Interactive,
2530
ReadState
.Initial,
2545
ReadState
.Interactive,
2560
ReadState
.Interactive,
2575
ReadState
.EndOfFile,
2590
ReadState
.Closed,
System\Xml\XmlBinaryReader.cs (1)
370
if (this.Node.ReadState ==
ReadState
.Closed)
System\Xml\XmlDictionaryReader.cs (2)
455
if (this.ReadState !=
ReadState
.Interactive)
1561
public override
ReadState
ReadState
System\Xml\XmlUTF8TextReader.cs (2)
619
if (this.Node.ReadState !=
ReadState
.Initial)
1285
if (this.Node.ReadState ==
ReadState
.Closed)
System.Private.Xml (166)
System\Xml\BinaryXml\XmlBinaryReader.cs (11)
47
private static readonly
ReadState
[] s_scanState2ReadState = {
48
ReadState
.Interactive,
49
ReadState
.Interactive,
50
ReadState
.Interactive,
51
ReadState
.Interactive,
52
ReadState
.Interactive,
53
ReadState
.Initial,
54
ReadState
.Error,
55
ReadState
.EndOfFile,
56
ReadState
.Closed
922
public override
ReadState
ReadState
System\Xml\Core\XmlAsyncCheckReader.cs (1)
520
public override
ReadState
ReadState
System\Xml\Core\XmlCharCheckingReader.cs (10)
166
if (base.reader.ReadState ==
ReadState
.Initial)
358
public override
ReadState
ReadState
365
return base.reader.ReadState ==
ReadState
.Closed ?
ReadState
.Closed :
ReadState
.Initial;
367
return
ReadState
.Error;
395
if (ReadState !=
ReadState
.Interactive)
438
if (ReadState !=
ReadState
.Interactive)
486
if (ReadState !=
ReadState
.Interactive)
533
if (ReadState !=
ReadState
.Interactive)
System\Xml\Core\XmlCharCheckingReaderAsync.cs (5)
24
if (base.reader.ReadState ==
ReadState
.Initial)
221
if (ReadState !=
ReadState
.Interactive)
264
if (ReadState !=
ReadState
.Interactive)
313
if (ReadState !=
ReadState
.Interactive)
367
if (ReadState !=
ReadState
.Interactive)
System\Xml\Core\XmlReader.cs (9)
619
public abstract
ReadState
ReadState { get; }
624
if (ReadState !=
ReadState
.Interactive)
688
if (ReadState !=
ReadState
.Interactive)
962
if (ReadState ==
ReadState
.Initial)
988
Debug.Assert(NodeType == XmlNodeType.EndElement || NodeType == XmlNodeType.None || ReadState ==
ReadState
.Error);
1003
if (ReadState ==
ReadState
.Initial)
1105
if (ReadState !=
ReadState
.Interactive)
1208
if (ReadState !=
ReadState
.Interactive)
1290
if (disposing && ReadState !=
ReadState
.Closed)
System\Xml\Core\XmlReaderAsync.cs (3)
120
return ReadState !=
ReadState
.Interactive ? Task.CompletedTask : SkipSubtreeAsync();
181
if (ReadState !=
ReadState
.Interactive)
264
if (ReadState !=
ReadState
.Interactive)
System\Xml\Core\XmlSubtreeReader.cs (11)
50
Initial =
ReadState
.Initial,
51
Interactive =
ReadState
.Interactive,
52
Error =
ReadState
.Error,
53
EndOfFile =
ReadState
.EndOfFile,
54
Closed =
ReadState
.Closed,
207
public override
ReadState
ReadState
211
if (reader.ReadState ==
ReadState
.Error)
213
return
ReadState
.Error;
219
return (
ReadState
)(int)_state;
223
return
ReadState
.Interactive;
603
reader.ReadState !=
ReadState
.Interactive);
System\Xml\Core\XmlSubtreeReaderAsync.cs (1)
129
reader.ReadState !=
ReadState
.Interactive);
System\Xml\Core\XmlTextReader.cs (1)
251
public override
ReadState
ReadState
System\Xml\Core\XmlTextReaderImpl.cs (21)
252
private
ReadState
_readState =
ReadState
.Initial;
987
public override
ReadState
ReadState
1238
_readState =
ReadState
.Interactive;
1242
_readState =
ReadState
.Interactive;
1349
if (_readState !=
ReadState
.Interactive)
1428
if (_readState !=
ReadState
.Interactive || _curAttrIndex < 0)
1612
if (_readState !=
ReadState
.Interactive)
1659
if (_readState !=
ReadState
.Interactive)
1705
if (_readState !=
ReadState
.Interactive)
1752
if (_readState !=
ReadState
.Interactive)
1802
if (_readState !=
ReadState
.Interactive)
1968
if (_readState !=
ReadState
.Initial)
2014
if (_readState ==
ReadState
.Closed)
2032
return (_readState ==
ReadState
.Interactive) ? _reportedEncoding : null;
2047
if (_readState ==
ReadState
.Closed)
2130
if (_readState ==
ReadState
.Initial)
2146
_readState =
ReadState
.Initial;
2762
_readState =
ReadState
.Error;
3570
_readState =
ReadState
.Closed;
7755
_readState =
ReadState
.EndOfFile;
System\Xml\Core\XmlTextReaderImplAsync.cs (8)
179
_readState =
ReadState
.Interactive;
272
_readState =
ReadState
.Interactive;
310
if (_readState !=
ReadState
.Interactive)
408
if (_readState !=
ReadState
.Interactive)
464
if (_readState !=
ReadState
.Interactive)
529
if (_readState !=
ReadState
.Interactive)
585
if (_readState !=
ReadState
.Interactive)
627
if (_readState !=
ReadState
.Interactive)
System\Xml\Core\XmlValidatingReader.cs (1)
189
public override
ReadState
ReadState
System\Xml\Core\XmlValidatingReaderImpl.cs (8)
413
public override
ReadState
ReadState
417
return (_parsingFunction == ParsingFunction.Init) ?
ReadState
.Initial : _coreReader.ReadState;
562
if (_coreReader.ReadState ==
ReadState
.Interactive)
624
if (ReadState !=
ReadState
.Interactive)
648
if (ReadState !=
ReadState
.Interactive)
672
if (ReadState !=
ReadState
.Interactive)
696
if (ReadState !=
ReadState
.Interactive)
887
if (ReadState !=
ReadState
.Initial)
System\Xml\Core\XmlValidatingReaderImplAsync.cs (5)
50
if (_coreReader.ReadState ==
ReadState
.Interactive)
75
if (ReadState !=
ReadState
.Interactive)
99
if (ReadState !=
ReadState
.Interactive)
123
if (ReadState !=
ReadState
.Interactive)
147
if (ReadState !=
ReadState
.Interactive)
System\Xml\Core\XmlWrappingReader.cs (1)
50
public override
ReadState
ReadState { get { return reader.ReadState; } }
System\Xml\Core\XsdCachingReader.cs (1)
530
public override
ReadState
ReadState
System\Xml\Core\XsdValidatingReader.cs (7)
1462
if (_coreReader.ReadState ==
ReadState
.Interactive)
1499
public override
ReadState
ReadState
1503
return (_validationState == ValidatingReaderState.Init) ?
ReadState
.Initial : _coreReader.ReadState;
1601
if (ReadState !=
ReadState
.Interactive)
1628
if (ReadState !=
ReadState
.Interactive)
1655
if (ReadState !=
ReadState
.Interactive)
1682
if (ReadState !=
ReadState
.Interactive)
System\Xml\Core\XsdValidatingReaderAsync.cs (5)
326
if (_coreReader.ReadState ==
ReadState
.Interactive)
384
if (ReadState !=
ReadState
.Interactive)
411
if (ReadState !=
ReadState
.Interactive)
438
if (ReadState !=
ReadState
.Interactive)
465
if (ReadState !=
ReadState
.Interactive)
System\Xml\Dom\XmlLoader.cs (3)
46
if (_reader.ReadState !=
ReadState
.Interactive)
79
if (reader.ReadState ==
ReadState
.Initial)
83
if (reader.ReadState ==
ReadState
.Interactive)
System\Xml\Dom\XmlNodeReader.cs (22)
1132
private
ReadState
_readState; // current reader's state
1150
_readState =
ReadState
.Initial;
1160
return (_readState ==
ReadState
.Interactive); // || readState == ReadState.EndOfFile
1509
if (_readState ==
ReadState
.Initial)
1518
_readState =
ReadState
.Error;
1523
_readState =
ReadState
.Interactive;
1544
if (_readState ==
ReadState
.Initial || _readState ==
ReadState
.Interactive)
1545
_readState =
ReadState
.Error;
1546
if (_readState ==
ReadState
.EndOfFile)
1554
if (_readState !=
ReadState
.Interactive && _readState !=
ReadState
.Initial)
1568
(((_readerNav.NodeType == XmlNodeType.Document) || (_readerNav.NodeType == XmlNodeType.DocumentFragment)) && _readState ==
ReadState
.Initial));
1621
_readState =
ReadState
.EndOfFile;
1645
if (_readState ==
ReadState
.Error)
1699
get { return (_readState !=
ReadState
.Closed) && _fEOF; }
1706
_readState =
ReadState
.Closed;
1710
public override
ReadState
ReadState
1803
if (_readState !=
ReadState
.Interactive)
1827
if (_readState !=
ReadState
.Interactive)
1851
if (_readState !=
ReadState
.Interactive)
1875
if (_readState !=
ReadState
.Interactive)
System\Xml\XPath\XPathDocument.cs (1)
174
topLevelReader = (reader.ReadState ==
ReadState
.Initial);
System\Xml\XPath\XPathNavigator.cs (4)
2026
ReadState
readState = reader.ReadState;
2028
if (readState !=
ReadState
.Initial
2029
&& readState !=
ReadState
.Interactive)
2034
if (readState ==
ReadState
.Initial)
System\Xml\XPath\XPathNavigatorReader.cs (10)
794
public override
ReadState
ReadState
801
return
ReadState
.Initial;
807
return
ReadState
.Interactive;
809
return
ReadState
.EndOfFile;
811
return
ReadState
.Closed;
813
return
ReadState
.Error;
850
if (ReadState !=
ReadState
.Interactive)
876
if (ReadState !=
ReadState
.Interactive)
902
if (ReadState !=
ReadState
.Interactive)
928
if (ReadState !=
ReadState
.Interactive)
System\Xml\Xsl\Xslt\XsltInput.cs (4)
52
_topLevelReader = reader.ReadState ==
ReadState
.Initial;
101
if (_reader.ReadState !=
ReadState
.Interactive)
112
if (_reader.ReadState ==
ReadState
.Interactive)
159
while (_reader.ReadState ==
ReadState
.Interactive)
System\Xml\Xsl\XsltOld\ReaderOutput.cs (13)
33
private
ReadState
_state =
ReadState
.Initial;
308
Debug.Assert(_processor != null || _state ==
ReadState
.Closed);
310
if (_state !=
ReadState
.Interactive)
312
if (_state ==
ReadState
.Initial)
314
_state =
ReadState
.Interactive;
361
_state =
ReadState
.EndOfFile;
371
get { return _state ==
ReadState
.EndOfFile; }
377
_state =
ReadState
.Closed;
381
public override
ReadState
ReadState
435
if (ReadState ==
ReadState
.Interactive)
470
if (ReadState ==
ReadState
.Interactive)
546
if (ReadState !=
ReadState
.Interactive || NodeType != XmlNodeType.Attribute)
System.Private.Xml.Linq (19)
System\Xml\Linq\XContainer.cs (4)
833
if (r.ReadState !=
ReadState
.Interactive) throw new InvalidOperationException(SR.InvalidOperation_ExpectedInteractive);
846
if (r.ReadState !=
ReadState
.Interactive) throw new InvalidOperationException(SR.InvalidOperation_ExpectedInteractive);
854
if (r.ReadState !=
ReadState
.Interactive) throw new InvalidOperationException(SR.InvalidOperation_ExpectedInteractive);
871
if (r.ReadState !=
ReadState
.Interactive) throw new InvalidOperationException(SR.InvalidOperation_ExpectedInteractive);
System\Xml\Linq\XDocument.cs (2)
425
if (reader.ReadState ==
ReadState
.Initial) reader.Read();
464
if (reader.ReadState ==
ReadState
.Initial)
System\Xml\Linq\XElement.cs (1)
2048
if (r.ReadState !=
ReadState
.Interactive) throw new InvalidOperationException(SR.InvalidOperation_ExpectedInteractive);
System\Xml\Linq\XNode.cs (2)
430
if (reader.ReadState !=
ReadState
.Interactive) throw new InvalidOperationException(SR.InvalidOperation_ExpectedInteractive);
475
if (reader.ReadState !=
ReadState
.Interactive) throw new InvalidOperationException(SR.InvalidOperation_ExpectedInteractive);
System\Xml\Linq\XNodeReader.cs (10)
16
private
ReadState
_state;
122
get { return _state ==
ReadState
.EndOfFile; }
341
public override
ReadState
ReadState
450
if (disposing && ReadState !=
ReadState
.Closed)
461
_state =
ReadState
.Closed;
847
case
ReadState
.Initial:
848
_state =
ReadState
.Interactive;
855
case
ReadState
.Interactive:
1068
get { return _state ==
ReadState
.Interactive; }
1297
_state =
ReadState
.EndOfFile;
System.ServiceModel.Syndication (1)
System\ServiceModel\Syndication\XmlSyndicationContent.cs (1)
160
while (reader.Depth >= 1 && reader.ReadState ==
ReadState
.Interactive)
System.Xaml (1)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
63
public override
ReadState
ReadState { get { return _reader.ReadState; } }
System.Xml (1)
System.Xml.cs (1)
15
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.
ReadState
))]
System.Xml.ReaderWriter (1)
artifacts\obj\System.Xml.ReaderWriter\Debug\net10.0\System.Xml.ReaderWriter.Forwards.cs (1)
14
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.
ReadState
))]