3 instantiations of BoundTypePattern
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Patterns.cs (2)
449return new BoundTypePattern(node, boundType, isExplicitNotNullTest, inputType, boundType.Type, hasErrors); 1611return new BoundTypePattern(node, patternType, isExplicitNotNullTest, inputType, patternType.Type, hasErrors);
Generated\BoundNodes.xml.Generated.cs (1)
8099var 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)
301case BoundTypePattern type: 418BoundTypePattern typePattern,
FlowAnalysis\AbstractFlowPass.cs (3)
920BoundTypePattern or BoundRecursivePattern or BoundITuplePattern or BoundRelationalPattern or 977case BoundTypePattern: 1039case BoundTypePattern:
FlowAnalysis\NullableWalker_Patterns.cs (2)
94public override BoundNode VisitTypePattern(BoundTypePattern node) 160case BoundTypePattern tp:
Generated\BoundNodes.xml.Generated.cs (9)
8095public BoundTypePattern Update(BoundTypeExpression declaredType, bool isExplicitNotNullTest, TypeSymbol inputType, TypeSymbol narrowedType) 8099var result = new BoundTypePattern(this.Syntax, declaredType, isExplicitNotNullTest, inputType, narrowedType, this.HasErrors); 8937return VisitTypePattern((BoundTypePattern)node, arg); 9181public virtual R VisitTypePattern(BoundTypePattern node, A arg) => this.DefaultVisit(node, arg); 9409public virtual BoundNode? VisitTypePattern(BoundTypePattern node) => this.DefaultVisit(node); 10354public override BoundNode? VisitTypePattern(BoundTypePattern node) 11696public override BoundNode? VisitTypePattern(BoundTypePattern node) 14260public override BoundNode? VisitTypePattern(BoundTypePattern node) 16387public override TreeDumperNode VisitTypePattern(BoundTypePattern node, object? arg) => new TreeDumperNode("typePattern", null, new TreeDumperNode[]
Operations\CSharpOperationFactory.cs (2)
237return CreateBoundTypePatternOperation((BoundTypePattern)boundNode); 2477private IOperation CreateBoundTypePatternOperation(BoundTypePattern boundTypePattern)