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
When using an arrow property or an arrow method, the => token must be on the same line as the declaration. Regarding the expression body:
for methods: it should be on the same line only for trivial cases: literal or simple identifier. Member access, indexer, invocation, and other complex structures should be on the following line.
public int Method() => lazy.Value; // Noncompliant
public int Method() =>
lazy.Value; // Compliant
The text was updated successfully, but these errors were encountered:
Coding style:
The text was updated successfully, but these errors were encountered: