public bool isValidAlternateAnchor(int type)
{
if (this._anchorTiles == null)
return false;
int[] numArray = this._anchorTiles.tileAlternates;
if (numArray == null)
return false;
for (int index = 0; index < numArray.Length; ++index)
{
if (type == numArray[index])
return true;
}
return false;
}