예제 #1
0
파일: Error.cs 프로젝트: z3nth10n/ILSpy-CMD
 /// <summary>
 /// Initializes a new instance of the <see cref="ICSharpCode.NRefactory.TypeSystem.Error"/> class.
 /// </summary>
 /// <param name='errorType'>
 /// The error type.
 /// </param>
 /// <param name='message'>
 /// The description of the error.
 /// </param>
 /// <param name='region'>
 /// The region of the error.
 /// </param>
 public Error(ErrorType errorType, string message, DomRegion region)
 {
     this.errorType = errorType;
     this.message   = message;
     this.region    = region;
 }
예제 #2
0
파일: Error.cs 프로젝트: z3nth10n/ILSpy-CMD
 /// <summary>
 /// Initializes a new instance of the <see cref="ICSharpCode.NRefactory.TypeSystem.Error"/> class.
 /// </summary>
 /// <param name='errorType'>
 /// The error type.
 /// </param>
 /// <param name='message'>
 /// The description of the error.
 /// </param>
 /// <param name='location'>
 /// The location of the error.
 /// </param>
 public Error(ErrorType errorType, string message, TextLocation location)
 {
     this.errorType = errorType;
     this.message   = message;
     this.region    = new DomRegion(location, location);
 }
예제 #3
0
파일: Error.cs 프로젝트: z3nth10n/ILSpy-CMD
 /// <summary>
 /// Initializes a new instance of the <see cref="ICSharpCode.NRefactory.TypeSystem.Error"/> class.
 /// </summary>
 /// <param name='errorType'>
 /// The error type.
 /// </param>
 /// <param name='message'>
 /// The description of the error.
 /// </param>
 public Error(ErrorType errorType, string message)
 {
     this.errorType = errorType;
     this.message   = message;
     this.region    = DomRegion.Empty;
 }
예제 #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ICSharpCode.NRefactory.TypeSystem.Error"/> class.
 /// </summary>
 /// <param name='errorType'>
 /// The error type.
 /// </param>
 /// <param name='message'>
 /// The description of the error.
 /// </param>
 /// <param name='location'>
 /// The location of the error.
 /// </param>
 public Error(ErrorType errorType, string message, AstLocation location)
 {
     this.ErrorType = errorType;
     this.Message   = message;
     this.Region    = new DomRegion(location, location);
 }