Skip to content

Add EqualsIgnoreCase method to StringExtensions#154

Open
konard wants to merge 3 commits into
mainfrom
issue-128-1cecfc05
Open

Add EqualsIgnoreCase method to StringExtensions#154
konard wants to merge 3 commits into
mainfrom
issue-128-1cecfc05

Conversation

@konard
Copy link
Copy Markdown
Member

@konard konard commented Sep 13, 2025

Summary

Implements the EqualsIgnoreCase method for string extensions as requested in issue #128.

  • ✅ Added EqualsIgnoreCase extension method to StringExtensions.cs
  • ✅ Uses StringComparison.OrdinalIgnoreCase for optimal performance
  • ✅ Follows established code style and documentation patterns
  • ✅ Includes comprehensive tests covering all scenarios
  • ✅ Tests pass successfully

Test plan

  • Unit tests for basic case-insensitive comparison ("Hello".EqualsIgnoreCase("hello"))
  • Tests for uppercase/lowercase variations
  • Tests for empty strings and null values
  • Tests for different string lengths
  • All existing tests continue to pass

The implementation follows the project's coding conventions and includes proper XML documentation with the same formatting style as existing methods.

🤖 Generated with Claude Code


Resolves #128

Adding CLAUDE.md with task information for AI processing.
This file will be removed when the task is complete.

Issue: #128
@konard konard self-assigned this Sep 13, 2025
Implements case-insensitive string comparison extension method as requested in issue #128.
The method uses StringComparison.OrdinalIgnoreCase for optimal performance and follows
the established code style and documentation patterns.

Includes comprehensive tests covering various scenarios including null values,
empty strings, and mixed case comparisons.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@konard konard changed the title [WIP] Add EqualsIgnoreCase method Add EqualsIgnoreCase method to StringExtensions Sep 13, 2025
@konard konard marked this pull request as ready for review September 13, 2025 10:39
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.

Add EqualsIgnoreCase method

1 participant