Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 582 Bytes

RCS1168.md

File metadata and controls

39 lines (29 loc) · 582 Bytes

RCS1168: Parameter name differs from base name

Property Value
Id RCS1168
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)
};

(Generated with DotMarkdown)