protected TargetType ResolveType(DieStructureType die_struct) { if ((TypeOffset == 0) || (Name == null)) return null; if ((location == null) && !die_struct.IsUnion) return null; type_die = comp_unit.GetType (TypeOffset); if (type_die == null) return null; if ((location != null) && !read_location ()) return null; type = type_die.ResolveType (); return type; }
public bool Resolve(DieStructureType die_struct) { if (resolved) return ok; type = ResolveType (die_struct); resolved = true; ok = type != null; return ok; }