Skip to main content

Wrap constraint clauses

PropertyValue
IdRR0187
Applicable Syntaxtype parameter constraint clause
Enabled by Default✓

Usage​

Example #1​

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

Configuration​

roslynator_refactoring.wrap_constraint_clauses.enabled = true|false