/// <summary>Constructs a new ParseProblem.</summary> /// <remarks>Constructs a new ParseProblem.</remarks> public ParseProblem(ParseProblem.Type type, string message, string sourceName, int offset, int length) { SetType(type); SetMessage(message); SetSourceName(sourceName); SetFileOffset(offset); SetLength(length); }
public virtual void SetType(ParseProblem.Type type) { this.type = type; }