Пример #1
0
        internal static void UnexpectedTag([NotNull] TagLex tagLex)
        {
            Debug.Assert(tagLex != null, "tagLex cannot be null.");

            throw new InterpreterException(
                      new Directive[0],
                      tagLex.FirstCharacterIndex,
                      "Unexpected tag {{{0}}} encountered at position {1}.",
                      tagLex.ToString(),
                      tagLex.FirstCharacterIndex);
        }