CompilationUnitManager.Compilation.SymbolsDefinedInNamespace(String) Method

Definition

Returns all the names of all callable and types defined in namespace nsName.

public System.Collections.Generic.IEnumerable<string> SymbolsDefinedInNamespace (string nsName);
member this.SymbolsDefinedInNamespace : string -> seq<string>
Public Function SymbolsDefinedInNamespace (nsName As String) As IEnumerable(Of String)

Parameters

nsName
String

Returns

IEnumerable<String>

The names defined in namespace nsName, or an empty sequence if nsName does not exist in the compilation.

Remarks

The returned names are unique and do not contain duplications e.g. for types and the corresponding constructor.

Applies to