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

Support the StringSyntax attribute actually being used on an attribute parameter. #59343

Merged
merged 2 commits into from
Feb 8, 2022

Conversation

CyrusNajmabadi
Copy link
Member

No description provided.

@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner February 7, 2022 20:06
{
var operation = semanticModel.GetOperation(argumentNode, cancellationToken);
if (operation is IArgumentOperation { Parameter: { } parameter } &&
Copy link
Member Author

Choose a reason for hiding this comment

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

had to mvoe off of IOp. it doesn't work for attribute arguments unfortunately.

@CyrusNajmabadi CyrusNajmabadi merged commit 3cf752a into dotnet:main Feb 8, 2022
@CyrusNajmabadi CyrusNajmabadi deleted the stringSyntaxAttr branch February 8, 2022 01:53
@ghost ghost added this to the Next milestone Feb 8, 2022
@RikkiGibson RikkiGibson modified the milestones: Next, 17.2.P2 Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants