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

SA1010 when initializing a new List #3779

Closed
OOLB437095 opened this issue Jan 15, 2024 · 1 comment
Closed

SA1010 when initializing a new List #3779

OOLB437095 opened this issue Jan 15, 2024 · 1 comment

Comments

@OOLB437095
Copy link

When initializing a new List like this:
documentNavigators = [xpath.CreateNavigator()];
It will violate SA1010.
When removing the spae like so:
documentNavigators =[xpath.CreateNavigator()];
It will violate SA1003.

In this example documentNavigators is a List:
private readonly List<XPathNavigator> documentNavigators;

@OOLB437095
Copy link
Author

duplicate of #3745

@sharwell sharwell closed this as not planned Won't fix, can't repro, duplicate, stale Jan 16, 2024
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