TableInfo PrivateCreateTable(string name) { name = string.Intern(name); var t = new TableInfo((uint)(_id2Table.Count + 1), name, _tableInfoResolver); _id2Table.TryAdd(t.Id, t); _name2Table.TryAdd(t.Name, t); return t; }
TableInfo PrivateCreateTable(uint id, string name) { name = string.Intern(name); var t = new TableInfo(id, name, _tableInfoResolver); _id2Table.TryAdd(id, t); _name2Table.TryAdd(name, t); return t; }