2 writes to propertyInfo
System.Activities (2)
System\Activities\ExpressionUtilities.cs (2)
789this.propertyInfo = propertyInfo; 859set { this.propertyInfo = value; }
13 references to propertyInfo
System.Activities (13)
System\Activities\ExpressionUtilities.cs (13)
804MethodInfo getMethodInfo = this.propertyInfo.GetGetMethod(); 805if (getMethodInfo == null && !TypeHelper.AreTypesCompatible(this.propertyInfo.DeclaringType, typeof(Location))) 807throw FxTrace.Exception.AsError(new InvalidOperationException(SR.WriteonlyPropertyCannotBeRead(this.propertyInfo.DeclaringType, this.propertyInfo.Name))); 812throw FxTrace.Exception.AsError(new NullReferenceException(SR.CannotDereferenceNull(this.propertyInfo.Name))); 816return (T)this.propertyInfo.GetValue(this.owner, null); 825MethodInfo setMethodInfo = this.propertyInfo.GetSetMethod(); 826if (setMethodInfo == null && !TypeHelper.AreTypesCompatible(this.propertyInfo.DeclaringType, typeof(Location))) 828throw FxTrace.Exception.AsError(new InvalidOperationException(SR.ReadonlyPropertyCannotBeSet(this.propertyInfo.DeclaringType, this.propertyInfo.Name))); 833throw FxTrace.Exception.AsError(new NullReferenceException(SR.CannotDereferenceNull(this.propertyInfo.Name))); 837this.propertyInfo.SetValue(this.owner, value, null); 858get { return this.propertyInfo; }