1 write to AliasOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
1075this.AliasOpt = aliasOpt;
9 references to AliasOpt
Microsoft.CodeAnalysis.CSharp (9)
Binder\Binder_Operators.cs (1)
3281diagnostics.Add(ErrorCode.WRN_IsTypeNamedUnderscore, node.Right.Location, typeExpression.AliasOpt ?? (Symbol)targetType);
BoundTree\BoundExpression.cs (1)
272get { return this.AliasOpt ?? (Symbol)this.Type; }
CodeGen\Optimizer.cs (1)
2263if (receiverOpt is BoundTypeExpression { AliasOpt: null, BoundContainingTypeOpt: null, BoundDimensionsOpt: { IsEmpty: true }, Type: { TypeKind: TypeKind.TypeParameter } } typeExpression)
Compilation\CSharpSemanticModel.cs (1)
3406var typeSymbol = boundType.AliasOpt ?? (Symbol)boundType.Type;
Generated\BoundNodes.xml.Generated.cs (5)
1092if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(aliasOpt, this.AliasOpt) || boundContainingTypeOpt != this.BoundContainingTypeOpt || boundDimensionsOpt != this.BoundDimensionsOpt || typeWithAnnotations != this.TypeWithAnnotations || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 10954return node.Update(node.AliasOpt, boundContainingTypeOpt, boundDimensionsOpt, node.TypeWithAnnotations, type); 12510updatedNode = node.Update(node.AliasOpt, boundContainingTypeOpt, boundDimensionsOpt, node.TypeWithAnnotations, infoAndType.Type!); 12515updatedNode = node.Update(node.AliasOpt, boundContainingTypeOpt, boundDimensionsOpt, node.TypeWithAnnotations, node.Type); 15168new TreeDumperNode("aliasOpt", node.AliasOpt, null),