Base:
property
NodeType
System.Xml.XmlReader.NodeType
60 references to NodeType
System.Xml (60)
System\Xml\Core\XsdValidatingReader.cs (46)
353
switch (
NodeType
) {
374
if (!CanReadContentAs(this.
NodeType
)) {
383
if (!CanReadContentAs(this.
NodeType
)) {
387
XmlSchemaType xmlType =
NodeType
== XmlNodeType.Attribute ? AttributeXmlType : ElementXmlType;
408
if (!CanReadContentAs(this.
NodeType
)) {
412
XmlSchemaType xmlType =
NodeType
== XmlNodeType.Attribute ? AttributeXmlType : ElementXmlType;
433
if (!CanReadContentAs(this.
NodeType
)) {
437
XmlSchemaType xmlType =
NodeType
== XmlNodeType.Attribute ? AttributeXmlType : ElementXmlType;
458
if (!CanReadContentAs(this.
NodeType
)) {
462
XmlSchemaType xmlType =
NodeType
== XmlNodeType.Attribute ? AttributeXmlType : ElementXmlType;
483
if (!CanReadContentAs(this.
NodeType
)) {
487
XmlSchemaType xmlType =
NodeType
== XmlNodeType.Attribute ? AttributeXmlType : ElementXmlType;
508
if (!CanReadContentAs(this.
NodeType
)) {
512
XmlSchemaType xmlType =
NodeType
== XmlNodeType.Attribute ? AttributeXmlType : ElementXmlType;
533
if (!CanReadContentAs(this.
NodeType
)) {
537
XmlSchemaType xmlType =
NodeType
== XmlNodeType.Attribute ? AttributeXmlType : ElementXmlType;
558
if (!CanReadContentAs(this.
NodeType
)) {
562
XmlSchemaType xmlType =
NodeType
== XmlNodeType.Attribute ? AttributeXmlType : ElementXmlType;
583
if (!CanReadContentAs(this.
NodeType
)) {
590
XmlSchemaType xmlType =
NodeType
== XmlNodeType.Attribute ? AttributeXmlType : ElementXmlType; //
616
if (this.
NodeType
!= XmlNodeType.Element) {
626
if (this.
NodeType
!= XmlNodeType.Element) {
653
if (this.
NodeType
!= XmlNodeType.Element) {
680
if (this.
NodeType
!= XmlNodeType.Element) {
707
if (this.
NodeType
!= XmlNodeType.Element) {
734
if (this.
NodeType
!= XmlNodeType.Element) {
761
if (this.
NodeType
!= XmlNodeType.Element) {
788
if (this.
NodeType
!= XmlNodeType.Element) {
815
if (this.
NodeType
!= XmlNodeType.Element) {
842
if (this.
NodeType
!= XmlNodeType.Element) {
1178
switch (
NodeType
) {
1228
if (
NodeType
== XmlNodeType.Attribute) {
1342
switch (
NodeType
) {
1367
switch (
NodeType
) {
1381
switch (
NodeType
) {
1406
switch (
NodeType
) {
1430
switch (
NodeType
) {
1448
if (
NodeType
== XmlNodeType.Element ||
NodeType
== XmlNodeType.EndElement) {
1457
if (
NodeType
== XmlNodeType.Attribute) {
1851
XmlNodeType nodeType = this.
NodeType
;
1921
Debug.Assert(this.
NodeType
== XmlNodeType.Element);
1942
if (this.
NodeType
== XmlNodeType.EndElement) { //If IsDefault is true, the next node will be EndElement
1957
else if (this.
NodeType
== XmlNodeType.Element) { //the first child is again element node
1965
if (this.
NodeType
!= XmlNodeType.EndElement) {
2145
Debug.Assert(
NodeType
!= XmlNodeType.Attribute);
System\Xml\Core\XsdValidatingReaderAsync.cs (14)
28
if (!CanReadContentAs(this.
NodeType
)) {
37
if (!CanReadContentAs(this.
NodeType
)) {
41
XmlSchemaType xmlType =
NodeType
== XmlNodeType.Attribute ? AttributeXmlType : ElementXmlType;
62
if (!CanReadContentAs(this.
NodeType
)) {
72
XmlSchemaType xmlType =
NodeType
== XmlNodeType.Attribute ? AttributeXmlType : ElementXmlType; //
98
if (this.
NodeType
!= XmlNodeType.Element) {
109
if (this.
NodeType
!= XmlNodeType.Element) {
139
if (this.
NodeType
!= XmlNodeType.Element) {
278
switch (
NodeType
) {
563
XmlNodeType nodeType = this.
NodeType
;
643
Debug.Assert(this.
NodeType
== XmlNodeType.Element);
665
if (this.
NodeType
== XmlNodeType.EndElement) { //If IsDefault is true, the next node will be EndElement
680
else if (this.
NodeType
== XmlNodeType.Element) { //the first child is again element node
691
if (this.
NodeType
!= XmlNodeType.EndElement) {