Skip to content

Param-nullchecking doesn't work properly with formatting analyzer #58798

@RikkiGibson

Description

@RikkiGibson

Version Used: f29f937

Steps to Reproduce:

Change this method to the following:

        /// <summary>
        /// A rope can wrap a simple string.
        /// </summary>
        public static Rope ForString(string s!!)
        {
            return new StringRope(s);
        }

Expected Behavior: No "fix formatting" warning is given

Actual Behavior: "Fix formatting" warning is given, and the suggested fix appears to be empty

image

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions