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.

貢獻者指南