Skip to content

Fix 'this' keyword not being recomended where allowed#79514

Merged
CyrusNajmabadi merged 3 commits intodotnet:mainfrom
CyrusNajmabadi:thisInNameof
Jul 22, 2025
Merged

Fix 'this' keyword not being recomended where allowed#79514
CyrusNajmabadi merged 3 commits intodotnet:mainfrom
CyrusNajmabadi:thisInNameof

Conversation

@CyrusNajmabadi
Copy link
Contributor

Fixes #78979

@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner July 22, 2025 12:50
Copy link
Contributor Author

@CyrusNajmabadi CyrusNajmabadi left a comment

Choose a reason for hiding this comment

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

a

public Task TestNotAtRoot_Interactive()
=> VerifyAbsenceAsync(SourceCodeKind.Script,
@"$$");
@"$$");
Copy link
Contributor Author

Choose a reason for hiding this comment

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

View with whitespace off.

@CyrusNajmabadi CyrusNajmabadi enabled auto-merge July 22, 2025 19:38
@CyrusNajmabadi CyrusNajmabadi merged commit 63bb7cb into dotnet:main Jul 22, 2025
24 of 25 checks passed
@CyrusNajmabadi CyrusNajmabadi deleted the thisInNameof branch July 22, 2025 20:48
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Jul 22, 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.

this is not recommended inside nameof in an attribute argument context

3 participants