Freigeben über


Csc.AllowUnsafeBlocks Property

Definition

Gets or sets a Boolean value that indicates whether to compile code that uses the unsafe keyword.

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

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

Property Value

true if will compile code that uses the unsafe keyword; otherwise, false.

Remarks

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

Applies to