79 references to XamlNode
System.Xaml (79)
System\Xaml\Parser\MePullParser.cs (4)
480var startObj = new XamlNode(XamlNodeType.StartObject, xamlType); 495XamlNode startMember = new XamlNode(XamlNodeType.StartMember, member); 509XamlNode startProperty = new XamlNode(XamlNodeType.StartMember, XamlLanguage.PositionalParameters); 527XamlNode textNode = new XamlNode(XamlNodeType.Value, text);
System\Xaml\Parser\NodeStreamSorter.cs (3)
218XamlNode node = new XamlNode(XamlNodeType.NamespaceDeclaration, new NamespaceDeclaration(uriString, prefix)); 249var startProperty = new XamlNode(XamlNodeType.StartMember, xmlDirectiveProperty); 253var textNode = new XamlNode(XamlNodeType.Value, textValue);
System\Xaml\Parser\XamlPullParser.cs (14)
289yield return new XamlNode(XamlNodeType.Value, string.Empty); 618yield return new XamlNode(XamlNodeType.Value, trimmed); 719yield return new XamlNode(XamlNodeType.Value, trimmed); 750yield return new XamlNode(XamlNodeType.Value, trimmed); 811XamlNode addNs = new XamlNode(XamlNodeType.NamespaceDeclaration, new NamespaceDeclaration(xamlNs, prefix)); 821XamlNode startObj = new XamlNode(XamlNodeType.StartObject, xamlType); 846XamlNode startProperty = new XamlNode(XamlNodeType.StartMember, property); 859XamlNode textNode = new XamlNode(XamlNodeType.Value, text.AttributeText); 883var startMember = new XamlNode(XamlNodeType.StartMember, member); 903var startProperty = new XamlNode(XamlNodeType.StartMember, property); 914var startProperty = new XamlNode(XamlNodeType.StartMember, initProperty); 972var startProperty = new XamlNode(XamlNodeType.StartMember, XamlLanguage.Items); 1042yield return new XamlNode(XamlNodeType.NamespaceDeclaration, nsDecl); 1049yield return new XamlNode(XamlNodeType.Value, typeNameString);
System\Xaml\XamlBackgroundReader.cs (1)
156AddToBuffer(new XamlNode(nodeType, data));
System\Xaml\XamlNodeList.cs (1)
74XamlNode node = new XamlNode(nodeType, data);
System\Xaml\XamlNodeQueue.cs (1)
65XamlNode node = new XamlNode(nodeType, data);
System\Xaml\XamlObjectReader.cs (47)
371XamlNode = new XamlNode(XamlNodeType.StartMember, attachedProperty), 417MemberMarkupInfo itemsInfo = new MemberMarkupInfo { XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.Items) }; 462XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.Key), 539XamlNode = new XamlNode(XamlNodeType.StartMember, property), 567XamlNode = new XamlNode(XamlNodeType.StartMember, property), 610XamlNode = new XamlNode(XamlNodeType.StartMember, property), 615XamlNode = new XamlNode(XamlNodeType.StartObject, XamlLanguage.XData), 620XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.XData.GetMember("Text")), 625XamlNode = new XamlNode(XamlNodeType.Value, sb.ToString()) 649XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.Lang), 657XamlNode = new XamlNode(XamlNodeType.StartMember, xamlProperty), 724var itemsInfo = new MemberMarkupInfo { XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.Items) }; 870valueInfo = new ValueMarkupInfo() { XamlNode = new XamlNode(XamlNodeType.Value, propertyValue) }; 883valueInfo = new ValueMarkupInfo() { XamlNode = new XamlNode(XamlNodeType.Value, propertyValue ?? string.Empty) }; 890valueInfo = new ValueMarkupInfo() { XamlNode = new XamlNode(XamlNodeType.Value, propertyValue) }; 1252XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.FactoryMethod), 1254Children = { new ValueMarkupInfo() { XamlNode = new XamlNode(XamlNodeType.Value, methodName) } } 1307XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.Items) 1312XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.Arguments) 1332XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.PositionalParameters) 1352positionalParametersProperty.Children.Add(new ValueMarkupInfo { XamlNode = new XamlNode(XamlNodeType.Value, stringValue) }); 1369positionalParametersProperty.Children.Add(new ValueMarkupInfo { XamlNode = new XamlNode(XamlNodeType.Value, stringValue) }); 1374positionalParametersProperty.Children.Add(new ValueMarkupInfo { XamlNode = new XamlNode(XamlNodeType.Value, argument) }); 1762XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.Name), 1763Children = { new ValueMarkupInfo() { XamlNode = new XamlNode(XamlNodeType.Value, Name) } } 1773XamlNode = new XamlNode(XamlNodeType.StartObject, xamlType); 1814var items = new MemberMarkupInfo { XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.Items) }; 1822XamlNode = new XamlNode(XamlNodeType.StartObject, XamlLanguage.Array), 1829XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.Array.GetMember("Type")), // x:ArrayExtension.Type 1834XamlNode = new XamlNode(XamlNodeType.Value, context.ConvertXamlTypeToString(elementType)) 1855XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.Array.ContentProperty), 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), 2080XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.Initialization), 2081Children = { new ValueMarkupInfo() { XamlNode = new XamlNode(XamlNodeType.Value, value) } } 2350XamlNode = new XamlNode(XamlNodeType.StartObject, XamlLanguage.Reference); 2351nameProperty = new MemberMarkupInfo { XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.PositionalParameters) }; 2359nameProperty.Children.Add(new ValueMarkupInfo { XamlNode = new XamlNode(XamlNodeType.Value, Target.Name) }); 2554return namespaceMapList.ConvertAll<XamlNode>(pair => new XamlNode(XamlNodeType.NamespaceDeclaration, 2905nodes.Add(new ValueMarkupInfo{ XamlNode = new XamlNode(XamlNodeType.NamespaceDeclaration, reader.Namespace) }); 2914nodes.Add(new ValueMarkupInfo { XamlNode = new XamlNode(XamlNodeType.StartObject, reader.Type) }); 2922nodes.Add(new ValueMarkupInfo{ XamlNode = new XamlNode(XamlNodeType.NamespaceDeclaration, reader.Namespace) }); 2926nodes.Add(new ValueMarkupInfo{ XamlNode = new XamlNode(XamlNodeType.StartObject, reader.Type) }); 2938nodes.Add(new ValueMarkupInfo{ XamlNode = new XamlNode(XamlNodeType.StartMember, reader.Member) }); 2946nodes.Add(new ValueMarkupInfo{ XamlNode = new XamlNode(XamlNodeType.Value, reader.Value) });
System\Xaml\XamlXmlWriter.cs (8)
1822writer.meNodesStack.Peek().Add(new XamlNode(XamlNodeType.StartObject, type)); 1860writer.meNodesStack.Peek().Add(new XamlNode(XamlNodeType.StartMember, property)); 1884writer.meNodesStack.Peek().Add(new XamlNode(XamlNodeType.NamespaceDeclaration, namespaceDeclaration)); 1896writer.meNodesStack.Peek().Add(new XamlNode(XamlNodeType.Value, value)); 1973writer.ppStateInfo.NodesList[i].Insert(0, new XamlNode(XamlNodeType.StartMember, member)); 2070XamlNode node = new XamlNode(XamlNodeType.StartObject, type); 2106XamlNode node = new XamlNode(XamlNodeType.StartMember, property); 2136XamlNode node = new XamlNode(XamlNodeType.Value, value);