private Type TypeToUse(string nodeName) {
foreach (Alias alias in aliases) {
Type type;
if (alias.TryGetType(nodeName, out type))
return type;
}
string typeName = reader.GetAttribute(Attributes.classType);
return GetTypeFromOtherAssemblies(typeName);
}