49 references to None
PresentationFramework (2)
System\Windows\FrameworkTemplate.cs (1)
991case System.Xaml.XamlNodeType.None:
System\Windows\TemplateContent.cs (1)
743case System.Xaml.XamlNodeType.None:
System.Xaml (25)
System\Xaml\InfosetObjects\XamlNodes.cs (8)
102_nodeType = XamlNodeType.None; 109_nodeType = XamlNodeType.None; 135case XamlNodeType.None: 217if (NodeType == XamlNodeType.None) 230if (NodeType == XamlNodeType.None && _internalNodeType == InternalNodeType.EndOfStream) 243if (NodeType == XamlNodeType.None && _internalNodeType == InternalNodeType.EndOfAttributes) 256if (NodeType == XamlNodeType.None && _internalNodeType == InternalNodeType.LineInfo) 267if (nodeType != XamlNodeType.None)
System\Xaml\InfosetObjects\XamlXmlReader.cs (2)
252if (_current.NodeType == XamlNodeType.None) 274while (_current.NodeType == XamlNodeType.None);
System\Xaml\Parser\NodeStreamSorter.cs (2)
194case XamlNodeType.None: 327case XamlNodeType.None:
System\Xaml\ReaderDelegate.cs (2)
35if (_currentNode.NodeType != XamlNodeType.None) 50while (_currentNode.NodeType == XamlNodeType.None);
System\Xaml\ReaderMultiIndexDelegate.cs (2)
49if (_currentNode.NodeType != XamlNodeType.None) 72while (_currentNode.NodeType == XamlNodeType.None);
System\Xaml\WriterDelegate.cs (1)
76_addDelegate(XamlNodeType.None, XamlNode.InternalNodeType.EndOfStream);
System\Xaml\XamlBackgroundReader.cs (1)
154if (nodeType != XamlNodeType.None)
System\Xaml\XamlNodeList.cs (1)
72if (nodeType != XamlNodeType.None)
System\Xaml\XamlNodeQueue.cs (1)
63if (nodeType != XamlNodeType.None)
System\Xaml\XamlObjectReader.cs (1)
93if (currentXamlNode.NodeType != XamlNodeType.None)
System\Xaml\XamlReader.cs (1)
33case XamlNodeType.None:
System\Xaml\XamlSubreader.cs (1)
44get { return IsEmpty ? XamlNodeType.None : _reader.NodeType; }
System\Xaml\XamlWriter.cs (1)
56case XamlNodeType.None:
System\Xaml\XamlXmlWriter.cs (1)
935case XamlNodeType.None:
System.Xaml.Tests (22)
System\Xaml\XamlBackgroundReaderTests.cs (1)
34Assert.Equal(XamlNodeType.None, reader.NodeType);
System\Xaml\XamlNodeListTests.cs (5)
52Assert.Equal(XamlNodeType.None, reader.NodeType); 98Assert.Equal(XamlNodeType.None, reader.NodeType); 158Assert.Equal(XamlNodeType.None, reader.NodeType); 182Assert.Equal(XamlNodeType.None, reader.NodeType); 527Assert.Equal(XamlNodeType.None, reader.NodeType);
System\Xaml\XamlNodeQueueTests.cs (4)
37Assert.Equal(XamlNodeType.None, reader.NodeType); 66Assert.Equal(XamlNodeType.None, reader.NodeType); 407Assert.Equal(XamlNodeType.None, reader.NodeType); 436Assert.Equal(XamlNodeType.None, reader.NodeType);
System\Xaml\XamlReaderTests.cs (9)
14[InlineData(XamlNodeType.None)] 30yield return new object[] { new XamlNodeType[] { XamlNodeType.StartObject, XamlNodeType.StartMember, XamlNodeType.EndMember, XamlNodeType.Value, XamlNodeType.None, XamlNodeType.EndObject, XamlNodeType.Value }, 6 }; 31yield return new object[] { new XamlNodeType[] { XamlNodeType.StartObject, XamlNodeType.StartMember, XamlNodeType.EndMember, XamlNodeType.Value, XamlNodeType.StartObject, XamlNodeType.None, XamlNodeType.EndObject, XamlNodeType.EndObject, XamlNodeType.Value }, 8 }; 32yield return new object[] { new XamlNodeType[] { XamlNodeType.StartMember, XamlNodeType.StartObject, XamlNodeType.EndObject, XamlNodeType.Value, XamlNodeType.None, XamlNodeType.EndMember, XamlNodeType.Value }, 6 }; 33yield return new object[] { new XamlNodeType[] { XamlNodeType.StartMember, XamlNodeType.StartObject, XamlNodeType.EndObject, XamlNodeType.Value, XamlNodeType.StartMember, XamlNodeType.None, XamlNodeType.EndMember, XamlNodeType.EndMember, XamlNodeType.Value }, 8 }; 70Assert.Equal(XamlNodeType.None, subReader.NodeType); 142var reader = new SubXamlReader(XamlNodeType.None); 151var reader = new SubXamlReader(XamlNodeType.None); 162var reader = new SubXamlReader(XamlNodeType.None);
System\Xaml\XamlWriterTests.cs (3)
14[InlineData(XamlNodeType.None, null)] 103var reader = new SubXamlReader(XamlNodeType.None); 115var reader = new SubXamlReader(XamlNodeType.None);