97 references to None
PresentationBuildTasks (4)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (4)
4112CompileText(XmlNodeType.None, textValue); 5059xmlNodeType == XmlNodeType.None, 5073case XmlNodeType.None: 52210 == XmlReader.Depth && XmlReader.NodeType == XmlNodeType.None))
System.Data.Common (4)
System\Data\DataSet.cs (1)
1804if (reader.NodeType == XmlNodeType.None)
System\Data\DataTable.cs (1)
6276if (reader.NodeType == XmlNodeType.None)
System\Xml\DataPointer.cs (2)
380return XmlNodeType.None; 506case XmlNodeType.None:
System.IO.Packaging (3)
System\IO\Packaging\InternalRelationshipCollection.cs (1)
266if (reader.NodeType == XmlNodeType.None)
System\IO\Packaging\PartBasedPackageProperties.cs (1)
515while (reader.Read() && reader.MoveToContent() != XmlNodeType.None)
System\IO\Packaging\ZipPackage.cs (1)
1001if (reader.NodeType == XmlNodeType.None)
System.Private.DataContractSerialization (7)
System\Runtime\Serialization\ExtensionDataReader.cs (1)
326_nodeType = XmlNodeType.None;
System\Xml\XmlBaseReader.cs (5)
998if (nodeType == XmlNodeType.None) 1952case XmlNodeType.None: 2525: base(XmlNodeType.None, 2570: base(XmlNodeType.None, 2585: base(XmlNodeType.None,
System\Xml\XmlDictionaryWriter.cs (1)
387int d = (reader.NodeType == XmlNodeType.None ? -1 : reader.Depth);
System.Private.Xml (74)
System\Xml\BinaryXml\XmlBinaryReader.cs (4)
338_nodetype = XmlNodeType.None; 877_nodetype = XmlNodeType.None; 951_nodetype = XmlNodeType.None; 2822_nodetype = XmlNodeType.None;
System\Xml\Core\ValidatingReaderNodeData.cs (1)
33Clear(XmlNodeType.None);
System\Xml\Core\XmlCharCheckingReader.cs (1)
61_lastNodeType = XmlNodeType.None;
System\Xml\Core\XmlReader.cs (5)
988Debug.Assert(NodeType == XmlNodeType.EndElement || NodeType == XmlNodeType.None || ReadState == ReadState.Error); 1139int d = NodeType == XmlNodeType.None ? -1 : Depth; 1306Debug.Assert(0 == (IsTextualNodeBitmap & (1 << (int)XmlNodeType.None))); 1333Debug.Assert(0 == (CanReadContentAsBitmap & (1 << (int)XmlNodeType.None))); 1360Debug.Assert(0 == (HasValueBitmap & (1 << (int)XmlNodeType.None)));
System\Xml\Core\XmlReaderAsync.cs (1)
213int d = NodeType == XmlNodeType.None ? -1 : Depth;
System\Xml\Core\XmlSubtreeReader.cs (2)
107_tmpNode = new NodeData(XmlNodeType.None, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty); 1510_tmpNode.type = XmlNodeType.None;
System\Xml\Core\XmlTextReaderImpl.cs (17)
431_fragmentType = XmlNodeType.None; 835case XmlNodeType.None: settings.ConformanceLevel = ConformanceLevel.Auto; break; 838default: Debug.Fail($"Unexpected fragment type {_fragmentType}"); goto case XmlNodeType.None; 2151_curNode.Clear(XmlNodeType.None); 3950if (_fragmentType == XmlNodeType.None) 3969if (_fragmentType == XmlNodeType.Document || _fragmentType == XmlNodeType.None) 4003if (_fragmentType == XmlNodeType.None) 4022if (_fragmentType == XmlNodeType.None) 4067if (_fragmentType == XmlNodeType.None && _curNode.type == XmlNodeType.Text) 4104if (_fragmentType == XmlNodeType.None) 5413if (nodeType == XmlNodeType.None) 5445if (nodeType == XmlNodeType.None) 5487if (nodeType == XmlNodeType.None) 5905if (nodeType == XmlNodeType.None) 7751_curNode.Clear(XmlNodeType.None); 7871return XmlNodeType.None; 8537if (_curNode.type == XmlNodeType.None)
System\Xml\Core\XmlTextReaderImplAsync.cs (12)
1535if (_fragmentType == XmlNodeType.Document || _fragmentType == XmlNodeType.None) 1565if (_fragmentType == XmlNodeType.None) 1603if (_fragmentType == XmlNodeType.None) 1621if (_fragmentType == XmlNodeType.None) 1659if (_fragmentType == XmlNodeType.None && _curNode.type == XmlNodeType.Text) 1680if (_fragmentType == XmlNodeType.None && _curNode.type == XmlNodeType.Text) 1718if (_fragmentType == XmlNodeType.None) 2925if (nodeType == XmlNodeType.None) 2984if (nodeType == XmlNodeType.None) 3021if (nodeType == XmlNodeType.None) 3068if (nodeType == XmlNodeType.None) 3681if (nodeType == XmlNodeType.None)
System\Xml\Core\XmlTextReaderImplHelpers.cs (1)
389Clear(XmlNodeType.None);
System\Xml\Core\XmlWriter.cs (1)
363int d = reader.NodeType == XmlNodeType.None ? -1 : reader.Depth;
System\Xml\Core\XmlWriterAsync.cs (2)
299int d = reader.NodeType == XmlNodeType.None ? -1 : reader.Depth; 361int d = reader.NodeType == XmlNodeType.None ? -1 : reader.Depth;
System\Xml\Dom\DocumentXmlWriter.cs (1)
538XmlNodeType nodeType = XmlNodeType.None;
System\Xml\Dom\XmlNodeReader.cs (6)
174case XmlNodeType.None: 1152_nodeType = XmlNodeType.None; 1170get { return (IsInReadingStates()) ? _nodeType : XmlNodeType.None; } 1547_nodeType = XmlNodeType.None; 1556_nodeType = XmlNodeType.None; 1622_nodeType = XmlNodeType.None;
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (6)
105while (Reader.NodeType != XmlNodeType.EndElement && Reader.NodeType != XmlNodeType.None) 266while (Reader.NodeType != XmlNodeType.EndElement && Reader.NodeType != XmlNodeType.None) 386while (Reader.NodeType != XmlNodeType.EndElement && Reader.NodeType != XmlNodeType.None) 533while (Reader.NodeType != XmlNodeType.EndElement && Reader.NodeType != XmlNodeType.None) 1151while (Reader.NodeType != XmlNodeType.EndElement && Reader.NodeType != XmlNodeType.None) 1380while (Reader.NodeType != XmlNodeType.EndElement && Reader.NodeType != XmlNodeType.None)
System\Xml\Serialization\XmlSerializationReader.cs (5)
1204if (_r.NodeType == XmlNodeType.None || _r.NodeType == XmlNodeType.Whitespace) 1234if (unknownNode.NodeType != XmlNodeType.None && unknownNode.NodeType != XmlNodeType.Whitespace && _events.OnUnknownNode != null) 1407if (_r.NodeType == XmlNodeType.None) _r.Skip(); 1762while (_r.NodeType != XmlNodeType.EndElement && _r.NodeType != XmlNodeType.None) 1868if (_r.NodeType == XmlNodeType.None) _r.Skip();
System\Xml\XPath\XPathDocument.cs (1)
281case XmlNodeType.None:
System\Xml\XPath\XPathNavigator.cs (1)
2106case XmlNodeType.None:
System\Xml\XPath\XPathNavigatorReader.cs (5)
57XmlNodeType.None // XPathNodeType.All 300&& (_nodeType != XmlNodeType.None)) 313&& (_nodeType != XmlNodeType.None)) 1067_nodeType = XmlNodeType.None; 1078_nodeType = XmlNodeType.None;
System\Xml\Xsl\XsltOld\RecordBuilder.cs (1)
422_currentInfo.NodeType = XmlNodeType.None;
System\Xml\Xsl\XsltOld\WriterOutput.cs (1)
67case XmlNodeType.None:
System.Private.Xml.Linq (4)
System\Xml\Linq\XDocument.cs (3)
904ValidateDocument(previous, XmlNodeType.DocumentType, XmlNodeType.None); 907ValidateDocument(previous, XmlNodeType.None, XmlNodeType.Element); 929allowBefore = XmlNodeType.None;
System\Xml\Linq\XNodeReader.cs (1)
280return XmlNodeType.None;
System.Xaml (1)
System\Xaml\Parser\XamlScanner.cs (1)
198case XmlNodeType.None: