Freigeben über


Csc.CheckForOverflowUnderflow Property

Definition

Gets or sets a value that indicates whether the Csc task should cause an exception at run time for integer arithmetic that overflows the bounds of the data type.

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

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

Property Value

true if the Csc task should cause an exception at run time for integer arithmetic that overflows the bounds of the data type; otherwise, false.

Remarks

For more information, see /checked (C# Compiler Options).

Applies to