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