Skip to main content

RCS1168: Parameter name differs from base name

Properties

PropertyValue
Default SeverityHidden
Minimum language version-

Examples

Example #1

diagnostic.cs
interface IFoo
{
string Bar(object parameter);
}

abstract class Foo : IFoo
{
public abstract string Bar(object value);
}
fix.cs
interface IFoo
{
string Bar(object parameter);
}

abstract class Foo : IFoo
{
public abstract string Bar(object parameter)
};

Applies to