SteveDunn/Intellenum

FromName and other string accepting members should also accept Span

Closed this issue · 2 comments

Describe the feature

FromName and other string accepting members should also accept Span

Keen to implement this, just a quick Q.: would you have any issues with the current (Try)FromName(string) method's implementation being replaced with a call to the Span<char>-accepting implementation via string.AsSpan()? Seems like a no-brainer to me, but maybe you'd have a reason not to.

I think it'd be a good change to have. Thanks for your help with this, much appreciated!