/// <summary> /// Initializes a new instance of the <see cref="ErrorInfo"/> class. /// </summary> /// <param name="errorCode">The error code.</param> /// <param name="errorMessage">The error message.</param> /// <param name="optionName">Name of the option.</param> /// <param name="fileName">Name of the file, or null if no file name was available.</param> /// <param name="line">The line number on which the error occured, or null if no line information was available.</param> internal ErrorInfo(ParseErrorCodes errorCode, string errorMessage, string optionName, string fileName, int?line) { mErrorCode = errorCode; mMessage = errorMessage; mOptionName = optionName; mLine = line; mFileName = fileName; }
/// <summary> /// Initializes a new instance of the <see cref="ErrorInfo"/> class. /// </summary> /// <param name="errorCode">The error code.</param> /// <param name="errorMessage">The error message.</param> /// <param name="optionName">Name of the option.</param> /// <param name="fileName">Name of the file, or null if no file name was available.</param> /// <param name="line">The line number on which the error occured, or null if no line information was available.</param> internal ErrorInfo(ParseErrorCodes errorCode, string errorMessage, string optionName, string fileName, int? line) { mErrorCode = errorCode; mMessage = errorMessage; mOptionName = optionName; mLine = line; mFileName = fileName; }