public class CompilerError
|
CodeLinePragma pragma = new CodeLinePragma(fileName, lineNumber); // Code to compile code occurs first. GenerateCompilerError( new CompilerError(fileName, pragma.LineNumber, 0, error_number, error_text[error_type]) );
ctor #1 | Overloaded:.ctor() Default constructor. This constructor is called by derived class constructors to initialize state in this type.Initializes a new instance of the CompilerError class. |
ctor #2 | Overloaded:.ctor(string fileName, int line, int column, string errorNumber, string errorText) Initializes a new instance of the CompilerError class using the specified file name, line, column, error number, and error text. |
Column | Read-write Gets or sets the column number where the source of the error occurs. |
ErrorNumber | Read-write Gets or sets the error number. |
ErrorText | Read-write Gets or sets the text of the error message. |
FileName | Read-write Gets or sets the file name of the source that caused the error. |
IsWarning | Read-write Gets or sets a value that indicates whether the error is a warning. |
Line | Read-write Gets or sets the line number where the source of the error occurs. |
Equals (inherited from System.Object) |
See base class member description: System.Object.Equals Derived from System.Object, the primary base class for all objects. |
GetHashCode (inherited from System.Object) |
See base class member description: System.Object.GetHashCode Derived from System.Object, the primary base class for all objects. |
GetType (inherited from System.Object) |
See base class member description: System.Object.GetType Derived from System.Object, the primary base class for all objects. |
ToString | Overridden: Provides an implementation of Object's Object.ToString method. |
Finalize (inherited from System.Object) |
See base class member description: System.Object.Finalize Derived from System.Object, the primary base class for all objects. |
MemberwiseClone (inherited from System.Object) |
See base class member description: System.Object.MemberwiseClone Derived from System.Object, the primary base class for all objects. |
Hierarchy:
public CompilerError(); |
public CompilerError( |
fileName
line
column
errorNumber
errorText
public int Column {get; set;}
|
public string ErrorNumber {get; set;}
|
public string ErrorText {get; set;}
|
public string FileName {get; set;}
|
public bool IsWarning {get; set;}
|
public int Line {get; set;}
|
~CompilerError(); |
public virtual int GetHashCode(); |
public Type GetType(); |
protected object MemberwiseClone(); |
public override string ToString(); |