1 instantiation of BoundNamespaceExpression
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
1173
var result = new
BoundNamespaceExpression
(this.Syntax, namespaceSymbol, aliasOpt, this.HasErrors);
20 references to BoundNamespaceExpression
Microsoft.CodeAnalysis.CSharp (20)
Binder\Binder.ValueChecks.cs (3)
712
var
ns = (
BoundNamespaceExpression
)expr;
994
Error(diagnostics, ErrorCode.ERR_BadSKknown, expr.Syntax, ((
BoundNamespaceExpression
)expr).NamespaceSymbol, MessageID.IDS_SK_NAMESPACE.Localize(), MessageID.IDS_SK_VARIABLE.Localize());
Binder\Binder_Expressions.cs (1)
7692
result = tryBindMemberAccessWithBoundNamespaceLeft(((
BoundNamespaceExpression
)boundLeft).NamespaceSymbol, node, boundLeft, right, diagnostics, lookupResult, options, typeArgumentsSyntax, typeArguments, rightName, rightArity);
Binder\Binder_Invocation.cs (1)
2241
if (boundArgument is
BoundNamespaceExpression
nsExpr)
Binder\Binder_Query.cs (1)
949
diagnostics.Add(ErrorCode.ERR_BadSKunknown, ultimateReceiver.Syntax.Location, ((
BoundNamespaceExpression
)ultimateReceiver).NamespaceSymbol, MessageID.IDS_SK_NAMESPACE.Localize());
BoundTree\BoundTreeVisitors.cs (1)
36
return VisitNamespaceExpression(node as
BoundNamespaceExpression
, arg);
BoundTree\Constructors.cs (1)
582
public
BoundNamespaceExpression
Update(NamespaceSymbol namespaceSymbol)
FlowAnalysis\AbstractFlowPass.cs (1)
3377
public override BoundNode VisitNamespaceExpression(
BoundNamespaceExpression
node)
FlowAnalysis\NullableWalker.cs (1)
11879
public override BoundNode? VisitNamespaceExpression(
BoundNamespaceExpression
node)
Generated\BoundNodes.xml.Generated.cs (10)
1169
public
BoundNamespaceExpression
Update(NamespaceSymbol namespaceSymbol, AliasSymbol? aliasOpt)
1173
var
result = new BoundNamespaceExpression(this.Syntax, namespaceSymbol, aliasOpt, this.HasErrors);
8882
return VisitNamespaceExpression((
BoundNamespaceExpression
)node, arg);
9329
public virtual R VisitNamespaceExpression(
BoundNamespaceExpression
node, A arg) => this.DefaultVisit(node, arg);
9565
public virtual BoundNode? VisitNamespaceExpression(
BoundNamespaceExpression
node) => this.DefaultVisit(node);
9842
public override BoundNode? VisitNamespaceExpression(
BoundNamespaceExpression
node) => null;
10925
public override BoundNode? VisitNamespaceExpression(
BoundNamespaceExpression
node)
12496
public override BoundNode? VisitNamespaceExpression(
BoundNamespaceExpression
node)
12503
BoundNamespaceExpression
updatedNode = node.Update(node.NamespaceSymbol, node.AliasOpt);
15149
public override TreeDumperNode VisitNamespaceExpression(
BoundNamespaceExpression
node, object? arg) => new TreeDumperNode("namespaceExpression", null, new TreeDumperNode[]