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;
     }
 }
Example #3
0
 void OnCtorRemoved(object sender, ConstructorEventArgs ea)
 {
     DetachMember (ea.Constructor);
     if (!ea.Constructor.IsStatic)
         ea.Constructor.This.ParameterType = null;
 }
Example #4
0
 void OnCtorAdded(object sender, ConstructorEventArgs ea)
 {
     AttachMember (ea.Constructor);
     if (!ea.Constructor.IsStatic)
         ea.Constructor.This.ParameterType = this;
 }