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