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