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

Conversation

@jcansdale
Copy link
Collaborator

Reproduced this using Visual Studio 2017 15.4.0 Preview 2.0. Not sure exactly what caused it or when it happens. Sometimes it would happen a lot.

image

It seems null can be passed to the culture argument of GroupNameFromItem. An exception is then throws from Guard.ArgumentNotNull. Since culture isn't used, the null check is redundant.

PR simply removes the null check.

@jcansdale jcansdale added the bug label Oct 5, 2017
@jcansdale jcansdale requested a review from grokys October 5, 2017 08:51
@jcansdale jcansdale merged commit 1dd3eeb into master Oct 20, 2017
@jcansdale jcansdale deleted the fixes/culture-null branch November 1, 2017 18:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants