Property in CompilationResult


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

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


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.

Yarn Spinner® and Secret Lab® are trade marks of Secret Lab Pty. Ltd., and are used by Yarn Spinner Pty. Ltd. under license.