Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 752 Bytes

RCS1168.md

File metadata and controls

44 lines (32 loc) · 752 Bytes

RCS1168: Parameter name differs from base name

Property Value
Id RCS1168
Category Maintainability
Severity Hidden

Example

Code with Diagnostic

interface IFoo
{
    string Bar(object parameter);
}

abstract class Foo : IFoo
{
    public abstract string Bar(object value); // RCS1168
}

Code with Fix

interface IFoo
{
    string Bar(object parameter);
}

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

See Also

(Generated with DotMarkdown)