public bool isValidWallAnchor(int type)
{
int[] numArray = this._anchorTiles != null ? this._anchorTiles.wallValid : (int[])null;
if (numArray == null)
return type != 0;
for (int index = 0; index < numArray.Length; ++index)
{
if (type == numArray[index])
return true;
}
return false;
}