Pull member up didn't qualify things appropriately #39744
Labels
Area-IDE
Bug
help wanted
The issue is "up for grabs" - add a comment if you are interested in working on it
IDE-CodeStyle
Built-in analyzers, fixes, and refactorings
Projects
Milestone
Version Used:
Steps to Reproduce:
void M(CancellationToken token) { }
, and invoke add using for CancellationToken.Expected Behavior: the code in the base class either qualifies CancellationToken or adds a using.
Actual Behavior: nothing happens, so the resulting code doesn't even compile.
This is perhaps related to #34427 where the customer is concerned that we aren't minimally qualifying things, or #35806 which has a much longer conversation about automatically adding usings. But it seems this is even more broken: we aren't even generating valid code at all...
The text was updated successfully, but these errors were encountered: