1 write to DeclaredTypeOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
3408
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)
3425
if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(localSymbol, this.LocalSymbol) || declaredTypeOpt != this.
DeclaredTypeOpt
|| initializerOpt != this.InitializerOpt || argumentsOpt != this.ArgumentsOpt || inferredType != this.InferredType)
10092
this.Visit(node.
DeclaredTypeOpt
);
11302
BoundTypeExpression? declaredTypeOpt = (BoundTypeExpression?)this.Visit(node.
DeclaredTypeOpt
);
13378
BoundTypeExpression? declaredTypeOpt = (BoundTypeExpression?)this.Visit(node.
DeclaredTypeOpt
);
15734
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
;