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