We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SA1500 rule is inconsistent with original StyleCop. When I Declare an array field with misplaced curly brackets no issues are reported.
Example code:
public class Class1 { private int[] array = { 1, 2, 3 }; public Class1() { } }
The original StyleCop reports SA1500 but StyleCopAnalyzers doesn't report anything.
The text was updated successfully, but these errors were encountered:
Another example:
public class SomeClass { private static readonly PropertyInfo[] IdentityProps = { typeof(SomeClass).GetTypeInfo().GetDeclaredProperty(nameof(Title)) }; public string Title { get; set; } }
Reported by StyleCop but not reported by StyleCopAnalyzers.
Sorry, something went wrong.
vweijsters
No branches or pull requests
SA1500 rule is inconsistent with original StyleCop. When I Declare an array field with misplaced curly brackets no issues are reported.
Example code:
The original StyleCop reports SA1500 but StyleCopAnalyzers doesn't report anything.
The text was updated successfully, but these errors were encountered: