public ConsString(CharSequence str1, CharSequence str2)
{
s1 = str1;
s2 = str2;
length = str1.Length + str2.Length;
depth = 1;
if (str1 is Rhino.ConsString)
{
depth += ((Rhino.ConsString)str1).depth;
}
if (str2 is Rhino.ConsString)
{
depth += ((Rhino.ConsString)str2).depth;
}
// Don't let it grow too deep, can cause stack overflows
if (depth > 2000)
{
Flatten();
}
}