-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Labels
Area-IDEFeature - Extension EverythingThe extension everything featureThe extension everything featureResolution-FixedThe bug has been fixed and/or the requested behavior has been implementedThe bug has been fixed and/or the requested behavior has been implemented
Milestone
Description
Version Used:
- .NET SDK 10 RC1
- 5.0.0-2.25459.9 (5d47bb1)
- Language version: 14.0
Steps to Reproduce:
You can surely create your own extension member (using the new extension keyword), but here's my repro:
- Create a new application
- Add a reference to
Meziantou.Framework@5.0.0 - Ensure "Show items from unimported namespaces" is enabled in Visual Studio options
Extension source code: https://github.com/meziantou/Meziantou.Framework/blob/84a3684af409a323159229914ed7d1c8f54dd596/src/Meziantou.Framework/EncodingExtensions.cs
- Extension methods show up (using the "old" syntax):
- Extension members are not visible (using the new extension syntax)
- Extension members show up after adding the using directive
Expected Behavior:
- Extension members should appear in IntelliSense automatically, just like extension methods using the old syntax
Actual Behavior:
- Extension members do not appear unless a using directive is explicitly added
- Extension methods (old syntax) appear correctly in completion
Metadata
Metadata
Assignees
Labels
Area-IDEFeature - Extension EverythingThe extension everything featureThe extension everything featureResolution-FixedThe bug has been fixed and/or the requested behavior has been implementedThe bug has been fixed and/or the requested behavior has been implemented