Skip to content

Conversation

@Youssef1313
Copy link
Member

@Youssef1313 Youssef1313 commented Feb 13, 2022

Closes #59514 (the issue itself was already fixed and tested - I'm only addressing #59514 (comment))

@Youssef1313 Youssef1313 requested a review from a team as a code owner February 13, 2022 09:28
@ghost ghost added Community The pull request was submitted by a contributor who is not a Microsoft employee. Area-IDE labels Feb 13, 2022
protected override void InitializeWorker(AnalysisContext context)
{
context.RegisterCompilationStartAction(startContext =>
context.RegisterCompilationStartAction(context =>
Copy link
Member Author

Choose a reason for hiding this comment

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

Below callbacks were originally registered using the AnalysisContext rather than the CompilationStartAnalysisContext

I'm not sure if this makes any different, but we should be using the most-nested context anyway, so shadowing is very intended.

@CyrusNajmabadi CyrusNajmabadi merged commit ad96ee4 into dotnet:main Feb 13, 2022
@ghost ghost added this to the Next milestone Feb 13, 2022
@CyrusNajmabadi
Copy link
Member

Thanks!

1 similar comment
@CyrusNajmabadi
Copy link
Member

Thanks!

@Youssef1313 Youssef1313 deleted the ide0056-ide0057-cleanup branch February 13, 2022 16:06
@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

Area-IDE Community The pull request was submitted by a contributor who is not a Microsoft employee.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ID0056 bad suggestion in netstandard2.0

3 participants