Skip to content

Remove unsafe operations from the code fixes #15764

@psfinaki

Description

@psfinaki

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 #15685 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    New

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions