Skip to content

Potentially replace null checks with "is null" when we have pattern matching #328

@jskeet

Description

@jskeet

When introducing null conditional operators (#7 and #251) there are various parts like this:

((object)P == null)

Those can be replaced with:

P is null

when we introduce pattern matching. There may be other places where this is useful too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: clarityWhile not technically incorrect, the Standard is potentially confusing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions