private void prepareForSet() { MethodInfo setMethod = Property.GetSetMethod(); if (setMethod != null) { this.m_dynamicSetter = new DynamicExecutor(setMethod); } else { throw new NotSupportedException("Cannot set the property."); } }