Esempio n. 1
0
        public string ToDebuggerDisplay()
        {
#if DebugStringTable
            if (this == Invalid)
            {
                return(ToString());
            }

            StringTable owner = StringTable.DebugTryGetTableByDebugId(DebugStringTableOwnerId);
            return(owner == null
                ? "{Unable to expand StringId; this may occur after the allocation of a many StringTables}"
                : I($"{{String '{ToString(owner)}' (id: {Value:x})}}"));
#else
            return(ToString());
#endif
        }