internal bool IsStatic() { MethodBase[] methods = binder.GetMethods(); for (int i = 0; i < methods.Length; i++) { if (methods[i].IsStatic) return true; } return false; }