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