예제 #1
0
 public HtmlError(HtmlReaderState state, HtmlErrorType errorType)
 {
     Line      = state.Line;
     Column    = state.Column;
     Offset    = state.Offset;
     ErrorType = errorType;
 }
예제 #2
0
 public HtmlError(int line, int column, int offset, HtmlErrorType errorType)
 {
     Line      = line;
     Column    = column;
     Offset    = offset;
     ErrorType = errorType;
 }
예제 #3
0
 protected virtual void AddError(HtmlErrorType type)
 {
     Errors.Add(new HtmlError(State.Line, State.Column, State.Offset, type));
 }
 private void AddError(HtmlErrorType type)
 {
     Errors.Add(new HtmlError(State.Line, State.Column, State.Offset, type));
 }