Convert local to method does not respect unsafe keyword #32976
Labels
Area-IDE
Bug
help wanted
The issue is "up for grabs" - add a comment if you are interested in working on it
IDE-CodeStyle
Built-in analyzers, fixes, and refactorings
Milestone
Version Used:
16.0.0 Preview 3.0 28529.153.d16.0
Steps to Reproduce:
Enable unsafe compiler flag.
Run 'Convert to Method' on GetPtr local function.
Expected Behavior:
New function should be marked as unsafe.
Actual Behavior:
New method not marked as unsafe and shows compiler error.
The text was updated successfully, but these errors were encountered: