Remove unsafe operations from the code fixes
Open
Area-LangService-CodeFixes
Feature Improvement
- Dominant language
- F#
- Stars
- 4.3k
- Forks
- 876
- Avg merge
- 4d 22h
- Merged PRs (30d)
- 144
Description
I would suggest removing all unsafe operations like `exactlyOne`, `head`, etc. From the code fixes (or really anywhere where it can crash in VS) regardless of if the underlying cause is legitimate. Instead of crashing report telemetry so we'll find out about it.
Could be also a nice analyzer to highlight all of these.
_Originally posted by @0101 in https://github.com/dotnet/fsharp/issues/15685#issuecomment-1665420621_
Contributor guide
Assessment
This issue has not been assessed yet.