You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class MyClass
{
public int X
{
get
{ return 0; } // SA1500
set
{ } // SA1500
}
public int Y
{
get
{ return 0; } // SA1500
init
{ } // No SA1500!
}
}
I expect SA1500 (Braces for multi line statements must not share line) to trigger on all accessors in the code above, but it is not triggered on the init accessor.
The text was updated successfully, but these errors were encountered:
bjornhellander
added a commit
to bjornhellander/StyleCopAnalyzers
that referenced
this issue
Jun 17, 2023
I expect SA1500 (Braces for multi line statements must not share line) to trigger on all accessors in the code above, but it is not triggered on the init accessor.
The text was updated successfully, but these errors were encountered: