Udostępnij za pośrednictwem


Csc.ErrorReport Property

Definition

Gets or sets the method to report a C# internal compiler error to Microsoft.

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

public:
 property System::String ^ ErrorReport { System::String ^ get(); void set(System::String ^ value); };
public string ErrorReport { get; set; }
member this.ErrorReport : string with get, set
Public Property ErrorReport As String

Property Value

The method to report a C# internal compiler error to Microsoft.

Remarks

This property can have a value of prompt, send, or none. If the property is set to prompt, you will receive a prompt when an internal compiler error occurs. The prompt lets you send a bug report electronically to Microsoft. If the property is set to send, a bug report is sent automatically. If the property is set to none, the error is reported only in the text output of the compiler. Default is none. For more information, see /errorreport (C# Compiler Options).

Applies to