1 instantiation of BoundDeclarationPattern
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8125
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)
8121
public
BoundDeclarationPattern
Update(BoundTypeExpression declaredType, bool isVar, Symbol? variable, BoundExpression? variableAccess, TypeSymbol inputType, TypeSymbol narrowedType)
8125
var
result = new BoundDeclarationPattern(this.Syntax, declaredType, isVar, variable, variableAccess, inputType, narrowedType, this.HasErrors);
9255
return VisitDeclarationPattern((
BoundDeclarationPattern
)node, arg);
9515
public virtual R VisitDeclarationPattern(
BoundDeclarationPattern
node, A arg) => this.DefaultVisit(node, arg);
9751
public virtual BoundNode? VisitDeclarationPattern(
BoundDeclarationPattern
node) => this.DefaultVisit(node);
10687
public override BoundNode? VisitDeclarationPattern(
BoundDeclarationPattern
node)
12066
public override BoundNode? VisitDeclarationPattern(
BoundDeclarationPattern
node)
14725
public override BoundNode? VisitDeclarationPattern(
BoundDeclarationPattern
node)
16923
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)