Skip to content
New issue

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

Nullable array declaration, contradictory analyzer messages #3680

Closed
krestenlaust opened this issue Jul 25, 2023 · 2 comments
Closed

Nullable array declaration, contradictory analyzer messages #3680

krestenlaust opened this issue Jul 25, 2023 · 2 comments

Comments

@krestenlaust
Copy link

krestenlaust commented Jul 25, 2023

SA1011 code example
SA1011: Closing square bracket should be followed by a space.

SA1018
SA1080: Nullable type symbol should be preceded by a space.

Solution
Disregard SA1011, when it's the nullable character.

Source context
Line: 142
WindowClient.cs.txt

Info
StyleCop.Analyzers == 1.1.118

@sharwell
Copy link
Member

Duplicate of #2927

@sharwell sharwell marked this as a duplicate of #2927 Jul 25, 2023
@sharwell sharwell closed this as not planned Won't fix, can't repro, duplicate, stale Jul 25, 2023
@krestenlaust
Copy link
Author

Ah, sorry about that 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants