13 writes to Children
System.Xaml (13)
System\Xaml\XamlObjectReader.cs (13)
372
Children
= { GetPropertyValueInfo(value, attachedProperty, context) }
463
Children
= { keyValue }
540
Children
=
568
Children
=
611
Children
=
621
Children
=
650
Children
= { GetPropertyValueInfo(propertyValue, xamlProperty, context) }
658
Children
= { GetPropertyValueInfo(propertyValue, xamlProperty, context) }
1254
Children
= { new ValueMarkupInfo() { XamlNode = new XamlNode(XamlNodeType.Value, methodName) } }
1763
Children
= { new ValueMarkupInfo() { XamlNode = new XamlNode(XamlNodeType.Value, Name) } }
1830
Children
=
1856
Children
=
2081
Children
= { new ValueMarkupInfo() { XamlNode = new XamlNode(XamlNodeType.Value, value) } }
31 references to Children
System.Xaml (31)
System\Xaml\XamlObjectReader.cs (31)
305
if (
Children
.Count > 1) { return false; }
308
if (
Children
.Count == 0 ||
Children
[0] is ValueMarkupInfo) { return true; }
310
if (
Children
[0] is not ObjectMarkupInfo r)
327
foreach (var ov in
Children
)
467
itemsInfo.
Children
.Add(objInfo);
535
if (itemsInfo is not null && itemsInfo.
Children
.Count != 0)
563
if (itemsInfo is not null && itemsInfo.
Children
.Count != 0)
672
if (memberInfo.
Children
.Count == 1)
674
if (memberInfo.
Children
[0] is ObjectMarkupInfo objectInfo && objectInfo.Properties.Count == 1 && memberType == objectInfo.XamlNode.XamlType)
678
if (objectInfo.Properties[0] is MemberMarkupInfo itemsMemberInfo && itemsMemberInfo.
Children
.Count > 0)
683
if (itemsMemberInfo.
Children
[0] is not ObjectMarkupInfo itemInfo || itemInfo.XamlNode.XamlType is null || !itemInfo.XamlNode.XamlType.IsMarkupExtension)
755
if (memberInfo.
Children
.Count == 1)
757
var childOvInfo = (ObjectOrValueMarkupInfo) memberInfo.
Children
[0];
791
itemsInfo.
Children
.Add(unwrappedItemInfo ?? itemInfo);
1206
if (propertyInfo is not null && propertyInfo.
Children
.Count != 0)
1317
argumentsProperty.
Children
.Add(ForObject(argument, context));
1352
positionalParametersProperty.
Children
.Add(new ValueMarkupInfo { XamlNode = new XamlNode(XamlNodeType.Value, stringValue) });
1363
positionalParametersProperty.
Children
.Add(objectInfo);
1369
positionalParametersProperty.
Children
.Add(new ValueMarkupInfo { XamlNode = new XamlNode(XamlNodeType.Value, stringValue) });
1374
positionalParametersProperty.
Children
.Add(new ValueMarkupInfo { XamlNode = new XamlNode(XamlNodeType.Value, argument) });
1789
foreach (var ov in propertyInfo.
Children
)
1817
items.
Children
.Add(ForObject(item, context));
1841
if (items.
Children
.Count != 0)
2091
if (propertyInfo.
Children
.Count == 1)
2093
if (propertyInfo.
Children
[0] is ValueMarkupInfo valueInfo)
2104
return propertyInfo.
Children
.Count == 1 &&
2105
propertyInfo.
Children
[0] is ObjectMarkupInfo objectInfo &&
2134
if (propertyInfo.
Children
.Count == 1)
2136
var valueInfo = propertyInfo.
Children
[0] as ValueMarkupInfo;
2359
nameProperty.
Children
.Add(new ValueMarkupInfo { XamlNode = new XamlNode(XamlNodeType.Value, Target.Name) });