A member named `name` of a `Module` declared directly in namespace `ns`, which VB.NET reads through the namespace: `Assets.Logo`.
(ns: string[], name: string, ref: UnresolvedRef, context: ResolutionContext)
| 926 | |
| 927 | /** A member named `name` of a `Module` declared directly in namespace `ns`, which VB.NET reads through the namespace: `Assets.Logo`. */ |
| 928 | function moduleMemberIn(ns: string[], name: string, ref: UnresolvedRef, context: ResolutionContext): Node | undefined { |
| 929 | const key = ns.join('.'); |
| 930 | return moduleMembersNamed(name, ref, context).find((n) => |
| 931 | (VB_VALUE_KINDS.has(n.kind) || n.kind === 'method') && fullSegments(n, context).slice(0, -2).join('.') === key); |
| 932 | } |
| 933 | |
| 934 | /** The call site's own file first, then its project's, the rest after, each in its given order. */ |
| 935 | export function preferVbProject(nodes: Node[], ref: UnresolvedRef, context: ResolutionContext): Node[] { |
no test coverage detected