2 writes to _coreReader
dotnet-svcutil-lib (2)
FrameworkFork\Microsoft.Xml\Xml\Core\XsdCachingReader.cs (2)
66
_coreReader
= reader;
96
_coreReader
= reader;
74 references to _coreReader
dotnet-svcutil-lib (74)
FrameworkFork\Microsoft.Xml\Xml\Core\XsdCachingReader.cs (57)
76
_coreReaderNameTable =
_coreReader
.NameTable;
85
if (
_coreReader
.NodeType == XmlNodeType.Element)
87
ValidatingReaderNodeData element = AddContent(
_coreReader
.NodeType);
88
element.SetItemData(
_coreReader
.LocalName,
_coreReader
.Prefix,
_coreReader
.NamespaceURI,
_coreReader
.Depth); //Only created for element node type
105
return
_coreReader
.Settings;
188
return
_coreReader
.BaseURI;
216
return
_coreReader
.QuoteChar;
225
return
_coreReader
.XmlSpace;
234
return
_coreReader
.XmlLang;
421
if (
_coreReader
.Read())
423
switch (
_coreReader
.NodeType)
431
recordedNode = AddContent(
_coreReader
.NodeType);
432
recordedNode.SetItemData(
_coreReader
.LocalName,
_coreReader
.Prefix,
_coreReader
.NamespaceURI,
_coreReader
.Depth); //Only created for element node type
442
recordedNode = AddContent(
_coreReader
.NodeType);
443
recordedNode.SetItemData(
_coreReader
.Value);
445
recordedNode.Depth =
_coreReader
.Depth;
465
if (
_coreReader
.NodeType != XmlNodeType.Element || _readAhead)
467
return
_coreReader
.Read();
495
Debug.Assert(
_coreReader
.NodeType == XmlNodeType.EndElement || (
_coreReader
.NodeType == XmlNodeType.Element &&
_coreReader
.IsEmptyElement));
497
ValidatingReaderNodeData textNode = RecordTextNode(textValue, originalStringValue,
_coreReader
.Depth + 1, 0, 0);
508
Debug.Assert(
_coreReader
.NodeType == XmlNodeType.EndElement || (
_coreReader
.NodeType == XmlNodeType.Element &&
_coreReader
.IsEmptyElement));
509
recordedNode.SetItemData(
_coreReader
.LocalName,
_coreReader
.Prefix,
_coreReader
.NamespaceURI,
_coreReader
.Depth);
510
recordedNode.SetLineInfo(
_coreReader
as IXmlLineInfo);
511
if (
_coreReader
.IsEmptyElement)
530
return _cacheState == CachingReaderState.ReaderClosed &&
_coreReader
.EOF;
537
_coreReader
.Close();
546
return
_coreReader
.ReadState;
557
if (
_coreReader
.NodeType != XmlNodeType.EndElement && !_readAhead)
559
int startDepth =
_coreReader
.Depth - 1;
560
while (
_coreReader
.Read() &&
_coreReader
.Depth > startDepth)
563
_coreReader
.Read();
591
return
_coreReader
.LookupNamespace(prefix);
648
return
_coreReader
;
714
Debug.Assert(
_coreReader
.NodeType == XmlNodeType.Element);
716
_attributeCount =
_coreReader
.AttributeCount;
717
if (
_coreReader
.MoveToFirstAttribute())
723
attInfo.SetItemData(
_coreReader
.LocalName,
_coreReader
.Prefix,
_coreReader
.NamespaceURI,
_coreReader
.Depth);
725
attInfo.RawValue =
_coreReader
.Value;
727
} while (
_coreReader
.MoveToNextAttribute());
728
_coreReader
.MoveToElement();
FrameworkFork\Microsoft.Xml\Xml\Core\XsdCachingReaderAsync.cs (17)
47
if (await
_coreReader
.ReadAsync().ConfigureAwait(false))
49
switch (
_coreReader
.NodeType)
57
recordedNode = AddContent(
_coreReader
.NodeType);
58
recordedNode.SetItemData(
_coreReader
.LocalName,
_coreReader
.Prefix,
_coreReader
.NamespaceURI,
_coreReader
.Depth); //Only created for element node type
68
recordedNode = AddContent(
_coreReader
.NodeType);
69
recordedNode.SetItemData(await
_coreReader
.GetValueAsync().ConfigureAwait(false));
71
recordedNode.Depth =
_coreReader
.Depth;
91
if (
_coreReader
.NodeType != XmlNodeType.Element || _readAhead)
93
return await
_coreReader
.ReadAsync().ConfigureAwait(false);
117
if (
_coreReader
.NodeType != XmlNodeType.EndElement && !_readAhead)
119
int startDepth =
_coreReader
.Depth - 1;
120
while (await
_coreReader
.ReadAsync().ConfigureAwait(false) &&
_coreReader
.Depth > startDepth)
123
await
_coreReader
.ReadAsync().ConfigureAwait(false);