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

RCS1169 turned off but still gives Information message #1613

Open
lookbusy1344 opened this issue Jan 30, 2025 · 2 comments
Open

RCS1169 turned off but still gives Information message #1613

lookbusy1344 opened this issue Jan 30, 2025 · 2 comments

Comments

@lookbusy1344
Copy link

In version 4.12.11 I have RCS1169 turned off because it's similar to IDE0044. However I'm still getting the message. Config is:

dotnet_diagnostic.rcs1169.severity = none	# same as IDE0044
@josefpihrt
Copy link
Collaborator

Hi,

Please provide sample code to reproduce the bug. Thanks

@lookbusy1344
Copy link
Author

Hi,

I've created a RCS1169 branch on this small project (it contains C#, Python, and Rust but this is the C# part):

https://github.com/lookbusy1344/Relativity/tree/RCS1169/CSharp

When opened in VS2022 I get two warnings for EFloatRelativity.cs line 23 generates both RCS1169 and IDE0044 "make field readonly".

My Roslynator config file is included too:

https://github.com/lookbusy1344/Relativity/blob/RCS1169/CSharp/.roslynatorconfig

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