455 references to Element
dotnet-svcutil-lib (455)
FrameworkFork\Microsoft.Xml\Xml\BinaryXml\XmlBinaryReader.cs (10)
550if (_nodetype == XmlNodeType.Element 560if (_parentNodeType != XmlNodeType.Element) 565if (_parentNodeType != XmlNodeType.Element) 823if (XmlNodeType.Element == _parentNodeType) 1043if (this.NodeType != XmlNodeType.Element && this.NodeType != XmlNodeType.EndElement) 1055case XmlNodeType.Element: 1739if (this.NodeType == XmlNodeType.Element || this.NodeType == XmlNodeType.EndElement) 1778if (this.NodeType == XmlNodeType.Element || this.NodeType == XmlNodeType.EndElement) 2832case XmlNodeType.Element: 3111_nodetype = XmlNodeType.Element;
FrameworkFork\Microsoft.Xml\Xml\Core\ReadContentAsBinaryHelper.cs (3)
202if (_reader.NodeType != XmlNodeType.Element) 258if (_reader.NodeType != XmlNodeType.Element) 333Debug.Assert(_reader.NodeType == XmlNodeType.Element);
FrameworkFork\Microsoft.Xml\Xml\Core\ReadContentAsBinaryHelperAsync.cs (3)
152if (_reader.NodeType != XmlNodeType.Element) 208if (_reader.NodeType != XmlNodeType.Element) 276Debug.Assert(_reader.NodeType == XmlNodeType.Element);
FrameworkFork\Microsoft.Xml\Xml\Core\XmlCharCheckingReader.cs (1)
245case XmlNodeType.Element:
FrameworkFork\Microsoft.Xml\Xml\Core\XmlCharCheckingReaderAsync.cs (1)
96case XmlNodeType.Element:
FrameworkFork\Microsoft.Xml\Xml\Core\XmlReader.cs (33)
785if (this.NodeType == XmlNodeType.Element) 823goto case XmlNodeType.Element; 824case XmlNodeType.Element: 839if (MoveToContent() != XmlNodeType.Element) 849if (MoveToContent() != XmlNodeType.Element) 867if (MoveToContent() != XmlNodeType.Element) 887if (MoveToContent() != XmlNodeType.Element) 914if (MoveToContent() != XmlNodeType.Element) 946if (MoveToContent() != XmlNodeType.Element) 985return MoveToContent() == XmlNodeType.Element; 992return (MoveToContent() == XmlNodeType.Element) && 1000return (MoveToContent() == XmlNodeType.Element) && 1017if (NodeType == XmlNodeType.Element && Ref.Equal(name, Name)) 1044if (NodeType == XmlNodeType.Element && Ref.Equal(localName, LocalName) && Ref.Equal(namespaceURI, NamespaceURI)) 1061if (NodeType != XmlNodeType.Element) 1085if (NodeType == XmlNodeType.Element && Ref.Equal(name, Name)) 1107if (NodeType != XmlNodeType.Element) 1132if (NodeType == XmlNodeType.Element && Ref.Equal(localName, LocalName) && Ref.Equal(namespaceURI, NamespaceURI)) 1161if (nt == XmlNodeType.Element && Ref.Equal(name, Name)) 1194if (nt == XmlNodeType.Element && Ref.Equal(localName, LocalName) && Ref.Equal(namespaceURI, NamespaceURI)) 1229if ((this.NodeType != XmlNodeType.Attribute) && (this.NodeType != XmlNodeType.Element)) 1245if (this.NodeType == XmlNodeType.Element) 1266case XmlNodeType.Element: 1334if ((this.NodeType != XmlNodeType.Attribute) && (this.NodeType != XmlNodeType.Element)) 1393if (NodeType != XmlNodeType.Element) 1443Debug.Assert(0 == (s_isTextualNodeBitmap & (1 << (int)XmlNodeType.Element))); 1470Debug.Assert(0 == (s_canReadContentAsBitmap & (1 << (int)XmlNodeType.Element))); 1497Debug.Assert(0 == (s_hasValueBitmap & (1 << (int)XmlNodeType.Element))); 1525if (NodeType == XmlNodeType.Element && !IsEmptyElement) 1556if (NodeType != XmlNodeType.Element) 1656if (this.NodeType != XmlNodeType.Element) 1677else if (nodeType == XmlNodeType.Element) 1982case XmlNodeType.Element:
FrameworkFork\Microsoft.Xml\Xml\Core\XmlReaderAsync.cs (9)
182goto case XmlNodeType.Element; 183case XmlNodeType.Element: 202if ((this.NodeType != XmlNodeType.Attribute) && (this.NodeType != XmlNodeType.Element)) 218if (this.NodeType == XmlNodeType.Element) 239case XmlNodeType.Element: 289if ((this.NodeType != XmlNodeType.Attribute) && (this.NodeType != XmlNodeType.Element)) 325if (NodeType == XmlNodeType.Element && !IsEmptyElement) 399if (this.NodeType != XmlNodeType.Element) 420else if (nodeType == XmlNodeType.Element)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlSubtreeReader.cs (13)
426Debug.Assert(reader.NodeType == XmlNodeType.Element); 477(reader.NodeType == XmlNodeType.Element && reader.IsEmptyElement)) 483Debug.Assert(reader.NodeType == XmlNodeType.Element && !reader.IsEmptyElement); 546if (reader.Depth == _initialDepth && reader.NodeType == XmlNodeType.Element && !reader.IsEmptyElement) 584if (reader.NodeType == XmlNodeType.Element && !reader.IsEmptyElement) 596reader.NodeType == XmlNodeType.Element && reader.IsEmptyElement || 603if (reader.NodeType == XmlNodeType.Element && !reader.IsEmptyElement) 833case XmlNodeType.Element: 969case XmlNodeType.Element: 1240case XmlNodeType.Element: 1356if (NodeType != XmlNodeType.Element) 1371case XmlNodeType.Element: 1547case XmlNodeType.Element:
FrameworkFork\Microsoft.Xml\Xml\Core\XmlSubtreeReaderAsync.cs (9)
51(reader.NodeType == XmlNodeType.Element && reader.IsEmptyElement)) 57Debug.Assert(reader.NodeType == XmlNodeType.Element && !reader.IsEmptyElement); 121if (reader.NodeType == XmlNodeType.Element && !reader.IsEmptyElement) 133reader.NodeType == XmlNodeType.Element && reader.IsEmptyElement || 140if (reader.NodeType == XmlNodeType.Element && !reader.IsEmptyElement) 250case XmlNodeType.Element: 386case XmlNodeType.Element: 560if (NodeType != XmlNodeType.Element) 575case XmlNodeType.Element:
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImpl.cs (30)
450_fragmentType = XmlNodeType.Element; 846case XmlNodeType.Element: settings.ConformanceLevel = ConformanceLevel.Fragment; break; 1278Debug.Assert(_curNode.type == XmlNodeType.Element); 1393case XmlNodeType.Element: 1408goto case XmlNodeType.Element; 1759if (_curNode.type != XmlNodeType.Element) 1819if (_curNode.type != XmlNodeType.Element) 2286if (_curNode.type != XmlNodeType.Element) 2323if (_curNode.type != XmlNodeType.Element) 2360if (_curNode.type != XmlNodeType.Element) 3079case XmlNodeType.Element: 4019_fragmentType = XmlNodeType.Element; 4072_fragmentType = XmlNodeType.Element; 4091_fragmentType = XmlNodeType.Element; 4139_fragmentType = XmlNodeType.Element; 4180_fragmentType = _rootElementParsed ? XmlNodeType.Document : XmlNodeType.Element; 4336if (_index == 0 && _curNode.type != XmlNodeType.Element) 4347if (el.type != XmlNodeType.Element) 4455_curNode.SetNamedNode(XmlNodeType.Element, 4464_curNode.SetNamedNode(XmlNodeType.Element, 4471_curNode.SetNamedNode(XmlNodeType.Element, 4545Debug.Assert(_curNode.type == XmlNodeType.Element); 4750if (startTag.type == XmlNodeType.Element) 4837Debug.Assert(_curNode.type == XmlNodeType.Element); 4845Debug.Assert(_curNode.type == XmlNodeType.Element); 5090Debug.Assert(_curNode.type == XmlNodeType.Element); 9043Debug.Assert(_curNode.type == XmlNodeType.Element); 9310return _fragmentType == XmlNodeType.Element ? ConformanceLevel.Fragment : ConformanceLevel.Document; 9426Debug.Assert(_nodes[_index].type == XmlNodeType.Element); 9444Debug.Assert(_nodes[_index].type == XmlNodeType.Element);
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImplHelpers.cs (2)
431return type == XmlNodeType.Element && _isEmptyOrDefault; 435Debug.Assert(type == XmlNodeType.Element);
FrameworkFork\Microsoft.Xml\Xml\Core\XmlValidatingReaderImpl.cs (1)
956case XmlNodeType.Element:
FrameworkFork\Microsoft.Xml\Xml\Core\XmlWriter.cs (2)
359if (reader.NodeType == XmlNodeType.Element || reader.NodeType == XmlNodeType.XmlDeclaration) 413case XmlNodeType.Element:
FrameworkFork\Microsoft.Xml\Xml\Core\XsdCachingReader.cs (8)
85if (_coreReader.NodeType == XmlNodeType.Element) 425case XmlNodeType.Element: 465if (_coreReader.NodeType != XmlNodeType.Element || _readAhead) 495Debug.Assert(_coreReader.NodeType == XmlNodeType.EndElement || (_coreReader.NodeType == XmlNodeType.Element && _coreReader.IsEmptyElement)); 508Debug.Assert(_coreReader.NodeType == XmlNodeType.EndElement || (_coreReader.NodeType == XmlNodeType.Element && _coreReader.IsEmptyElement)); 556case XmlNodeType.Element: 570goto case XmlNodeType.Element; 714Debug.Assert(_coreReader.NodeType == XmlNodeType.Element);
FrameworkFork\Microsoft.Xml\Xml\Core\XsdCachingReaderAsync.cs (4)
51case XmlNodeType.Element: 91if (_coreReader.NodeType != XmlNodeType.Element || _readAhead) 116case XmlNodeType.Element: 130goto case XmlNodeType.Element;
FrameworkFork\Microsoft.Xml\Xml\Core\XsdValidatingReader.cs (26)
414case XmlNodeType.Element: 753if (this.NodeType != XmlNodeType.Element) 764if (this.NodeType != XmlNodeType.Element) 799if (this.NodeType != XmlNodeType.Element) 834if (this.NodeType != XmlNodeType.Element) 869if (this.NodeType != XmlNodeType.Element) 904if (this.NodeType != XmlNodeType.Element) 939if (this.NodeType != XmlNodeType.Element) 974if (this.NodeType != XmlNodeType.Element) 1009if (this.NodeType != XmlNodeType.Element) 1044if (this.NodeType != XmlNodeType.Element) 1451case XmlNodeType.Element: 1473goto case XmlNodeType.Element; 1643case XmlNodeType.Element: 1673case XmlNodeType.Element: 1690case XmlNodeType.Element: 1721case XmlNodeType.Element: 1750case XmlNodeType.Element: 1770if (NodeType == XmlNodeType.Element || NodeType == XmlNodeType.EndElement) 1911case XmlNodeType.Element: 2218if (_coreReader.NodeType == XmlNodeType.Element) 2323Debug.Assert(this.NodeType == XmlNodeType.Element); 2366else if (this.NodeType == XmlNodeType.Element) 2400case XmlNodeType.Element: 2460case XmlNodeType.Element: 2513case XmlNodeType.Element:
FrameworkFork\Microsoft.Xml\Xml\Core\XsdValidatingReaderAsync.cs (10)
125if (this.NodeType != XmlNodeType.Element) 137if (this.NodeType != XmlNodeType.Element) 175if (this.NodeType != XmlNodeType.Element) 344case XmlNodeType.Element: 366goto case XmlNodeType.Element; 487case XmlNodeType.Element: 630if (_coreReader.NodeType == XmlNodeType.Element) 750Debug.Assert(this.NodeType == XmlNodeType.Element); 794else if (this.NodeType == XmlNodeType.Element) 832case XmlNodeType.Element:
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentSchemaValidator.cs (4)
107case XmlNodeType.Element: //Validate children of this element 187case XmlNodeType.Element: 302case XmlNodeType.Element: 761case XmlNodeType.Element: //Flat validation, do not drill down into children
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentXPathNavigator.cs (28)
78goto case XmlNodeType.Element; 79case XmlNodeType.Element: 135case XmlNodeType.Element: 175case XmlNodeType.Element: 376&& node.NodeType != XmlNodeType.Element) 817case XmlNodeType.Element: 930if (child.NodeType == XmlNodeType.Element 1041while (following.NodeType != XmlNodeType.Element 1145if (sibling.NodeType == XmlNodeType.Element 1200case XmlNodeType.Element: 1494if (curNT != XmlNodeType.Document && curNT != XmlNodeType.Element) 1519case XmlNodeType.Element: 1536case XmlNodeType.Element: 1600if (_source.NodeType != XmlNodeType.Element) 1711goto case XmlNodeType.Element; 1712case XmlNodeType.Element: 1773goto case XmlNodeType.Element; 1774case XmlNodeType.Element: 2129case XmlNodeType.Element: 2134case XmlNodeType.Element: 2147case XmlNodeType.Element: 2267if (node.NodeType == XmlNodeType.Element && Match(node)) 2295return (node.NodeType == XmlNodeType.Element); 2319if (node.NodeType == XmlNodeType.Element && Match(node)) 2351Debug.Assert(node.NodeType == XmlNodeType.Element); 2376if (node.NodeType == XmlNodeType.Element && Match(node)) 2416Debug.Assert(node.NodeType == XmlNodeType.Element); 2443if (node.NodeType == XmlNodeType.Element && Match(node))
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlDocument.cs (9)
328get { return (XmlElement)FindChild(XmlNodeType.Element); } 410case XmlNodeType.Element: 482return !HasNodeTypeInPrevSiblings(XmlNodeType.Element, refChild.PreviousSibling); 487case XmlNodeType.Element: 522return !HasNodeTypeInPrevSiblings(XmlNodeType.Element, refChild); 525case XmlNodeType.Element: 904case XmlNodeType.Element: 1055case XmlNodeType.Element: 1142return XmlNodeType.Element;
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlDocumentFragment.cs (2)
106loader.ParsePartialContent(this, value, XmlNodeType.Element); 136case XmlNodeType.Element:
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlElement.cs (2)
108get { return XmlNodeType.Element; } 218case XmlNodeType.Element:
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlElementList.cs (2)
32Debug.Assert(parent.NodeType == XmlNodeType.Element || parent.NodeType == XmlNodeType.Document); 156if (curNode.NodeType == XmlNodeType.Element)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlEntity.cs (1)
100type == XmlNodeType.Element ||
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlEntityReference.cs (1)
139case XmlNodeType.Element:
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlLoader.cs (7)
111case XmlNodeType.Element: 154Debug.Assert(parent.NodeType == XmlNodeType.Element); 469case XmlNodeType.Element: 498Debug.Assert(parent.NodeType == XmlNodeType.Element); 600XmlTextReaderImpl tr = new XmlTextReaderImpl("", XmlNodeType.Element, pc); 795XmlNamespaceManager mgr = ParsePartialContent(node, innerxmltext, XmlNodeType.Element); 936contentNT = XmlNodeType.Element;
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlNode.cs (6)
750case XmlNodeType.Element: 1074if (node.NodeType == XmlNodeType.Element) 1159if (node.NodeType == XmlNodeType.Element) 1226if (n.NodeType == XmlNodeType.Element && n.Name == name) 1241if (n.NodeType == XmlNodeType.Element && n.LocalName == localname && n.NamespaceURI == ns) 1439case XmlNodeType.Element:
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlNodeReader.cs (18)
203case XmlNodeType.Element: 299if (_curNode.NodeType == XmlNodeType.Element) 339if (nt == XmlNodeType.Element) 498case XmlNodeType.Element: 523case XmlNodeType.Element: 541case XmlNodeType.Element: 637nt = XmlNodeType.Element; 639if (_curNode.NodeType == XmlNodeType.Element) 673if (nt == XmlNodeType.Element) 703case XmlNodeType.Element: 745else if (nt == XmlNodeType.Element) 886if (node.NodeType == XmlNodeType.Element) 954if (node.NodeType == XmlNodeType.Element) 1004if (node.NodeType == XmlNodeType.Element) 1579&& (nt == XmlNodeType.Element || (nt == XmlNodeType.EntityReference && _bResolveEntity) || 1592else if (_readerNav.NodeType == XmlNodeType.Element 1642&& _readerNav.NodeType == XmlNodeType.Element 1679if (_readerNav.NodeType == XmlNodeType.Element)
FrameworkFork\Microsoft.Xml\Xml\schema\autovalidator.cs (1)
74if (reader.NodeType == XmlNodeType.Element)
FrameworkFork\Microsoft.Xml\Xml\schema\dtdvalidator.cs (3)
59case XmlNodeType.Element: 96reader.NodeType == XmlNodeType.Element) 146Debug.Assert(reader.NodeType == XmlNodeType.Element);
FrameworkFork\Microsoft.Xml\Xml\schema\Inference\infer.cs (5)
209while (_xtr.NodeType != XmlNodeType.Element && _xtr.Read()) ; 212if (_xtr.NodeType == XmlNodeType.Element) 719} while ((!_xtr.EOF) && (_xtr.NodeType != XmlNodeType.EndElement) && (_xtr.NodeType != XmlNodeType.CDATA) && (_xtr.NodeType != XmlNodeType.Element) && (_xtr.NodeType != XmlNodeType.Text)); 907else if (_xtr.NodeType == XmlNodeType.Element) 983} while ((!_xtr.EOF) && (_xtr.NodeType != XmlNodeType.EndElement) && (_xtr.NodeType != XmlNodeType.CDATA) && (_xtr.NodeType != XmlNodeType.Element) && (_xtr.NodeType != XmlNodeType.Text));
FrameworkFork\Microsoft.Xml\Xml\schema\Parser.cs (4)
74while (reader.NodeType != XmlNodeType.Element && reader.Read()) { } 181else if (_reader.NodeType == XmlNodeType.Element) 279case XmlNodeType.Element: 336Debug.Assert(_reader.NodeType == XmlNodeType.Element);
FrameworkFork\Microsoft.Xml\Xml\schema\ParserAsync.cs (1)
39while (reader.NodeType != XmlNodeType.Element && await reader.ReadAsync().ConfigureAwait(false)) { }
FrameworkFork\Microsoft.Xml\Xml\schema\xdrvalidator.cs (1)
69case XmlNodeType.Element:
FrameworkFork\Microsoft.Xml\Xml\schema\xsdvalidator.cs (1)
97case XmlNodeType.Element:
FrameworkFork\Microsoft.Xml\Xml\Serialization\PrimitiveXmlSerializers.cs (18)
223if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 252if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 276if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 300if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 324if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 348if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 372if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 396if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 420if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 444if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 468if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 492if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 516if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 540if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 564if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 593if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 617if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 641if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationReader.cs (3)
1286else if (_r.NodeType == XmlNodeType.Element && _events.OnUnknownElement == null) 1312else if (unknownNode.NodeType == XmlNodeType.Element) 1345case XmlNodeType.Element:
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathDocument.cs (1)
205case XmlNodeType.Element:
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathNavigator.cs (2)
2115XmlTextReader reader = new XmlTextReader(xml, XmlNodeType.Element, context); 2143case XmlNodeType.Element:
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathNavigatorReader.cs (6)
54XmlNodeType.Element, // XPathNodeType.Element 302if ((_nodeType != XmlNodeType.Element) 315if ((_nodeType != XmlNodeType.Element) 352if (_nodeType == XmlNodeType.Element) 776_nodeType = XmlNodeType.Element; 1010else if (_nodeType == XmlNodeType.Element
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContractSerializer.cs (1)
427throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationExceptionWithReaderDetails(string.Format(SRSerialization.ExpectingElementAtDeserialize, XmlNodeType.Element), xmlReader));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ExceptionDataContract.cs (2)
763while (_reader.NodeType == XmlNodeType.Element) 808while (_reader.NodeType == XmlNodeType.Element)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ExtensionDataReader.cs (1)
218_nodeType = XmlNodeType.Element;
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaImporter.cs (1)
1424if (child.NodeType == XmlNodeType.Element)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlFormatReaderGenerator.cs (1)
806ThrowUnexpectedStateException(XmlNodeType.Element);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (3)
307if (xmlReader.NodeType != XmlNodeType.Element) 308throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateUnexpectedStateException(XmlNodeType.Element, xmlReader)); 542throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateUnexpectedStateException(XmlNodeType.Element, xmlReader));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlSerializableReader.cs (3)
28if (xmlReader.NodeType != XmlNodeType.Element) 29throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializerReadContext.CreateUnexpectedStateException(XmlNodeType.Element, xmlReader)); 58(reader.NodeType == XmlNodeType.Element && reader.IsEmptyElement))
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBaseReader.cs (13)
1008if (nodeType == XmlNodeType.Element) 1015if (_node.NodeType == XmlNodeType.Element) 1018return (MoveToContent() == XmlNodeType.Element); 1038return (_node.NodeType == XmlNodeType.Element || IsStartElement()) && _node.Prefix == prefix && _node.LocalName == localName; 1047return (_node.NodeType == XmlNodeType.Element || IsStartElement()) && _node.LocalName == localName && _node.IsNamespaceUri(namespaceUri); 1056return (_node.NodeType == XmlNodeType.Element || IsStartElement()) && _node.LocalName == localName && _node.IsNamespaceUri(namespaceUri); 1204if (_node.NodeType != XmlNodeType.Element) 1222if (_node.NodeType != XmlNodeType.Element) 1243int nodeDepth = _node.NodeType == XmlNodeType.Element ? _depth - 1 : _depth; 1361if (nodeType == XmlNodeType.Element || nodeType == XmlNodeType.EndElement) 1379if (nodeType == XmlNodeType.Element || nodeType == XmlNodeType.EndElement) 1681if ((_node.NodeType == XmlNodeType.Element || MoveToElement()) && !IsEmptyElement) 2205: base(XmlNodeType.Element,
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBinaryReader.cs (11)
79if (this.Node.NodeType != XmlNodeType.Element) 107if (this.Node.NodeType != XmlNodeType.Element) 138if (this.Node.NodeType != XmlNodeType.Element) 184if (this.Node.NodeType != XmlNodeType.Element) 198if (this.Node.NodeType != XmlNodeType.Element) 212if (this.Node.NodeType != XmlNodeType.Element) 226if (this.Node.NodeType != XmlNodeType.Element) 240if (this.Node.NodeType != XmlNodeType.Element) 254if (this.Node.NodeType != XmlNodeType.Element) 268if (this.Node.NodeType != XmlNodeType.Element) 1103if (this.Node.NodeType != XmlNodeType.Element)
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlDictionaryReader.cs (2)
369case XmlNodeType.Element: 454if (nodeType == XmlNodeType.Element || nodeType == XmlNodeType.EndElement)
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlDictionaryWriter.cs (1)
373case XmlNodeType.Element:
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlExceptionHelper.cs (1)
66case XmlNodeType.Element:
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\AddressHeader.cs (1)
313Fx.Assert(reader.NodeType == XmlNodeType.Element, "");
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\Message.cs (9)
569if (reader.NodeType != XmlNodeType.Element) 571if (reader.NodeType == XmlNodeType.Element) 890if (reader.MoveToContent() != XmlNodeType.Element) 916if (type != XmlNodeType.Element) 1234if (reader.NodeType != XmlNodeType.Element) 1268if (reader.NodeType != XmlNodeType.Element) 1554if (reader.NodeType != XmlNodeType.Element) 1565if (reader.NodeType != XmlNodeType.Element) 1572if (reader.NodeType != XmlNodeType.Element)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageHeaders.cs (6)
418if (reader.NodeType != XmlNodeType.Element) 420if (reader.MoveToContent() != XmlNodeType.Element) 774if (reader.NodeType == XmlNodeType.Element) 778if (reader.NodeType == XmlNodeType.Element) 797if (reader.NodeType != XmlNodeType.Element) 810if (reader.MoveToContent() == XmlNodeType.Element && !reader.IsEmptyElement)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\OneWayBindingElementImporter.cs (1)
41&& currentNode.NodeType == XmlNodeType.Element
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ReliableSessionBindingElementImporter.cs (1)
107&& (node.NodeType == XmlNodeType.Element)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataSet.cs (4)
436if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 494if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 565if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 649if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\PolicyReader.cs (2)
143if (child.NodeType == XmlNodeType.Element) 166if (child.NodeType == XmlNodeType.Element)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\EndpointAddressProcessor.cs (1)
34case XmlNodeType.Element:
FrameworkFork\System.ServiceModel\System\ServiceModel\EndpointAddress.cs (2)
559else if (reader.NodeType != XmlNodeType.Element) 597else if (reader.NodeType != XmlNodeType.Element)
FrameworkFork\System.ServiceModel\System\ServiceModel\EndpointIdentity.cs (1)
148else if (reader.NodeType == XmlNodeType.Element)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityPolicy.cs (1)
2334while (metadataReader.MoveToContent() == XmlNodeType.Element)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\XmlHelper.cs (3)
62else if (child.NodeType == XmlNodeType.Element && result == null) 74OnChildNodeTypeMissing(parent, XmlNodeType.Element); 95else if (child.NodeType == XmlNodeType.Element)
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (89)
5187if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 5268if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 5371if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 5457if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 5539if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 5600if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 5661if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 5735if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 5829if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 5932if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 6025if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 6111if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 6189if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 6311if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 6400if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 6476if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 6557if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 6646if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 6722if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 6779if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 6873if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 6937if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 7001if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 7085if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 7151if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 7219if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 7324if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 7380if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 7451if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 7527if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 7598if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 7664if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 7730if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 7791if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 7860if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 7948if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 8042if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 8124if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 8206if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 8284if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 8375if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 8448if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 8561if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 8683if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 8783if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 8861if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 8938if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 9016if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 9108if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 9220if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 9312if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 9418if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 9506if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 9646if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 9733if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 9820if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 9907if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 9994if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 10081if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 10168if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 10255if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 10342if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 10429if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 10516if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 10603if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 10685if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 10881if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 10991if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 11082if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 11165if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 11257if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 11369if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 11500if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 11592if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 11704if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 11792if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 11909if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 11986if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 12079if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 12176if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 12324if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 12417if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 12533if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 12648if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 12755if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 12838if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 12940if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 13022if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 13104if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element)
FrameworkFork\System.Web.Services\Services\Description\WebReferenceOptions.cs (3)
359if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 390if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element) 462if (Reader.NodeType == Microsoft.Xml.XmlNodeType.Element)