private static bool IsScriptableExtensionMethod(MethodInfo method, ScriptAccess defaultAccess) { return method.IsScriptable(defaultAccess) && method.IsDefined(typeof(ExtensionAttribute), false); }
private static bool IsScriptableExtensionMethod(MethodInfo method) { return method.IsScriptable() && method.IsDefined(typeof(ExtensionAttribute), false); }