Microsoft.JScript.Class.DefinedOnInterface C# (CSharp) Method

DefinedOnInterface() private static method

private static DefinedOnInterface ( MethodInfo meth ) : bool
meth System.Reflection.MethodInfo
return bool
      private static bool DefinedOnInterface(MethodInfo meth){
        JSFieldMethod jsmeth = meth as JSFieldMethod;
        if (jsmeth != null) return ((ClassScope)jsmeth.func.enclosing_scope).owner.isInterface;
        return meth.DeclaringType.IsInterface;
      }