Skip to content

Conversation

@dwzg
Copy link

@dwzg dwzg commented Sep 9, 2025

Just a little addition to the documentation of the NotNullOrWhiteSpace assertion to better reflect its behaviour.
The underlying string.IsNullOrWhiteSpace() method also checks if the string is empty (see documentation).
I think this avoids confusion when choosing between NotNullOrEmpty and NotNullOrWhiteSpace.

I confirm that the pull-request:

  • Follows the contribution guidelines
  • Is based on my own work
  • Is in compliance with my employer

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant