Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 945 Bytes

RR0213.md

File metadata and controls

50 lines (38 loc) · 945 Bytes

Add parameter to interface member

Property Value
Id RR0213
Title Add parameter to interface member
Syntax method declaration, indexer declaration
Span method name or 'this' keyword
Enabled by Default

Usage

Before

interface IFoo
{
    void Bar(object p);
}

class Foo : IFoo
{
    public void Bar(object p, object p2)
    {
    }
}

After

interface IFoo
{
    void Bar(object p, object p2);
}

class Foo : IFoo
{
    public void Bar(object p, object p2)
    {
    }
}

See Also

(Generated with DotMarkdown)