Skip to content

Conversation

@CyrusNajmabadi
Copy link
Member

@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner July 29, 2024 17:50
@ghost ghost added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Jul 29, 2024
@CyrusNajmabadi
Copy link
Member Author

@sharwell i cna't seem to figure out how to update the tests to pass. they seem to eb validating spans in strange ways.

"""
class C
{
private C(int i) { }
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
private C(int i) { }
{|#0:private C(int i) { }|}

Copy link
Member Author

Choose a reason for hiding this comment

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

that doesn't seem to help.

// /0/Test0.cs(3,13): info IDE0051: Private member 'C.C' is unused
VerifyCS.Diagnostic("IDE0051").WithSpan(3, 13, 3, 14).WithArguments("C.C"));
// /0/Test0.cs(3,13): info IDE0051: Private member 'C.C' is unused
VerifyCS.Diagnostic("IDE0051").WithSpan(3, 5, 3, 25).WithArguments("C.C"));
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
VerifyCS.Diagnostic("IDE0051").WithSpan(3, 5, 3, 25).WithArguments("C.C"));
VerifyCS.Diagnostic("IDE0051").WithLocation(0).WithArguments("C.C"));

Copy link
Member Author

Choose a reason for hiding this comment

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

that doesn't seem to fix things.

@CyrusNajmabadi CyrusNajmabadi enabled auto-merge July 29, 2024 19:29
@CyrusNajmabadi CyrusNajmabadi merged commit cf82d39 into dotnet:main Jul 29, 2024
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Jul 29, 2024
@CyrusNajmabadi CyrusNajmabadi deleted the graOut branch July 29, 2024 22:18
@RikkiGibson RikkiGibson removed this from the Next milestone Jul 29, 2024
@michaelcsikos

This comment has been minimized.

@dotnet dotnet locked and limited conversation to collaborators Nov 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead VSCode

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants