1 write to DeclaredTypeOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
3407
this.
DeclaredTypeOpt
= declaredTypeOpt;
14 references to DeclaredTypeOpt
Microsoft.CodeAnalysis.CSharp (14)
Binder\RefSafetyAnalysis.cs (1)
495
if (node.
DeclaredTypeOpt
?.Type.IsRefLikeOrAllowsRefLikeType() == true)
Binder\UsingStatementBinder.cs (2)
130
Debug.Assert(!declarationsOpt.IsEmpty && declarationsOpt[0].
DeclaredTypeOpt
!= null);
132
declarationTypeOpt = declarationsOpt[0].
DeclaredTypeOpt
!.Type;
FlowAnalysis\NullableWalker.cs (4)
3481
if (node.
DeclaredTypeOpt
!= null)
3483
VisitTypeExpression(node.
DeclaredTypeOpt
);
3516
if (node.
DeclaredTypeOpt
!= null)
3518
SetAnalyzedNullability(node.
DeclaredTypeOpt
, new VisitResult(type.ToTypeWithState(), type), true);
Generated\BoundNodes.xml.Generated.cs (5)
3424
if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(localSymbol, this.LocalSymbol) || declaredTypeOpt != this.
DeclaredTypeOpt
|| initializerOpt != this.InitializerOpt || argumentsOpt != this.ArgumentsOpt || inferredType != this.InferredType)
10091
this.Visit(node.
DeclaredTypeOpt
);
11301
BoundTypeExpression? declaredTypeOpt = (BoundTypeExpression?)this.Visit(node.
DeclaredTypeOpt
);
13377
BoundTypeExpression? declaredTypeOpt = (BoundTypeExpression?)this.Visit(node.
DeclaredTypeOpt
);
15733
new TreeDumperNode("declaredTypeOpt", null, new TreeDumperNode[] { Visit(node.
DeclaredTypeOpt
, null) }),
Operations\CSharpOperationFactory.cs (2)
526
BoundTypeExpression? declaredTypeOpt = ((BoundLocalDeclaration)declaration).
DeclaredTypeOpt
;
537
BoundTypeExpression? declaredTypeOpt = declarations[0].
DeclaredTypeOpt
;