1 type derived from SingleNamespaceDeclaration
Microsoft.CodeAnalysis.VisualBasic (1)
Declarations\GlobalNamespaceDeclaration.vb (1)
24Inherits SingleNamespaceDeclaration
3 instantiations of SingleNamespaceDeclaration
Microsoft.CodeAnalysis.VisualBasic (3)
Declarations\DeclarationTreeBuilder.vb (2)
152decl = New SingleNamespaceDeclaration( 314ns = New SingleNamespaceDeclaration(
Declarations\GlobalNamespaceDeclaration.vb (1)
30MyBase.New(String.Empty, hasImports, syntaxReference, nameLocation, children)
32 references to SingleNamespaceDeclaration
Microsoft.CodeAnalysis.VisualBasic (32)
Declarations\DeclarationTable.vb (5)
168Dim builder = ArrayBuilder(Of SingleNamespaceDeclaration).GetInstance(oldRootDeclarations.Length + 1) 180Implements IComparer(Of SingleNamespaceDeclaration) 191Public Function Compare(x As SingleNamespaceDeclaration, y As SingleNamespaceDeclaration) As Integer Implements IComparer(Of SingleNamespaceDeclaration).Compare
Declarations\DeclarationTreeBuilder.vb (4)
269Dim nsDecl As SingleNamespaceDeclaration = TryCast(decl, SingleNamespaceDeclaration) 294children As ImmutableArray(Of SingleNamespaceOrTypeDeclaration)) As SingleNamespaceDeclaration 297Dim ns As SingleNamespaceDeclaration = Nothing
Declarations\MergedNamespaceDeclaration.vb (14)
14Private ReadOnly _declarations As ImmutableArray(Of SingleNamespaceDeclaration) 18Private Sub New(declarations As ImmutableArray(Of SingleNamespaceDeclaration)) 21Me.Name = SingleNamespaceDeclaration.BestName(Of SingleNamespaceDeclaration)(declarations, _multipleSpellings) 27Public Shared Function Create(declarations As IEnumerable(Of SingleNamespaceDeclaration)) As MergedNamespaceDeclaration 28Return New MergedNamespaceDeclaration(ImmutableArray.CreateRange(Of SingleNamespaceDeclaration)(declarations)) 31Public Shared Function Create(ParamArray declarations As SingleNamespaceDeclaration()) As MergedNamespaceDeclaration 41Public ReadOnly Property Declarations As ImmutableArray(Of SingleNamespaceDeclaration) 99Dim childNamespaces = ArrayBuilder(Of SingleNamespaceDeclaration).GetInstance() 103For Each d As SingleNamespaceDeclaration In _declarations 105Dim singleNamespaceDeclaration As SingleNamespaceDeclaration = TryCast(child, SingleNamespaceDeclaration) 125If SingleNamespaceDeclaration.EqualityComparer.Equals(childNamespaces(0), childNamespaces(1)) Then 133For Each group In childNamespaces.GroupBy(Function(n) n, SingleNamespaceDeclaration.EqualityComparer)
Declarations\SingleNamespaceDeclaration.vb (8)
60Implements IEqualityComparer(Of SingleNamespaceDeclaration) 62Private Shadows Function Equals(decl1 As SingleNamespaceDeclaration, decl2 As SingleNamespaceDeclaration) As Boolean Implements IEqualityComparer(Of SingleNamespaceDeclaration).Equals 66Private Shadows Function GetHashCode(decl1 As SingleNamespaceDeclaration) As Integer Implements IEqualityComparer(Of SingleNamespaceDeclaration).GetHashCode 71Public Shared ReadOnly EqualityComparer As IEqualityComparer(Of SingleNamespaceDeclaration) = New Comparer() 83Public Overloads Shared Function BestName(Of T As SingleNamespaceDeclaration)(singleDeclarations As ImmutableArray(Of T), ByRef multipleSpellings As Boolean) As String
Symbols\Source\SourceNamespaceSymbol.vb (1)
293Dim declarations As ImmutableArray(Of SingleNamespaceDeclaration) = _declaration.Declarations