5 instantiations of BoundTypePattern
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Patterns.cs (2)
461return new BoundTypePattern(node, boundType, isExplicitNotNullTest, inputType, boundType.Type, hasErrors); 1632return new BoundTypePattern(node, patternType, isExplicitNotNullTest, inputType, patternType.Type, hasErrors);
Binder\DecisionDagBuilder_CheckOrReachability.cs (2)
1027BoundPattern typePattern = new BoundTypePattern(pattern.Syntax, 1083initialCheck = new BoundTypePattern(node.Syntax, node.DeclaredType, node.IsExplicitNotNullTest, node.InputType, node.NarrowedType, node.HasErrors);
Generated\BoundNodes.xml.Generated.cs (1)
8472var result = new BoundTypePattern(this.Syntax, declaredType, isExplicitNotNullTest, inputType, narrowedType, this.HasErrors);
25 references to BoundTypePattern
Microsoft.CodeAnalysis.CSharp (25)
Binder\Binder_Patterns.cs (2)
81case BoundTypePattern _: 119case BoundTypePattern _:
Binder\DecisionDagBuilder.cs (2)
350case BoundTypePattern type: 467BoundTypePattern typePattern,
Binder\DecisionDagBuilder_CheckOrReachability.cs (3)
798or BoundTypePattern 940public override BoundNode? VisitTypePattern(BoundTypePattern node) 977if (pattern is BoundTypePattern typePattern1)
BoundTree\BoundNode_Source.cs (1)
395case BoundTypePattern 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:
FlowAnalysis\VariablesDeclaredWalker.cs (1)
120case BoundDiscardPattern or BoundTypePattern:
Generated\BoundNodes.xml.Generated.cs (9)
8468public BoundTypePattern Update(BoundTypeExpression declaredType, bool isExplicitNotNullTest, TypeSymbol inputType, TypeSymbol narrowedType) 8472var result = new BoundTypePattern(this.Syntax, declaredType, isExplicitNotNullTest, inputType, narrowedType, this.HasErrors); 9338return VisitTypePattern((BoundTypePattern)node, arg); 9590public virtual R VisitTypePattern(BoundTypePattern node, A arg) => this.DefaultVisit(node, arg); 9826public virtual BoundNode? VisitTypePattern(BoundTypePattern node) => this.DefaultVisit(node); 10801public override BoundNode? VisitTypePattern(BoundTypePattern node) 12344public override BoundNode? VisitTypePattern(BoundTypePattern node) 15006public override BoundNode? VisitTypePattern(BoundTypePattern node) 17209public override TreeDumperNode VisitTypePattern(BoundTypePattern node, object? arg) => new TreeDumperNode("typePattern", null, new TreeDumperNode[]
Operations\CSharpOperationFactory.cs (2)
241return CreateBoundTypePatternOperation((BoundTypePattern)boundNode); 2585private IOperation CreateBoundTypePatternOperation(BoundTypePattern boundTypePattern)