Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Tweak Enum.TryParse whitespace skipping slightly#3061

Merged
jkotas merged 1 commit into
dotnet:masterfrom
stephentoub:update_index
Feb 6, 2016
Merged

Tweak Enum.TryParse whitespace skipping slightly#3061
jkotas merged 1 commit into
dotnet:masterfrom
stephentoub:update_index

Conversation

@stephentoub
Copy link
Copy Markdown
Member

As a simple addendum to my previous Enum.TryParse change (#2933), if the string begins with whitespace, we already know where the whitespace ends, so we don't need to re-traverse it.

cc: @jkotas

As a simple addendum to my previous Enum.TryParse change, if the string
begins with whitespace, we already know where the whitespace ends, so we
don't need to retraverse it.
@jkotas
Copy link
Copy Markdown
Member

jkotas commented Feb 6, 2016

LGTM

jkotas added a commit that referenced this pull request Feb 6, 2016
Tweak Enum.TryParse whitespace skipping slightly
@jkotas jkotas merged commit 2a07976 into dotnet:master Feb 6, 2016
@stephentoub stephentoub deleted the update_index branch February 12, 2016 12:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants