public virtual bool isShadowedBy(FrameworkMethod other)
 {
   if (!String.instancehelper_equals(other.getName(), (object) this.getName()) || other.getParameterTypes().Length != this.getParameterTypes().Length)
     return false;
   for (int index = 0; index < other.getParameterTypes().Length; ++index)
   {
     if (!Object.instancehelper_equals((object) other.getParameterTypes()[index], (object) this.getParameterTypes()[index]))
       return false;
   }
   return true;
 }
 protected internal virtual string testName(FrameworkMethod method)
 {
   return method.getName();
 }
示例#3
0
 public override void starting(FrameworkMethod method)
 {
   this.fName = method.getName();
 }