public TextGenerator(int initialCapacity)
{
this.m_Verts = new List<UIVertex>((initialCapacity + 1) * 4);
this.m_Characters = new List<UICharInfo>(initialCapacity + 1);
this.m_Lines = new List<UILineInfo>(20);
this.Init();
object obj2 = s_Instances;
lock (obj2)
{
this.m_Id = s_NextId++;
s_Instances.Add(this.m_Id, new WeakReference(this));
}
}