internal static void SetRegisterMethodsWithAttributes(RegisterMethodsWithAttributesDelegate d) { registerMethodsWithAttributes = d; }