RCS1209: Order type parameter constraints
Properties
Property | Value |
---|---|
Default Severity | Info |
Minimum language version | - |
Examples
Example #1
diagnostic.cs
public class Foo<T1, T2, T3>
where T3 : class
where T2 : class
where T1 : class
{
}
fix.cs
public class Foo<T1, T2, T3>
where T1 : class
where T2 : class
where T3 : class
{
}