Csc.AllowUnsafeBlocks Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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).