Ejemplo 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);
        }
Ejemplo n.º 2
0
		void Write (GenericArg arg)
		{
			Write (arg.CustomMods);
			Write (arg.Type);
		}
Ejemplo n.º 3
0
 TypeReference GetGenericArg(GenericArg arg, GenericContext context)
 {
     TypeReference type = GetTypeRefFromSig (arg.Type, context);
     type = GetModifierType (arg.CustomMods, type);
     return type;
 }
Ejemplo n.º 4
0
 void Write(GenericArg arg)
 {
     Write(arg.CustomMods);
     Write(arg.Type);
 }
Ejemplo n.º 5
0
 public GenericArg GetGenericArgSig(TypeReference type)
 {
     GenericArg arg = new GenericArg (GetSigType (type));
     arg.CustomMods = GetCustomMods (type);
     return arg;
 }
Ejemplo 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;
 }