Skip to content

Remove use of params for messages #4415

Description

@OsirisTerje

Ref issue #4413 and Issue #3936 - introduction of CallerArgumentExpressions (CAE).

Since we need to have the CAE at the end of the parameter list, we can't have the params there. The use of params for messages are now superseded by the use of string interpolation.

The analyzer should warn about this usage and suggest conversion to an interpolated string, see nunit/nunit.analyzers#562

Metadata

Metadata

Assignees

No one assigned

    Labels

    Breaking ChangeIndicates resolving the issue will be a breaking change and will require it to be in a major versionclosed:doneis:deprecationRemoving features

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions