31 references to PropertyInfo
PresentationFramework (31)
System\Windows\Markup\BamlCollectionHolder.cs (7)
140
else if (PropertyDefinition.
PropertyInfo
!= null)
142
PropertyDefinition.
PropertyInfo
.SetValue(Parent,
175
else if (PropertyDefinition.
PropertyInfo
!= null)
181
PropertyDefinition.
PropertyInfo
,
191
_defaultCollection = PropertyDefinition.
PropertyInfo
.GetValue(
207
(PropertyDefinition.
PropertyInfo
== null || !PropertyDefinition.
PropertyInfo
.CanWrite) &&
System\Windows\Markup\BamlRecordReader.cs (24)
1321
if (propertyDefinition.
PropertyInfo
!= null)
1328
propertyDefinition.
PropertyInfo
,
1339
if (!XamlTypeMapper.IsAllowedPropertySet(propertyDefinition.
PropertyInfo
, allowProtected, out isPublicProperty))
1341
ThrowException(nameof(SR.ParserCantSetContentProperty), propertyDefinition.Name, propertyDefinition.
PropertyInfo
.ReflectedType.Name);
1347
contentProperty = propertyDefinition.
PropertyInfo
.GetValue(
1357
contentProperty = propertyDefinition.
PropertyInfo
;
2055
else if (propertyDefinition.
PropertyInfo
!= null)
2058
PushContext(ReaderFlags.PropertyComplexClr, propertyDefinition.
PropertyInfo
, propertyDefinition.PropertyType, 0);
2233
else if (propertyDefinition.
PropertyInfo
!= null)
2240
propertyDefinition.
PropertyInfo
,
2250
propertyDefinition.
PropertyInfo
.SetValue(element, valueObject,
2543
else if (propertyDefinition.
PropertyInfo
!= null)
2550
propertyDefinition.
PropertyInfo
.Name,
2558
propertyDefinition.
PropertyInfo
,
2568
propertyDefinition.
PropertyInfo
.SetValue(o, value, BindingFlags.Default, null, null, TypeConverterHelper.InvariantEnglishUS);
2576
propertyDefinition.
PropertyInfo
.Name,
2760
else if (propertyDefinition.
PropertyInfo
!= null)
2769
propertyDefinition.
PropertyInfo
,
5827
else if (this.
PropertyInfo
!= null)
5829
return this.
PropertyInfo
.PropertyType;
5851
else if (this.
PropertyInfo
!= null)
5853
return this.
PropertyInfo
.Name;
5887
this.
PropertyInfo
!= null ? (object)this.
PropertyInfo
: