-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Pri3Indicates issues/PRs that are low priorityIndicates issues/PRs that are low priorityarea-Infrastructuredoc-bugProblem with the content; needs to be fixedProblem with the content; needs to be fixed
Description
The String.Format methods take a params array as an argument which looks like it's been enabled for nullable reference types.
However, in the docs the signature is shown as
public static string Format (string format, params object[]? args);
Is this a docs bug or should the implementation be params object[]? args?
Isn't one ( params object[]? args) effectively "a parameters array of object, where the entire argument could be null) while the other ( params object?[] args) effectively "a parameters array of nullable object, where the argument itself isn't expected to be null"?
Metadata
Metadata
Assignees
Labels
Pri3Indicates issues/PRs that are low priorityIndicates issues/PRs that are low priorityarea-Infrastructuredoc-bugProblem with the content; needs to be fixedProblem with the content; needs to be fixed