예제 #1
0
 public virtual TypeNames merge(TypeNames other)
 {
     foreach (var pair in other.typeNames) {
         if (typeNames.ContainsKey(pair.Key))
             typeNames[pair.Key].merge(pair.Value);
         else
             typeNames[pair.Key] = pair.Value.clone();
     }
     genericParamNameCreator.merge(other.genericParamNameCreator);
     return this;
 }
예제 #2
0
파일: TypeNames.cs 프로젝트: kidhudi/de4dot
 public virtual TypeNames merge(TypeNames other)
 {
     foreach (var pair in other.typeNames)
     {
         NameCreator nc;
         if (typeNames.TryGetValue(pair.Key, out nc))
         {
             nc.merge(pair.Value);
         }
         else
         {
             typeNames[pair.Key] = pair.Value.clone();
         }
     }
     genericParamNameCreator.merge(other.genericParamNameCreator);
     return(this);
 }
예제 #3
0
 public virtual TypeNames Merge(TypeNames other)
 {
     if (this == other)
     {
         return(this);
     }
     foreach (var pair in other.typeNames)
     {
         if (typeNames.TryGetValue(pair.Key, out var nc))
         {
             nc.Merge(pair.Value);
         }
         else
         {
             typeNames[pair.Key] = pair.Value.Clone();
         }
     }
     genericParamNameCreator.Merge(other.genericParamNameCreator);
     fnPtrNameCreator.Merge(other.fnPtrNameCreator);
     unknownNameCreator.Merge(other.unknownNameCreator);
     return(this);
 }
예제 #4
0
		public virtual TypeNames Merge(TypeNames other) {
			if (this == other)
				return this;
			foreach (var pair in other.typeNames) {
				NameCreator nc;
				if (typeNames.TryGetValue(pair.Key, out nc))
					nc.Merge(pair.Value);
				else
					typeNames[pair.Key] = pair.Value.Clone();
			}
			genericParamNameCreator.Merge(other.genericParamNameCreator);
			fnPtrNameCreator.Merge(other.fnPtrNameCreator);
			unknownNameCreator.Merge(other.unknownNameCreator);
			return this;
		}
예제 #5
0
파일: TypeNames.cs 프로젝트: Joelone/de4dot
 public virtual TypeNames merge(TypeNames other)
 {
     foreach (var pair in other.typeNames) {
         NameCreator nc;
         if (typeNames.TryGetValue(pair.Key, out nc))
             nc.merge(pair.Value);
         else
             typeNames[pair.Key] = pair.Value.clone();
     }
     genericParamNameCreator.merge(other.genericParamNameCreator);
     return this;
 }