public RuntimePropertyInfo(Property property, RuntimeType declaringType, RuntimeMethodInfo getMethod, RuntimeMethodInfo setMethod) { _property = property; _declaringType = declaringType; _getMethod = getMethod; _setMethod = setMethod; }
internal static Property CreateProperty(Class declaringType, string name, Method getMethod, Method setMethod) { Property property = new Property(); property.DeclaringClass = declaringType; property.Name = name; property.GetMethod = getMethod; property.SetMethod = setMethod; declaringType.Properties.Push(property); return property; }