Skip to content

Conversation

CyrusNajmabadi
Copy link
Member

Fixes #38057

@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner July 16, 2025 20:15
@@ -186,4 +187,24 @@ public C()
}|]
""",
parameters: new TestParameters(options: UseBlockBody));

[Fact, WorkItem("https://github.com/dotnet/roslyn/issues/38057")]
public Task TestCommentAfterConstructorName()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can I see a case where you have something like this

class C
{
    public C() // comment 1
    {
        // comment 2
        return Bar();
    }
}

@CyrusNajmabadi CyrusNajmabadi merged commit 0fa8456 into dotnet:main Jul 17, 2025
21 of 25 checks passed
@CyrusNajmabadi CyrusNajmabadi deleted the usePropTrailingTrivia branch July 17, 2025 01:40
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Jul 17, 2025
@RikkiGibson RikkiGibson modified the milestones: Next, 18.0 P1 Aug 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IDE0025 strangely indents when a comment follows the property name
3 participants