Microsoft.JScript.Class.DefinedOnInterface C# (CSharp) Méthode

DefinedOnInterface() private static méthode

private static DefinedOnInterface ( MethodInfo meth ) : bool
meth System.Reflection.MethodInfo
Résultat 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;
      }