public AttachedPropertyReference(PropertyDefinition propertyDefinition) : base(AttachedEntitiesHelper.GetPropertyName(propertyDefinition.Name), propertyDefinition.PropertyType, propertyDefinition.DeclaringType)
 {
     this.propertyDefinition = propertyDefinition;
 }
 public AttachedPropertyReference(FieldDefinition fieldDefinition) : base(AttachedEntitiesHelper.GetPropertyName(fieldDefinition.Name), fieldDefinition.FieldType, fieldDefinition.DeclaringType)
 {
     this.fieldDefinition = fieldDefinition;
 }