public SmxTagTable(FileHeader file, SectionEntry header, SmxNameTable names) : base(file, header) { var tags = TagEntry.From(file.SectionReader(header), header, names); tags_ = new Tag[tags.Length]; for (var i = 0; i < tags.Length; i++) tags_[i] = new Tag(tags[i]); }
private string dimsToString(Tag tag, DebugSymbolDimEntry[] dims) { string str = ""; for (var i = 0; i < dims.Length; i++) { int size; if (i == dims.Length - 1 && tag != null && tag.Name == "String") size = dims[i].Size * 4; else size = dims[i].Size; if (size == 0) str += "[]"; else str += string.Format("[{0}]", size); } return str; }