GenericArg ReadGenericArg(byte[] data, int pos, out int start) { start = pos; CustomMod [] mods = ReadCustomMods(data, start, out start); GenericArg arg = new GenericArg(ReadType(data, start, out start)); arg.CustomMods = mods; return(arg); }
void Write (GenericArg arg) { Write (arg.CustomMods); Write (arg.Type); }
TypeReference GetGenericArg(GenericArg arg, GenericContext context) { TypeReference type = GetTypeRefFromSig (arg.Type, context); type = GetModifierType (arg.CustomMods, type); return type; }
void Write(GenericArg arg) { Write(arg.CustomMods); Write(arg.Type); }
public GenericArg GetGenericArgSig(TypeReference type) { GenericArg arg = new GenericArg (GetSigType (type)); arg.CustomMods = GetCustomMods (type); return arg; }
GenericArg ReadGenericArg(byte[] data, int pos, out int start) { start = pos; CustomMod [] mods = ReadCustomMods (data, start, out start); GenericArg arg = new GenericArg (ReadType (data, start, out start)); arg.CustomMods = mods; return arg; }