375 references to XamlNodeType
PresentationFramework (68)
System\Windows\FrameworkTemplate.cs (8)
992case System.Xaml.XamlNodeType.None: 993case System.Xaml.XamlNodeType.NamespaceDeclaration: 995case System.Xaml.XamlNodeType.StartObject: 1009case System.Xaml.XamlNodeType.GetObject: 1022case System.Xaml.XamlNodeType.StartMember: 1030case System.Xaml.XamlNodeType.EndMember: 1038case System.Xaml.XamlNodeType.EndObject: 1042case System.Xaml.XamlNodeType.Value:
System\Windows\Markup\Baml2006\Baml2006Reader.cs (5)
160_xamlNodesReader.NodeType != XamlNodeType.EndObject) 169override public XamlNodeType NodeType 2690case XamlNodeType.StartObject: 2694case XamlNodeType.EndObject: 2698case XamlNodeType.StartMember:
System\Windows\Markup\RestrictiveXamlXmlReader.cs (7)
105if ((NodeType == System.Xaml.XamlNodeType.StartObject && !IsAllowedType(Type.UnderlyingType)) || 106(NodeType == System.Xaml.XamlNodeType.StartMember && Member is XamlDirective directive && !IsAllowedDirective(directive))) 119case System.Xaml.XamlNodeType.StartObject: 120case System.Xaml.XamlNodeType.StartMember: 121case System.Xaml.XamlNodeType.GetObject: 125case System.Xaml.XamlNodeType.EndObject: 126case System.Xaml.XamlNodeType.EndMember:
System\Windows\Markup\WpfXamlLoader.cs (11)
198case System.Xaml.XamlNodeType.NamespaceDeclaration: 225case System.Xaml.XamlNodeType.StartObject: 228case System.Xaml.XamlNodeType.GetObject: 237case System.Xaml.XamlNodeType.EndObject: 255case System.Xaml.XamlNodeType.StartMember: 287case System.Xaml.XamlNodeType.StartMember: 290case System.Xaml.XamlNodeType.StartObject: 300case System.Xaml.XamlNodeType.EndMember: 308case System.Xaml.XamlNodeType.Value: 327case System.Xaml.XamlNodeType.EndMember: 341case System.Xaml.XamlNodeType.Value:
System\Windows\Markup\XamlReader.cs (4)
406if (xamlReader.NodeType == System.Xaml.XamlNodeType.StartMember) 417else if (xamlReader.NodeType == System.Xaml.XamlNodeType.Value) 438else if (xamlReader.NodeType == System.Xaml.XamlNodeType.EndMember) 600if (xamlReader.NodeType == System.Xaml.XamlNodeType.Value && _stack.CurrentFrame.Property == synchronousRecordProperty)
System\Windows\ResourceDictionary.cs (5)
1164if (reader.NodeType == Xaml.XamlNodeType.StartObject && reader.Type == xamlTypeStaticResourceExtension) 1168while (reader.NodeType == Xaml.XamlNodeType.StartMember && 1175if (reader.NodeType == Xaml.XamlNodeType.StartMember) 1179if (reader.NodeType == Xaml.XamlNodeType.StartObject) 1185else if (reader.NodeType == Xaml.XamlNodeType.Value)
System\Windows\TemplateContent.cs (28)
407case System.Xaml.XamlNodeType.StartObject: 451case System.Xaml.XamlNodeType.GetObject: 480case System.Xaml.XamlNodeType.EndObject: 545case System.Xaml.XamlNodeType.StartMember: 642case System.Xaml.XamlNodeType.EndMember: 646case System.Xaml.XamlNodeType.Value: 719case System.Xaml.XamlNodeType.NamespaceDeclaration: 744case System.Xaml.XamlNodeType.None: 752Debug.Assert(xamlReader.NodeType == Xaml.XamlNodeType.StartObject); 763case Xaml.XamlNodeType.StartObject: 764case Xaml.XamlNodeType.GetObject: 767case Xaml.XamlNodeType.EndObject: 798Debug.Assert(xamlReader.NodeType == System.Xaml.XamlNodeType.StartMember); 833if (xamlReader.NodeType == System.Xaml.XamlNodeType.Value) 879else if (xamlReader.NodeType == System.Xaml.XamlNodeType.StartObject 880|| xamlReader.NodeType == System.Xaml.XamlNodeType.NamespaceDeclaration) 883if (xamlReader.NodeType == System.Xaml.XamlNodeType.NamespaceDeclaration) 886while (xamlReader.NodeType == System.Xaml.XamlNodeType.NamespaceDeclaration) 893Debug.Assert(xamlReader.NodeType == System.Xaml.XamlNodeType.StartObject); 944case System.Xaml.XamlNodeType.StartObject: 953case System.Xaml.XamlNodeType.GetObject: 958case System.Xaml.XamlNodeType.EndObject: 967case System.Xaml.XamlNodeType.StartMember: 977case System.Xaml.XamlNodeType.Value: 1007else if (xamlReader.NodeType == System.Xaml.XamlNodeType.GetObject) 1046System.Xaml.XamlNodeType nodeType = reader.NodeType; 1047if (nodeType == System.Xaml.XamlNodeType.StartMember) 1152Debug.Assert(xamlReader.NodeType == System.Xaml.XamlNodeType.EndMember);
System.Xaml (307)
System\Xaml\InfosetObjects\XamlNodes.cs (32)
21internal delegate void XamlNodeAddDelegate(XamlNodeType nodeType, object data); 31XamlNodeType _nodeType; 35public XamlNodeType NodeType 40public XamlNode(XamlNodeType nodeType) 45case XamlNodeType.EndObject: 46case XamlNodeType.EndMember: 47case XamlNodeType.GetObject: 60public XamlNode(XamlNodeType nodeType, object data) 65case XamlNodeType.StartObject: 69case XamlNodeType.StartMember: 73case XamlNodeType.NamespaceDeclaration: 77case XamlNodeType.Value: 81case XamlNodeType.EndObject: 82case XamlNodeType.EndMember: 83case XamlNodeType.GetObject: 102_nodeType = XamlNodeType.None; 109_nodeType = XamlNodeType.None; 119case XamlNodeType.StartObject: 123case XamlNodeType.StartMember: 127case XamlNodeType.Value: 131case XamlNodeType.NamespaceDeclaration: 135case XamlNodeType.None: 163if (NodeType == XamlNodeType.NamespaceDeclaration) 175if (NodeType == XamlNodeType.StartObject) 187if (NodeType == XamlNodeType.Value) 199if (NodeType == XamlNodeType.StartMember) 211if (NodeType == XamlNodeType.None) 223if (NodeType == XamlNodeType.None && _internalNodeType == InternalNodeType.EndOfStream) 235if (NodeType == XamlNodeType.None && _internalNodeType == InternalNodeType.EndOfAttributes) 247if (NodeType == XamlNodeType.None && _internalNodeType == InternalNodeType.LineInfo) 255internal static bool IsEof_Helper(XamlNodeType nodeType, object data) 257if (nodeType != XamlNodeType.None)
System\Xaml\InfosetObjects\XamlXmlReader.cs (3)
244if (_current.NodeType == XamlNodeType.None) 265} while (_current.NodeType == XamlNodeType.None); 269public override XamlNodeType NodeType
System\Xaml\Parser\MePullParser.cs (7)
458var startObj = new XamlNode(XamlNodeType.StartObject, xamlType); 465return new XamlNode(XamlNodeType.EndObject); 473XamlNode startMember = new XamlNode(XamlNodeType.StartMember, member); 480return new XamlNode(XamlNodeType.EndMember); 487XamlNode startProperty = new XamlNode(XamlNodeType.StartMember, XamlLanguage.PositionalParameters); 499return new XamlNode(XamlNodeType.EndMember); 505XamlNode textNode = new XamlNode(XamlNodeType.Value, text);
System\Xaml\Parser\NodeStreamSorter.cs (38)
81public XamlNodeType XamlNodeType { get; set; } 132if (_current.NodeType == XamlNodeType.StartObject) 180case XamlNodeType.NamespaceDeclaration: 183case XamlNodeType.StartObject: 189case XamlNodeType.None: 212XamlNode node = new XamlNode(XamlNodeType.NamespaceDeclaration, new NamespaceDeclaration(uriString, prefix)); 241var startProperty = new XamlNode(XamlNodeType.StartMember, xmlDirectiveProperty); 245var textNode = new XamlNode(XamlNodeType.Value, textValue); 250_buffer.Enqueue(new XamlNode(XamlNodeType.EndMember)); 304case XamlNodeType.StartObject: 308case XamlNodeType.EndObject: 316case XamlNodeType.None: 326case XamlNodeType.StartMember: 336case XamlNodeType.EndMember: 362case XamlNodeType.StartMember: 373case XamlNodeType.EndMember: 377case XamlNodeType.EndObject: 481case XamlNodeType.NamespaceDeclaration: 482case XamlNodeType.EndMember: 483case XamlNodeType.Value: 486case XamlNodeType.GetObject: 487case XamlNodeType.StartObject: 491case XamlNodeType.EndObject: 495case XamlNodeType.StartMember: 519if (BackupTo(ctorDirectiveIdx, XamlNodeType.StartObject, depth, out startObjectIdx)) 522if (AdvanceTo(startObjectIdx, XamlNodeType.StartMember, depth, out firstMemberIdx)) 558Debug.Assert(_sortingInfoArray[start].XamlNodeType == XamlNodeType.StartMember); 562&& _sortingInfoArray[idx].XamlNodeType == XamlNodeType.StartMember) 584Debug.Assert(_sortingInfoArray[current].XamlNodeType == XamlNodeType.StartMember); 591if(!AdvanceTo(current, XamlNodeType.StartMember, depth, out end)) 604Debug.Assert(_sortingInfoArray[current].XamlNodeType == XamlNodeType.StartMember); 611if (!AdvanceTo(current, XamlNodeType.StartMember, depth, out end)) 630if (!AdvanceTo(current, XamlNodeType.StartMember, depth, out end)) 632if (AdvanceTo(current, XamlNodeType.EndObject, depth, out end)) 669private bool AdvanceTo(int start, XamlNodeType nodeType, int searchDepth, out int end) 673XamlNodeType currentNodeType = _sortingInfoArray[idx].XamlNodeType; 693private bool BackupTo(int start, XamlNodeType nodeType, int searchDepth, out int end) 697XamlNodeType currentNodeType = _sortingInfoArray[idx].XamlNodeType;
System\Xaml\Parser\XamlPullParser.cs (18)
274yield return new XamlNode(XamlNodeType.Value, string.Empty); 583yield return new XamlNode(XamlNodeType.Value, trimmed); 679yield return new XamlNode(XamlNodeType.Value, trimmed); 710yield return new XamlNode(XamlNodeType.Value, trimmed); 770XamlNode addNs = new XamlNode(XamlNodeType.NamespaceDeclaration, new NamespaceDeclaration(xamlNs, prefix)); 780XamlNode startObj = new XamlNode(XamlNodeType.StartObject, xamlType); 791XamlNode endObj = new XamlNode(XamlNodeType.EndObject); 805XamlNode startProperty = new XamlNode(XamlNodeType.StartMember, property); 818XamlNode textNode = new XamlNode(XamlNodeType.Value, text.AttributeText); 821yield return new XamlNode(XamlNodeType.EndMember); 840var startMember = new XamlNode(XamlNodeType.StartMember, member); 849return new XamlNode(XamlNodeType.EndMember); 859var startProperty = new XamlNode(XamlNodeType.StartMember, property); 870var startProperty = new XamlNode(XamlNodeType.StartMember, initProperty); 918var startObj = new XamlNode(XamlNodeType.GetObject); 927var startProperty = new XamlNode(XamlNodeType.StartMember, XamlLanguage.Items); 994yield return new XamlNode(XamlNodeType.NamespaceDeclaration, nsDecl); 1000yield return new XamlNode(XamlNodeType.Value, typeNameString);
System\Xaml\ReaderBaseDelegate.cs (1)
27public override XamlNodeType NodeType
System\Xaml\ReaderDelegate.cs (2)
35if (_currentNode.NodeType != XamlNodeType.None) 48} while (_currentNode.NodeType == XamlNodeType.None);
System\Xaml\ReaderMultiIndexDelegate.cs (2)
49if (_currentNode.NodeType != XamlNodeType.None) 70} while (_currentNode.NodeType == XamlNodeType.None);
System\Xaml\WriterDelegate.cs (8)
31_addDelegate(XamlNodeType.GetObject, null); 37_addDelegate(XamlNodeType.StartObject, xamlType); 43_addDelegate(XamlNodeType.EndObject, null); 49_addDelegate(XamlNodeType.StartMember, member); 55_addDelegate(XamlNodeType.EndMember, null); 61_addDelegate(XamlNodeType.Value, value); 67_addDelegate(XamlNodeType.NamespaceDeclaration, namespaceDeclaration); 76_addDelegate(XamlNodeType.None, XamlNode.InternalNodeType.EndOfStream);
System\Xaml\XamlBackgroundReader.cs (3)
142private void Add(XamlNodeType nodeType, object data) 148if (nodeType != XamlNodeType.None) 265public override XamlNodeType NodeType
System\Xaml\XamlMarkupExtensionWriter.cs (9)
197public XamlNodeType NodeType 316writer.nodes.Push(new Node { NodeType = XamlNodeType.StartObject, XamlType = type }); 341if (node.NodeType != XamlNodeType.StartObject) 355if (member.NodeType != XamlNodeType.StartMember) 380if (objectNode.NodeType != XamlNodeType.StartObject) 389NodeType = XamlNodeType.StartMember, 545if (node.NodeType != XamlNodeType.StartMember || node.XamlProperty != XamlLanguage.PositionalParameters) 584writer.nodes.Push(new Node { NodeType = XamlNodeType.StartObject, XamlType = type }); 609if (member.NodeType != XamlNodeType.StartMember)
System\Xaml\XamlNodeList.cs (2)
66private void Add(XamlNodeType nodeType, object data) 70if (nodeType != XamlNodeType.None)
System\Xaml\XamlNodeQueue.cs (2)
60private void Add(XamlNodeType nodeType, object data) 62if (nodeType != XamlNodeType.None)
System\Xaml\XamlObjectReader.cs (73)
93if (currentXamlNode.NodeType != XamlNodeType.None) 121public override XamlNodeType NodeType 181return currentXamlNode.NodeType == XamlNodeType.StartObject ? currentInstance : null; 371XamlNode = new XamlNode(XamlNodeType.StartMember, attachedProperty), 416MemberMarkupInfo itemsInfo = new MemberMarkupInfo { XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.Items) }; 461XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.Key), 537XamlNode = new XamlNode(XamlNodeType.StartMember, property), 542XamlNode = new XamlNode(XamlNodeType.GetObject), 565XamlNode = new XamlNode(XamlNodeType.StartMember, property), 570XamlNode = new XamlNode(XamlNodeType.GetObject), 608XamlNode = new XamlNode(XamlNodeType.StartMember, property), 613XamlNode = new XamlNode(XamlNodeType.StartObject, XamlLanguage.XData), 618XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.XData.GetMember("Text")), 623XamlNode = new XamlNode(XamlNodeType.Value, sb.ToString()) 647XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.Lang), 655XamlNode = new XamlNode(XamlNodeType.StartMember, xamlProperty), 688objectInfo.XamlNode = new XamlNode(XamlNodeType.GetObject); 727var itemsInfo = new MemberMarkupInfo { XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.Items) }; 872valueInfo = new ValueMarkupInfo() { XamlNode = new XamlNode(XamlNodeType.Value, propertyValue) }; 885valueInfo = new ValueMarkupInfo() { XamlNode = new XamlNode(XamlNodeType.Value, propertyValue ?? string.Empty) }; 892valueInfo = new ValueMarkupInfo() { XamlNode = new XamlNode(XamlNodeType.Value, propertyValue) }; 968EndObjectMarkupInfo() { XamlNode = new XamlNode(XamlNodeType.EndObject); } 977EndMemberMarkupInfo() { XamlNode = new XamlNode(XamlNodeType.EndMember); } 1135if ((XamlNode.NodeType == XamlNodeType.StartObject && !XamlNode.XamlType.IsMarkupExtension) 1136|| XamlNode.NodeType == XamlNodeType.GetObject) 1158if (XamlNode.NodeType == XamlNodeType.StartObject) 1250XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.FactoryMethod), 1252Children = { new ValueMarkupInfo() { XamlNode = new XamlNode(XamlNodeType.Value, methodName) } } 1304XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.Items) 1309XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.Arguments) 1329XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.PositionalParameters) 1349positionalParametersProperty.Children.Add(new ValueMarkupInfo { XamlNode = new XamlNode(XamlNodeType.Value, stringValue) }); 1365positionalParametersProperty.Children.Add(new ValueMarkupInfo { XamlNode = new XamlNode(XamlNodeType.Value, stringValue) }); 1370positionalParametersProperty.Children.Add(new ValueMarkupInfo { XamlNode = new XamlNode(XamlNodeType.Value, argument) }); 1752XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.Name), 1753Children = { new ValueMarkupInfo() { XamlNode = new XamlNode(XamlNodeType.Value, Name) } } 1759if (XamlNode.NodeType == XamlNodeType.GetObject) 1763XamlNode = new XamlNode(XamlNodeType.StartObject, xamlType); 1804var items = new MemberMarkupInfo { XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.Items) }; 1812XamlNode = new XamlNode(XamlNodeType.StartObject, XamlLanguage.Array), 1819XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.Array.GetMember("Type")), //x:ArrayExtension.Type 1824XamlNode = new XamlNode(XamlNodeType.Value, context.ConvertXamlTypeToString(elementType)) 1835XamlNode = new XamlNode(XamlNodeType.GetObject), 1845XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.Array.ContentProperty), 1894return new ObjectMarkupInfo { XamlNode = new XamlNode(XamlNodeType.StartObject, XamlLanguage.Null) }; 2020XamlNode = new XamlNode(XamlNodeType.StartObject, xamlType), 2034XamlNode = new XamlNode(XamlNodeType.StartObject, xamlType), 2057XamlNode = new XamlNode(XamlNodeType.StartObject, xamlType), 2067XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.Initialization), 2068Children = { new ValueMarkupInfo() { XamlNode = new XamlNode(XamlNodeType.Value, value) } } 2335XamlNode = new XamlNode(XamlNodeType.StartObject, XamlLanguage.Reference); 2336nameProperty = new MemberMarkupInfo { XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.PositionalParameters) }; 2344nameProperty.Children.Add(new ValueMarkupInfo { XamlNode = new XamlNode(XamlNodeType.Value, Target.Name) }); 2539return namespaceMapList.ConvertAll<XamlNode>(pair => new XamlNode(XamlNodeType.NamespaceDeclaration, 2874while (reader.Read() && reader.NodeType != XamlNodeType.StartObject) 2876if (reader.NodeType != XamlNodeType.NamespaceDeclaration) 2883nodes.Add(new ValueMarkupInfo{ XamlNode = new XamlNode(XamlNodeType.NamespaceDeclaration, reader.Namespace) }); 2887if (reader.NodeType != XamlNodeType.StartObject) 2892nodes.Add(new ValueMarkupInfo { XamlNode = new XamlNode(XamlNodeType.StartObject, reader.Type) }); 2899case XamlNodeType.NamespaceDeclaration: 2900nodes.Add(new ValueMarkupInfo{ XamlNode = new XamlNode(XamlNodeType.NamespaceDeclaration, reader.Namespace) }); 2903case XamlNodeType.StartObject: 2904nodes.Add(new ValueMarkupInfo{ XamlNode = new XamlNode(XamlNodeType.StartObject, reader.Type) }); 2907case XamlNodeType.GetObject: 2908nodes.Add(new ValueMarkupInfo{ XamlNode = new XamlNode(XamlNodeType.GetObject) }); 2911case XamlNodeType.EndObject: 2912nodes.Add(new ValueMarkupInfo{ XamlNode = new XamlNode(XamlNodeType.EndObject) }); 2915case XamlNodeType.StartMember: 2916nodes.Add(new ValueMarkupInfo{ XamlNode = new XamlNode(XamlNodeType.StartMember, reader.Member) }); 2919case XamlNodeType.EndMember: 2920nodes.Add(new ValueMarkupInfo{ XamlNode = new XamlNode(XamlNodeType.EndMember) }); 2923case XamlNodeType.Value: 2924nodes.Add(new ValueMarkupInfo{ XamlNode = new XamlNode(XamlNodeType.Value, reader.Value) });
System\Xaml\XamlReader.cs (15)
15public abstract XamlNodeType NodeType { get; } 29case XamlNodeType.NamespaceDeclaration: 30case XamlNodeType.Value: 31case XamlNodeType.EndObject: 32case XamlNodeType.EndMember: 33case XamlNodeType.None: 36case XamlNodeType.StartObject: 37SkipFromTo(XamlNodeType.StartObject, XamlNodeType.EndObject); 40case XamlNodeType.StartMember: 41SkipFromTo(XamlNodeType.StartMember, XamlNodeType.EndMember); 78private void SkipFromTo(XamlNodeType startNodeType, XamlNodeType endNodeType) 90XamlNodeType nodeType = NodeType;
System\Xaml\XamlSubreader.cs (9)
25_rootIsStartMember = (reader.NodeType == XamlNodeType.StartMember); 41public override XamlNodeType NodeType 43get { return IsEmpty ? XamlNodeType.None : _reader.NodeType; } 126XamlNodeType nodeType = _reader.NodeType; 130if (nodeType == XamlNodeType.StartMember) 134else if (nodeType == XamlNodeType.EndMember) 141if (nodeType == XamlNodeType.StartObject 142|| nodeType == XamlNodeType.GetObject) 146else if (nodeType == XamlNodeType.EndObject)
System\Xaml\XamlWriter.cs (8)
28case XamlNodeType.NamespaceDeclaration: 32case XamlNodeType.StartObject: 36case XamlNodeType.GetObject: 40case XamlNodeType.EndObject: 44case XamlNodeType.StartMember: 48case XamlNodeType.EndMember: 52case XamlNodeType.Value: 56case XamlNodeType.None:
System\Xaml\XamlXmlWriter.cs (75)
106namespaceScopes.Push(new Frame { AllocatingNodeType = XamlNodeType.StartObject }); 151if (frame.AllocatingNodeType == XamlNodeType.StartMember) 341Debug.Assert(writer.namespaceScopes.Peek().AllocatingNodeType == XamlNodeType.StartMember); 346if (enumerator.Current.AllocatingNodeType == XamlNodeType.StartMember 352else if (enumerator.Current.AllocatingNodeType == XamlNodeType.StartObject) 492if (objectFrame.AllocatingNodeType != XamlNodeType.StartObject && 493objectFrame.AllocatingNodeType != XamlNodeType.GetObject) 500Debug.Assert(objectFrame.AllocatingNodeType == XamlNodeType.StartObject || 501objectFrame.AllocatingNodeType == XamlNodeType.GetObject); 515void WriteDeferredNamespaces(XamlNodeType nodeType) 690public XamlNodeType AllocatingNodeType 804Debug.Assert(frame.AllocatingNodeType == XamlNodeType.StartMember); 822Debug.Assert(frame.AllocatingNodeType == XamlNodeType.StartMember); 883case XamlNodeType.NamespaceDeclaration: 887case XamlNodeType.StartObject: 891case XamlNodeType.GetObject: 895if (frame.AllocatingNodeType == XamlNodeType.StartMember) 902case XamlNodeType.EndObject: 906case XamlNodeType.StartMember: 910case XamlNodeType.EndMember: 914case XamlNodeType.Value: 918case XamlNodeType.None: 989if (writer.namespaceScopes.Peek().AllocatingNodeType != XamlNodeType.StartMember) 993AllocatingNodeType = XamlNodeType.StartMember, 1005if (writer.namespaceScopes.Peek().AllocatingNodeType != XamlNodeType.StartMember) 1009AllocatingNodeType = XamlNodeType.StartMember, 1045writer.WriteDeferredNamespaces(XamlNodeType.StartMember); 1075if (frame.AllocatingNodeType != XamlNodeType.StartObject && 1076frame.AllocatingNodeType != XamlNodeType.GetObject) 1112writer.WriteDeferredNamespaces(XamlNodeType.StartObject); 1137writer.WriteDeferredNamespaces(XamlNodeType.StartObject); 1146Debug.Assert(writer.namespaceScopes.Peek().AllocatingNodeType == XamlNodeType.StartObject || 1147writer.namespaceScopes.Peek().AllocatingNodeType == XamlNodeType.GetObject); 1151AllocatingNodeType = XamlNodeType.StartMember, 1177writer.WriteDeferredNamespaces(XamlNodeType.StartObject); 1186writer.WriteDeferredNamespaces(XamlNodeType.StartObject); 1203writer.WriteDeferredNamespaces(XamlNodeType.StartObject); 1224if (writer.namespaceScopes.Peek().AllocatingNodeType != XamlNodeType.StartObject && 1225writer.namespaceScopes.Peek().AllocatingNodeType != XamlNodeType.GetObject) 1227writer.namespaceScopes.Push(new Frame { AllocatingNodeType = XamlNodeType.StartObject }); 1235if (frame.AllocatingNodeType != XamlNodeType.StartMember) 1312if (frameWithXmlSpacePreserve.AllocatingNodeType == XamlNodeType.StartMember) 1328if (frame.AllocatingNodeType == XamlNodeType.GetObject) 1332if (frame.AllocatingNodeType == XamlNodeType.StartMember) 1352if (writer.namespaceScopes.Peek().AllocatingNodeType != XamlNodeType.StartObject && 1353writer.namespaceScopes.Peek().AllocatingNodeType != XamlNodeType.GetObject) 1355writer.namespaceScopes.Push(new Frame { AllocatingNodeType = isObjectFromMember ? XamlNodeType.GetObject : XamlNodeType.StartObject }); 1374if (frame.AllocatingNodeType == XamlNodeType.StartMember) 1418Debug.Assert(memberFrame.AllocatingNodeType == XamlNodeType.StartMember || 1419memberFrame.AllocatingNodeType == XamlNodeType.GetObject); 1551Debug.Assert(memberFrame.AllocatingNodeType == XamlNodeType.StartMember || 1552memberFrame.AllocatingNodeType == XamlNodeType.GetObject); 1574writer.WriteDeferredNamespaces(XamlNodeType.StartObject); 1602writer.WriteDeferredNamespaces(XamlNodeType.StartObject); 1633writer.WriteDeferredNamespaces(XamlNodeType.StartObject); 1651writer.WriteDeferredNamespaces(XamlNodeType.StartObject); 1721writer.WriteDeferredNamespaces(XamlNodeType.StartObject); 1732writer.WriteDeferredNamespaces(XamlNodeType.StartObject); 1748writer.WriteDeferredNamespaces(XamlNodeType.StartObject); 1767writer.WriteDeferredNamespaces(XamlNodeType.StartObject); 1783writer.meNodesStack.Peek().Add(new XamlNode(XamlNodeType.StartObject, type)); 1788writer.meNodesStack.Peek().Add(new XamlNode(XamlNodeType.GetObject)); 1800writer.meNodesStack.Peek().Add(new XamlNode(XamlNodeType.EndObject)); 1821writer.meNodesStack.Peek().Add(new XamlNode(XamlNodeType.StartMember, property)); 1833writer.meNodesStack.Peek().Add(new XamlNode(XamlNodeType.EndMember)); 1845writer.meNodesStack.Peek().Add(new XamlNode(XamlNodeType.NamespaceDeclaration, namespaceDeclaration)); 1857writer.meNodesStack.Peek().Add(new XamlNode(XamlNodeType.Value, value)); 1883Debug.Assert(frame.AllocatingNodeType == XamlNodeType.StartObject); 1933writer.ppStateInfo.NodesList[i].Insert(0, new XamlNode(XamlNodeType.StartMember, member)); 1934writer.ppStateInfo.NodesList[i].Add(new XamlNode(XamlNodeType.EndMember)); 2028XamlNode node = new XamlNode(XamlNodeType.StartObject, type); 2051XamlNode node = new XamlNode(XamlNodeType.EndObject); 2064XamlNode node = new XamlNode(XamlNodeType.StartMember, property); 2094XamlNode node = new XamlNode(XamlNodeType.Value, value);