This documentation is archived and is not being maintained.

CompilerError Members

Represents an error or diagnostic message reported by the compiler.

The following tables list the members exposed by the CompilerError type.

  Name Description
Public method CompilerError Initializes a new instance of the CompilerError class.

  Name Description
Public field ErrorLevel Specifies the severity of this diagnostic.
Public field ErrorMessage Specifies the diagnostic message text.
Public field ErrorNumber Specifies the diagnostic number.
Public field SourceColumn Specifies the column of the source text that caused the diagnostic (1-based), or 0 if there is no column information.
Public field SourceFile Specifies the file name of the source text that caused the diagnostic or an empty string ("").
Public field SourceLine Specifies the line of the source text that caused the diagnostic (1-based), or 0 if there is no line information.

(see also Protected Methods )
  Name Description
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ToString Overridden. Returns a ToString that represents the current CompilerError.

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)