void OnMethodRemoved(object sender, MethodDefinitionEventArgs ea)
 {
     DetachMember(ea.MethodDefinition);
     if (!ea.MethodDefinition.IsStatic)
     {
         ea.MethodDefinition.This.ParameterType = null;
     }
 }
 void OnMethodAdded(object sender, MethodDefinitionEventArgs ea)
 {
     AttachMember(ea.MethodDefinition);
     if (!ea.MethodDefinition.IsStatic)
     {
         ea.MethodDefinition.This.ParameterType = this;
     }
 }
Пример #3
0
 void OnMethodRemoved(object sender, MethodDefinitionEventArgs ea)
 {
     DetachMember (ea.MethodDefinition);
     if (!ea.MethodDefinition.IsStatic)
         ea.MethodDefinition.This.ParameterType = null;
 }
Пример #4
0
 void OnMethodAdded(object sender, MethodDefinitionEventArgs ea)
 {
     AttachMember (ea.MethodDefinition);
     if (!ea.MethodDefinition.IsStatic)
         ea.MethodDefinition.This.ParameterType = this;
 }