17 references to NamespaceSymbol
Microsoft.CodeAnalysis.VisualBasic (17)
Binding\Binder_Expressions.vb (10)
633If namespaceExpr.NamespaceSymbol.NamespaceKind = NamespaceKindNamespaceGroup Then 762diagnostics.AddAssembliesUsedByNamespaceReference(DirectCast(argument, BoundNamespaceExpression).NamespaceSymbol) 1034ReportDiagnostic(diagnostics, expr.Syntax, ERRID.ERR_NamespaceNotExpression1, DirectCast(expr, BoundNamespaceExpression).NamespaceSymbol) 2885Dim ns As NamespaceSymbol = DirectCast(left, BoundNamespaceExpression).NamespaceSymbol 3379If namespaceReceiver.NamespaceSymbol.NamespaceKind = NamespaceKindNamespaceGroup Then 3415If namespaces IsNot Nothing AndAlso namespaces.Count < namespaceReceiver.NamespaceSymbol.ConstituentNamespaces.Length Then 3416Return AdjustReceiverNamespace(namespaceReceiver, DirectCast(namespaceReceiver.NamespaceSymbol, MergedNamespaceSymbol).Shrink(namespaces.Keys)) 3456If adjustedNamespace IsNot namespaceReceiver.NamespaceSymbol Then 3462If parentNamespace.NamespaceSymbol.NamespaceKind = NamespaceKindNamespaceGroup AndAlso 3463IsNamespaceGroupIncludesButNotEquivalentTo(parentNamespace.NamespaceSymbol, adjustedNamespace.ContainingNamespace) Then
Binding\Binder_Invocation.vb (1)
206Dim diagInfo = ErrorFactory.ErrorInfo(ERRID.ERR_NamespaceNotExpression1, namespaceExp.NamespaceSymbol)
BoundTree\BoundNamespaceExpression.vb (3)
22Return If(DirectCast(Me.AliasOpt, Symbol), Me.NamespaceSymbol) 28If NamespaceSymbol.NamespaceKind = NamespaceKindNamespaceGroup Then 39Debug.Assert(AliasOpt Is Nothing OrElse NamespaceSymbol.NamespaceKind <> NamespaceKindNamespaceGroup)
Generated\BoundNodes.xml.Generated.vb (3)
1118If unevaluatedReceiverOpt IsNot Me.UnevaluatedReceiverOpt OrElse aliasOpt IsNot Me.AliasOpt OrElse namespaceSymbol IsNot Me.NamespaceSymbol Then 12162Return node.Update(unevaluatedReceiverOpt, node.AliasOpt, node.NamespaceSymbol) 13291New TreeDumperNode("namespaceSymbol", node.NamespaceSymbol, Nothing),