public Location(int line, int column)
{
if (line < 1)
throw new ArgumentOutOfRangeException(nameof(line), "Line number should be positive.");
if (column < 1)
throw new ArgumentOutOfRangeException(nameof(column), "Column number should be positive.");
Line = line;
Column = column;
}