1 write to DeclaredType
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8120this.DeclaredType = declaredType;
11 references to DeclaredType
Microsoft.CodeAnalysis.CSharp (11)
Binder\DecisionDagBuilder.cs (1)
397TypeSymbol? type = declaration.DeclaredType?.Type;
Binder\RefSafetyAnalysis.cs (1)
567using var _ = new PatternInput(this, getDeclarationValEscape(node.DeclaredType, _patternInputValEscape));
BoundTree\BoundDeclarationPattern.cs (2)
13Debug.Assert(DeclaredType is null ? 15NarrowedType.Equals(DeclaredType.Type, TypeCompareKind.AllIgnoreOptions));
FlowAnalysis\NullableWalker_Patterns.cs (1)
72Visit(node.DeclaredType);
Generated\BoundNodes.xml.Generated.cs (5)
8136if (declaredType != this.DeclaredType || isVar != this.IsVar || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(variable, this.Variable) || variableAccess != this.VariableAccess || !TypeSymbol.Equals(inputType, this.InputType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything)) 10726this.Visit(node.DeclaredType); 12105BoundTypeExpression declaredType = (BoundTypeExpression)this.Visit(node.DeclaredType); 14767BoundTypeExpression declaredType = (BoundTypeExpression)this.Visit(node.DeclaredType); 16962new TreeDumperNode("declaredType", null, new TreeDumperNode[] { Visit(node.DeclaredType, null) }),
Operations\CSharpOperationFactory.cs (1)
2547ITypeSymbol? matchedType = acceptsNull ? null : boundDeclarationPattern.DeclaredType.GetPublicTypeSymbol();