Permalink
Fetching contributors…
Cannot retrieve contributors at this time
36 lines (26 sloc) 767 Bytes

Format constraint clauses

Property Value
Id RR0187
Title Format constraint clauses
Syntax type parameter constraint clause
Enabled by Default

Usage

Before

private void Foo<T1, T2, T3>() where T1 : class where T2 : class where T3 : class
{
}

After

private void Foo<T1, T2, T3>()
    where T1 : class
    where T2 : class
    where T3 : class
{
}

See Also

(Generated with DotMarkdown)