public GenericInstMethodSig CreateGenericMethodSig(ScannedItem from) { if (from == null) { return(new GenericInstMethodSig(TrueTypes)); } else { TypeSig[] types = TrueTypes.Select(t => from.ConvertToGenericIfAvalible(t)).ToArray(); return(new GenericInstMethodSig(types)); } }
public GenericInstSig CreateGenericTypeSig(ScannedItem from) { return(new GenericInstSig(GetTarget(), TrueTypes.Count)); if (from == null) { return(new GenericInstSig(GetTarget(), TrueTypes.ToArray())); } else { TypeSig[] types = TrueTypes.Select(t => from.ConvertToGenericIfAvalible(t)).ToArray(); return(new GenericInstSig(GetTarget(), types)); } }