Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Some Max exception documentation is incorrect #3978

Copy link
Copy link
Open
@corranrogue9

Description

@corranrogue9
Issue body actions
  • The documentation here indicates that an ArgumentException will be thrown if no element in source implements IComparable or IComparable. This is not true if source contains only a single element, even if that element does not implement IComparable or IComparable
  • The documentation here does not indicate that an ArgumentException will be thrown if some of the elements of source implement IComparable and some of the elements of source do not implement IComparable or IComparable
  • The documentation here indicates that null can be returned if TSource is a reference type and source is empty, but it does not indicate that an InvalidOperationException will be thrown if TSource is a value type and source is empty
  • The documentation here does not indicate that an ArgumentException can be thrown if none of the projected elements implement IComparable or IComparable, or if only some of them implement IComparable or IComparable
  • The documentation here does not indicate that an InvalidOperationException can be thrown if TResult is a value type and source is empty
  • The documentation here does not indicate that null will be returned if source is empty
  • The documentation here does not indicate that null will be returned if source is empty
  • The documentation here does not indicate that null will be returned if source is empty
  • The documentation here does not indicate that null will be returned if source is empty

Metadata

Metadata

Assignees

No one assigned

    Labels

    Pri3Indicates issues/PRs that are low priorityIndicates issues/PRs that are low priorityarea-System.LinquntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.