2 writes to propertyInfo
System.Activities (2)
System\Activities\Expressions\PropertyReference.cs (2)
119this.propertyInfo = propertyInfo; 178set { this.propertyInfo = value; }
13 references to propertyInfo
System.Activities (13)
System\Activities\Expressions\PropertyReference.cs (13)
135if (!this.propertyInfo.GetGetMethod().IsStatic && this.owner == null) 137throw FxTrace.Exception.AsError(new InvalidOperationException(SR.NullReferencedMemberAccess(this.propertyInfo.DeclaringType.Name, this.propertyInfo.Name))); 142if (this.propertyInfo.GetGetMethod() == null && TypeHelper.AreTypesCompatible(this.propertyInfo.DeclaringType, typeof(Location)) == false) 144throw FxTrace.Exception.AsError(new InvalidOperationException(SR.WriteonlyPropertyCannotBeRead(this.propertyInfo.DeclaringType, this.propertyInfo.Name))); 147return (T)this.propertyInfo.GetValue(this.owner, null); 153if (!this.propertyInfo.GetSetMethod().IsStatic && this.owner == null) 155throw FxTrace.Exception.AsError(new InvalidOperationException(SR.NullReferencedMemberAccess(this.propertyInfo.DeclaringType.Name, this.propertyInfo.Name))); 162this.propertyInfo.SetValue(this.owner, value, null); 177get { return this.propertyInfo; }