Skip to content

CSharpNamedTypeScope

This scope contains NamedTypeSymbols for types that are declared in containers like namespaces. This scope is a member scope which whose member symbol is a NamedTypeSymbol.

Extends CSharpScope

constructor(ownerSymbol: NamedTypeSymbol, parentScope: CSharpNamedTypeScope | CSharpSourceFileScope | undefined, options: OutputScopeOptions)Constructs a new instance of the CSharpNamedTypeScope class
declarationSpacesnever[]
enclosingNamespaceimport(”../index.js”).NamespaceSymbol | undefined
membersimport(“@alloy-js/core”).OutputMemberSpace
ownerSymbolNamedTypeSymbol
typeParametersimport(“@alloy-js/core”).OutputMemberSpaceFor now, we stuff type parameters into the member scope. This is to ensure name conflicts are handled correctly.