898 references to Element
PresentationBuildTasks (9)
Base\System\Windows\Markup\XmlCompatibilityReader.cs (1)
189case XmlNodeType.Element:
BuildTasks\Microsoft\Build\Tasks\Windows\UidManager.cs (1)
519case XmlNodeType.Element :
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (1)
799case XmlNodeType.Element:
Framework\System\Windows\Markup\XamlParser.cs (1)
90multipleRoots ? XmlNodeType.Element : XmlNodeType.Document,
Framework\System\Windows\Markup\XamlReaderHelper.cs (5)
396case XmlNodeType.Element: 1271case XmlNodeType.Element: 2001CompileBamlTag(XmlNodeType.Element, ref endTagHasBeenRead); 2148case XmlNodeType.Element: 3595case XmlNodeType.Element:
PresentationCore (6)
Core\CSharp\MS\Internal\FontFace\CompositeFontParser.cs (6)
306case XmlNodeType.Element: 420if (_reader.NodeType == XmlNodeType.Element && _reader.NamespaceURI == CompositeFontNamespace) 433while (MoveToContent() == XmlNodeType.Element) 588if (_reader.NodeType == XmlNodeType.Element && _reader.NamespaceURI == CompositeFontNamespace) 603while (MoveToContent() == XmlNodeType.Element) 838if (_reader.NodeType == XmlNodeType.Element && _reader.NamespaceURI == CompositeFontNamespace)
PresentationFramework (10)
src\Framework\MS\Internal\Globalization\BamlTreeMap.cs (1)
662if (node.NodeType == XmlNodeType.Element)
src\Framework\MS\Internal\Globalization\BamlTreeUpdater.cs (1)
495else if (node.NodeType == XmlNodeType.Element)
src\Framework\MS\Internal\IO\Packaging\XamlFilter.cs (1)
432case XmlNodeType.Element:
src\Framework\System\Windows\Annotations\Annotation.cs (1)
356if (!(AnnotationXmlConstants.Elements.StringAuthor == reader.LocalName && XmlNodeType.Element == reader.NodeType))
src\Framework\System\Windows\Annotations\AnnotationResource.cs (1)
213else if (XmlNodeType.Element == reader.NodeType)
src\Framework\System\Windows\Annotations\LocatorPartList.cs (1)
244if (XmlNodeType.Element != reader.NodeType)
src\Framework\System\Windows\Documents\FixedFindEngine.cs (1)
398case XmlNodeType.Element:
src\Framework\System\Windows\Documents\FixedSchema.cs (1)
213if ( (Reader.NodeType == XmlNodeType.Element) && !_rootXMLNSChecked )
src\Framework\System\Windows\Interop\DocobjHost.cs (1)
1411if (reader.NodeType == XmlNodeType.Element)
src\Framework\System\Windows\Markup\BamlRecordReader.cs (1)
2064XmlNodeType.Element,
System.Activities (1)
System\Activities\Debugger\XmlReaderWithSourceLocation.cs (1)
114if (this.NodeType == Xml.XmlNodeType.Element)
System.Configuration (41)
System\Configuration\BaseConfigurationRecord.cs (4)
2268if (xmlUtil.Reader.NodeType != XmlNodeType.Element || xmlUtil.Reader.Name != KEYWORD_CONFIGURATION) { 3146if (t == XmlNodeType.Element) { 3185if (xmlUtil.Reader.NodeType != XmlNodeType.Element) { 4249if (nodeType == XmlNodeType.Element && clone.Name == "EncryptedData") { // Found it!
System\Configuration\ConfigurationElement.cs (1)
1515if (reader.NodeType == XmlNodeType.Element) {
System\Configuration\ConfigurationSection.cs (1)
59if (!reader.Read() || reader.NodeType != XmlNodeType.Element) {
System\Configuration\DefaultSection.cs (1)
49if (!xmlReader.Read() || xmlReader.NodeType != XmlNodeType.Element) {
System\Configuration\DPAPIProtectedConfigurationProvider.cs (2)
26if (encryptedNode.NodeType != XmlNodeType.Element || 220if (child.NodeType != XmlNodeType.Element)
System\Configuration\IgnoreSection.cs (1)
49if (!xmlReader.Read() || xmlReader.NodeType != XmlNodeType.Element) {
System\Configuration\MgmtConfigurationRecord.cs (11)
698reader = new XmlTextReader(xmlElement, XmlNodeType.Element, context); 702if (reader.NodeType != XmlNodeType.Element) { 2305if (xmlUtil.Reader.NodeType == XmlNodeType.Element && utilWriter.IsLastLineBlank) { 2329Debug.Assert(reader.NodeType == XmlNodeType.Element && reader.Name == KEYWORD_CONFIGURATION, 2361if (reader.NodeType == XmlNodeType.Element && reader.Name == KEYWORD_CONFIGSECTIONS) { 2427bool skipFirstIndent = reader.Depth > 0 && reader.NodeType == XmlNodeType.Element; 2510if (reader.NodeType == XmlNodeType.Element) { 2555if (reader.NodeType == XmlNodeType.Element) { 2736if (reader.NodeType == XmlNodeType.Element) { 2785if (reader.NodeType == XmlNodeType.Element) { 3199if (reader.NodeType == XmlNodeType.Element) {
System\Configuration\RSAProtectedConfigurationProvider.cs (2)
89if (node2.NodeType == XmlNodeType.Element) 91if (node3.NodeType == XmlNodeType.Element)
System\Configuration\RuntimeConfigurationRecord.cs (1)
210if (xmlNode.NodeType == XmlNodeType.Element) {
System\Configuration\XmlUtil.cs (17)
106case XmlNodeType.Element: 178if (_reader.MoveToContent() == XmlNodeType.Element) { 195while (!_reader.EOF && _reader.NodeType != XmlNodeType.Element) { 207if (_reader.NodeType == XmlNodeType.Element) { 223while (!_reader.EOF && _reader.NodeType != XmlNodeType.Element) { 388Debug.Assert(_reader.NodeType == XmlNodeType.Element, "_reader.NodeType == XmlNodeType.Element"); 397if (_reader.NodeType == XmlNodeType.Element) { 454if (_reader.NodeType == XmlNodeType.Element) 482Debug.Assert(_reader.NodeType == XmlNodeType.Element, "_reader.NodeType == XmlNodeType.Element"); 526if (_reader.NodeType == XmlNodeType.Element) 543Debug.Assert(_reader.NodeType== XmlNodeType.Element, "_reader.NodeType== XmlNodeType.Element"); 607else if (nodeType == XmlNodeType.Element) { 863Debug.Assert(_reader.NodeType == XmlNodeType.Element, 898Debug.Assert(_reader.NodeType == XmlNodeType.Element, "_reader.NodeType == NodeType.Element"); 1010XmlTextReader reader = new XmlTextReader(xmlElement, XmlNodeType.Element, context); 1040case XmlNodeType.Element: 1085case XmlNodeType.Element:
System.Data (70)
fx\src\data\System\Data\Common\HandlerBase.cs (1)
26if (XmlNodeType.Element != node.NodeType) {
fx\src\data\System\Data\Common\ObjectStorage.cs (1)
352if(type == typeof(string) && xmlReader.NodeType == XmlNodeType.Element && xmlReader.IsEmptyElement) {
fx\src\data\System\Data\Common\SQLTypes\SqlXmlStorage.cs (1)
92XmlTextReader reader = new XmlTextReader(s, XmlNodeType.Element, null) ;
fx\src\data\System\Data\DataSet.cs (15)
186if (reader.NodeType == XmlNodeType.Element) { 1488if (reader.NodeType == XmlNodeType.Element) { 1566if (reader.NodeType == XmlNodeType.Element) 1571if (reader.NodeType == XmlNodeType.Element) { 1646while (!reader.EOF && reader.NodeType != XmlNodeType.EndElement && reader.NodeType != XmlNodeType.Element && reader.Depth > depth) { 1649return (reader.NodeType == XmlNodeType.Element); 1653while (!reader.EOF && reader.NodeType != XmlNodeType.EndElement && reader.NodeType != XmlNodeType.Element) { 1927if (reader.NodeType == XmlNodeType.Element) 1930if (reader.NodeType == XmlNodeType.Element) { 2016if (reader.NodeType != XmlNodeType.Element) 2351if ((mode != XmlReadMode.Fragment) && (reader.NodeType == XmlNodeType.Element)) 2357if (reader.NodeType == XmlNodeType.Element) { 2535XmlTextReader reader = (mode == XmlReadMode.Fragment) ? new XmlTextReader(stream, XmlNodeType.Element, null) : new XmlTextReader(stream); 2548XmlTextReader xmlreader = (mode == XmlReadMode.Fragment) ? new XmlTextReader(reader.ReadToEnd(), XmlNodeType.Element, null) : new XmlTextReader(reader); 2563xr = new XmlTextReader(stream, XmlNodeType.Element, null);
fx\src\data\System\Data\DataTable.cs (5)
5162if (reader.NodeType == XmlNodeType.Element) { 5354if ((mode != XmlReadMode.Fragment) && (reader.NodeType == XmlNodeType.Element)) 5367if (reader.NodeType == XmlNodeType.Element) { 5577while (!reader.EOF && reader.NodeType != XmlNodeType.EndElement && reader.NodeType != XmlNodeType.Element && reader.Depth > depth) { 5580return (reader.NodeType == XmlNodeType.Element);
fx\src\data\System\Data\DataViewManager.cs (1)
113if (r.NodeType != XmlNodeType.Element)
fx\src\data\System\Data\SqlClient\SqlDependencyListener.cs (3)
974if ( (XmlNodeType.Element == xmlReader.NodeType) && 1064if ((XmlNodeType.Element != xmlReader.NodeType) || (0 != String.Compare(xmlReader.LocalName, MessageNode, StringComparison.OrdinalIgnoreCase))) { 1082using (XmlTextReader xmlMessageReader = new XmlTextReader(xmlReader.Value, XmlNodeType.Element, null)) {
fx\src\data\System\Data\SqlClient\SqlStream.cs (1)
572case XmlNodeType.Element:
fx\src\data\System\Data\XmlDataLoader.cs (6)
98if (n.NodeType == XmlNodeType.Element) { 366if (n.NodeType == XmlNodeType.Element) { 602if ( reader.NodeType != XmlNodeType.Element ) { // Read till Element is found 708case XmlNodeType.Element: // It's an element 925case XmlNodeType.Element: // It's an element 1191case XmlNodeType.Element:
fx\src\data\System\Data\XMLDiffLoader.cs (2)
192if (XmlNodeType.Element == ssync.NodeType) { 240if (XmlNodeType.Element == ssync.NodeType) {
fx\src\data\System\Data\XmlToDatasetMap.cs (2)
410if(nodeRegion == null || nodeRegion.NodeType != XmlNodeType.Element) { 441if (node.NodeType == XmlNodeType.Element) { // If element
fx\src\data\System\NewXml\DataPointer.cs (5)
271if (column == null && node.NodeType == XmlNodeType.Element) { 289if ((column == null || column.ColumnMapping == MappingType.Attribute) && node.NodeType == XmlNodeType.Element) { 326return XmlNodeType.Element; 419case XmlNodeType.Element : 494if (node.NodeType == XmlNodeType.Element) {
fx\src\data\System\NewXml\DataSetMappper.cs (4)
120if ( n.NodeType == XmlNodeType.Element ) { 148if ( node.NodeType == XmlNodeType.Element && mt == MappingType.Element ) 262if ( n.NodeType != XmlNodeType.Element ) { 300if ( n.NodeType != XmlNodeType.Element ) {
fx\src\data\System\NewXml\RegionIterator.cs (1)
113Debug.Assert( this.CurrentNode.NodeType == XmlNodeType.Element );
fx\src\data\System\NewXml\XmlBoundElement.cs (3)
226Debug.Assert( dp.NodeType == XmlNodeType.Element ); 255Debug.Assert( dp.NodeType == XmlNodeType.Element ); 305case XmlNodeType.Element:
fx\src\data\System\NewXml\XmlDataDocument.cs (5)
686if ( node.NodeType != XmlNodeType.Element ) 901if (newNode.NodeType == XmlNodeType.Element) { 939if ( dp.NodeType == XmlNodeType.Element ) 981case XmlNodeType.Element: 1356if ( iter.CurrentNode.NodeType == XmlNodeType.Element ) {
fx\src\data\System\NewXml\XPathNodePointer.cs (14)
41xmlNodeType_To_XpathNodeType_Map[(int)(XmlNodeType.Element)] = (int)XPathNodeType.Element; 139if (_node.NodeType == XmlNodeType.Element) { 187if ( nt == XmlNodeType.Element || nt == XmlNodeType.Attribute || nt == XmlNodeType.ProcessingInstruction ) 216if ( nt == XmlNodeType.Element || nt == XmlNodeType.Attribute || nt == XmlNodeType.ProcessingInstruction ) 490if (_column == null && _node.NodeType == XmlNodeType.Element) { 556if ((_column == null || _column.ColumnMapping == MappingType.Attribute) && _node.NodeType == XmlNodeType.Element) { 585if ( bFirst && ( _column != null || _node.NodeType != XmlNodeType.Element ) ) 1237while ( node != null && ( ( nt = node.NodeType ) != XmlNodeType.Element ) ) { 1302} while ( node != null && node.NodeType != XmlNodeType.Element ); 1375} while ( node != null && node.NodeType != XmlNodeType.Element ); 1400} while ( node != null && node.NodeType != XmlNodeType.Element ); 1435} while ( node != null && node.NodeType != XmlNodeType.Element ); 1452} while ( node != null && node.NodeType != XmlNodeType.Element ); 1463} while ( node != null && node.NodeType == XmlNodeType.Element );
System.Data.Entity (7)
System\Data\EntityModel\SchemaObjectModel\Schema.cs (2)
143if (sourceReader.NodeType != XmlNodeType.Element) 145while (sourceReader.Read() && sourceReader.NodeType != XmlNodeType.Element)
System\Data\EntityModel\SchemaObjectModel\SchemaElement.cs (3)
241Debug.Assert(reader.NodeType == XmlNodeType.Element); 266case XmlNodeType.Element: 657if (reader.NodeType == XmlNodeType.Element)
System\Data\EntityModel\SchemaObjectModel\SchemaManager.cs (2)
205if (!reader.EOF && reader.NodeType != XmlNodeType.Element) 207while (reader.Read() && reader.NodeType != XmlNodeType.Element)
System.Data.Entity.Design (2)
System\Data\Entity\Design\EntityFrameworkVersions.cs (2)
198if (!reader.EOF && reader.NodeType != XmlNodeType.Element) 200while (reader.Read() && reader.NodeType != XmlNodeType.Element)
System.Data.Linq (9)
Mapping\MappingSource.cs (9)
251System.Diagnostics.Debug.Assert(reader.NodeType == XmlNodeType.Element); 325System.Diagnostics.Debug.Assert(reader.NodeType == XmlNodeType.Element); 376System.Diagnostics.Debug.Assert(reader.NodeType == XmlNodeType.Element); 394System.Diagnostics.Debug.Assert(reader.NodeType == XmlNodeType.Element); 418System.Diagnostics.Debug.Assert(reader.NodeType == XmlNodeType.Element); 469System.Diagnostics.Debug.Assert(reader.NodeType == XmlNodeType.Element); 478System.Diagnostics.Debug.Assert(reader.NodeType == XmlNodeType.Element); 533System.Diagnostics.Debug.Assert(reader.NodeType == XmlNodeType.Element); 567System.Diagnostics.Debug.Assert(reader.NodeType == XmlNodeType.Element);
System.Data.Services (12)
System\Data\Services\Epm\EpmCustomContentDeSerializer.cs (1)
63case XmlNodeType.Element:
System\Data\Services\Serializers\PlainXmlDeserializer.cs (6)
213case XmlNodeType.Element: 243this.xmlReader.NodeType != XmlNodeType.Element, 262Debug.Assert(reader.NodeType == XmlNodeType.Element, "reader.NodeType == XmlNodeType.Element"); 296Debug.Assert(XmlNodeType.Element == reader.NodeType, "not positioned on Element"); 396case XmlNodeType.Element: 415reader.NodeType != XmlNodeType.Element,
System\Data\Services\Serializers\SyndicationDeserializer.cs (2)
258reader.NodeType == XmlNodeType.Element, 608if (linkReader.NodeType == XmlNodeType.Element)
System\Data\Services\WebUtil.cs (3)
1178case XmlNodeType.Element: 1399return ((XmlNodeType.Element == reader.NodeType) || (XmlNodeType.EndElement == reader.NodeType)) && 1420case XmlNodeType.Element:
System.Data.Services.Client (24)
System\Data\Services\Client\AtomParser.cs (12)
207this.reader.NodeType == XmlNodeType.Element || this.reader.NodeType == XmlNodeType.EndElement, 341reader.NodeType == XmlNodeType.Element || reader.NodeType == XmlNodeType.EndElement, 415(reader.NodeType == XmlNodeType.Element && reader.IsEmptyElement)))) 490case XmlNodeType.Element: 532Debug.Assert(this.reader.NodeType == XmlNodeType.Element, "this.reader.NodeType == XmlNodeType.Element"); 587this.reader.NodeType == XmlNodeType.Element, 769case XmlNodeType.Element: 799this.reader.NodeType == XmlNodeType.Element, 839Debug.Assert(this.reader.NodeType == XmlNodeType.Element, "this.reader.NodeType == XmlNodeType.Element"); 853if (this.reader.NodeType == XmlNodeType.Element) 875Debug.Assert(this.reader.NodeType == XmlNodeType.Element, "this.reader.NodeType == XmlNodeType.Element"); 899if (this.reader.NodeType == XmlNodeType.Element)
System\Data\Services\Client\MaterializeFromAtom.cs (4)
380Debug.Assert(reader.NodeType == XmlNodeType.Element, "reader.NodeType == XmlNodeType.Element"); 486while (this.reader.NodeType != XmlNodeType.Element && this.reader.Read()) 558reader.NodeType == XmlNodeType.Element, 590case XmlNodeType.Element:
System\Data\Services\Client\Util.cs (2)
415return ((XmlNodeType.Element == reader.NodeType) || (XmlNodeType.EndElement == reader.NodeType)) && 563Debug.Assert(XmlNodeType.Element == reader.NodeType, "not positioned on Element");
System\Data\Services\Client\Xml\XmlAtomErrorReader.cs (5)
41if (this.NodeType == XmlNodeType.Element && 64Debug.Assert(XmlNodeType.Element == reader.NodeType, "not positioned on Element"); 93case XmlNodeType.Element: 109Debug.Assert(reader.NodeType == XmlNodeType.Element, "reader.NodeType == XmlNodeType.Element"); 115if (reader.NodeType == XmlNodeType.Element)
System\Data\Services\Client\Xml\XmlWrappingReader.cs (1)
457if (this.reader.NodeType == XmlNodeType.Element &&
System.Data.SqlXml (45)
System\Xml\Xsl\QIL\QilXmlReader.cs (1)
75case XmlNodeType.Element:
System\Xml\Xsl\Runtime\WhitespaceRuleReader.cs (1)
79case XmlNodeType.Element:
System\Xml\Xsl\Xslt\XsltInput.cs (21)
63public XmlNodeType NodeType { get { return nodeType == XmlNodeType.Element && 0 < currentRecord ? XmlNodeType.Attribute : nodeType; } } 119if (nodeType == XmlNodeType.Element) { 309Debug.Assert(nodeType == XmlNodeType.Element, "To call MoveToFirstChild() XsltI---- should be positioned on an Element."); 317Debug.Assert(nodeType != XmlNodeType.Element || IsEmptyElement, "On non-empty elements we should call MoveToFirstChild()"); 318if (nodeType == XmlNodeType.Element || nodeType == XmlNodeType.EndElement) { 325if (nodeType == XmlNodeType.Element && MoveToFirstChild()) { 408case XmlNodeType.Element: 428Debug.Assert(reader.NodeType == XmlNodeType.Element); 432nodeType = XmlNodeType.Element; 454Debug.Assert(nodeType == XmlNodeType.Element, "For MoveToElement() we should be positioned on Element or Attribute"); 459Debug.Assert(nodeType == XmlNodeType.Element, "For MoveToLiteralAttribute() we should be positioned on Element or Attribute"); 470Debug.Assert(nodeType == XmlNodeType.Element, "For MoveToLiteralAttribute() we should be positioned on Element or Attribute"); 509Debug.Assert(nodeType == XmlNodeType.Element || nodeType == XmlNodeType.EndElement, "Input is positioned on element or attribute"); 539Debug.Assert(nodeType != XmlNodeType.Element || attributesRead, "Should first read attributes"); 545Debug.Assert(nodeType != XmlNodeType.Element || attributesRead, "Should first read attributes"); 552Debug.Assert(nodeType != XmlNodeType.Element || attributesRead, "Should first read attributes"); 618Debug.Assert(NodeType == XmlNodeType.Element); 722Debug.Assert(NodeType == XmlNodeType.Element); 785Debug.Assert(NodeType == XmlNodeType.Element && IsXsltNamespace()); 876case XmlNodeType.Element: 1004Debug.Assert(input.NodeType == XmlNodeType.Element || input.NodeType == XmlNodeType.Attribute);
System\Xml\Xsl\Xslt\XsltLoader.cs (9)
258Debug.Assert(input.NodeType == XmlNodeType.Element); 317case XmlNodeType.Element: 900case XmlNodeType.Element: 1139case XmlNodeType.Element: 1273case XmlNodeType.Element: 1360case XmlNodeType.Element: 1529case XmlNodeType.Element: 1865Debug.Assert(input.NodeType == XmlNodeType.Element); 2310Debug.Assert(input.NodeType == XmlNodeType.Element);
System\Xml\Xsl\XsltOld\NavigatorOutput.cs (1)
38case XmlNodeType.Element: {
System\Xml\Xsl\XsltOld\ReaderOutput.cs (3)
333if (NodeType == XmlNodeType.Element || NodeType == XmlNodeType.Attribute || this.currentInfo == this.attributeValue) { 371if (NodeType == XmlNodeType.Element && ! IsEmptyElement) { 400if (NodeType == XmlNodeType.Element) {
System\Xml\Xsl\XsltOld\RecordBuilder.cs (4)
258this.currentInfo.NodeType = XmlNodeType.Element; 427Debug.Assert(this.mainNode.NodeType == XmlNodeType.Element); 447Debug.Assert(this.mainNode.NodeType == XmlNodeType.Element); 610case XmlNodeType.Element:
System\Xml\Xsl\XsltOld\SequentialOutput.cs (4)
111Debug.Assert(record.MainNode.NodeType == XmlNodeType.Element); 325case XmlNodeType.Element: 378case XmlNodeType.Element: 424case XmlNodeType.Element:
System\Xml\Xsl\XsltOld\WriterOutput.cs (1)
35case XmlNodeType.Element:
System.IdentityModel (11)
System\IdentityModel\Configuration\TypeResolveHelper.cs (1)
43if (node.NodeType != XmlNodeType.Element)
System\IdentityModel\EnvelopedSignatureReader.cs (1)
143if ((base.NodeType == XmlNodeType.Element) && (!base.IsEmptyElement))
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (2)
3163if (reader.NodeType == XmlNodeType.Element) 3165while (reader.NodeType == XmlNodeType.Element)
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (2)
2739if (reader.NodeType == XmlNodeType.Element) 2741while (reader.NodeType == XmlNodeType.Element)
System\IdentityModel\WrappedReader.cs (5)
163while (NodeType != XmlNodeType.Element && NodeType != XmlNodeType.EndElement) 254case XmlNodeType.Element: 536DiagnosticUtility.DebugAssert(this.NodeType == XmlNodeType.Element, ""); 589case XmlNodeType.Element: 703this.nodeType = XmlNodeType.Element;
System.Runtime.Serialization (59)
System\Runtime\Serialization\DataContractSerializer.cs (1)
476throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationExceptionWithReaderDetails(SR.GetString(SR.ExpectingElementAtDeserialize, XmlNodeType.Element), xmlReader));
System\Runtime\Serialization\ExtensionDataReader.cs (1)
227this.nodeType = XmlNodeType.Element;
System\Runtime\Serialization\Json\DataContractJsonSerializer.cs (1)
423throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationExceptionWithReaderDetails(System.Runtime.Serialization.SR.GetString(System.Runtime.Serialization.SR.ExpectingElementAtDeserialize, XmlNodeType.Element), xmlReader));
System\Runtime\Serialization\Json\JsonFormatReaderGenerator.cs (3)
817ilg.Load(XmlNodeType.Element); 819ThrowUnexpectedStateException(XmlNodeType.Element); 1058ThrowUnexpectedStateException(XmlNodeType.Element);
System\Runtime\Serialization\Json\XmlJsonReader.cs (1)
573else if (this.Node.NodeType == XmlNodeType.Element)
System\Runtime\Serialization\NetDataContractSerializer.cs (1)
427throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationExceptionWithReaderDetails(SR.GetString(SR.ExpectingElementAtDeserialize, XmlNodeType.Element), xmlReader));
System\Runtime\Serialization\SchemaImporter.cs (1)
1429if (child.NodeType == XmlNodeType.Element)
System\Runtime\Serialization\XmlFormatReaderGenerator.cs (1)
904ThrowUnexpectedStateException(XmlNodeType.Element);
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (14)
298if (xmlReader.NodeType != XmlNodeType.Element) 299throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateUnexpectedStateException(XmlNodeType.Element, xmlReader)); 545throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateUnexpectedStateException(XmlNodeType.Element, xmlReader)); 569if (nodeType != XmlNodeType.Element) 570throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateUnexpectedStateException(XmlNodeType.Element, xmlReader)); 736case XmlNodeType.Element: 751throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateUnexpectedStateException(XmlNodeType.Element, xmlReader)); 801if (nodeType != XmlNodeType.Element) 802throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateUnexpectedStateException(XmlNodeType.Element, xmlReader)); 821if (nodeType != XmlNodeType.Element) 822throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateUnexpectedStateException(XmlNodeType.Element, xmlReader)); 877if (nodeType != XmlNodeType.Element) 878throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateUnexpectedStateException(XmlNodeType.Element, xmlReader)); 966if (nodeType == XmlNodeType.Element)
System\Runtime\Serialization\XmlSerializableReader.cs (3)
26if (xmlReader.NodeType != XmlNodeType.Element) 27throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializerReadContext.CreateUnexpectedStateException(XmlNodeType.Element, xmlReader)); 56(reader.NodeType == XmlNodeType.Element && reader.IsEmptyElement))
System\Xml\XmlBaseReader.cs (14)
1093if (nodeType == XmlNodeType.Element) 1100if (node.NodeType == XmlNodeType.Element) 1103return (MoveToContent() == XmlNodeType.Element); 1123return (node.NodeType == XmlNodeType.Element || IsStartElement()) && node.Prefix == prefix && node.LocalName == localName; 1132return (node.NodeType == XmlNodeType.Element || IsStartElement()) && node.LocalName == localName && node.IsNamespaceUri(namespaceUri); 1141return (node.NodeType == XmlNodeType.Element || IsStartElement()) && node.LocalName == localName && node.IsNamespaceUri(namespaceUri); 1289if (node.NodeType != XmlNodeType.Element) 1337if (node.NodeType != XmlNodeType.Element) 1358int nodeDepth = node.NodeType == XmlNodeType.Element ? this.depth - 1 : this.depth; 1476if (nodeType == XmlNodeType.Element || nodeType == XmlNodeType.EndElement) 1540if (nodeType == XmlNodeType.Element || nodeType == XmlNodeType.EndElement) 1840if ((node.NodeType == XmlNodeType.Element || MoveToElement()) && !IsEmptyElement) 2079case XmlNodeType.Element: 2487: base(XmlNodeType.Element,
System\Xml\XmlBinaryReader.cs (11)
105if (this.Node.NodeType != XmlNodeType.Element) 133if (this.Node.NodeType != XmlNodeType.Element) 164if (this.Node.NodeType != XmlNodeType.Element) 210if (this.Node.NodeType != XmlNodeType.Element) 224if (this.Node.NodeType != XmlNodeType.Element) 238if (this.Node.NodeType != XmlNodeType.Element) 252if (this.Node.NodeType != XmlNodeType.Element) 266if (this.Node.NodeType != XmlNodeType.Element) 280if (this.Node.NodeType != XmlNodeType.Element) 294if (this.Node.NodeType != XmlNodeType.Element) 1133if (this.Node.NodeType != XmlNodeType.Element)
System\Xml\XmlDictionaryReader.cs (4)
458case XmlNodeType.Element: 487if (this.NodeType != XmlNodeType.Element) 489if (this.NodeType == XmlNodeType.Element) 593if (nodeType == XmlNodeType.Element || nodeType == XmlNodeType.EndElement)
System\Xml\XmlDictionaryWriter.cs (1)
911case XmlNodeType.Element:
System\Xml\XmlExceptionHelper.cs (1)
70case XmlNodeType.Element:
System\Xml\XmlMtomReader.cs (1)
282if (xmlReader.NodeType == XmlNodeType.Element)
System.ServiceModel (49)
System\ServiceModel\Channels\AddressHeader.cs (1)
327Fx.Assert(reader.NodeType == XmlNodeType.Element, "");
System\ServiceModel\Channels\ContextMessageHeader.cs (1)
125while (reader.MoveToContent() == XmlNodeType.Element)
System\ServiceModel\Channels\Message.cs (9)
610if (reader.NodeType != XmlNodeType.Element) 612if (reader.NodeType == XmlNodeType.Element) 931if (reader.MoveToContent() != XmlNodeType.Element) 957if (type != XmlNodeType.Element) 1299if (reader.NodeType != XmlNodeType.Element) 1333if (reader.NodeType != XmlNodeType.Element) 1622if (reader.NodeType != XmlNodeType.Element) 1633if (reader.NodeType != XmlNodeType.Element) 1640if (reader.NodeType != XmlNodeType.Element)
System\ServiceModel\Channels\MessageHeaders.cs (6)
417if (reader.NodeType != XmlNodeType.Element) 419if (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)
System\ServiceModel\Channels\OneWayBindingElementImporter.cs (1)
41&& currentNode.NodeType == XmlNodeType.Element
System\ServiceModel\Channels\ReliableSessionBindingElementImporter.cs (1)
106&& (node.NodeType == XmlNodeType.Element)
System\ServiceModel\Channels\WsrmFault.cs (2)
732if ((headerReader.NodeType != XmlNodeType.Element) 757if ((headerReader.NodeType == XmlNodeType.Element)
System\ServiceModel\ComIntegration\ComPlusDiagnosticTraceSchemas.cs (2)
49if ((reader.MoveToContent() == XmlNodeType.Element) && (reader.Name == "wsdl:definitions")) 840if ((reader.MoveToContent() == XmlNodeType.Element) && (reader.Name == "xs:schema"))
System\ServiceModel\Configuration\ServiceModelExtensionCollectionElement.cs (2)
454if (XmlNodeType.Element != reader.NodeType) 464if (XmlNodeType.Element == subTree.NodeType)
System\ServiceModel\Description\MetadataSet.cs (4)
437if (Reader.NodeType == System.Xml.XmlNodeType.Element) 495if (Reader.NodeType == System.Xml.XmlNodeType.Element) 566if (Reader.NodeType == System.Xml.XmlNodeType.Element) 650if (Reader.NodeType == System.Xml.XmlNodeType.Element)
System\ServiceModel\Description\PolicyReader.cs (2)
143if (child.NodeType == XmlNodeType.Element) 166if (child.NodeType == XmlNodeType.Element)
System\ServiceModel\Dispatcher\EndpointAddressProcessor.cs (1)
60case XmlNodeType.Element:
System\ServiceModel\Dispatcher\SeekableMessageNavigator.cs (1)
1938case XmlNodeType.Element:
System\ServiceModel\EndpointAddress.cs (2)
561else if (reader.NodeType != XmlNodeType.Element) 599else if (reader.NodeType != XmlNodeType.Element)
System\ServiceModel\EndpointIdentity.cs (1)
230else if (reader.NodeType == XmlNodeType.Element)
System\ServiceModel\Security\SecurityVerifiedMessage.cs (5)
219if (reader.NodeType != XmlNodeType.Element) 228if (reader.NodeType != XmlNodeType.Element) 236if (reader.NodeType != XmlNodeType.Element) 259if (reader.NodeType != XmlNodeType.Element) 506if (reader.NodeType != XmlNodeType.Element)
System\ServiceModel\Security\WSSecureConversation.cs (1)
429Fx.Assert(reader.NodeType == XmlNodeType.Element, "");
System\ServiceModel\Security\WSSecurityOneDotZeroReceiveSecurityHeader.cs (2)
204if (reader.NodeType != XmlNodeType.Element) 308if (reader.NodeType != XmlNodeType.Element)
System\ServiceModel\Security\WSSecurityPolicy.cs (1)
2334while (metadataReader.MoveToContent() == XmlNodeType.Element)
System\ServiceModel\Security\XmlHelper.cs (3)
64else if (child.NodeType == XmlNodeType.Element && result == null) 76OnChildNodeTypeMissing(parent, XmlNodeType.Element); 97else if (child.NodeType == XmlNodeType.Element)
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (1)
585case XmlNodeType.Element:
System.ServiceModel.Channels (1)
System\ServiceModel\Channels\XmlByteStreamReader.cs (1)
123return XmlNodeType.Element;
System.Web (21)
Compilation\PreservationFileReader.cs (2)
179if (dependenciesNode.NodeType != XmlNodeType.Element) 206if (dependencyNode.NodeType != XmlNodeType.Element)
Configuration\BrowserCapabilitiesCodeGenerator.cs (2)
468if (node.NodeType != XmlNodeType.Element) 579if (node.NodeType != XmlNodeType.Element) {
Configuration\BrowserDefinition.cs (5)
189if(child.NodeType != XmlNodeType.Element) { 385if(child.NodeType != XmlNodeType.Element) { 469if(child.NodeType != XmlNodeType.Element) { 507if(child.NodeType != XmlNodeType.Element) { 531if(child.NodeType != XmlNodeType.Element) {
Configuration\HttpCapabilitiesSectionHandler.cs (1)
183case XmlNodeType.Element:
Configuration\ProtocolsConfiguration.cs (1)
84if (node.NodeType != XmlNodeType.Element)
UI\WebControls\AdRotator.cs (3)
544if (reader.NodeType == XmlNodeType.Element && reader.Name == "Ad" && reader.Depth == 1) { 549if (reader.NodeType == XmlNodeType.Element && !reader.IsEmptyElement) { 609if (prop.NodeType == XmlNodeType.Element) {
UI\WebControls\XmlDataSourceView.cs (2)
74if (node.NodeType == XmlNodeType.Element) { 86if (node.NodeType == XmlNodeType.Element) {
UI\WebControls\XmlHierarchicalEnumerable.cs (1)
47if (node.NodeType == XmlNodeType.Element) {
UI\WebControls\XmlHierarchyData.cs (1)
61if (nodeList[i].NodeType == XmlNodeType.Element)
UI\WebParts\ImportCatalogPart.cs (1)
254while (!reader.EOF && !(reader.NodeType == XmlNodeType.Element &&
XmlSiteMapProvider.cs (2)
299if (subNode.NodeType == XmlNodeType.Element) { 809if (subNode.NodeType != XmlNodeType.Element)
System.Web.Extensions (31)
Compilation\XmlSerializer\DataSvcMapFileSerializer.cs (10)
206if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 258if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 273if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 308if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 343if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 378if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 452if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 502if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 575if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 642if (Reader.NodeType == System.Xml.XmlNodeType.Element) {
Compilation\XmlSerializer\SvcMapFileSerializer.cs (20)
393if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 444if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 465if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 500if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 535if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 609if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 682if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 749if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 797if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 828if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 876if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 906if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 966if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 996if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 1026if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 1099if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 1145if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 1191if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 1250if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 1309if (Reader.NodeType == System.Xml.XmlNodeType.Element) {
Script\Services\WebServiceTypeData.cs (1)
188if (child.NodeType == XmlNodeType.Element) {
System.Web.Mobile (1)
Mobile\ConfigurationSectionHelper.cs (1)
156if(_currentNode.NodeType != XmlNodeType.Element)
System.Web.Services (99)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (89)
4117if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 4184if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 4268if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 4339if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 4405if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 4455if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 4505if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 4567if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 4644if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 4728if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 4803if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 4873if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 4938if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 5035if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 5107if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 5169if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 5235if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 5307if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 5369if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 5416if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 5492if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 5544if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 5596if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 5663if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 5717if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 5774if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 5857if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 5903if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 5961if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 6023if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 6081if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 6135if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 6189if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 6239if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 6297if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 6370if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 6447if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 6515if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 6583if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 6648if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 6723if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 6784if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 6877if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 6975if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 7057if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 7122if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 7185if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 7250if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 7327if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 7419if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 7495if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 7583if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 7656if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 7768if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 7840if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 7912if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 7984if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 8056if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 8128if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 8200if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 8272if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 8344if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 8416if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 8488if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 8560if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 8628if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 8789if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 8879if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 8954if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 9023if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 9099if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 9191if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 9298if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 9374if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 9465if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 9538if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 9633if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 9697if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 9774if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 9854if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 9972if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 10049if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 10144if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 10238if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 10326if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 10395if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 10478if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 10546if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 10614if (Reader.NodeType == System.Xml.XmlNodeType.Element) {
System\Web\Services\Description\WebReferenceOptions.cs (3)
305if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 327if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 385if (Reader.NodeType == System.Xml.XmlNodeType.Element) {
System\Web\Services\Discovery\DiscoveryDocumentReference.cs (1)
189while (newReader.NodeType != XmlNodeType.Element) {
System\Web\Services\Discovery\DiscoveryDocumentSerializer.cs (6)
148if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 192if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 256if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 306if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 356if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 402if (Reader.NodeType == System.Xml.XmlNodeType.Element) {
System.Windows.Forms (10)
winforms\Managed\System\Resources\ResXResourceReader.cs (10)
385if (reader.NodeType == XmlNodeType.Element) { 490if (reader.NodeType == XmlNodeType.Element) { 498if (reader.NodeType == XmlNodeType.Element) { 506if (reader.NodeType == XmlNodeType.Element) { 514if (reader.NodeType == XmlNodeType.Element) { 524if (reader.NodeType == XmlNodeType.Element) { 532if (reader.NodeType == XmlNodeType.Element) { 540if (reader.NodeType == XmlNodeType.Element) { 548if (reader.NodeType == XmlNodeType.Element) { 614if (reader.NodeType == XmlNodeType.Element) {
System.Workflow.ComponentModel (17)
AuthoringOM\Compiler\CompileXomlTask.cs (1)
1147if (reader.MoveToContent() == System.Xml.XmlNodeType.Element)
AuthoringOM\Design\ActivityDesignerLayoutSerializers.cs (1)
269if (reader != null && reader.NodeType == XmlNodeType.Element)
AuthoringOM\Design\ComponentSerializationService.cs (2)
196XmlTextReader reader = new XmlTextReader(this.serializedXmlString, XmlNodeType.Element, null) { DtdProcessing = DtdProcessing.Prohibit }; 240while (reader.NodeType != XmlNodeType.Element && reader.NodeType != XmlNodeType.ProcessingInstruction && reader.Read());
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (12)
132while (xmlReader.Read() && xmlReader.NodeType != XmlNodeType.Element && xmlReader.NodeType != XmlNodeType.ProcessingInstruction); 218if (reader.NodeType != XmlNodeType.Element) 275if (reader.NodeType != XmlNodeType.Element) 456if (reader.NodeType == XmlNodeType.Element) 557using (new SafeXmlNodeWriter(serializationManager, obj, null, XmlNodeType.Element)) 999using (new SafeXmlNodeWriter(serializationManager, obj, propertyObj, XmlNodeType.Element)) 1654while (reader.NodeType != XmlNodeType.EndElement && reader.NodeType != XmlNodeType.Element && reader.NodeType != XmlNodeType.Text && reader.Read()); 1852} while (reader.NodeType != XmlNodeType.Text && reader.NodeType != XmlNodeType.Element && reader.NodeType != XmlNodeType.ProcessingInstruction && reader.NodeType != XmlNodeType.EndElement); 1861if (reader.NodeType == XmlNodeType.Element) 2371else if (this.xmlNodeType == XmlNodeType.Element) 2394if (this.xmlNodeType == XmlNodeType.Element) 2411if (this.xmlNodeType == XmlNodeType.Element)
Shared\XomlSerializationHelpers.cs (1)
133case XmlNodeType.Element:
System.Workflow.Runtime (14)
Tracking\TrackingProfileSerializer.cs (14)
161case XmlNodeType.Element: 200case XmlNodeType.Element: 245case XmlNodeType.Element: 316case XmlNodeType.Element: 364case XmlNodeType.Element: 472case XmlNodeType.Element: 512case XmlNodeType.Element: 559case XmlNodeType.Element: 599case XmlNodeType.Element: 655case XmlNodeType.Element: 698case XmlNodeType.Element: 736case XmlNodeType.Element: 776case XmlNodeType.Element: 812case XmlNodeType.Element:
System.Xml (311)
System\Xml\BinaryXml\XmlBinaryReader.cs (10)
490if (this.nodetype == XmlNodeType.Element 500if (this.parentNodeType != XmlNodeType.Element) 505if (this.parentNodeType != XmlNodeType.Element) 715if (XmlNodeType.Element == this.parentNodeType) 906if (this.NodeType != XmlNodeType.Element && this.NodeType != XmlNodeType.EndElement) { 915case XmlNodeType.Element: 1533if (this.NodeType == XmlNodeType.Element || this.NodeType == XmlNodeType.EndElement) 1564if (this.NodeType == XmlNodeType.Element || this.NodeType == XmlNodeType.EndElement) { 2469case XmlNodeType.Element: 2733this.nodetype = XmlNodeType.Element;
System\Xml\Core\ReadContentAsBinaryHelper.cs (3)
173if ( reader.NodeType != XmlNodeType.Element ) { 220if ( reader.NodeType != XmlNodeType.Element ) { 284Debug.Assert( reader.NodeType == XmlNodeType.Element );
System\Xml\Core\ReadContentAsBinaryHelperAsync.cs (3)
123if ( reader.NodeType != XmlNodeType.Element ) { 170if ( reader.NodeType != XmlNodeType.Element ) { 228Debug.Assert( reader.NodeType == XmlNodeType.Element );
System\Xml\Core\XmlCharCheckingReader.cs (1)
209case XmlNodeType.Element:
System\Xml\Core\XmlCharCheckingReaderAsync.cs (1)
77case XmlNodeType.Element:
System\Xml\Core\XmlReader.cs (30)
689if (this.NodeType == XmlNodeType.Element) { 719goto case XmlNodeType.Element; 720case XmlNodeType.Element: 734if (MoveToContent() != XmlNodeType.Element) { 742if (MoveToContent() != XmlNodeType.Element) { 756if (MoveToContent() != XmlNodeType.Element) { 773if (MoveToContent() != XmlNodeType.Element) { 795if (MoveToContent() != XmlNodeType.Element) { 821if (MoveToContent() != XmlNodeType.Element) { 853return MoveToContent() == XmlNodeType.Element; 859return (MoveToContent() == XmlNodeType.Element) && 866return (MoveToContent() == XmlNodeType.Element) && 880if (NodeType == XmlNodeType.Element && Ref.Equal(name, Name)) { 902if (NodeType == XmlNodeType.Element && Ref.Equal(localName, LocalName) && Ref.Equal(namespaceURI, NamespaceURI)) { 916if (NodeType != XmlNodeType.Element) { 935if (NodeType == XmlNodeType.Element && Ref.Equal(name, Name)) { 953if (NodeType != XmlNodeType.Element) { 973if (NodeType == XmlNodeType.Element && Ref.Equal(localName, LocalName) && Ref.Equal(namespaceURI, NamespaceURI)) { 997if (nt == XmlNodeType.Element && Ref.Equal(name, Name)) { 1024if (nt == XmlNodeType.Element && Ref.Equal(localName, LocalName) && Ref.Equal(namespaceURI, NamespaceURI)) { 1052if ((this.NodeType != XmlNodeType.Attribute) && (this.NodeType != XmlNodeType.Element)) { 1067if (this.NodeType == XmlNodeType.Element) { 1085case XmlNodeType.Element: 1147if ((this.NodeType != XmlNodeType.Attribute) && (this.NodeType != XmlNodeType.Element)) { 1206if (NodeType != XmlNodeType.Element) { 1328if (NodeType == XmlNodeType.Element && !IsEmptyElement) { 1353if (NodeType != XmlNodeType.Element) { 1436if (this.NodeType != XmlNodeType.Element) { 1454else if (nodeType == XmlNodeType.Element) { 1735case XmlNodeType.Element:
System\Xml\Core\XmlReaderAsync.cs (9)
163goto case XmlNodeType.Element; 164case XmlNodeType.Element: 181if ((this.NodeType != XmlNodeType.Attribute) && (this.NodeType != XmlNodeType.Element)) { 196if (this.NodeType == XmlNodeType.Element) { 214case XmlNodeType.Element: 262if ((this.NodeType != XmlNodeType.Attribute) && (this.NodeType != XmlNodeType.Element)) { 292if (NodeType == XmlNodeType.Element && !IsEmptyElement) { 355if (this.NodeType != XmlNodeType.Element) { 373else if (nodeType == XmlNodeType.Element) {
System\Xml\Core\XmlSubtreeReader.cs (13)
347Debug.Assert(reader.NodeType == XmlNodeType.Element); 389( reader.NodeType == XmlNodeType.Element && reader.IsEmptyElement ) ) { 394Debug.Assert( reader.NodeType == XmlNodeType.Element && !reader.IsEmptyElement ); 449if (reader.Depth == initialDepth && reader.NodeType == XmlNodeType.Element && !reader.IsEmptyElement) { 480if ( reader.NodeType == XmlNodeType.Element && !reader.IsEmptyElement ) { 489reader.NodeType == XmlNodeType.Element && reader.IsEmptyElement || 496if ( reader.NodeType == XmlNodeType.Element && !reader.IsEmptyElement ) { 688case XmlNodeType.Element: 807case XmlNodeType.Element: 1037case XmlNodeType.Element: 1133if ( NodeType != XmlNodeType.Element ) { 1145case XmlNodeType.Element: 1302case XmlNodeType.Element:
System\Xml\Core\XmlSubtreeReaderAsync.cs (9)
39( reader.NodeType == XmlNodeType.Element && reader.IsEmptyElement ) ) { 44Debug.Assert( reader.NodeType == XmlNodeType.Element && !reader.IsEmptyElement ); 101if ( reader.NodeType == XmlNodeType.Element && !reader.IsEmptyElement ) { 110reader.NodeType == XmlNodeType.Element && reader.IsEmptyElement || 117if ( reader.NodeType == XmlNodeType.Element && !reader.IsEmptyElement ) { 212case XmlNodeType.Element: 331case XmlNodeType.Element: 484if ( NodeType != XmlNodeType.Element ) { 496case XmlNodeType.Element:
System\Xml\Core\XmlTextReaderImpl.cs (30)
476fragmentType = XmlNodeType.Element; 844case XmlNodeType.Element: settings.ConformanceLevel = ConformanceLevel.Fragment; break; 1206Debug.Assert( curNode.type == XmlNodeType.Element ); 1321case XmlNodeType.Element: 1335goto case XmlNodeType.Element; 1641if ( curNode.type != XmlNodeType.Element ) { 1689if ( curNode.type != XmlNodeType.Element ) { 2076if ( curNode.type != XmlNodeType.Element) { 2106if ( curNode.type != XmlNodeType.Element) { 2136if ( curNode.type != XmlNodeType.Element) { 2765case XmlNodeType.Element: 3603fragmentType = XmlNodeType.Element; 3645fragmentType = XmlNodeType.Element; 3660fragmentType = XmlNodeType.Element; 3700fragmentType = XmlNodeType.Element; 3738fragmentType = rootElementParsed ? XmlNodeType.Document : XmlNodeType.Element; 3872if ( index == 0 && curNode.type != XmlNodeType.Element ) { 3880if ( el.type != XmlNodeType.Element ) { 3978curNode.SetNamedNode( XmlNodeType.Element, 3985curNode.SetNamedNode( XmlNodeType.Element, 3991curNode.SetNamedNode( XmlNodeType.Element, 4057Debug.Assert( curNode.type == XmlNodeType.Element ); 4237if ( startTag.type == XmlNodeType.Element ) { 4318Debug.Assert( curNode.type == XmlNodeType.Element ); 4325Debug.Assert( curNode.type == XmlNodeType.Element ); 4548Debug.Assert( curNode.type == XmlNodeType.Element ); 7971Debug.Assert( curNode.type == XmlNodeType.Element ); 8198return fragmentType == XmlNodeType.Element ? ConformanceLevel.Fragment : ConformanceLevel.Document; 8301Debug.Assert( nodes[index].type == XmlNodeType.Element ); 8315Debug.Assert( nodes[index].type == XmlNodeType.Element );
System\Xml\Core\XmlTextReaderImplAsync.cs (18)
190Debug.Assert(curNode.type == XmlNodeType.Element); 325case XmlNodeType.Element: 339goto case XmlNodeType.Element; 511if ( curNode.type != XmlNodeType.Element ) { 566if ( curNode.type != XmlNodeType.Element ) { 1456fragmentType = XmlNodeType.Element; 1487fragmentType = XmlNodeType.Element; 1502fragmentType = XmlNodeType.Element; 1536fragmentType = XmlNodeType.Element; 1552fragmentType = XmlNodeType.Element; 1586fragmentType = rootElementParsed ? XmlNodeType.Document : XmlNodeType.Element; 1812curNode.SetNamedNode(XmlNodeType.Element, 1819curNode.SetNamedNode(XmlNodeType.Element, 1825curNode.SetNamedNode(XmlNodeType.Element, 2107if ( startTag.type == XmlNodeType.Element ) { 2193Debug.Assert( curNode.type == XmlNodeType.Element ); 2200Debug.Assert( curNode.type == XmlNodeType.Element ); 4925Debug.Assert( curNode.type == XmlNodeType.Element );
System\Xml\Core\XmlTextReaderImplHelpers.cs (2)
399return type == XmlNodeType.Element && isEmptyOrDefault; 402Debug.Assert( type == XmlNodeType.Element );
System\Xml\Core\XmlValidatingReaderImpl.cs (1)
800case XmlNodeType.Element:
System\Xml\Core\XmlValidatingReaderImplAsync.cs (1)
168case XmlNodeType.Element:
System\Xml\Core\XmlWriter.cs (2)
336if (reader.NodeType == XmlNodeType.Element || reader.NodeType == XmlNodeType.XmlDeclaration) { 377case XmlNodeType.Element:
System\Xml\Core\XmlWriterAsync.cs (3)
218if (reader.NodeType == XmlNodeType.Element || reader.NodeType == XmlNodeType.XmlDeclaration) { 273case XmlNodeType.Element: 332case XmlNodeType.Element:
System\Xml\Core\XsdCachingReader.cs (8)
82if (coreReader.NodeType == XmlNodeType.Element) { 354case XmlNodeType.Element: 392if (coreReader.NodeType != XmlNodeType.Element || readAhead) { //Only when coreReader not positioned on Element node, read ahead, otherwise it is on the next element node already, since this was not cached 418Debug.Assert(coreReader.NodeType == XmlNodeType.EndElement || (coreReader.NodeType == XmlNodeType.Element && coreReader.IsEmptyElement)); 430Debug.Assert(coreReader.NodeType == XmlNodeType.EndElement || (coreReader.NodeType == XmlNodeType.Element && coreReader.IsEmptyElement)); 469case XmlNodeType.Element: 482goto case XmlNodeType.Element; 602Debug.Assert(coreReader.NodeType == XmlNodeType.Element);
System\Xml\Core\XsdCachingReaderAsync.cs (4)
38case XmlNodeType.Element: 76if (coreReader.NodeType != XmlNodeType.Element || readAhead) { //Only when coreReader not positioned on Element node, read ahead, otherwise it is on the next element node already, since this was not cached 97case XmlNodeType.Element: 110goto case XmlNodeType.Element;
System\Xml\Core\XsdValidatingReader.cs (26)
354case XmlNodeType.Element: 616if (this.NodeType != XmlNodeType.Element) { 626if (this.NodeType != XmlNodeType.Element) { 653if (this.NodeType != XmlNodeType.Element) { 680if (this.NodeType != XmlNodeType.Element) { 707if (this.NodeType != XmlNodeType.Element) { 734if (this.NodeType != XmlNodeType.Element) { 761if (this.NodeType != XmlNodeType.Element) { 788if (this.NodeType != XmlNodeType.Element) { 815if (this.NodeType != XmlNodeType.Element) { 842if (this.NodeType != XmlNodeType.Element) { 1179case XmlNodeType.Element: 1198goto case XmlNodeType.Element; 1343case XmlNodeType.Element: 1368case XmlNodeType.Element: 1382case XmlNodeType.Element: 1407case XmlNodeType.Element: 1431case XmlNodeType.Element: 1448if (NodeType == XmlNodeType.Element || NodeType == XmlNodeType.EndElement) { 1558case XmlNodeType.Element: 1822if (coreReader.NodeType == XmlNodeType.Element) { 1921Debug.Assert(this.NodeType == XmlNodeType.Element); 1957else if (this.NodeType == XmlNodeType.Element) { //the first child is again element node 1985case XmlNodeType.Element: 2037case XmlNodeType.Element: 2082case XmlNodeType.Element:
System\Xml\Core\XsdValidatingReaderAsync.cs (10)
98if (this.NodeType != XmlNodeType.Element) { 109if (this.NodeType != XmlNodeType.Element) { 139if (this.NodeType != XmlNodeType.Element) { 279case XmlNodeType.Element: 298goto case XmlNodeType.Element; 405case XmlNodeType.Element: 531if (coreReader.NodeType == XmlNodeType.Element) { 643Debug.Assert(this.NodeType == XmlNodeType.Element); 680else if (this.NodeType == XmlNodeType.Element) { //the first child is again element node 712case XmlNodeType.Element:
System\Xml\Dom\DocumentSchemaValidator.cs (4)
102case XmlNodeType.Element: //Validate children of this element 166case XmlNodeType.Element: 260case XmlNodeType.Element: 653case XmlNodeType.Element: //Flat validation, do not drill down into children
System\Xml\Dom\DocumentXPathNavigator.cs (28)
68goto case XmlNodeType.Element; 69case XmlNodeType.Element: 113case XmlNodeType.Element: 145case XmlNodeType.Element: 308&& node.NodeType != XmlNodeType.Element) { 667case XmlNodeType.Element: 760if (child.NodeType == XmlNodeType.Element 848while (following.NodeType != XmlNodeType.Element 932if (sibling.NodeType == XmlNodeType.Element 976case XmlNodeType.Element: 1221if ( curNT != XmlNodeType.Document && curNT != XmlNodeType.Element ) { 1241case XmlNodeType.Element: 1256case XmlNodeType.Element: 1315if (source.NodeType != XmlNodeType.Element) { 1408goto case XmlNodeType.Element; 1409case XmlNodeType.Element: 1461goto case XmlNodeType.Element; 1462case XmlNodeType.Element: 1748case XmlNodeType.Element: 1752case XmlNodeType.Element: 1764case XmlNodeType.Element: 1865if (node.NodeType == XmlNodeType.Element && Match(node)) { 1887return ( node.NodeType == XmlNodeType.Element ); 1905if ( node.NodeType == XmlNodeType.Element && Match( node ) ) { 1931Debug.Assert( node.NodeType == XmlNodeType.Element ); 1951if ( node.NodeType == XmlNodeType.Element && Match( node ) ) { 1985Debug.Assert( node.NodeType == XmlNodeType.Element ); 2007if ( node.NodeType == XmlNodeType.Element && Match( node ) ) {
System\Xml\Dom\XmlDocument.cs (9)
297get { return(XmlElement)FindChild(XmlNodeType.Element); } 375case XmlNodeType.Element: 439return !HasNodeTypeInPrevSiblings( XmlNodeType.Element, refChild.PreviousSibling ); 444case XmlNodeType.Element: { 474return !HasNodeTypeInPrevSiblings( XmlNodeType.Element, refChild ); 477case XmlNodeType.Element: { 794case XmlNodeType.Element: 930case XmlNodeType.Element: 1010return XmlNodeType.Element;
System\Xml\Dom\XmlDocumentFragment.cs (2)
96loader.ParsePartialContent( this, value, XmlNodeType.Element ); 121case XmlNodeType.Element:
System\Xml\Dom\XmlElement.cs (2)
94get { return XmlNodeType.Element;} 183case XmlNodeType.Element:
System\Xml\Dom\XmlElementList.cs (2)
32Debug.Assert( parent.NodeType == XmlNodeType.Element || parent.NodeType == XmlNodeType.Document ); 142if (curNode.NodeType == XmlNodeType.Element) {
System\Xml\Dom\XmlEntity.cs (1)
88type == XmlNodeType.Element ||
System\Xml\Dom\XmlEntityReference.cs (1)
119case XmlNodeType.Element:
System\Xml\Dom\XmlLoader.cs (7)
96case XmlNodeType.Element: 132Debug.Assert( parent.NodeType == XmlNodeType.Element ); 409case XmlNodeType.Element: 434Debug.Assert( parent.NodeType == XmlNodeType.Element ); 526XmlTextReaderImpl tr = new XmlTextReaderImpl("", XmlNodeType.Element, pc); 690XmlNamespaceManager mgr = ParsePartialContent( node, innerxmltext, XmlNodeType.Element ); 812contentNT = XmlNodeType.Element;
System\Xml\Dom\XmlNode.cs (6)
651case XmlNodeType.Element: { 924if (node.NodeType == XmlNodeType.Element) { 989if (node.NodeType == XmlNodeType.Element) { 1040if (n.NodeType == XmlNodeType.Element && n.Name == name) 1053if (n.NodeType == XmlNodeType.Element && n.LocalName == localname && n.NamespaceURI == ns) 1212case XmlNodeType.Element:
System\Xml\Dom\XmlNodeReader.cs (18)
182case XmlNodeType.Element : 263if (curNode.NodeType == XmlNodeType.Element) { 294if ( nt == XmlNodeType.Element ) 429case XmlNodeType.Element: 451case XmlNodeType.Element: 467case XmlNodeType.Element: 548nt = XmlNodeType.Element; 550if ( curNode.NodeType == XmlNodeType.Element ) 579if ( nt == XmlNodeType.Element ) 602case XmlNodeType.Element: 638} else if ( nt == XmlNodeType.Element ) { 755if ( node.NodeType == XmlNodeType.Element ) { 807if ( node.NodeType == XmlNodeType.Element ) { 846if ( node.NodeType == XmlNodeType.Element ) { 1330&& ( nt == XmlNodeType.Element || ( nt == XmlNodeType.EntityReference && bResolveEntity ) || 1340} else if ( readerNav.NodeType == XmlNodeType.Element 1381&& readerNav.NodeType == XmlNodeType.Element 1409if ( readerNav.NodeType == XmlNodeType.Element ) {
System\Xml\Schema\AutoValidator.cs (1)
64if (reader.NodeType == XmlNodeType.Element) {
System\Xml\Schema\DtdValidator.cs (3)
55case XmlNodeType.Element: 88reader.NodeType == XmlNodeType.Element) { 129Debug.Assert(reader.NodeType == XmlNodeType.Element);
System\Xml\Schema\Inference\Infer.cs (5)
211while (xtr.NodeType != XmlNodeType.Element && xtr.Read()) ; 214if (xtr.NodeType == XmlNodeType.Element) 718} while( (!xtr.EOF) && (xtr.NodeType != XmlNodeType.EndElement) && (xtr.NodeType != XmlNodeType.CDATA)&&(xtr.NodeType != XmlNodeType.Element)&&(xtr.NodeType != XmlNodeType.Text) ); 905else if (xtr.NodeType == XmlNodeType.Element) 982} while( (!xtr.EOF) && (xtr.NodeType != XmlNodeType.EndElement) && (xtr.NodeType != XmlNodeType.CDATA)&&(xtr.NodeType != XmlNodeType.Element)&&(xtr.NodeType != XmlNodeType.Text));
System\Xml\Schema\Parser.cs (4)
72while (reader.NodeType != XmlNodeType.Element && reader.Read()) {} 161else if (reader.NodeType == XmlNodeType.Element) { 239case XmlNodeType.Element: 295Debug.Assert( reader.NodeType == XmlNodeType.Element );
System\Xml\Schema\ParserAsync.cs (1)
32while (reader.NodeType != XmlNodeType.Element && await reader.ReadAsync().ConfigureAwait(false)) {}
System\Xml\Schema\XdrValidator.cs (1)
60case XmlNodeType.Element:
System\Xml\Schema\XsdValidator.cs (1)
88case XmlNodeType.Element:
System\Xml\Serialization\PrimitiveXmlSerializers.cs (19)
197if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 219if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 238if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 257if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 276if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 295if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 314if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 333if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 352if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 371if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 390if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 409if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 428if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 447if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 466if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 488if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 508if (Reader.NodeType == System.Xml.XmlNodeType.Element) 539if (Reader.NodeType == System.Xml.XmlNodeType.Element) { 558if (Reader.NodeType == System.Xml.XmlNodeType.Element) {
System\Xml\Serialization\XmlSerializationReader.cs (3)
1184else if (r.NodeType == XmlNodeType.Element && events.OnUnknownElement == null) { 1205else if (unknownNode.NodeType == XmlNodeType.Element) { 1231case XmlNodeType.Element:
System\Xml\XPath\XPathDocument.cs (1)
183case XmlNodeType.Element: {
System\Xml\XPath\XPathNavigator.cs (2)
1774XmlTextReader reader = new XmlTextReader(xml, XmlNodeType.Element, context); 1797case XmlNodeType.Element:
System\Xml\XPath\XPathNavigatorReader.cs (6)
51XmlNodeType.Element, // XPathNodeType.Element 260if( ( this.nodeType != XmlNodeType.Element ) 271if( ( this.nodeType != XmlNodeType.Element ) 304if (this.nodeType == XmlNodeType.Element) 666this.nodeType = XmlNodeType.Element; 868else if ( this.nodeType == XmlNodeType.Element
System.Xml.Linq (17)
System\Xml\Linq\XLinq.cs (11)
1843case XmlNodeType.Element: 3035case XmlNodeType.Element: 3103case XmlNodeType.Element: { 3609return XmlNodeType.Element; 4031if (reader.MoveToContent() != XmlNodeType.Element) throw new InvalidOperationException(Res.GetString(Res.InvalidOperation_ExpectedNodeType, XmlNodeType.Element, reader.NodeType)); 4958if (reader.MoveToContent() != XmlNodeType.Element) throw new InvalidOperationException(Res.GetString(Res.InvalidOperation_ExpectedNodeType, XmlNodeType.Element, reader.NodeType)); 6000case XmlNodeType.Element: 6004ValidateDocument(previous, XmlNodeType.None, XmlNodeType.Element); 6020if (nt == XmlNodeType.Element || nt == XmlNodeType.DocumentType) {
System\Xml\Linq\XNodeNavigator.cs (5)
13(1 << (int)XmlNodeType.Element) | 18(1 << (int)XmlNodeType.Element), // Element 27(1 << (int)XmlNodeType.Element) | 180case XmlNodeType.Element: 243case XmlNodeType.Element:
System\Xml\Linq\XNodeValidator.cs (1)
46case XmlNodeType.Element:
WindowsBase (21)
Base\MS\Internal\IO\Packaging\InternalRelationshipCollection.cs (2)
312if (reader.NodeType == XmlNodeType.Element 336if (reader.NodeType == XmlNodeType.Element
Base\MS\Internal\IO\Packaging\PartBasedPackageProperties.cs (2)
580if ( reader.MoveToContent() != XmlNodeType.Element 608if (reader.NodeType != XmlNodeType.Element)
Base\MS\Internal\IO\Packaging\XmlDigitalSignatureProcessor.cs (4)
700if ((node.NodeType != XmlNodeType.Element) || 1078while (reader.Read() && (reader.NodeType == XmlNodeType.Element)) 1080if (reader.MoveToContent() == XmlNodeType.Element 1178xDoc.AppendChild(xDoc.CreateNode(XmlNodeType.Element, "root", "namespace")); // dummy root
Base\MS\Internal\IO\Packaging\XmlSignatureManifest.cs (5)
130while (reader.Read() && (reader.MoveToContent() == XmlNodeType.Element)) 260while (reader.Read() && (reader.MoveToContent() == XmlNodeType.Element)) 337while (reader.Read() && (reader.MoveToContent() == XmlNodeType.Element)) 426while (reader.Read() && (reader.MoveToContent() == XmlNodeType.Element) 498XmlNode manifest = xDoc.CreateNode(XmlNodeType.Element,
Base\MS\Internal\IO\Packaging\XmlSignatureProperties.cs (3)
176if (reader.MoveToContent() == XmlNodeType.Element 259&& reader.MoveToContent() == XmlNodeType.Element 268&& reader.MoveToContent() == XmlNodeType.Element
Base\System\IO\Packaging\ZipPackage.cs (3)
1139if ((reader.NodeType == XmlNodeType.Element) 1163if (reader.NodeType == XmlNodeType.Element 1171if (reader.NodeType == XmlNodeType.Element
Base\System\Windows\Markup\XmlCompatibilityReader.cs (1)
189case XmlNodeType.Element:
Shared\MS\Internal\IO\Packaging\PackagingUtilities.cs (1)
417Debug.Assert(reader.NodeType == XmlNodeType.Element, "XmlReader should be positioned at an Element");