Method AddCompilerError
AddCompilerError(ScriptCompilationDiagnostic)
Adds specified error to the error's collection.
public virtual void AddCompilerError(ScriptCompilationDiagnostic error)
Parameters
error
ScriptCompilationDiagnosticError to add.