Skip to content

Throw ArgumentException and ArgumentNullException for invalid values #7

@carusology

Description

@carusology

Currently, when one of the delegates is called with an invalid value for a particular type or a value of null for a value type, it will throw an InvalidCastException and NullReferenceException. Instead, let's have the delegates throw ArgumentException and ArgumentNullException when these situations occur.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions