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)
8417
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)
8413
public
BoundTypePattern
Update(BoundTypeExpression declaredType, bool isExplicitNotNullTest, TypeSymbol inputType, TypeSymbol narrowedType)
8417
var
result = new BoundTypePattern(this.Syntax, declaredType, isExplicitNotNullTest, inputType, narrowedType, this.HasErrors);
9271
return VisitTypePattern((
BoundTypePattern
)node, arg);
9523
public virtual R VisitTypePattern(
BoundTypePattern
node, A arg) => this.DefaultVisit(node, arg);
9759
public virtual BoundNode? VisitTypePattern(
BoundTypePattern
node) => this.DefaultVisit(node);
10733
public override BoundNode? VisitTypePattern(
BoundTypePattern
node)
12130
public override BoundNode? VisitTypePattern(
BoundTypePattern
node)
14797
public override BoundNode? VisitTypePattern(
BoundTypePattern
node)
17007
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)