Assert.IsTrue(child.StartLocation>=prevNodeEnd,"Child must start after previous sibling "+comment);
Assert.IsTrue(child.StartLocation>=prevNodeEnd,currentFileName+": Child "+child.GetType()+" ("+child.StartLocation+")"+" must start after previous sibling "+prevNode.GetType()+"("+prevNode.StartLocation+")");
CheckPositionConsistency(child);
prevNodeEnd=child.EndLocation;
prevNode=child;
}
Assert.IsTrue(prevNodeEnd<=node.EndLocation,"Last child must end before parent node ends "+comment);