7 references to BoundTypePattern
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder_Operators.cs (1)
4937var pattern = new BoundTypePattern(node, typeExpression, isExplicitNotNullTest: targetType.SpecialType == SpecialType.System_Object, isUnionMatching: true, inputType: unionMatchingInputType, targetType, hasErrors);
Binder\Binder_Patterns.cs (2)
937return new BoundTypePattern(node, boundType, isExplicitNotNullTest, isUnionMatching: hasUnionMatching, inputType: unionMatchingInputType ?? inputType, boundType.Type, hasErrors); 2318return new BoundTypePattern(node, patternType, isExplicitNotNullTest, isUnionMatching: hasUnionMatching, inputType: unionMatchingInputType ?? inputType, patternType.Type, hasErrors);
Binder\DecisionDagBuilder_CheckOrReachability.cs (2)
1036BoundPattern typePattern = new BoundTypePattern(pattern.Syntax, 1092initialCheck = new BoundTypePattern(node.Syntax, node.DeclaredType, node.IsExplicitNotNullTest, isUnionMatching: false, node.InputType, node.NarrowedType, node.HasErrors);
Binder\UnionMatchingRewriter.cs (1)
459new BoundTypePattern(
Generated\BoundNodes.xml.Generated.cs (1)
8641var result = new BoundTypePattern(this.Syntax, declaredType, isExplicitNotNullTest, isUnionMatching, inputType, narrowedType, this.HasErrors);