84 references to StartObject
PresentationFramework (14)
System\Windows\FrameworkTemplate.cs (1)
994
case System.Xaml.XamlNodeType.
StartObject
:
System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
2688
case XamlNodeType.
StartObject
:
System\Windows\Markup\RestrictiveXamlXmlReader.cs (2)
105
if ((NodeType == System.Xaml.XamlNodeType.
StartObject
&& !IsAllowedType(Type.UnderlyingType)) ||
119
case System.Xaml.XamlNodeType.
StartObject
:
System\Windows\Markup\WpfXamlLoader.cs (2)
222
case System.Xaml.XamlNodeType.
StartObject
:
287
case System.Xaml.XamlNodeType.
StartObject
:
System\Windows\ResourceDictionary.cs (2)
1166
if (reader.NodeType == Xaml.XamlNodeType.
StartObject
&& reader.Type == xamlTypeStaticResourceExtension)
1181
if (reader.NodeType == Xaml.XamlNodeType.
StartObject
)
System\Windows\TemplateContent.cs (6)
406
case System.Xaml.XamlNodeType.
StartObject
:
751
Debug.Assert(xamlReader.NodeType == Xaml.XamlNodeType.
StartObject
);
762
case Xaml.XamlNodeType.
StartObject
:
878
else if (xamlReader.NodeType == System.Xaml.XamlNodeType.
StartObject
892
Debug.Assert(xamlReader.NodeType == System.Xaml.XamlNodeType.
StartObject
);
943
case System.Xaml.XamlNodeType.
StartObject
:
System.Xaml (62)
System\Xaml\InfosetObjects\XamlNodes.cs (3)
65
case XamlNodeType.
StartObject
:
119
case XamlNodeType.
StartObject
:
178
if (NodeType == XamlNodeType.
StartObject
)
System\Xaml\Parser\MePullParser.cs (1)
480
var startObj = new XamlNode(XamlNodeType.
StartObject
, xamlType);
System\Xaml\Parser\NodeStreamSorter.cs (5)
135
if (_current.NodeType == XamlNodeType.
StartObject
)
188
case XamlNodeType.
StartObject
:
314
case XamlNodeType.
StartObject
:
513
case XamlNodeType.
StartObject
:
547
if (BackupTo(ctorDirectiveIdx, XamlNodeType.
StartObject
, depth, out startObjectIdx))
System\Xaml\Parser\XamlPullParser.cs (1)
821
XamlNode startObj = new XamlNode(XamlNodeType.
StartObject
, xamlType);
System\Xaml\WriterDelegate.cs (1)
37
_addDelegate(XamlNodeType.
StartObject
, xamlType);
System\Xaml\XamlMarkupExtensionWriter.cs (4)
321
writer.nodes.Push(new Node { NodeType = XamlNodeType.
StartObject
, XamlType = type });
346
if (node.NodeType != XamlNodeType.
StartObject
)
385
if (objectNode.NodeType != XamlNodeType.
StartObject
)
596
writer.nodes.Push(new Node { NodeType = XamlNodeType.
StartObject
, XamlType = type });
System\Xaml\XamlObjectReader.cs (16)
181
return currentXamlNode.NodeType == XamlNodeType.
StartObject
? currentInstance : null;
615
XamlNode = new XamlNode(XamlNodeType.
StartObject
, XamlLanguage.XData),
1137
if ((XamlNode.NodeType == XamlNodeType.
StartObject
&& !XamlNode.XamlType.IsMarkupExtension)
1161
if (XamlNode.NodeType == XamlNodeType.
StartObject
)
1773
XamlNode = new XamlNode(XamlNodeType.
StartObject
, xamlType);
1822
XamlNode = new XamlNode(XamlNodeType.
StartObject
, XamlLanguage.Array),
1905
return new ObjectMarkupInfo { XamlNode = new XamlNode(XamlNodeType.
StartObject
, XamlLanguage.Null) };
2033
XamlNode = new XamlNode(XamlNodeType.
StartObject
, xamlType),
2047
XamlNode = new XamlNode(XamlNodeType.
StartObject
, xamlType),
2070
XamlNode = new XamlNode(XamlNodeType.
StartObject
, xamlType),
2350
XamlNode = new XamlNode(XamlNodeType.
StartObject
, XamlLanguage.Reference);
2896
while (reader.Read() && reader.NodeType != XamlNodeType.
StartObject
)
2909
if (reader.NodeType != XamlNodeType.
StartObject
)
2914
nodes.Add(new ValueMarkupInfo { XamlNode = new XamlNode(XamlNodeType.
StartObject
, reader.Type) });
2925
case XamlNodeType.
StartObject
:
2926
nodes.Add(new ValueMarkupInfo{ XamlNode = new XamlNode(XamlNodeType.
StartObject
, reader.Type) });
System\Xaml\XamlReader.cs (2)
36
case XamlNodeType.
StartObject
:
37
SkipFromTo(XamlNodeType.
StartObject
, XamlNodeType.EndObject);
System\Xaml\XamlSubreader.cs (1)
144
if (nodeType == XamlNodeType.
StartObject
System\Xaml\XamlWriter.cs (1)
32
case XamlNodeType.
StartObject
:
System\Xaml\XamlXmlWriter.cs (27)
106
namespaceScopes.Push(new Frame { AllocatingNodeType = XamlNodeType.
StartObject
});
358
else if (enumerator.Current.AllocatingNodeType == XamlNodeType.
StartObject
)
500
if (objectFrame.AllocatingNodeType != XamlNodeType.
StartObject
&&
508
Debug.Assert(objectFrame.AllocatingNodeType == XamlNodeType.
StartObject
||
903
case XamlNodeType.
StartObject
:
1096
if (frame.AllocatingNodeType != XamlNodeType.
StartObject
&&
1134
writer.WriteDeferredNamespaces(XamlNodeType.
StartObject
);
1159
writer.WriteDeferredNamespaces(XamlNodeType.
StartObject
);
1168
Debug.Assert(writer.namespaceScopes.Peek().AllocatingNodeType == XamlNodeType.
StartObject
||
1199
writer.WriteDeferredNamespaces(XamlNodeType.
StartObject
);
1208
writer.WriteDeferredNamespaces(XamlNodeType.
StartObject
);
1224
writer.WriteDeferredNamespaces(XamlNodeType.
StartObject
);
1246
if (writer.namespaceScopes.Peek().AllocatingNodeType != XamlNodeType.
StartObject
&&
1249
writer.namespaceScopes.Push(new Frame { AllocatingNodeType = XamlNodeType.
StartObject
});
1381
if (writer.namespaceScopes.Peek().AllocatingNodeType != XamlNodeType.
StartObject
&&
1384
writer.namespaceScopes.Push(new Frame { AllocatingNodeType = isObjectFromMember ? XamlNodeType.GetObject : XamlNodeType.
StartObject
});
1607
writer.WriteDeferredNamespaces(XamlNodeType.
StartObject
);
1635
writer.WriteDeferredNamespaces(XamlNodeType.
StartObject
);
1668
writer.WriteDeferredNamespaces(XamlNodeType.
StartObject
);
1686
writer.WriteDeferredNamespaces(XamlNodeType.
StartObject
);
1759
writer.WriteDeferredNamespaces(XamlNodeType.
StartObject
);
1770
writer.WriteDeferredNamespaces(XamlNodeType.
StartObject
);
1786
writer.WriteDeferredNamespaces(XamlNodeType.
StartObject
);
1806
writer.WriteDeferredNamespaces(XamlNodeType.
StartObject
);
1822
writer.meNodesStack.Peek().Add(new XamlNode(XamlNodeType.
StartObject
, type));
1922
Debug.Assert(frame.AllocatingNodeType == XamlNodeType.
StartObject
);
2070
XamlNode node = new XamlNode(XamlNodeType.
StartObject
, type);
System.Xaml.Tests (8)
System\Xaml\XamlNodeListTests.cs (1)
280
Assert.Equal(XamlNodeType.
StartObject
, reader.NodeType);
System\Xaml\XamlReaderTests.cs (6)
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 };
47
[InlineData(XamlNodeType.
StartObject
)]
System\Xaml\XamlWriterTests.cs (1)
31
var reader = new SubXamlReader(XamlNodeType.
StartObject
)