Skip to main content

RCS1163: Unused parameter

Properties

PropertyValue
Default SeverityInfo
Minimum language version-

Examples

Example #1

diagnostic.cs
public bool Bar(object parameter)
{
return false;
}

Remarks

This analyzer does not provide a code fix. Use built-in "Change signature.." dialog to remove a parameter.

Unused parameter is not reported when its name consists of underscore(s).

Applies to