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

IDE0055 doesn't work well with IDE0190/csharp_style_prefer_parameter_null_checking #59414

Closed
Evangelink opened this issue Feb 9, 2022 · 4 comments
Assignees

Comments

@Evangelink
Copy link
Member

Version Used: VS17 stable or preview.

Steps to Reproduce:

public class MyClass
{
    public MyClass(FileStream stream!!) // IDE0055 incorrect formatting on `stream!!`
    {
    }
}

Expected Behavior: No IDE0055 when using this new feature.

Actual Behavior: IDE0055 is wrongly reported.

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Feb 9, 2022
@Youssef1313
Copy link
Member

@RikkiGibson Was this already fixed?

@Youssef1313
Copy link
Member

Yup found the issue: #58798

@jinujoseph jinujoseph added Bug and removed untriaged Issues and PRs which have not yet been triaged by a lead labels Feb 9, 2022
@jinujoseph jinujoseph added this to the 17.2 milestone Feb 9, 2022
@jinujoseph
Copy link
Contributor

@RikkiGibson to confirm and close

@jinujoseph jinujoseph reopened this Feb 9, 2022
@RikkiGibson
Copy link
Contributor

I think it's the same issue. You have to make sure to use a new version of the formatting analyzer when you're using !!. Thanks @Youssef1313 for finding it.

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

4 participants