Esempio n. 1
0
        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);
        }
Esempio n. 2
0
		void Write (GenericArg arg)
		{
			Write (arg.CustomMods);
			Write (arg.Type);
		}
Esempio n. 3
0
 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);
 }
Esempio n. 5
0
 public GenericArg GetGenericArgSig(TypeReference type)
 {
     GenericArg arg = new GenericArg (GetSigType (type));
     arg.CustomMods = GetCustomMods (type);
     return arg;
 }
Esempio n. 6
0
 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;
 }