8 writes to type
dotnet-svcutil-lib (8)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImpl.cs (4)
4740
startTagNode.
type
= XmlNodeType.EndElement;
6306
_curNode.
type
= XmlNodeType.EndEntity;
8681
_curNode.
type
= XmlNodeType.Attribute;
9247
_curNode.
type
= newNodeType;
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImplHelpers.cs (4)
489
this.
type
= type;
520
this.
type
= type;
528
this.
type
= type;
547
this.
type
= type;
46 references to type
dotnet-svcutil-lib (46)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImpl.cs (42)
874
return _curNode.
type
;
976
return _curNode.
type
== XmlNodeType.Attribute ? _curNode.quoteChar : '"';
1192
else if (_curNode.
type
!= XmlNodeType.Attribute)
1278
Debug.Assert(_curNode.
type
== XmlNodeType.Element);
1390
switch (_curNode.
type
)
1402
Debug.Assert(_curNode.
type
== XmlNodeType.EndElement);
1431
if (_curNode.
type
!= XmlNodeType.Attribute)
1500
if (_curNode.
type
!= XmlNodeType.EntityReference)
1640
if (!XmlReader.CanReadContentAs(_curNode.
type
))
1700
if (!XmlReader.CanReadContentAs(_curNode.
type
))
1759
if (_curNode.
type
!= XmlNodeType.Element)
1819
if (_curNode.
type
!= XmlNodeType.Element)
1849
if (!XmlReader.HasValueInternal(_curNode.
type
))
1851
throw new InvalidOperationException(string.Format(ResXml.Xml_InvalidReadValueChunk, _curNode.
type
));
2286
if (_curNode.
type
!= XmlNodeType.Element)
2323
if (_curNode.
type
!= XmlNodeType.Element)
2360
if (_curNode.
type
!= XmlNodeType.Element)
4137
if (_fragmentType == XmlNodeType.None && _curNode.
type
== XmlNodeType.Text)
4336
if (_index == 0 && _curNode.
type
!= XmlNodeType.Element)
4347
if (el.
type
!= XmlNodeType.Element)
4545
Debug.Assert(_curNode.
type
== XmlNodeType.Element);
4750
if (startTag.
type
== XmlNodeType.Element)
4765
Debug.Assert(startTag.
type
== XmlNodeType.EntityReference);
4837
Debug.Assert(_curNode.
type
== XmlNodeType.Element);
4845
Debug.Assert(_curNode.
type
== XmlNodeType.Element);
5090
Debug.Assert(_curNode.
type
== XmlNodeType.Element);
5106
if (at.
type
== XmlNodeType.Attribute && at.prefix.Length > 0)
6016
if (_curNode.
type
!= XmlNodeType.EndElement)
6018
Throw(ResXml.Xml_InvalidNodeType, _curNode.
type
.ToString());
6303
Debug.Assert(_curNode.
type
== XmlNodeType.EntityReference);
7865
Debug.Assert(attr.
type
== XmlNodeType.Attribute);
8679
if (_curNode.
type
== XmlNodeType.None)
9027
if (!XmlReader.IsTextualNode(_curNode.
type
))
9043
Debug.Assert(_curNode.
type
== XmlNodeType.Element);
9057
if (_curNode.
type
!= XmlNodeType.EndElement)
9059
Throw(ResXml.Xml_InvalidNodeType, _curNode.
type
.ToString());
9074
switch (_curNode.
type
)
9246
Debug.Assert(_curNode.
type
== XmlNodeType.Whitespace && newNodeType == XmlNodeType.SignificantWhitespace, "Incorrect node type change!");
9426
Debug.Assert(_nodes[_index].
type
== XmlNodeType.Element);
9444
Debug.Assert(_nodes[_index].
type
== XmlNodeType.Element);
9579
if (_curNode.
type
!= XmlNodeType.EndElement)
9581
throw new XmlException(ResXml.Xml_InvalidNodeType, _curNode.
type
.ToString(), this as IXmlLineInfo);
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImplHelpers.cs (4)
431
return
type
== XmlNodeType.Element && _isEmptyOrDefault;
435
Debug.Assert(
type
== XmlNodeType.Element);
444
return
type
== XmlNodeType.Attribute && _isEmptyOrDefault;
448
Debug.Assert(
type
== XmlNodeType.Attribute);