We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I have noticed in a few places that an "else" is shown after argument checks (for nullity or anything else).
For example, in System.Collections.ArrayList :
public static ArrayList Adapter(IList list) { if (list == null) { throw new ArgumentNullException("list"); } else { return new ArrayList.IListWrapper(list); } }
The else is not necessary.
The text was updated successfully, but these errors were encountered:
Should be fixed in e229194
Sorry, something went wrong.
Great !!! Works like a charm even with multiple argument checks. Thanks.
No branches or pull requests
Hi,
I have noticed in a few places that an "else" is shown after argument checks (for nullity or anything else).
For example, in System.Collections.ArrayList :
The else is not necessary.
The text was updated successfully, but these errors were encountered: