57 writes to XamlNode
System.Xaml (57)
System\Xaml\XamlObjectReader.cs (57)
90
nodes.Push(new NamespaceMarkupInfo() {
XamlNode
= node });
376
XamlNode
= new XamlNode(XamlNodeType.StartMember, attachedProperty),
421
MemberMarkupInfo itemsInfo = new MemberMarkupInfo {
XamlNode
= new XamlNode(XamlNodeType.StartMember, XamlLanguage.Items) };
466
XamlNode
= new XamlNode(XamlNodeType.StartMember, XamlLanguage.Key),
542
XamlNode
= new XamlNode(XamlNodeType.StartMember, property),
547
XamlNode
= new XamlNode(XamlNodeType.GetObject),
570
XamlNode
= new XamlNode(XamlNodeType.StartMember, property),
575
XamlNode
= new XamlNode(XamlNodeType.GetObject),
613
XamlNode
= new XamlNode(XamlNodeType.StartMember, property),
618
XamlNode
= new XamlNode(XamlNodeType.StartObject, XamlLanguage.XData),
623
XamlNode
= new XamlNode(XamlNodeType.StartMember, XamlLanguage.XData.GetMember("Text")),
628
XamlNode
= new XamlNode(XamlNodeType.Value, sb.ToString())
652
XamlNode
= new XamlNode(XamlNodeType.StartMember, XamlLanguage.Lang),
660
XamlNode
= new XamlNode(XamlNodeType.StartMember, xamlProperty),
693
objectInfo.
XamlNode
= new XamlNode(XamlNodeType.GetObject);
732
var itemsInfo = new MemberMarkupInfo {
XamlNode
= new XamlNode(XamlNodeType.StartMember, XamlLanguage.Items) };
877
valueInfo = new ValueMarkupInfo() {
XamlNode
= new XamlNode(XamlNodeType.Value, propertyValue) };
890
valueInfo = new ValueMarkupInfo() {
XamlNode
= new XamlNode(XamlNodeType.Value, propertyValue ?? string.Empty) };
897
valueInfo = new ValueMarkupInfo() {
XamlNode
= new XamlNode(XamlNodeType.Value, propertyValue) };
973
EndObjectMarkupInfo() {
XamlNode
= new XamlNode(XamlNodeType.EndObject); }
982
EndMemberMarkupInfo() {
XamlNode
= new XamlNode(XamlNodeType.EndMember); }
1255
XamlNode
= new XamlNode(XamlNodeType.StartMember, XamlLanguage.FactoryMethod),
1257
Children = { new ValueMarkupInfo() {
XamlNode
= new XamlNode(XamlNodeType.Value, methodName) } }
1309
XamlNode
= new XamlNode(XamlNodeType.StartMember, XamlLanguage.Items)
1314
XamlNode
= new XamlNode(XamlNodeType.StartMember, XamlLanguage.Arguments)
1334
XamlNode
= new XamlNode(XamlNodeType.StartMember, XamlLanguage.PositionalParameters)
1354
positionalParametersProperty.Children.Add(new ValueMarkupInfo {
XamlNode
= new XamlNode(XamlNodeType.Value, stringValue) });
1370
positionalParametersProperty.Children.Add(new ValueMarkupInfo {
XamlNode
= new XamlNode(XamlNodeType.Value, stringValue) });
1375
positionalParametersProperty.Children.Add(new ValueMarkupInfo {
XamlNode
= new XamlNode(XamlNodeType.Value, argument) });
1757
XamlNode
= new XamlNode(XamlNodeType.StartMember, XamlLanguage.Name),
1758
Children = { new ValueMarkupInfo() {
XamlNode
= new XamlNode(XamlNodeType.Value, Name) } }
1768
XamlNode
= new XamlNode(XamlNodeType.StartObject, xamlType);
1809
var items = new MemberMarkupInfo {
XamlNode
= new XamlNode(XamlNodeType.StartMember, XamlLanguage.Items) };
1817
XamlNode
= new XamlNode(XamlNodeType.StartObject, XamlLanguage.Array),
1824
XamlNode
= new XamlNode(XamlNodeType.StartMember, XamlLanguage.Array.GetMember("Type")), //x:ArrayExtension.Type
1829
XamlNode
= new XamlNode(XamlNodeType.Value, context.ConvertXamlTypeToString(elementType))
1840
XamlNode
= new XamlNode(XamlNodeType.GetObject),
1850
XamlNode
= new XamlNode(XamlNodeType.StartMember, XamlLanguage.Array.ContentProperty),
1899
return new ObjectMarkupInfo {
XamlNode
= new XamlNode(XamlNodeType.StartObject, XamlLanguage.Null) };
2025
XamlNode
= new XamlNode(XamlNodeType.StartObject, xamlType),
2039
XamlNode
= new XamlNode(XamlNodeType.StartObject, xamlType),
2062
XamlNode
= new XamlNode(XamlNodeType.StartObject, xamlType),
2072
XamlNode
= new XamlNode(XamlNodeType.StartMember, XamlLanguage.Initialization),
2073
Children = { new ValueMarkupInfo() {
XamlNode
= new XamlNode(XamlNodeType.Value, value) } }
2340
XamlNode
= new XamlNode(XamlNodeType.StartObject, XamlLanguage.Reference);
2341
nameProperty = new MemberMarkupInfo {
XamlNode
= new XamlNode(XamlNodeType.StartMember, XamlLanguage.PositionalParameters) };
2349
nameProperty.Children.Add(new ValueMarkupInfo {
XamlNode
= new XamlNode(XamlNodeType.Value, Target.Name) });
2888
nodes.Add(new ValueMarkupInfo{
XamlNode
= new XamlNode(XamlNodeType.NamespaceDeclaration, reader.Namespace) });
2897
nodes.Add(new ValueMarkupInfo {
XamlNode
= new XamlNode(XamlNodeType.StartObject, reader.Type) });
2905
nodes.Add(new ValueMarkupInfo{
XamlNode
= new XamlNode(XamlNodeType.NamespaceDeclaration, reader.Namespace) });
2909
nodes.Add(new ValueMarkupInfo{
XamlNode
= new XamlNode(XamlNodeType.StartObject, reader.Type) });
2913
nodes.Add(new ValueMarkupInfo{
XamlNode
= new XamlNode(XamlNodeType.GetObject) });
2917
nodes.Add(new ValueMarkupInfo{
XamlNode
= new XamlNode(XamlNodeType.EndObject) });
2921
nodes.Add(new ValueMarkupInfo{
XamlNode
= new XamlNode(XamlNodeType.StartMember, reader.Member) });
2925
nodes.Add(new ValueMarkupInfo{
XamlNode
= new XamlNode(XamlNodeType.EndMember) });
2929
nodes.Add(new ValueMarkupInfo{
XamlNode
= new XamlNode(XamlNodeType.Value, reader.Value) });
2937
XamlNode
= ((ValueMarkupInfo)nodes[0]).XamlNode;
36 references to XamlNode
System.Xaml (36)
System\Xaml\XamlObjectReader.cs (36)
106
currentXamlNode = node.
XamlNode
;
295
if (
XamlNode
.Member == XamlLanguage.PositionalParameters)
326
var member =
XamlNode
.Member;
672
var memberType = memberInfo.
XamlNode
.Member.Type;
678
if (objectInfo != null && objectInfo.Properties.Count == 1 && memberType == objectInfo.
XamlNode
.XamlType)
681
if (objectInfo.Properties[0].
XamlNode
.Member == XamlLanguage.Items)
690
if(itemInfo == null || itemInfo.
XamlNode
.XamlType == null || !itemInfo.
XamlNode
.XamlType.IsMarkupExtension)
757
if (memberInfo.
XamlNode
.Member == itemInfo.
XamlNode
.XamlType.ContentProperty)
761
if (contentWrapperType == itemInfo.
XamlNode
.XamlType)
775
if (!isPreviousItemValue && !ShouldUnwrapDueToWhitespace((string)childOvInfo.
XamlNode
.Value, xamlType, isFirstElementOfCollection, isLastElementOfCollection))
1047
if (IsMemberOnlyDependentOnAttributableMembers(memberInfo.
XamlNode
.Member, namesOfAttributableProperties))
1052
namesOfAttributableProperties.Add(memberInfo.
XamlNode
.Member.Name);
1085
namesOfAttributableProperties.Add(memberInfo.
XamlNode
.Member.Name);
1099
if (property.
XamlNode
.Member.DependsOn.Count > 0)
1105
string dependentPropertyName = property.
XamlNode
.Member.Name;
1108
foreach (var dependingProperty in property.
XamlNode
.Member.DependsOn)
1140
if ((
XamlNode
.NodeType == XamlNodeType.StartObject && !
XamlNode
.XamlType.IsMarkupExtension)
1141
||
XamlNode
.NodeType == XamlNodeType.GetObject)
1163
if (
XamlNode
.NodeType == XamlNodeType.StartObject)
1165
context.FindPrefix(
XamlNode
.XamlType.PreferredXamlNamespace);
1167
var type =
XamlNode
.XamlType;
1593
var property = propertyInfo.
XamlNode
.Member;
1706
var xamlType = objInfo.
XamlNode
.XamlType;
1764
if (
XamlNode
.NodeType == XamlNodeType.GetObject)
2087
return Equals(valueInfo.
XamlNode
.Value, string.Empty);
2098
objectInfo.
XamlNode
.XamlType == XamlLanguage.Null;
2129
if (valueInfo?.
XamlNode
.Value is string name)
2134
XamlMember property = propertyInfo.
XamlNode
.Member;
2198
var xProperty = x.
XamlNode
.Member;
2199
var yProperty = y.
XamlNode
.Member;
2275
var xProperty = x.
XamlNode
.Member;
2276
var yProperty = y.
XamlNode
.Member;
2937
XamlNode = ((ValueMarkupInfo)nodes[0]).
XamlNode
;