79 references to XamlNode
System.Xaml (79)
System\Xaml\Parser\MePullParser.cs (4)
458var startObj = new XamlNode(XamlNodeType.StartObject, xamlType); 473XamlNode startMember = new XamlNode(XamlNodeType.StartMember, member); 487XamlNode startProperty = new XamlNode(XamlNodeType.StartMember, XamlLanguage.PositionalParameters); 505XamlNode textNode = new XamlNode(XamlNodeType.Value, text);
System\Xaml\Parser\NodeStreamSorter.cs (3)
212XamlNode node = new XamlNode(XamlNodeType.NamespaceDeclaration, new NamespaceDeclaration(uriString, prefix)); 241var startProperty = new XamlNode(XamlNodeType.StartMember, xmlDirectiveProperty); 245var textNode = new XamlNode(XamlNodeType.Value, textValue);
System\Xaml\Parser\XamlPullParser.cs (14)
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); 805XamlNode startProperty = new XamlNode(XamlNodeType.StartMember, property); 818XamlNode textNode = new XamlNode(XamlNodeType.Value, text.AttributeText); 840var startMember = new XamlNode(XamlNodeType.StartMember, member); 859var startProperty = new XamlNode(XamlNodeType.StartMember, property); 870var startProperty = new XamlNode(XamlNodeType.StartMember, initProperty); 927var startProperty = new XamlNode(XamlNodeType.StartMember, XamlLanguage.Items); 994yield return new XamlNode(XamlNodeType.NamespaceDeclaration, nsDecl); 1000yield return new XamlNode(XamlNodeType.Value, typeNameString);
System\Xaml\XamlBackgroundReader.cs (1)
150AddToBuffer(new XamlNode(nodeType, data));
System\Xaml\XamlNodeList.cs (1)
72XamlNode node = new XamlNode(nodeType, data);
System\Xaml\XamlNodeQueue.cs (1)
64XamlNode node = new XamlNode(nodeType, data);
System\Xaml\XamlObjectReader.cs (47)
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), 565XamlNode = new XamlNode(XamlNodeType.StartMember, property), 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), 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) }; 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) } } 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)) 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, 2883nodes.Add(new ValueMarkupInfo{ XamlNode = new XamlNode(XamlNodeType.NamespaceDeclaration, reader.Namespace) }); 2892nodes.Add(new ValueMarkupInfo { XamlNode = new XamlNode(XamlNodeType.StartObject, reader.Type) }); 2900nodes.Add(new ValueMarkupInfo{ XamlNode = new XamlNode(XamlNodeType.NamespaceDeclaration, reader.Namespace) }); 2904nodes.Add(new ValueMarkupInfo{ XamlNode = new XamlNode(XamlNodeType.StartObject, reader.Type) }); 2916nodes.Add(new ValueMarkupInfo{ XamlNode = new XamlNode(XamlNodeType.StartMember, reader.Member) }); 2924nodes.Add(new ValueMarkupInfo{ XamlNode = new XamlNode(XamlNodeType.Value, reader.Value) });
System\Xaml\XamlXmlWriter.cs (8)
1783writer.meNodesStack.Peek().Add(new XamlNode(XamlNodeType.StartObject, type)); 1821writer.meNodesStack.Peek().Add(new XamlNode(XamlNodeType.StartMember, property)); 1845writer.meNodesStack.Peek().Add(new XamlNode(XamlNodeType.NamespaceDeclaration, namespaceDeclaration)); 1857writer.meNodesStack.Peek().Add(new XamlNode(XamlNodeType.Value, value)); 1933writer.ppStateInfo.NodesList[i].Insert(0, new XamlNode(XamlNodeType.StartMember, member)); 2028XamlNode node = new XamlNode(XamlNodeType.StartObject, type); 2064XamlNode node = new XamlNode(XamlNodeType.StartMember, property); 2094XamlNode node = new XamlNode(XamlNodeType.Value, value);