1 write to DeclaredType
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8129
this.
DeclaredType
= declaredType;
14 references to DeclaredType
Microsoft.CodeAnalysis.CSharp (14)
Binder\DecisionDagBuilder.cs (1)
443
TypeSymbol? type = declaration.
DeclaredType
?.Type;
Binder\DecisionDagBuilder_CheckOrReachability.cs (2)
1019
return declarationPattern.Update(declarationPattern.
DeclaredType
, declarationPattern.IsVar,
1043
var result = new BoundDeclarationPattern(node.Syntax, node.
DeclaredType
, node.IsVar, node.Variable, node.VariableAccess, node.InputType, node.NarrowedType)
Binder\RefSafetyAnalysis.cs (1)
646
using var _ = new PatternInput(this, getDeclarationValEscape(node.
DeclaredType
, _patternInputValEscape));
BoundTree\BoundDeclarationPattern.cs (2)
13
Debug.Assert(
DeclaredType
is not null);
14
Debug.Assert(NarrowedType.Equals(
DeclaredType
.Type, TypeCompareKind.AllIgnoreOptions));
BoundTree\BoundNode_Source.cs (1)
442
append(declarationPattern.
DeclaredType
.Type.Name);
FlowAnalysis\NullableWalker_Patterns.cs (1)
72
Visit(node.
DeclaredType
);
Generated\BoundNodes.xml.Generated.cs (5)
8145
if (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))
10736
this.Visit(node.
DeclaredType
);
12253
BoundTypeExpression declaredType = (BoundTypeExpression)this.Visit(node.
DeclaredType
);
14912
BoundTypeExpression declaredType = (BoundTypeExpression)this.Visit(node.
DeclaredType
);
17100
new TreeDumperNode("declaredType", null, new TreeDumperNode[] { Visit(node.
DeclaredType
, null) }),
Operations\CSharpOperationFactory.cs (1)
2538
ITypeSymbol? matchedType = acceptsNull ? null : boundDeclarationPattern.
DeclaredType
.GetPublicTypeSymbol();