public override void OnMethod(Method method)
{
if (method.IsRuntime) return;
if (IsPInvoke(method)) return;
MethodBuilder methodBuilder = GetMethodBuilder(method);
DefineExplicitImplementationInfo(method);
EmitMethod(method, methodBuilder.GetILGenerator());
if (method.Name.StartsWith("$module_ctor"))
{
_moduleConstructorMethods.Add(method);
}
}