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