1 write to DeclaredType
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8120
this.
DeclaredType
= declaredType;
11 references to DeclaredType
Microsoft.CodeAnalysis.CSharp (11)
Binder\DecisionDagBuilder.cs (1)
397
TypeSymbol? type = declaration.
DeclaredType
?.Type;
Binder\RefSafetyAnalysis.cs (1)
567
using var _ = new PatternInput(this, getDeclarationValEscape(node.
DeclaredType
, _patternInputValEscape));
BoundTree\BoundDeclarationPattern.cs (2)
13
Debug.Assert(
DeclaredType
is null ?
15
NarrowedType.Equals(
DeclaredType
.Type, TypeCompareKind.AllIgnoreOptions));
FlowAnalysis\NullableWalker_Patterns.cs (1)
72
Visit(node.
DeclaredType
);
Generated\BoundNodes.xml.Generated.cs (5)
8136
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))
10726
this.Visit(node.
DeclaredType
);
12105
BoundTypeExpression declaredType = (BoundTypeExpression)this.Visit(node.
DeclaredType
);
14767
BoundTypeExpression declaredType = (BoundTypeExpression)this.Visit(node.
DeclaredType
);
16962
new TreeDumperNode("declaredType", null, new TreeDumperNode[] { Visit(node.
DeclaredType
, null) }),
Operations\CSharpOperationFactory.cs (1)
2547
ITypeSymbol? matchedType = acceptsNull ? null : boundDeclarationPattern.
DeclaredType
.GetPublicTypeSymbol();