Compilation\SemanticModel.vb (8)
1813container As NamespaceOrTypeSymbol,
1894Private Sub AppendSymbolsWithName(results As ArrayBuilder(Of Symbol), name As String, binder As Binder, container As NamespaceOrTypeSymbol, options As LookupOptions, info As LookupSymbolsInfo)
1919container As NamespaceOrTypeSymbol,
1945container As NamespaceOrTypeSymbol,
1996container As NamespaceOrTypeSymbol,
2036Optional container As NamespaceOrTypeSymbol = Nothing,
3232Private Shared Function ToLanguageSpecific(container As INamespaceOrTypeSymbol) As NamespaceOrTypeSymbol
3237Dim result = TryCast(container, NamespaceOrTypeSymbol)
Symbols\Source\SourceNamespaceSymbol.vb (19)
20Private _nameToMembersMap As Dictionary(Of String, ImmutableArray(Of NamespaceOrTypeSymbol))
125Private Function GetNameToMembersMap() As Dictionary(Of String, ImmutableArray(Of NamespaceOrTypeSymbol))
136Private Function MakeNameToMembersMap() As Dictionary(Of String, ImmutableArray(Of NamespaceOrTypeSymbol))
164Public Sub Add(symbol As NamespaceOrTypeSymbol)
169Dim builder = TryCast(item, ArrayBuilder(Of NamespaceOrTypeSymbol))
171builder = ArrayBuilder(Of NamespaceOrTypeSymbol).GetInstance()
172builder.Add(DirectCast(item, NamespaceOrTypeSymbol))
183Public Function CreateMap() As Dictionary(Of String, ImmutableArray(Of NamespaceOrTypeSymbol))
184Dim result As New Dictionary(Of String, ImmutableArray(Of NamespaceOrTypeSymbol))(Me._dictionary.Count, IdentifierComparison.Comparer)
189Dim members As ImmutableArray(Of NamespaceOrTypeSymbol)
191Dim builder = TryCast(value, ArrayBuilder(Of NamespaceOrTypeSymbol))
206members = StaticCast(Of NamespaceOrTypeSymbol).From(builder.ToDowncastedImmutable(Of NamedTypeSymbol)())
211Dim symbol = DirectCast(value, NamespaceOrTypeSymbol)
213members = ImmutableArray.Create(Of NamespaceOrTypeSymbol)(symbol)
215members = StaticCast(Of NamespaceOrTypeSymbol).From(ImmutableArray.Create(Of NamedTypeSymbol)(DirectCast(symbol, NamedTypeSymbol)))
226Private Function BuildSymbol(decl As MergedNamespaceOrTypeDeclaration) As NamespaceOrTypeSymbol
258Dim map As Dictionary(Of String, ImmutableArray(Of NamespaceOrTypeSymbol)) = Me.GetNameToMembersMap()
260Dim members As ImmutableArray(Of NamespaceOrTypeSymbol) = kvp.Value
324Dim members As ImmutableArray(Of NamespaceOrTypeSymbol) = Nothing