Skip to content

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
@ghost ghost added the Area-IDE label Feb 7, 2022
private bool IsArgumentToParameterWithMatchingStringSyntaxAttribute(SemanticModel semanticModel, SyntaxNode argument, CancellationToken cancellationToken, out TOptions options)
{
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