Skip to content

Exception information for DateTime.Subtract(DateTime) is incorrect #9051

@markwhitaker

Description

@markwhitaker

The exception information for the DateTime.Subtract(DateTime) method incorrectly refers to the result of the operation being a DateTime. It seems to have been copied/pasted from the overloaded DateTime.Subtract(TimeSpan):

Exceptions

ArgumentOutOfRangeException
The result is less than DateTime.MinValue or greater than DateTime.MaxValue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions