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