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

StyleCop does not support feature of C# 9.0 (is not null) #264

Open
MagB168 opened this issue Oct 7, 2021 · 1 comment
Open

StyleCop does not support feature of C# 9.0 (is not null) #264

MagB168 opened this issue Oct 7, 2021 · 1 comment

Comments

@MagB168
Copy link

MagB168 commented Oct 7, 2021

I use:
JetBrains ReSharper 2021.2.1 Build 212.0.20210826.105310 built on 2021-08-26
ReSharper 2021.2.20210826.112029
StyleCop.Resharper 2021.2.0, which is a fork of StyleCop Classic.

I asked to them to integrate the feature of C# 9, but they recommend me to report this issue here.
If I do null check of an object with "is not null", I got error warning from StyleCop. see attachment below.
Screenshot_9

Would you please integrate the features of C# 9 in your StyleCop classic.
Note: C# 9.0 is not very new since it is released on May 2020!
Thank you in advance.

@SamZhangQingChuan
Copy link

it is unlikely that any major development (including support for newer C# syntax) will be done on this project

https://github.com/StyleCop/StyleCop/blob/master/README.md

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

No branches or pull requests

2 participants