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
publicstaticclassHelpers{publicstaticboolHasValidLength(strings){// ⚠ SA1008 Opening parenthesis should not be preceded by a space.// ⚠ SA1012 Opening brace should be preceded by a space// ↓↓return s is not ({ Length:<5} or { Length:>10});}}
publicstaticclassHelpers{publicstaticboolHasValidLength(strings){// ⚠ SA1012 Opening brace should be preceded by a space// ↓return s is not ({ Length:<5} or { Length:>10});}}
"Fixing" this leads to the other error:
publicstaticclassHelpers{publicstaticboolHasValidLength(strings){// ⚠ SA1008 Opening parenthesis should not be preceded by a space.// ↓return s is not ({ Length:<5} or { Length:>10});}}
Using
StyleCop.Analyzers
version1.2.0-beta.556
This is similar to the problem fixed in #3141.
The text was updated successfully, but these errors were encountered: