dotnet/roslyn

Allow unsafe code in Interactive Window

开放

#48,631 创建于 2020年10月15日

 (8 条评论) (5 个反应) (0 位负责人)C# (4,257 个派生)batch import
Area-InteractiveConcept-Continuous ImprovementInteractive-ScriptingIDEhelp wanted

仓库指标

星标
 (20,414 个星标)
PR 合并指标
 (平均合并 6天 17小时) (30 天内合并 256 个 PR)

描述

Currently the code is compiled in safe context, which makes experimenting with (function) pointers awkward (all unsafe code must be wrapped in unsafe { }).

We should enable unsafe context by default.

In addition, we could add #unsafe (on|off|enable|disable) host command that toggles the setting.

贡献者指南