Compartir a través de


ManagedCompiler.TreatWarningsAsErrors Property

Definition

Gets or sets a value indicating whether warnings are treated as errors.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 property bool TreatWarningsAsErrors { bool get(); void set(bool value); };
public bool TreatWarningsAsErrors { get; set; }
member this.TreatWarningsAsErrors : bool with get, set
Public Property TreatWarningsAsErrors As Boolean

Property Value

true if warnings are treated as errors; otherwise, false.

Notes to Inheritors

This class uses the StrongNameIdentityPermissionAttribute attribute and cannot be inherited.

Applies to