示例#1
0
 public void InitializeFrom(MethodInstances other, GenericInstSig git)
 {
     foreach (var list in other.methodInstances.Values)
     {
         foreach (var methodInst in list)
         {
             var newMethod = GenericArgsSubstitutor.Create(methodInst.methodRef, git);
             Add(new MethodInst(methodInst.origMethodDef, newMethod));
         }
     }
 }
示例#2
0
文件: TypeDef.cs 项目: kidhudi/de4dot
 public void initializeFrom(MethodInstances other, GenericInstanceType git)
 {
     foreach (var list in other.methodInstances.Values)
     {
         foreach (var methodInst in list)
         {
             MethodReference newMethod = MethodReferenceInstance.make(methodInst.methodReference, git);
             add(new MethodInst(methodInst.origMethodDef, newMethod));
         }
     }
 }
示例#3
0
 public void initializeFrom(MethodInstances other, GenericInstanceType git)
 {
     foreach (var list in other.methodInstances.Values) {
         foreach (var methodInst in list) {
             MethodReference newMethod = MethodReferenceInstance.make(methodInst.methodReference, git);
             add(new MethodInst(methodInst.origMethodDef, newMethod));
         }
     }
 }
示例#4
0
		public void InitializeFrom(MethodInstances other, GenericInstSig git) {
			foreach (var list in other.methodInstances.Values) {
				foreach (var methodInst in list) {
					var newMethod = GenericArgsSubstitutor.Create(methodInst.methodRef, git);
					Add(new MethodInst(methodInst.origMethodDef, newMethod));
				}
			}
		}