void OnCtorRemoved(object sender, ConstructorEventArgs ea) { DetachMember(ea.Constructor); if (!ea.Constructor.IsStatic) { ea.Constructor.This.ParameterType = null; } }
void OnCtorAdded(object sender, ConstructorEventArgs ea) { AttachMember(ea.Constructor); if (!ea.Constructor.IsStatic) { ea.Constructor.This.ParameterType = this; } }
void OnCtorRemoved(object sender, ConstructorEventArgs ea) { DetachMember (ea.Constructor); if (!ea.Constructor.IsStatic) ea.Constructor.This.ParameterType = null; }
void OnCtorAdded(object sender, ConstructorEventArgs ea) { AttachMember (ea.Constructor); if (!ea.Constructor.IsStatic) ea.Constructor.This.ParameterType = this; }