57 writes to XamlNode
System.Xaml (57)
System\Xaml\XamlObjectReader.cs (57)
85
nodes.Push(new NamespaceMarkupInfo() {
XamlNode
= node });
371
XamlNode
= new XamlNode(XamlNodeType.StartMember, attachedProperty),
416
MemberMarkupInfo itemsInfo = new MemberMarkupInfo {
XamlNode
= new XamlNode(XamlNodeType.StartMember, XamlLanguage.Items) };
461
XamlNode
= new XamlNode(XamlNodeType.StartMember, XamlLanguage.Key),
537
XamlNode
= new XamlNode(XamlNodeType.StartMember, property),
542
XamlNode
= new XamlNode(XamlNodeType.GetObject),
565
XamlNode
= new XamlNode(XamlNodeType.StartMember, property),
570
XamlNode
= new XamlNode(XamlNodeType.GetObject),
608
XamlNode
= new XamlNode(XamlNodeType.StartMember, property),
613
XamlNode
= new XamlNode(XamlNodeType.StartObject, XamlLanguage.XData),
618
XamlNode
= new XamlNode(XamlNodeType.StartMember, XamlLanguage.XData.GetMember("Text")),
623
XamlNode
= new XamlNode(XamlNodeType.Value, sb.ToString())
647
XamlNode
= new XamlNode(XamlNodeType.StartMember, XamlLanguage.Lang),
655
XamlNode
= new XamlNode(XamlNodeType.StartMember, xamlProperty),
688
objectInfo.
XamlNode
= new XamlNode(XamlNodeType.GetObject);
727
var itemsInfo = new MemberMarkupInfo {
XamlNode
= new XamlNode(XamlNodeType.StartMember, XamlLanguage.Items) };
872
valueInfo = new ValueMarkupInfo() {
XamlNode
= new XamlNode(XamlNodeType.Value, propertyValue) };
885
valueInfo = new ValueMarkupInfo() {
XamlNode
= new XamlNode(XamlNodeType.Value, propertyValue ?? string.Empty) };
892
valueInfo = new ValueMarkupInfo() {
XamlNode
= new XamlNode(XamlNodeType.Value, propertyValue) };
968
EndObjectMarkupInfo() {
XamlNode
= new XamlNode(XamlNodeType.EndObject); }
977
EndMemberMarkupInfo() {
XamlNode
= new XamlNode(XamlNodeType.EndMember); }
1250
XamlNode
= new XamlNode(XamlNodeType.StartMember, XamlLanguage.FactoryMethod),
1252
Children = { new ValueMarkupInfo() {
XamlNode
= new XamlNode(XamlNodeType.Value, methodName) } }
1304
XamlNode
= new XamlNode(XamlNodeType.StartMember, XamlLanguage.Items)
1309
XamlNode
= new XamlNode(XamlNodeType.StartMember, XamlLanguage.Arguments)
1329
XamlNode
= new XamlNode(XamlNodeType.StartMember, XamlLanguage.PositionalParameters)
1349
positionalParametersProperty.Children.Add(new ValueMarkupInfo {
XamlNode
= new XamlNode(XamlNodeType.Value, stringValue) });
1365
positionalParametersProperty.Children.Add(new ValueMarkupInfo {
XamlNode
= new XamlNode(XamlNodeType.Value, stringValue) });
1370
positionalParametersProperty.Children.Add(new ValueMarkupInfo {
XamlNode
= new XamlNode(XamlNodeType.Value, argument) });
1752
XamlNode
= new XamlNode(XamlNodeType.StartMember, XamlLanguage.Name),
1753
Children = { new ValueMarkupInfo() {
XamlNode
= new XamlNode(XamlNodeType.Value, Name) } }
1763
XamlNode
= new XamlNode(XamlNodeType.StartObject, xamlType);
1804
var items = new MemberMarkupInfo {
XamlNode
= new XamlNode(XamlNodeType.StartMember, XamlLanguage.Items) };
1812
XamlNode
= new XamlNode(XamlNodeType.StartObject, XamlLanguage.Array),
1819
XamlNode
= new XamlNode(XamlNodeType.StartMember, XamlLanguage.Array.GetMember("Type")), //x:ArrayExtension.Type
1824
XamlNode
= new XamlNode(XamlNodeType.Value, context.ConvertXamlTypeToString(elementType))
1835
XamlNode
= new XamlNode(XamlNodeType.GetObject),
1845
XamlNode
= new XamlNode(XamlNodeType.StartMember, XamlLanguage.Array.ContentProperty),
1894
return new ObjectMarkupInfo {
XamlNode
= new XamlNode(XamlNodeType.StartObject, XamlLanguage.Null) };
2020
XamlNode
= new XamlNode(XamlNodeType.StartObject, xamlType),
2034
XamlNode
= new XamlNode(XamlNodeType.StartObject, xamlType),
2057
XamlNode
= new XamlNode(XamlNodeType.StartObject, xamlType),
2067
XamlNode
= new XamlNode(XamlNodeType.StartMember, XamlLanguage.Initialization),
2068
Children = { new ValueMarkupInfo() {
XamlNode
= new XamlNode(XamlNodeType.Value, value) } }
2335
XamlNode
= new XamlNode(XamlNodeType.StartObject, XamlLanguage.Reference);
2336
nameProperty = new MemberMarkupInfo {
XamlNode
= new XamlNode(XamlNodeType.StartMember, XamlLanguage.PositionalParameters) };
2344
nameProperty.Children.Add(new ValueMarkupInfo {
XamlNode
= new XamlNode(XamlNodeType.Value, Target.Name) });
2883
nodes.Add(new ValueMarkupInfo{
XamlNode
= new XamlNode(XamlNodeType.NamespaceDeclaration, reader.Namespace) });
2892
nodes.Add(new ValueMarkupInfo {
XamlNode
= new XamlNode(XamlNodeType.StartObject, reader.Type) });
2900
nodes.Add(new ValueMarkupInfo{
XamlNode
= new XamlNode(XamlNodeType.NamespaceDeclaration, reader.Namespace) });
2904
nodes.Add(new ValueMarkupInfo{
XamlNode
= new XamlNode(XamlNodeType.StartObject, reader.Type) });
2908
nodes.Add(new ValueMarkupInfo{
XamlNode
= new XamlNode(XamlNodeType.GetObject) });
2912
nodes.Add(new ValueMarkupInfo{
XamlNode
= new XamlNode(XamlNodeType.EndObject) });
2916
nodes.Add(new ValueMarkupInfo{
XamlNode
= new XamlNode(XamlNodeType.StartMember, reader.Member) });
2920
nodes.Add(new ValueMarkupInfo{
XamlNode
= new XamlNode(XamlNodeType.EndMember) });
2924
nodes.Add(new ValueMarkupInfo{
XamlNode
= new XamlNode(XamlNodeType.Value, reader.Value) });
2932
XamlNode
= ((ValueMarkupInfo)nodes[0]).XamlNode;
36 references to XamlNode
System.Xaml (36)
System\Xaml\XamlObjectReader.cs (36)
101
currentXamlNode = node.
XamlNode
;
290
if (
XamlNode
.Member == XamlLanguage.PositionalParameters)
321
var member =
XamlNode
.Member;
667
var memberType = memberInfo.
XamlNode
.Member.Type;
673
if (objectInfo is not null && objectInfo.Properties.Count == 1 && memberType == objectInfo.
XamlNode
.XamlType)
676
if (objectInfo.Properties[0].
XamlNode
.Member == XamlLanguage.Items)
685
if(itemInfo is null || itemInfo.
XamlNode
.XamlType is null || !itemInfo.
XamlNode
.XamlType.IsMarkupExtension)
752
if (memberInfo.
XamlNode
.Member == itemInfo.
XamlNode
.XamlType.ContentProperty)
756
if (contentWrapperType == itemInfo.
XamlNode
.XamlType)
770
if (!isPreviousItemValue && !ShouldUnwrapDueToWhitespace((string)childOvInfo.
XamlNode
.Value, xamlType, isFirstElementOfCollection, isLastElementOfCollection))
1042
if (IsMemberOnlyDependentOnAttributableMembers(memberInfo.
XamlNode
.Member, namesOfAttributableProperties))
1047
namesOfAttributableProperties.Add(memberInfo.
XamlNode
.Member.Name);
1080
namesOfAttributableProperties.Add(memberInfo.
XamlNode
.Member.Name);
1094
if (property.
XamlNode
.Member.DependsOn.Count > 0)
1100
string dependentPropertyName = property.
XamlNode
.Member.Name;
1103
foreach (var dependingProperty in property.
XamlNode
.Member.DependsOn)
1135
if ((
XamlNode
.NodeType == XamlNodeType.StartObject && !
XamlNode
.XamlType.IsMarkupExtension)
1136
||
XamlNode
.NodeType == XamlNodeType.GetObject)
1158
if (
XamlNode
.NodeType == XamlNodeType.StartObject)
1160
context.FindPrefix(
XamlNode
.XamlType.PreferredXamlNamespace);
1162
var type =
XamlNode
.XamlType;
1588
var property = propertyInfo.
XamlNode
.Member;
1701
var xamlType = objInfo.
XamlNode
.XamlType;
1759
if (
XamlNode
.NodeType == XamlNodeType.GetObject)
2082
return Equals(valueInfo.
XamlNode
.Value, string.Empty);
2093
objectInfo.
XamlNode
.XamlType == XamlLanguage.Null;
2124
if (valueInfo?.
XamlNode
.Value is string name)
2129
XamlMember property = propertyInfo.
XamlNode
.Member;
2193
var xProperty = x.
XamlNode
.Member;
2194
var yProperty = y.
XamlNode
.Member;
2270
var xProperty = x.
XamlNode
.Member;
2271
var yProperty = y.
XamlNode
.Member;
2932
XamlNode = ((ValueMarkupInfo)nodes[0]).
XamlNode
;