Exemplo n.º 1
0
 static void AddToken(this IList<short> instrs, ModuleDefMD module, uint token)
 {
     if (module == null || module.ResolveToken(token) == null)
         instrs.AddUnknownInt32();
     else
         instrs.AddInt32(unchecked((int)token));
 }
Exemplo n.º 2
0
 static void AddUnknownInt64(this IList<short> instrs)
 {
     instrs.AddUnknownInt32();
     instrs.AddUnknownInt32();
 }
Exemplo n.º 3
0
		static void AddToken(this IList<short> instrs, ITokenResolver resolver, uint token) {
			if (resolver == null || resolver.ResolveToken(token) == null)
				instrs.AddUnknownInt32();
			else
				instrs.AddInt32(unchecked((int)token));
		}