示例#1
0
 protected ProxyCallFixer2(ModuleDefMD module, ProxyCallFixer2 oldOne)
     : base(module, oldOne)
 {
     foreach (var oldMethod in oldOne.proxyMethodToDelegateInfo.GetKeys())
     {
         var oldDi  = oldOne.proxyMethodToDelegateInfo.Find(oldMethod);
         var method = Lookup(oldMethod, "Could not find proxy method");
         proxyMethodToDelegateInfo.Add(method, Copy(oldDi));
     }
 }
示例#2
0
 protected ProxyCallFixer2(ModuleDefinition module, ProxyCallFixer2 oldOne)
     : base(module, oldOne)
 {
     foreach (var oldMethod in oldOne.proxyMethodToDelegateInfo.getKeys())
     {
         var oldDi  = oldOne.proxyMethodToDelegateInfo.find(oldMethod);
         var method = lookup(oldMethod, "Could not find proxy method");
         proxyMethodToDelegateInfo.add(method, copy(oldDi));
     }
 }