280 references to ReadState
PresentationBuildTasks (1)
Base\System\Windows\Markup\XmlWrappingReader.cs (1)
79
public override
ReadState
ReadState { get { return _reader.ReadState; } }
PresentationFramework (11)
src\Framework\MS\Internal\Annotations\Serializer.cs (1)
99
if (reader.ReadState ==
ReadState
.Initial)
src\Framework\System\Windows\Markup\BamlReader.cs (10)
180
_readState =
ReadState
.Initial;
331
if (_readState ==
ReadState
.EndOfFile ||
332
_readState ==
ReadState
.Closed)
339
return _readState !=
ReadState
.EndOfFile;
361
if (_readState !=
ReadState
.Closed)
366
_readState =
ReadState
.Closed;
529
if(_readState ==
ReadState
.Initial)
560
_readState =
ReadState
.EndOfFile;
569
_readState =
ReadState
.Interactive;
2821
private
ReadState
_readState;
System.Activities (1)
System\Activities\Debugger\XmlWrappingReader.cs (1)
119
public override
ReadState
ReadState
System.Data (6)
fx\src\data\System\Data\SqlClient\TdsParser.cs (1)
10375
if (feed._source.ReadState ==
ReadState
.Initial) {
fx\src\data\System\Data\SQLTypes\SqlXml.cs (4)
165
if (reader.ReadState ==
ReadState
.Initial)
198
if (reader.ReadState ==
ReadState
.Closed)
201
if (reader.ReadState ==
ReadState
.Initial)
251
if (reader.ReadState ==
ReadState
.Initial)
fx\src\data\System\Data\xmlsaver.cs (1)
2984
public override
ReadState
ReadState {
System.Data.Services.Client (1)
System\Data\Services\Client\Xml\XmlWrappingReader.cs (1)
242
public override
ReadState
ReadState
System.Data.SqlXml (17)
System\Xml\Xsl\Xslt\XsltInput.cs (4)
56
this.topLevelReader = reader.ReadState ==
ReadState
.Initial;
98
if (reader.ReadState !=
ReadState
.Interactive) {
108
if (reader.ReadState ==
ReadState
.Interactive) {
147
while (reader.ReadState ==
ReadState
.Interactive) {
System\Xml\Xsl\XsltOld\ReaderOutput.cs (13)
38
private
ReadState
state =
ReadState
.Initial;
265
Debug.Assert(this.processor != null || this.state ==
ReadState
.Closed);
267
if (this.state !=
ReadState
.Interactive) {
268
if (this.state ==
ReadState
.Initial) {
269
state =
ReadState
.Interactive;
307
this.state =
ReadState
.EndOfFile;
316
get { return this.state ==
ReadState
.EndOfFile; }
321
this.state =
ReadState
.Closed;
325
public override
ReadState
ReadState {
370
if (ReadState ==
ReadState
.Interactive) {
399
if (ReadState ==
ReadState
.Interactive) {
462
if (ReadState !=
ReadState
.Interactive || NodeType != XmlNodeType.Attribute) {
System.IdentityModel (3)
System\IdentityModel\DelegatingXmlDictionaryReader.cs (1)
197
public override
ReadState
ReadState
System\IdentityModel\IdentityModelWrappedXmlDictionaryReader.cs (1)
276
public override
ReadState
ReadState
System\IdentityModel\WrappedXmlDictionaryReader.cs (1)
163
public override
ReadState
ReadState
System.Runtime.Serialization (63)
System\Runtime\Serialization\ExtensionDataReader.cs (8)
37
ReadState
readState =
ReadState
.Initial;
128
public override bool EOF { get { return IsXmlDataNode ? xmlNodeReader.EOF : (readState ==
ReadState
.EndOfFile); } }
129
public override
ReadState
ReadState { get { return IsXmlDataNode ? xmlNodeReader.ReadState : readState; } }
256
if (ReadState !=
ReadState
.Interactive)
295
this.readState =
ReadState
.Closed;
344
readState =
ReadState
.EndOfFile;
355
readState =
ReadState
.Interactive;
System\Runtime\Serialization\Json\XmlJsonReader.cs (1)
410
if (this.Node.ReadState ==
ReadState
.Closed)
System\Runtime\Serialization\XmlSerializableReader.cs (1)
91
public override
ReadState
ReadState { get { return InnerReader.ReadState; } }
System\Xml\XmlBaseReader.cs (20)
534
return node.ReadState ==
ReadState
.EndOfFile;
1377
public override
ReadState
ReadState
1838
if (node.ReadState !=
ReadState
.Interactive)
2170
ReadState
readState;
2197
ReadState
readState,
2229
public
ReadState
ReadState { get { return readState; } }
2492
ReadState
.Interactive,
2536
ReadState
.Interactive,
2551
ReadState
.Interactive,
2565
ReadState
readState,
2582
ReadState
.Interactive,
2597
ReadState
.Interactive,
2612
ReadState
.Interactive,
2627
ReadState
.Interactive,
2642
ReadState
.Interactive,
2657
ReadState
.Initial,
2672
ReadState
.Interactive,
2687
ReadState
.Interactive,
2702
ReadState
.EndOfFile,
2717
ReadState
.Closed,
System\Xml\XmlBinaryReader.cs (1)
384
if (this.Node.ReadState ==
ReadState
.Closed)
System\Xml\XmlDictionaryReader.cs (2)
485
if (this.ReadState !=
ReadState
.Interactive)
1595
public override
ReadState
ReadState
System\Xml\XmlMtomReader.cs (28)
337
if (xmlReader.ReadState ==
ReadState
.EndOfFile && infosetReader != null)
877
public override
ReadState
ReadState
881
if (xmlReader.ReadState !=
ReadState
.Interactive && infosetReader != null)
969
if (xmlReader.ReadState ==
ReadState
.Closed)
982
if (xmlReader.ReadState ==
ReadState
.Closed)
996
if (xmlReader.ReadState ==
ReadState
.Closed)
1079
ReadState
readState;
1099
this.readState =
ReadState
.Initial;
1118
return (readState ==
ReadState
.Interactive) ? nodeType : parentReader.NodeType;
1127
case
ReadState
.Initial:
1128
readState =
ReadState
.Interactive;
1131
case
ReadState
.Interactive:
1134
readState =
ReadState
.EndOfFile;
1142
case
ReadState
.EndOfFile:
1186
if (readState ==
ReadState
.Interactive)
1230
if (readState ==
ReadState
.Interactive)
1320
if (readState !=
ReadState
.Interactive)
1338
if (readState !=
ReadState
.Interactive)
1434
readState =
ReadState
.Closed;
1450
return (readState ==
ReadState
.Interactive) ? parentReader.Depth + 1 : parentReader.Depth;
1456
get { return readState ==
ReadState
.EndOfFile; }
1486
get { return readState ==
ReadState
.Interactive; }
1548
return (readState ==
ReadState
.Interactive) ? String.Empty : parentReader.LocalName;
1590
return (readState ==
ReadState
.Interactive) ? String.Empty : parentReader.Name;
1598
return (readState ==
ReadState
.Interactive) ? String.Empty : parentReader.NamespaceURI;
1611
return (readState ==
ReadState
.Interactive) ? String.Empty : parentReader.Prefix;
1635
public override
ReadState
ReadState
1683
return (readState ==
ReadState
.Interactive) ? typeof(byte[]) : parentReader.ValueType;
System\Xml\XmlUTF8TextReader.cs (2)
380
if (this.Node.ReadState !=
ReadState
.Initial)
1050
if (this.Node.ReadState ==
ReadState
.Closed)
System.ServiceModel (5)
System\ServiceModel\Channels\Message.cs (2)
1242
if (bodyReader.ReadState ==
ReadState
.Error || bodyReader.ReadState ==
ReadState
.Closed)
System\ServiceModel\Dispatcher\SeekableMessageNavigator.cs (2)
1740
if (reader.ReadState ==
ReadState
.Initial)
1768
if (reader.ReadState ==
ReadState
.Initial)
System\ServiceModel\Syndication\XmlSyndicationContent.cs (1)
185
while (reader.Depth >= 1 && reader.ReadState ==
ReadState
.Interactive)
System.ServiceModel.Channels (5)
System\ServiceModel\Channels\XmlByteStreamReader.cs (5)
145
public override
ReadState
ReadState
152
return
ReadState
.Initial;
156
return
ReadState
.Interactive;
158
return
ReadState
.Closed;
161
return
ReadState
.Error;
System.Web.Services (1)
System\Web\Services\Description\ServiceDescription.cs (1)
373
if (reader.ReadState !=
ReadState
.Initial) {
System.Xml (150)
System\Xml\BinaryXml\XmlBinaryReader.cs (11)
49
static
ReadState
[] ScanState2ReadState = {
50
ReadState
.Interactive,
51
ReadState
.Interactive,
52
ReadState
.Interactive,
53
ReadState
.Interactive,
54
ReadState
.Interactive,
55
ReadState
.Initial,
56
ReadState
.Error,
57
ReadState
.EndOfFile,
58
ReadState
.Closed
814
public override
ReadState
ReadState {
System\Xml\Core\XmlAsyncCheckReader.cs (1)
441
public override
ReadState
ReadState {
System\Xml\Core\XmlCharCheckingReader.cs (10)
153
if ( base.reader.ReadState ==
ReadState
.Initial ) {
315
public override
ReadState
ReadState {
319
return base.reader.ReadState ==
ReadState
.Closed ?
ReadState
.Closed :
ReadState
.Initial;
321
return
ReadState
.Error;
344
if (ReadState !=
ReadState
.Interactive) {
380
if (ReadState !=
ReadState
.Interactive) {
430
if (ReadState !=
ReadState
.Interactive) {
479
if (ReadState !=
ReadState
.Interactive) {
System\Xml\Core\XmlCharCheckingReaderAsync.cs (5)
21
if ( base.reader.ReadState ==
ReadState
.Initial ) {
184
if (ReadState !=
ReadState
.Interactive) {
220
if (ReadState !=
ReadState
.Interactive) {
270
if (ReadState !=
ReadState
.Interactive) {
319
if (ReadState !=
ReadState
.Interactive) {
System\Xml\Core\XmlReader.cs (9)
609
public abstract
ReadState
ReadState { get; }
613
if (ReadState !=
ReadState
.Interactive) {
685
if (this.ReadState !=
ReadState
.Interactive) {
918
if (ReadState ==
ReadState
.Initial) {
939
Debug.Assert(NodeType == XmlNodeType.EndElement || NodeType == XmlNodeType.None || ReadState ==
ReadState
.Error);
955
if (ReadState ==
ReadState
.Initial) {
1049
if (ReadState !=
ReadState
.Interactive) {
1144
if (ReadState !=
ReadState
.Interactive) {
1227
if (disposing && ReadState !=
ReadState
.Closed) {
System\Xml\Core\XmlReaderAsync.cs (3)
121
if (ReadState !=
ReadState
.Interactive) {
178
if (ReadState !=
ReadState
.Interactive) {
259
if (ReadState !=
ReadState
.Interactive) {
System\Xml\Core\XmlSubtreeReader.cs (11)
45
Initial =
ReadState
.Initial,
46
Interactive =
ReadState
.Interactive,
47
Error =
ReadState
.Error,
48
EndOfFile =
ReadState
.EndOfFile,
49
Closed =
ReadState
.Closed,
179
public override
ReadState
ReadState {
181
if ( reader.ReadState ==
ReadState
.Error ) {
182
return
ReadState
.Error;
186
return (
ReadState
)(int)state;
189
return
ReadState
.Interactive;
490
reader.ReadState !=
ReadState
.Interactive );
System\Xml\Core\XmlSubtreeReaderAsync.cs (1)
111
reader.ReadState !=
ReadState
.Interactive );
System\Xml\Core\XmlTextReader.cs (1)
220
public override
ReadState
ReadState {
System\Xml\Core\XmlTextReaderImpl.cs (21)
284
ReadState
readState =
ReadState
.Initial;
971
public override
ReadState
ReadState {
1175
readState =
ReadState
.Interactive;
1179
readState =
ReadState
.Interactive;
1287
if ( readState !=
ReadState
.Interactive )
1357
if ( readState !=
ReadState
.Interactive || curAttrIndex < 0 ) {
1540
if ( readState !=
ReadState
.Interactive ) {
1588
if ( readState !=
ReadState
.Interactive ) {
1635
if ( readState !=
ReadState
.Interactive ) {
1683
if ( readState !=
ReadState
.Interactive ) {
1733
if ( readState !=
ReadState
.Interactive ) {
1869
if ( readState !=
ReadState
.Initial ) {
1901
if ( readState ==
ReadState
.Closed ) {
1915
return ( readState ==
ReadState
.Interactive ) ? reportedEncoding : null;
1927
if ( readState ==
ReadState
.Closed ) {
1994
if ( readState ==
ReadState
.Initial ) {
2007
readState =
ReadState
.Initial;
2526
readState =
ReadState
.Error;
3260
readState =
ReadState
.Closed;
6996
readState =
ReadState
.EndOfFile;
System\Xml\Core\XmlTextReaderImplAsync.cs (8)
166
readState =
ReadState
.Interactive;
260
readState =
ReadState
.Interactive;
291
if ( readState !=
ReadState
.Interactive )
387
if ( readState !=
ReadState
.Interactive ) {
442
if ( readState !=
ReadState
.Interactive ) {
505
if ( readState !=
ReadState
.Interactive ) {
560
if ( readState !=
ReadState
.Interactive ) {
605
if ( readState !=
ReadState
.Interactive ) {
System\Xml\Core\XmlValidatingReader.cs (1)
164
public override
ReadState
ReadState {
System\Xml\Core\XmlValidatingReaderImpl.cs (8)
356
public override
ReadState
ReadState {
358
return ( parsingFunction == ParsingFunction.Init ) ?
ReadState
.Initial : coreReader.ReadState;
477
if ( coreReader.ReadState ==
ReadState
.Interactive ) {
529
if ( ReadState !=
ReadState
.Interactive ) {
550
if ( ReadState !=
ReadState
.Interactive ) {
571
if ( ReadState !=
ReadState
.Interactive ) {
592
if ( ReadState !=
ReadState
.Interactive ) {
745
if ( ReadState !=
ReadState
.Initial ) {
System\Xml\Core\XmlValidatingReaderImplAsync.cs (5)
46
if ( coreReader.ReadState ==
ReadState
.Interactive ) {
68
if ( ReadState !=
ReadState
.Interactive ) {
89
if ( ReadState !=
ReadState
.Interactive ) {
110
if ( ReadState !=
ReadState
.Interactive ) {
131
if ( ReadState !=
ReadState
.Interactive ) {
System\Xml\Core\XmlWrappingReader.cs (1)
54
public override
ReadState
ReadState { get { return reader.ReadState; } }
System\Xml\Core\XsdCachingReader.cs (1)
459
public override
ReadState
ReadState {
System\Xml\Core\XsdValidatingReader.cs (7)
1138
if (coreReader.ReadState ==
ReadState
.Interactive) { //If the underlying reader is already positioned on a ndoe, process it
1169
public override
ReadState
ReadState {
1171
return (validationState == ValidatingReaderState.Init) ?
ReadState
.Initial : coreReader.ReadState;
1246
if (ReadState !=
ReadState
.Interactive) {
1269
if (ReadState !=
ReadState
.Interactive) {
1292
if (ReadState !=
ReadState
.Interactive) {
1315
if (ReadState !=
ReadState
.Interactive) {
System\Xml\Core\XsdValidatingReaderAsync.cs (5)
259
if (coreReader.ReadState ==
ReadState
.Interactive) { //If the underlying reader is already positioned on a ndoe, process it
306
if (ReadState !=
ReadState
.Interactive) {
329
if (ReadState !=
ReadState
.Interactive) {
352
if (ReadState !=
ReadState
.Interactive) {
375
if (ReadState !=
ReadState
.Interactive) {
System\Xml\Dom\XmlLoader.cs (3)
44
if ( this.reader.ReadState !=
ReadState
.Interactive ) {
73
if( reader.ReadState ==
ReadState
.Initial ) {
76
if( reader.ReadState ==
ReadState
.Interactive ) {
System\Xml\Dom\XmlNodeReader.cs (22)
958
ReadState
readState; // current reader's state
976
readState =
ReadState
.Initial;
985
return ( readState ==
ReadState
.Interactive ); // || readState == ReadState.EndOfFile
1279
if ( readState ==
ReadState
.Initial ) {
1285
readState =
ReadState
.Error;
1290
readState =
ReadState
.Interactive;
1309
if ( readState ==
ReadState
.Initial || readState ==
ReadState
.Interactive )
1310
readState =
ReadState
.Error;
1311
if ( readState ==
ReadState
.EndOfFile )
1318
if ( readState !=
ReadState
.Interactive && readState !=
ReadState
.Initial ) {
1331
( ( ( readerNav.NodeType == XmlNodeType.Document ) || ( readerNav.NodeType == XmlNodeType.DocumentFragment ) ) && readState ==
ReadState
.Initial) );
1373
readState =
ReadState
.EndOfFile;
1392
if ( readState ==
ReadState
.Error )
1436
get { return (readState !=
ReadState
.Closed) && fEOF; }
1442
readState =
ReadState
.Closed;
1446
public override
ReadState
ReadState {
1523
if ( readState !=
ReadState
.Interactive ) {
1544
if ( readState !=
ReadState
.Interactive ) {
1565
if ( readState !=
ReadState
.Interactive ) {
1586
if ( readState !=
ReadState
.Interactive ) {
System\Xml\Serialization\XmlCountingReader.cs (1)
55
public override
ReadState
ReadState { get { return innerReader.ReadState; } }
System\Xml\XPath\XPathDocument.cs (1)
165
topLevelReader = (reader.ReadState ==
ReadState
.Initial);
System\Xml\XPath\XPathNavigator.cs (4)
1783
ReadState
readState = reader.ReadState;
1785
if (readState !=
ReadState
.Initial
1786
&& readState !=
ReadState
.Interactive) {
1790
if ( readState ==
ReadState
.Initial ) {
System\Xml\XPath\XPathNavigatorReader.cs (10)
686
public override
ReadState
ReadState {
690
return
ReadState
.Initial;
696
return
ReadState
.Interactive;
698
return
ReadState
.EndOfFile;
700
return
ReadState
.Closed;
702
return
ReadState
.Error;
732
if ( ReadState !=
ReadState
.Interactive ) {
755
if ( ReadState !=
ReadState
.Interactive ) {
778
if ( ReadState !=
ReadState
.Interactive ) {
801
if ( ReadState !=
ReadState
.Interactive ) {
System.Xml.Linq (14)
System\Xml\Linq\XLinq.cs (14)
1831
if (reader.ReadState !=
ReadState
.Interactive) throw new InvalidOperationException(Res.GetString(Res.InvalidOperation_ExpectedInteractive));
3029
if (r.ReadState !=
ReadState
.Interactive) throw new InvalidOperationException(Res.GetString(Res.InvalidOperation_ExpectedInteractive));
3093
if (r.ReadState !=
ReadState
.Interactive) throw new InvalidOperationException(Res.GetString(Res.InvalidOperation_ExpectedInteractive));
5067
if (r.ReadState !=
ReadState
.Interactive) throw new InvalidOperationException(Res.GetString(Res.InvalidOperation_ExpectedInteractive));
5714
if (reader.ReadState ==
ReadState
.Initial) reader.Read();
8068
ReadState
state;
8156
get { return state ==
ReadState
.EndOfFile; }
8328
public override
ReadState
ReadState {
8418
state =
ReadState
.Closed;
8717
case
ReadState
.Initial:
8718
state =
ReadState
.Interactive;
8724
case
ReadState
.Interactive:
8925
get { return state ==
ReadState
.Interactive; }
9109
state =
ReadState
.EndOfFile;
WindowsBase (2)
Base\System\Windows\Markup\XmlWrappingReader.cs (1)
79
public override
ReadState
ReadState { get { return _reader.ReadState; } }
Shared\MS\Internal\IO\Packaging\PackagingUtilities.cs (1)
69
Invariant.Assert(reader != null && reader.ReadState ==
ReadState
.Initial);