CompilationError
Ecng.Compilation
Represents a compilation error with details about its location and type.
Наследует: Equatable<CompilationError>
Свойства
Character
public int Character { get; set; }
value = compilationError.Character
compilationError.Character = value
Gets or sets the character position where the error occurred.
Id
public string Id { get; set; }
value = compilationError.Id
compilationError.Id = value
Gets or sets the identifier of the compilation error.
Line
public int Line { get; set; }
value = compilationError.Line
compilationError.Line = value
Gets or sets the line number where the error occurred.
Message
public string Message { get; set; }
value = compilationError.Message
compilationError.Message = value
Gets or sets the message that describes the error.
Type
public CompilationErrorTypes Type { get; set; }
value = compilationError.Type
compilationError.Type = value
Gets or sets the type of the compilation error.
Методы
Clone
public override CompilationError Clone()
result = compilationError.Clone()
Creates a new object that is a copy of the current instance.
Возвращает: A new object that is a copy of this instance.
GetHashCode
public override int GetHashCode()
result = compilationError.GetHashCode()
Serves as the default hash function.
Возвращает: A hash code for the current object.
OnEquals
protected override bool OnEquals(CompilationError other)
result = compilationError.OnEquals(other)
ToString
public override string ToString()
result = compilationError.ToString()
Returns a string representation of the tuple, with values separated by commas.
Возвращает: A string representing the tuple's values.