Skip to content

Array type #2

@vwxyzh

Description

@vwxyzh
bool Fun(int[] x) => x == null || x.GetType() != typeof(int[]);

Fun can be false, because you can call it like following:

Fun((int[])(object)new uint[0]);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions