2 instantiations of BoundTypePattern
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Patterns.cs (1)
449
return new
BoundTypePattern
(node, boundType, isExplicitNotNullTest, inputType, boundType.Type, hasErrors);
Generated\BoundNodes.xml.Generated.cs (1)
8418
var result = new
BoundTypePattern
(this.Syntax, declaredType, isExplicitNotNullTest, inputType, narrowedType, this.HasErrors);
20 references to BoundTypePattern
Microsoft.CodeAnalysis.CSharp (20)
Binder\Binder_Patterns.cs (2)
78
case
BoundTypePattern
_:
113
case
BoundTypePattern
_:
Binder\DecisionDagBuilder.cs (2)
304
case
BoundTypePattern
type:
421
BoundTypePattern
typePattern,
FlowAnalysis\AbstractFlowPass.cs (3)
927
BoundTypePattern
or BoundRecursivePattern or BoundITuplePattern or BoundRelationalPattern or
984
case
BoundTypePattern
:
1067
case
BoundTypePattern
:
FlowAnalysis\NullableWalker_Patterns.cs (2)
94
public override BoundNode VisitTypePattern(
BoundTypePattern
node)
182
case
BoundTypePattern
tp:
Generated\BoundNodes.xml.Generated.cs (9)
8414
public
BoundTypePattern
Update(BoundTypeExpression declaredType, bool isExplicitNotNullTest, TypeSymbol inputType, TypeSymbol narrowedType)
8418
var
result = new BoundTypePattern(this.Syntax, declaredType, isExplicitNotNullTest, inputType, narrowedType, this.HasErrors);
9272
return VisitTypePattern((
BoundTypePattern
)node, arg);
9524
public virtual R VisitTypePattern(
BoundTypePattern
node, A arg) => this.DefaultVisit(node, arg);
9760
public virtual BoundNode? VisitTypePattern(
BoundTypePattern
node) => this.DefaultVisit(node);
10734
public override BoundNode? VisitTypePattern(
BoundTypePattern
node)
12131
public override BoundNode? VisitTypePattern(
BoundTypePattern
node)
14798
public override BoundNode? VisitTypePattern(
BoundTypePattern
node)
17008
public override TreeDumperNode VisitTypePattern(
BoundTypePattern
node, object? arg) => new TreeDumperNode("typePattern", null, new TreeDumperNode[]
Operations\CSharpOperationFactory.cs (2)
241
return CreateBoundTypePatternOperation((
BoundTypePattern
)boundNode);
2594
private IOperation CreateBoundTypePatternOperation(
BoundTypePattern
boundTypePattern)