Пример #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
 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));
				}
			}
		}