Permalink
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (31 sloc) 890 Bytes

RCS1209: Reorder type parameter constraints

Property Value
Id RCS1209
Category Readability
Default Severity Info
Enabled by Default
Supports Fade-Out -
Supports Fade-Out Analyzer -

Example

Code with Diagnostic

public class Foo<T1, T2, T3>
    where T3 : class // RCS1209
    where T2 : class
    where T1 : class
{
}

Code with Fix

public class Foo<T1, T2, T3>
    where T1 : class
    where T2 : class
    where T3 : class
{
}

See Also

(Generated with DotMarkdown)