For the complete documentation index, see llms.txt. This page is also available as Markdown.

Diagnostics

Property in CompilationResult

Summary

Gets the collection of Diagnostic objects that describe problems in the source code.

public IEnumerable<Diagnostic> Diagnostics { get; internal set; }

Remarks

If the compiler encounters errors while compiling source code, the CompilationResult it produces will have a Program value of null . To help figure out what the error is, users should consult the contents of this property.

Last updated

Was this helpful?