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