Compartilhar via


EmitResult Class

Definition

The result of the Compilation.Emit method.

public ref class EmitResult
[System.Diagnostics.DebuggerDisplay("{GetDebuggerDisplay(), nq}")]
public class EmitResult
[<System.Diagnostics.DebuggerDisplay("{GetDebuggerDisplay(), nq}")>]
type EmitResult = class
Public Class EmitResult
Inheritance
EmitResult
Derived
Attributes

Properties

Diagnostics

A list of all the diagnostics associated with compilations. This include parse errors, declaration errors, compilation errors, and emitting errors.

Success

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.

Methods

GetDebuggerDisplay()

Applies to