Skip to content

Conversation

@hjrb
Copy link
Owner

@hjrb hjrb commented Sep 22, 2025

Refactor Quoters/Delimiters and add validation logic

Refactored Quoters and Delimiters properties to use private
backing fields and added validation to prevent overlapping
characters between them. Introduced a constant error message
CommonCharactersErrorMessage for validation failures.

Changed CsvDelimiters to use ImmutableHashSet for immutability.
Added a new test case TestMethodSingleCommon to ensure validation
logic works as expected. Updated imports to include
System.Collections.Immutable.

Refactored `Quoters` and `Delimiters` properties to use private
backing fields and added validation to prevent overlapping
characters between them. Introduced a constant error message
`CommonCharactersErrorMessage` for validation failures.

Changed `CsvDelimiters` to use `ImmutableHashSet` for immutability.
Added a new test case `TestMethodSingleCommon` to ensure validation
logic works as expected. Updated imports to include
`System.Collections.Immutable`.
@hjrb hjrb merged commit b9f0714 into master Sep 22, 2025
1 check passed
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.

2 participants