1 write to DeclaredTypeOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
3407this.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)
3424if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(localSymbol, this.LocalSymbol) || declaredTypeOpt != this.DeclaredTypeOpt || initializerOpt != this.InitializerOpt || argumentsOpt != this.ArgumentsOpt || inferredType != this.InferredType) 10091this.Visit(node.DeclaredTypeOpt); 11301BoundTypeExpression? declaredTypeOpt = (BoundTypeExpression?)this.Visit(node.DeclaredTypeOpt); 13377BoundTypeExpression? declaredTypeOpt = (BoundTypeExpression?)this.Visit(node.DeclaredTypeOpt); 15733new TreeDumperNode("declaredTypeOpt", null, new TreeDumperNode[] { Visit(node.DeclaredTypeOpt, null) }),
Operations\CSharpOperationFactory.cs (2)
526BoundTypeExpression? declaredTypeOpt = ((BoundLocalDeclaration)declaration).DeclaredTypeOpt; 537BoundTypeExpression? declaredTypeOpt = declarations[0].DeclaredTypeOpt;