Skip to content

Conversation

@jnyrup
Copy link
Contributor

@jnyrup jnyrup commented Dec 27, 2024

This picks the best overloads for more TFMs.
See the "Applies to" sections for ITuple and string.Contains(char).

I also noticed that for Contains('.') for older frameworks where string.Contains(char) is not available we would treat the prop.Name as an IEnumerable<char> and use LINQ's Contains(char).

This picks the best overloads for more TFMs.

And uses `string.Contains(string)` instead of
`IEnumerable<char>.Contains(char)` for older TFMs.
Copy link
Owner

@dennisdoomen dennisdoomen left a comment

Choose a reason for hiding this comment

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

Nice

@dennisdoomen dennisdoomen merged commit 108942c into dennisdoomen:main Dec 30, 2024
3 checks passed
@jnyrup jnyrup deleted the preprocessor branch December 30, 2024 10:30
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