Click or drag to resize

RazorEngineCompilerError Properties

The RazorEngineCompilerError type exposes the following members.

Properties
 NameDescription
Public propertyColumn Column number of the error (1-based)
Public propertyErrorNumber Compiler error number (e.g. CS0103)
Public propertyErrorText Compiler error message
Public propertyFileName File name of the error
Public propertyIsWarning If true, the error is a warning
Public propertyLine Line number of the error in the generated C# code (1-based)
Public propertyTemplateLine Line number of the error in the Razor script given to the engine (1-based, from the #line pragmas of the generated code), 0 if unknown
Top
See Also