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)
7690
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)
3381
public override BoundNode VisitNamespaceExpression(
BoundNamespaceExpression
node)
FlowAnalysis\NullableWalker.cs (1)
11940
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);
8918
return VisitNamespaceExpression((
BoundNamespaceExpression
)node, arg);
9365
public virtual R VisitNamespaceExpression(
BoundNamespaceExpression
node, A arg) => this.DefaultVisit(node, arg);
9601
public virtual BoundNode? VisitNamespaceExpression(
BoundNamespaceExpression
node) => this.DefaultVisit(node);
9878
public override BoundNode? VisitNamespaceExpression(
BoundNamespaceExpression
node) => null;
10961
public override BoundNode? VisitNamespaceExpression(
BoundNamespaceExpression
node)
12532
public override BoundNode? VisitNamespaceExpression(
BoundNamespaceExpression
node)
12539
BoundNamespaceExpression
updatedNode = node.Update(node.NamespaceSymbol, node.AliasOpt);
15185
public override TreeDumperNode VisitNamespaceExpression(
BoundNamespaceExpression
node, object? arg) => new TreeDumperNode("namespaceExpression", null, new TreeDumperNode[]