Skip to content

Conversation

pmaytak
Copy link
Contributor

@pmaytak pmaytak commented Jul 11, 2024

Fixes #2651, #1722.

  • Make the class and method internal.
  • Make them visible to the SAML tests project.
  • This extension method can actually be called on a string. Updated to use string.IsNullOrEmpty instead since it should be faster (uses Length property instead of .Any()).

@pmaytak pmaytak changed the title Make IsNullOrEmpty internal Make CollectionUtilities.IsNullOrEmpty internal Jul 11, 2024
@pmaytak pmaytak marked this pull request as ready for review July 11, 2024 02:50
@pmaytak pmaytak requested a review from a team as a code owner July 11, 2024 02:50
@pmaytak pmaytak marked this pull request as draft July 11, 2024 02:55
@pmaytak pmaytak marked this pull request as ready for review July 11, 2024 07:54
Copy link
Collaborator

@jennyf19 jennyf19 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

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.

[Bug] Extension method IsNullOrEmpty is public Conflict with Microsoft.IdentityModel.Tokens.CollectionUtilities.IsNullOrEmpty extension

3 participants