31 references to PropertyInfo
PresentationFramework (31)
System\Windows\Markup\BamlCollectionHolder.cs (7)
139
else if (PropertyDefinition.
PropertyInfo
!= null)
141
PropertyDefinition.
PropertyInfo
.SetValue(Parent,
174
else if (PropertyDefinition.
PropertyInfo
!= null)
180
PropertyDefinition.
PropertyInfo
,
190
_defaultCollection = PropertyDefinition.
PropertyInfo
.GetValue(
206
(PropertyDefinition.
PropertyInfo
== null || !PropertyDefinition.
PropertyInfo
.CanWrite) &&
System\Windows\Markup\BamlRecordReader.cs (24)
1317
if (propertyDefinition.
PropertyInfo
!= null)
1324
propertyDefinition.
PropertyInfo
,
1335
if (!XamlTypeMapper.IsAllowedPropertySet(propertyDefinition.
PropertyInfo
, allowProtected, out isPublicProperty))
1337
ThrowException(nameof(SR.ParserCantSetContentProperty), propertyDefinition.Name, propertyDefinition.
PropertyInfo
.ReflectedType.Name);
1343
contentProperty = propertyDefinition.
PropertyInfo
.GetValue(
1353
contentProperty = propertyDefinition.
PropertyInfo
;
2051
else if (propertyDefinition.
PropertyInfo
!= null)
2054
PushContext(ReaderFlags.PropertyComplexClr, propertyDefinition.
PropertyInfo
, propertyDefinition.PropertyType, 0);
2229
else if (propertyDefinition.
PropertyInfo
!= null)
2236
propertyDefinition.
PropertyInfo
,
2246
propertyDefinition.
PropertyInfo
.SetValue(element, valueObject,
2539
else if (propertyDefinition.
PropertyInfo
!= null)
2546
propertyDefinition.
PropertyInfo
.Name,
2554
propertyDefinition.
PropertyInfo
,
2564
propertyDefinition.
PropertyInfo
.SetValue(o, value, BindingFlags.Default, null, null, TypeConverterHelper.InvariantEnglishUS);
2572
propertyDefinition.
PropertyInfo
.Name,
2756
else if (propertyDefinition.
PropertyInfo
!= null)
2765
propertyDefinition.
PropertyInfo
,
5814
else if (this.
PropertyInfo
!= null)
5816
return this.
PropertyInfo
.PropertyType;
5838
else if (this.
PropertyInfo
!= null)
5840
return this.
PropertyInfo
.Name;
5874
this.
PropertyInfo
!= null ? (object)this.
PropertyInfo
: