Beispiel #1
0
 public void RemoveParamTypesFromPreferredLocals(DSymbol tir)
 {
     if (tir != null && tir.DeducedTypes != null)
     {
         foreach (var dt in tir.DeducedTypes)
         {
             DeducedTemplateParameters.Remove(dt.NameHash);
         }
     }
 }
Beispiel #2
0
 public void IntroduceTemplateParameterTypes(DSymbol tir)
 {
     if (tir != null && tir.DeducedTypes != null)
     {
         foreach (var dt in tir.DeducedTypes)
         {
             DeducedTemplateParameters[dt.NameHash] = dt;
         }
     }
 }
Beispiel #3
0
		public void RemoveParamTypesFromPreferredLocals(DSymbol tir)
		{
			if (tir != null && tir.DeducedTypes != null)
				foreach (var dt in tir.DeducedTypes)
					DeducedTemplateParameters.Remove(dt.NameHash);
		}
Beispiel #4
0
		public void IntroduceTemplateParameterTypes(DSymbol tir)
		{
			if(tir!=null && tir.DeducedTypes != null)
				foreach (var dt in tir.DeducedTypes)
					DeducedTemplateParameters[dt.NameHash] = dt;
		}