1 instantiation of BoundDeclarationPattern
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8138
var result = new
BoundDeclarationPattern
(this.Syntax, declaredType, isVar, variable, variableAccess, inputType, narrowedType, this.HasErrors);
24 references to BoundDeclarationPattern
Microsoft.CodeAnalysis.CSharp (24)
Binder\Binder_Patterns.cs (1)
89
case
BoundDeclarationPattern
_:
Binder\DecisionDagBuilder.cs (2)
290
case
BoundDeclarationPattern
declaration:
393
BoundDeclarationPattern
declaration,
Binder\RefSafetyAnalysis.cs (1)
563
public override BoundNode? VisitDeclarationPattern(
BoundDeclarationPattern
node)
FlowAnalysis\AbstractFlowPass.cs (5)
928
BoundDeclarationPattern
or BoundConstantPattern or BoundNegatedPattern or BoundBinaryPattern or
929
BoundDeclarationPattern
or BoundDiscardPattern or BoundListPattern or BoundSlicePattern);
988
case
BoundDeclarationPattern
{ IsVar: false }:
1019
case
BoundDeclarationPattern
{ IsVar: true }:
1071
case
BoundDeclarationPattern
:
FlowAnalysis\DefiniteAssignment.cs (2)
1995
var
pat = (
BoundDeclarationPattern
)pattern;
FlowAnalysis\NullableWalker_Patterns.cs (2)
69
public override BoundNode VisitDeclarationPattern(
BoundDeclarationPattern
node)
175
case
BoundDeclarationPattern
_:
Generated\BoundNodes.xml.Generated.cs (9)
8134
public
BoundDeclarationPattern
Update(BoundTypeExpression declaredType, bool isVar, Symbol? variable, BoundExpression? variableAccess, TypeSymbol inputType, TypeSymbol narrowedType)
8138
var
result = new BoundDeclarationPattern(this.Syntax, declaredType, isVar, variable, variableAccess, inputType, narrowedType, this.HasErrors);
9292
return VisitDeclarationPattern((
BoundDeclarationPattern
)node, arg);
9552
public virtual R VisitDeclarationPattern(
BoundDeclarationPattern
node, A arg) => this.DefaultVisit(node, arg);
9788
public virtual BoundNode? VisitDeclarationPattern(
BoundDeclarationPattern
node) => this.DefaultVisit(node);
10724
public override BoundNode? VisitDeclarationPattern(
BoundDeclarationPattern
node)
12103
public override BoundNode? VisitDeclarationPattern(
BoundDeclarationPattern
node)
14762
public override BoundNode? VisitDeclarationPattern(
BoundDeclarationPattern
node)
16960
public override TreeDumperNode VisitDeclarationPattern(
BoundDeclarationPattern
node, object? arg) => new TreeDumperNode("declarationPattern", null, new TreeDumperNode[]
Operations\CSharpOperationFactory.cs (2)
227
return CreateBoundDeclarationPatternOperation((
BoundDeclarationPattern
)boundNode);
2536
private IDeclarationPatternOperation CreateBoundDeclarationPatternOperation(
BoundDeclarationPattern
boundDeclarationPattern)