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