1 write to propertyInfo
System.Activities (1)
System\Activities\Expressions\PropertyReference.cs (1)
60
this.
propertyInfo
= operandType.GetProperty(this.PropertyName);
9 references to propertyInfo
System.Activities (9)
System\Activities\Expressions\PropertyReference.cs (9)
62
if (this.
propertyInfo
== null)
68
getMethod = this.
propertyInfo
.GetGetMethod();
69
setMethod = this.
propertyInfo
.GetSetMethod();
75
if (setMethod == null && TypeHelper.AreTypesCompatible(this.
propertyInfo
.DeclaringType, typeof(Location)) == false)
77
metadata.AddValidationError(SR.ReadonlyPropertyCannotBeSet(this.
propertyInfo
.DeclaringType, this.
propertyInfo
.Name));
87
if (
propertyInfo
!= null)
101
Fx.Assert(this.
propertyInfo
!= null, "propertyInfo must not be null");
102
return new PropertyLocation<TResult>(this.
propertyInfo
, this.getFunc, this.setFunc, this.Operand.Get(context));