1 instantiation of BoundNamespaceExpression
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
1172
var result = new
BoundNamespaceExpression
(this.Syntax, namespaceSymbol, aliasOpt, this.HasErrors);
20 references to BoundNamespaceExpression
Microsoft.CodeAnalysis.CSharp (20)
Binder\Binder.ValueChecks.cs (3)
735
var
ns = (
BoundNamespaceExpression
)expr;
1017
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)
7689
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)
11882
public override BoundNode? VisitNamespaceExpression(
BoundNamespaceExpression
node)
Generated\BoundNodes.xml.Generated.cs (10)
1168
public
BoundNamespaceExpression
Update(NamespaceSymbol namespaceSymbol, AliasSymbol? aliasOpt)
1172
var
result = new BoundNamespaceExpression(this.Syntax, namespaceSymbol, aliasOpt, this.HasErrors);
8881
return VisitNamespaceExpression((
BoundNamespaceExpression
)node, arg);
9328
public virtual R VisitNamespaceExpression(
BoundNamespaceExpression
node, A arg) => this.DefaultVisit(node, arg);
9564
public virtual BoundNode? VisitNamespaceExpression(
BoundNamespaceExpression
node) => this.DefaultVisit(node);
9841
public override BoundNode? VisitNamespaceExpression(
BoundNamespaceExpression
node) => null;
10924
public override BoundNode? VisitNamespaceExpression(
BoundNamespaceExpression
node)
12495
public override BoundNode? VisitNamespaceExpression(
BoundNamespaceExpression
node)
12502
BoundNamespaceExpression
updatedNode = node.Update(node.NamespaceSymbol, node.AliasOpt);
15148
public override TreeDumperNode VisitNamespaceExpression(
BoundNamespaceExpression
node, object? arg) => new TreeDumperNode("namespaceExpression", null, new TreeDumperNode[]