You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix Add import is not suggested for extension methods defined in projects targeting a different framework than the project using the extension method
#75991
Open
just-ero opened this issue
Nov 20, 2024
· 2 comments
Note: The extension method is picked up while typing (typing c.M will contain M from the extension namespace) and does add the required namespace upon accepting the suggestion.
However, this is also not always the case. I have not been able to figure out the conditions of this behavior.
Version Used
Compiler: 4.13.0-2.24565.3 (c267dc9)
.NET: 9.0.100
Visual Studio Code: 1.95.3,
f1a4fb101478ce6ec82fe9627c43efbf9e98c813
, x64C# Extension: v2.57.28
C# Dev Kit Extension: v1.14.8
Steps to Reproduce
Add import
onc.M()
.Expected Behavior
The fix is suggested.
Actual Behavior
It is not.
The text was updated successfully, but these errors were encountered: