31 references to PropertyInfo
PresentationFramework (31)
System\Windows\Markup\BamlCollectionHolder.cs (7)
141
else if (PropertyDefinition.
PropertyInfo
!= null)
143
PropertyDefinition.
PropertyInfo
.SetValue(Parent,
176
else if (PropertyDefinition.
PropertyInfo
!= null)
182
PropertyDefinition.
PropertyInfo
,
192
_defaultCollection = PropertyDefinition.
PropertyInfo
.GetValue(
208
(PropertyDefinition.
PropertyInfo
== null || !PropertyDefinition.
PropertyInfo
.CanWrite) &&
System\Windows\Markup\BamlRecordReader.cs (24)
1336
if (propertyDefinition.
PropertyInfo
!= null)
1343
propertyDefinition.
PropertyInfo
,
1354
if (!XamlTypeMapper.IsAllowedPropertySet(propertyDefinition.
PropertyInfo
, allowProtected, out isPublicProperty))
1356
ThrowException(nameof(SR.ParserCantSetContentProperty), propertyDefinition.Name, propertyDefinition.
PropertyInfo
.ReflectedType.Name);
1362
contentProperty = propertyDefinition.
PropertyInfo
.GetValue(
1372
contentProperty = propertyDefinition.
PropertyInfo
;
2070
else if (propertyDefinition.
PropertyInfo
!= null)
2073
PushContext(ReaderFlags.PropertyComplexClr, propertyDefinition.
PropertyInfo
, propertyDefinition.PropertyType, 0);
2248
else if (propertyDefinition.
PropertyInfo
!= null)
2255
propertyDefinition.
PropertyInfo
,
2265
propertyDefinition.
PropertyInfo
.SetValue(element, valueObject,
2556
else if (propertyDefinition.
PropertyInfo
!= null)
2563
propertyDefinition.
PropertyInfo
.Name,
2571
propertyDefinition.
PropertyInfo
,
2581
propertyDefinition.
PropertyInfo
.SetValue(o, value, BindingFlags.Default, null, null, TypeConverterHelper.InvariantEnglishUS);
2589
propertyDefinition.
PropertyInfo
.Name,
2773
else if (propertyDefinition.
PropertyInfo
!= null)
2782
propertyDefinition.
PropertyInfo
,
5839
else if (this.
PropertyInfo
!= null)
5841
return this.
PropertyInfo
.PropertyType;
5863
else if (this.
PropertyInfo
!= null)
5865
return this.
PropertyInfo
.Name;
5899
this.
PropertyInfo
!= null ? (object)this.
PropertyInfo
: