예제 #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));
				}
			}
		}