Thetype exposes the following members.
A list of all the diagnostics associated with compilations. This include parse errors, declaration errors, compilation errors, and emitting errors.(Inherited from EmitResult.)
True if the compilation successfully produced an executable. If false then the diagnostics should include at least one error diagnostic indicating the cause of the failure.(Inherited from EmitResult.)