internal static SignatureHelper GetMethodSpecSigHelper(Module scope, Type[] inst) { SignatureHelper sigHelp = new SignatureHelper(scope, MdSigCallingConvention.GenericInst); sigHelp.AddData(inst.Length); foreach(Type t in inst) sigHelp.AddArgument(t); return sigHelp; }
internal static SignatureHelper GetMethodSpecSigHelper(Module scope, Type[] inst) { SignatureHelper sigHelp = new SignatureHelper(scope, MdSigCallingConvention.GenericInst); sigHelp.AddData(inst.Length); foreach (Type t in inst) { sigHelp.AddArgument(t); } return(sigHelp); }
internal static SignatureHelper GetMethodSpecSigHelper(Module scope, Type[] inst) { SignatureHelper sigHelp = new SignatureHelper(scope, IMAGE_CEE_CS_CALLCONV_GENERICINST); sigHelp.AddData(inst.Length); foreach (Type t in inst) { sigHelp.AddArgument(t); } return(sigHelp); }
internal static SignatureHelper GetMethodSpecSigHelper(Module scope, Type[] inst) { SignatureHelper helper = new SignatureHelper(scope, System.Reflection.MdSigCallingConvention.Default | System.Reflection.MdSigCallingConvention.GenericInst); helper.AddData(inst.Length); foreach (Type type in inst) { helper.AddArgument(type); } return(helper); }
internal static SignatureHelper GetMethodSpecSigHelper(Module scope, Type[] inst) { SignatureHelper helper = new SignatureHelper(scope, System.Reflection.MdSigCallingConvention.Default | System.Reflection.MdSigCallingConvention.GenericInst); helper.AddData(inst.Length); foreach (Type type in inst) { helper.AddArgument(type); } return helper; }
internal static SignatureHelper GetMethodSpecSigHelper(Module scope, Type[] inst) { SignatureHelper sigHelp = new SignatureHelper(scope, IMAGE_CEE_CS_CALLCONV_GENERICINST); sigHelp.AddData(inst.Length); foreach(Type t in inst) sigHelp.AddArgument(t); return sigHelp; }