public NuGenMemberReference(NuGenAssembly assembly, string name, uint token, uint typeDefToken, IntPtr signatureBlob, uint signatureBlobLength) { Assembly = assembly; Name = name; Token = token; TypeDefToken = typeDefToken; SignatureBlob = signatureBlob; SignatureBlobLength = signatureBlobLength; signatureReader = new NuGenMethodRefSignatureReader(assembly.AllTokens, SignatureBlob, SignatureBlobLength); signatureReader.ReadSignature(); MethodSpecs = NuGenHelperFunctions.EnumMethodSpecs(assembly.Import, assembly, this); }