Skip to content

IConfigurationProvider.GetReloadToken nullable annotation #107470

Open
@philipborg

Description

@philipborg

Description

The XML-Doc says_
<returns>An <see cref="IChangeToken"/> token if this provider supports change tracking, <see langword="null"/> otherwise.</returns>
while the return type annotation claims that it shouldn't return null, directly contradicting the XML-Doc.

Reproduction Steps

Read this

/// <returns>An <see cref="IChangeToken"/> token if this provider supports change tracking, <see langword="null"/> otherwise.</returns>
IChangeToken GetReloadToken();

Expected behavior

The nullable annotation is consistent with the XML-Doc.

Actual behavior

The nullable annotation contradicts the XML-Doc.

Regression?

No response

Known Workarounds

No response

Configuration

No response

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions