CompilerResults.Errors Property

 

Gets the collection of compiler errors and warnings.

Namespace:   System.CodeDom.Compiler
Assembly:  System (in System.dll)

public CompilerErrorCollection Errors { get; }

Property Value

Type: System.CodeDom.Compiler.CompilerErrorCollection

A CompilerErrorCollection that indicates the errors and warnings resulting from compilation, if any.

File and line number information is associated with each CompilerError, so that user code to locate and display the code that generated an error or warning, where possible, can be implemented.

.NET Framework
Available since 1.1
Return to top
Show: