Binder\Binder_Patterns.cs (6)
448bool isExplicitNotNullTest = boundType.Type.SpecialType == SpecialType.System_Object;
449return new BoundTypePattern(node, boundType, isExplicitNotNullTest, inputType, boundType.Type, hasErrors);
848return new BoundDeclarationPattern(node, boundDeclType, isVar: false, variableSymbol, variableAccess, inputType: inputType, narrowedType: boundDeclType.Type, hasErrors);
1045narrowedType: boundDeclType?.Type ?? inputType.StrippedType(), hasErrors);
1619bool isExplicitNotNullTest = patternType.Type.SpecialType == SpecialType.System_Object;
1620return new BoundTypePattern(node, patternType, isExplicitNotNullTest, inputType, patternType.Type, hasErrors);
Generated\BoundNodes.xml.Generated.cs (4)
1091if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(aliasOpt, this.AliasOpt) || boundContainingTypeOpt != this.BoundContainingTypeOpt || boundDimensionsOpt != this.BoundDimensionsOpt || typeWithAnnotations != this.TypeWithAnnotations || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
10916TypeSymbol? type = this.VisitType(node.Type);
12478updatedNode = node.Update(node.AliasOpt, boundContainingTypeOpt, boundDimensionsOpt, node.TypeWithAnnotations, node.Type);
15135new TreeDumperNode("type", node.Type, null),