Vixen
02b45cc4
csharp
public sealed class NamespaceSymbol

A package namespace. package A.B creates the chain <global> → A → B; every type declared in that file lands in B.

No guide page documents this yet — the page shows what the code says about itself.

Fields and properties (7)

  • public override SymbolKind Kind
  • public override string Name
  • public override Symbol? ContainingSymbol
  • public bool IsGlobalNamespace
  • public string QualifiedName

    Dotted name from the global namespace down, empty for the global namespace.

  • public IReadOnlyList<NamespaceSymbol> Namespaces
  • public IReadOnlyList<NamedTypeSymbol> Types

Methods (5)

  • public IReadOnlyList<Symbol> GetMembers()
  • public IReadOnlyList<Symbol> GetMembers(string name)
  • public NamespaceSymbol? GetNamespace(string name)
  • public NamedTypeSymbol? GetTypeMember(string name, int arity = 0)

    The type declared here with this name and generic arity, if any.

  • public override string ToDisplayString()

Used by (11)

  • BinderVixen.Raven
  • BoundNamespaceExpressionVixen.Raven
  • BuilderVixen.Raven
  • CompilationVixen.Raven
  • GlobalBinderVixen.Raven
  • ImportBinderVixen.Raven
  • MetadataLoaderVixen.Raven
  • MetadataNamedTypeSymbolVixen.Raven
  • NamedTypeSymbolVixen.Raven
  • SymbolVixen.Raven
  • SymbolTestsVixen.Raven.Tests