private void SetLineInfoCheck(QilNode n, ISourceLineInfo lineInfo)
{
// Prevent xsl:choose override xsl:when, etc.
if (n.SourceLine == null)
{
SetLineInfo(n, lineInfo);
}
else
{
Debug.Assert(!IsDebug, "Attempt to override SourceLineInfo in debug mode");
}
}