Skip to content

Replace manual null checks with ArgumentNullException.ThrowIfNull() #4615

Closed

Description

@devlead

Replace traditional if-null-then-throw patterns with the more concise
ArgumentNullException.ThrowIfNull() method introduced in .NET 6/C# 10.

Activity

  1. added this to the v6.0.0 milestone on Oct 7, 2025
  2. self-assigned this
    on Oct 7, 2025
  3. linked a pull request that will close this issueuse ArgumentNullException.ThrowIfNull #4572on Oct 7, 2025
  4. github-actions commented on Nov 11, 2025

    @github-actions

    🎉 This issue has been resolved in version v6.0.0 🎉

    The release is available on:

    Your GitReleaseManager bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions