13 writes to Children
System.Xaml (13)
System\Xaml\XamlObjectReader.cs (13)
372
Children
= { GetPropertyValueInfo(value, attachedProperty, context) }
462
Children
= { keyValue }
538
Children
=
566
Children
=
609
Children
=
619
Children
=
648
Children
= { GetPropertyValueInfo(propertyValue, xamlProperty, context) }
656
Children
= { GetPropertyValueInfo(propertyValue, xamlProperty, context) }
1252
Children
= { new ValueMarkupInfo() { XamlNode = new XamlNode(XamlNodeType.Value, methodName) } }
1753
Children
= { new ValueMarkupInfo() { XamlNode = new XamlNode(XamlNodeType.Value, Name) } }
1820
Children
=
1846
Children
=
2068
Children
= { new ValueMarkupInfo() { XamlNode = new XamlNode(XamlNodeType.Value, value) } }
31 references to Children
System.Xaml (31)
System\Xaml\XamlObjectReader.cs (31)
304
if (
Children
.Count > 1) { return false; }
307
if (
Children
.Count == 0 ||
Children
[0] is ValueMarkupInfo) { return true; }
309
ObjectMarkupInfo r =
Children
[0] as ObjectMarkupInfo;
327
foreach (var ov in
Children
)
466
itemsInfo.
Children
.Add(objInfo);
533
if (itemsInfo is not null && itemsInfo.
Children
.Count != 0)
561
if (itemsInfo is not null && itemsInfo.
Children
.Count != 0)
670
if (memberInfo.
Children
.Count == 1)
672
var objectInfo = memberInfo.
Children
[0] as ObjectMarkupInfo;
679
if(itemsMemberInfo is not null && itemsMemberInfo.
Children
.Count > 0)
684
var itemInfo = itemsMemberInfo.
Children
[0] as ObjectMarkupInfo;
758
if (memberInfo.
Children
.Count == 1)
760
var childOvInfo = (ObjectOrValueMarkupInfo) memberInfo.
Children
[0];
793
itemsInfo.
Children
.Add(unwrappedItemInfo ?? itemInfo);
1203
if (propertyInfo is not null && propertyInfo.
Children
.Count != 0)
1314
argumentsProperty.
Children
.Add(ForObject(argument, context));
1349
positionalParametersProperty.
Children
.Add(new ValueMarkupInfo { XamlNode = new XamlNode(XamlNodeType.Value, stringValue) });
1359
positionalParametersProperty.
Children
.Add(objectInfo);
1365
positionalParametersProperty.
Children
.Add(new ValueMarkupInfo { XamlNode = new XamlNode(XamlNodeType.Value, stringValue) });
1370
positionalParametersProperty.
Children
.Add(new ValueMarkupInfo { XamlNode = new XamlNode(XamlNodeType.Value, argument) });
1779
foreach (var ov in propertyInfo.
Children
)
1807
items.
Children
.Add(ForObject(item, context));
1831
if (items.
Children
.Count != 0)
2078
if (propertyInfo.
Children
.Count == 1)
2080
if (propertyInfo.
Children
[0] is ValueMarkupInfo valueInfo)
2091
return propertyInfo.
Children
.Count == 1 &&
2092
propertyInfo.
Children
[0] is ObjectMarkupInfo objectInfo &&
2121
if (propertyInfo.
Children
.Count == 1)
2123
var valueInfo = propertyInfo.
Children
[0] as ValueMarkupInfo;
2344
nameProperty.
Children
.Add(new ValueMarkupInfo { XamlNode = new XamlNode(XamlNodeType.Value, Target.Name) });