Share via


CSharpCompilationOptions.WithAllowUnsafe(Boolean) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::CSharpCompilationOptions ^ WithAllowUnsafe(bool enabled);
public Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions WithAllowUnsafe (bool enabled);
member this.WithAllowUnsafe : bool -> Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions
Public Function WithAllowUnsafe (enabled As Boolean) As CSharpCompilationOptions

Parameters

enabled
Boolean

Returns

Applies to