Struct ScriptCompilationDiagnostic
Provides data for compiler error.
[Serializable]
public struct ScriptCompilationDiagnostic
Fields
- UserData
Gets or sets an object that contains user defined data related to diagnostic.
Properties
- Code
Gets or sets string of code related to diagnostic.
- Column
Gets or sets column number of diagnostic.
- FileName
Gets or sets the name of the file of diagnostic.
- IsEmpty
Gets a boolean value indicating whether diagnostic is empty (contains no data).
- Kind
Gets or sets diagnostic's kind.
- Line
Gets or sets line number of diagnostic.
- Message
Gets or sets message describes compilation error.
- Zero
Gets an empty
ScriptCompilationDiagnostic
object.
Methods
- ToString()
Returns a
String
that represents the diagnostic.