-
Notifications
You must be signed in to change notification settings - Fork 2
Usings inside namespace bug #55
Copy link
Copy link
Open
Description
Namespace info is not being saved for files where usings defined inside namespace:
For example:
// Source - https://stackoverflow.com/a/16092975
// Posted by Jeppe Stig Nielsen, modified by community. See post 'Timeline' for change history
// Retrieved 2026-02-14, License - CC BY-SA 4.0
namespace MyCorp.TheProduct.SomeModule.Utilities
{
using System;
using System.Collections.Generic;
using System.Linq;
using MyCorp.TheProduct; // MyCorp can be left out; this using is NOT redundant
using MyCorp.TheProduct.OtherModule; // MyCorp.TheProduct can be left out
using MyCorp.TheProduct.OtherModule.Integration; // MyCorp.TheProduct can be left out
using ThirdParty;
class C
{
Ambiguous a;
}
}Bonus - check if definitions provider handles such case correctly
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels