2 instantiations of BoundTypePattern
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Patterns.cs (1)
450return new BoundTypePattern(node, boundType, isExplicitNotNullTest, inputType, boundType.Type, hasErrors);
Generated\BoundNodes.xml.Generated.cs (1)
8429var result = new BoundTypePattern(this.Syntax, declaredType, isExplicitNotNullTest, inputType, narrowedType, this.HasErrors);
20 references to BoundTypePattern
Microsoft.CodeAnalysis.CSharp (20)
Binder\Binder_Patterns.cs (2)
79case BoundTypePattern _: 114case BoundTypePattern _:
Binder\DecisionDagBuilder.cs (2)
304case BoundTypePattern type: 421BoundTypePattern typePattern,
FlowAnalysis\AbstractFlowPass.cs (3)
926BoundTypePattern or BoundRecursivePattern or BoundITuplePattern or BoundRelationalPattern or 983case BoundTypePattern: 1066case BoundTypePattern:
FlowAnalysis\NullableWalker_Patterns.cs (2)
94public override BoundNode VisitTypePattern(BoundTypePattern node) 182case BoundTypePattern tp:
Generated\BoundNodes.xml.Generated.cs (9)
8425public BoundTypePattern Update(BoundTypeExpression declaredType, bool isExplicitNotNullTest, TypeSymbol inputType, TypeSymbol narrowedType) 8429var result = new BoundTypePattern(this.Syntax, declaredType, isExplicitNotNullTest, inputType, narrowedType, this.HasErrors); 9295return VisitTypePattern((BoundTypePattern)node, arg); 9547public virtual R VisitTypePattern(BoundTypePattern node, A arg) => this.DefaultVisit(node, arg); 9783public virtual BoundNode? VisitTypePattern(BoundTypePattern node) => this.DefaultVisit(node); 10757public override BoundNode? VisitTypePattern(BoundTypePattern node) 12297public override BoundNode? VisitTypePattern(BoundTypePattern node) 14945public override BoundNode? VisitTypePattern(BoundTypePattern node) 17156public 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)