1 write to DeclaredType
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8155this.DeclaredType = declaredType;
10 references to DeclaredType
Microsoft.CodeAnalysis.CSharp (10)
Binder\DecisionDagBuilder.cs (1)
523var inputType = recursive.DeclaredType?.Type ?? input.Type.StrippedType();
BoundTree\BoundRecursivePattern.cs (2)
14Debug.Assert(DeclaredType is null ? 16NarrowedType.Equals(DeclaredType.Type, TypeCompareKind.AllIgnoreOptions));
FlowAnalysis\NullableWalker_Patterns.cs (1)
56Visit(node.DeclaredType);
Generated\BoundNodes.xml.Generated.cs (5)
8177if (declaredType != this.DeclaredType || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(deconstructMethod, this.DeconstructMethod) || deconstruction != this.Deconstruction || properties != this.Properties || isExplicitNotNullTest != this.IsExplicitNotNullTest || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(variable, this.Variable) || variableAccess != this.VariableAccess || !TypeSymbol.Equals(inputType, this.InputType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything)) 10732this.Visit(node.DeclaredType); 12113BoundTypeExpression? declaredType = (BoundTypeExpression?)this.Visit(node.DeclaredType); 14778BoundTypeExpression? declaredType = (BoundTypeExpression?)this.Visit(node.DeclaredType); 16973new TreeDumperNode("declaredType", null, new TreeDumperNode[] { Visit(node.DeclaredType, null) }),
Operations\CSharpOperationFactory.cs (1)
2555ITypeSymbol matchedType = (boundRecursivePattern.DeclaredType?.Type ?? boundRecursivePattern.InputType.StrippedType()).GetPublicSymbol();