2 overrides of UnderlyingNamedTypeSymbol
Microsoft.CodeAnalysis.CSharp (2)
Symbols\PublicModel\ErrorTypeSymbol.cs (1)
32internal override Symbols.NamedTypeSymbol UnderlyingNamedTypeSymbol => _underlying;
Symbols\PublicModel\NonErrorNamedTypeSymbol.cs (1)
33internal override Symbols.NamedTypeSymbol UnderlyingNamedTypeSymbol => _underlying;
30 references to UnderlyingNamedTypeSymbol
Microsoft.CodeAnalysis.CSharp (30)
SymbolDisplay\SymbolDisplayVisitor.Types.cs (2)
339NamedTypeSymbol? underlyingTypeSymbol = (symbol as Symbols.PublicModel.NamedTypeSymbol)?.UnderlyingNamedTypeSymbol; 516NamedTypeSymbol? underlyingTypeSymbol = (symbol as Symbols.PublicModel.NamedTypeSymbol)?.UnderlyingNamedTypeSymbol;
Symbols\PublicModel\NamedTypeSymbol.cs (28)
28return UnderlyingNamedTypeSymbol.Arity; 36return UnderlyingNamedTypeSymbol.InstanceConstructors.GetPublicSymbols(); 44return UnderlyingNamedTypeSymbol.StaticConstructors.GetPublicSymbols(); 52return UnderlyingNamedTypeSymbol.Constructors.GetPublicSymbols(); 60return UnderlyingNamedTypeSymbol.MemberNames; 68return UnderlyingNamedTypeSymbol.TypeParameters.GetPublicSymbols(); 79ImmutableInterlocked.InterlockedCompareExchange(ref _lazyTypeArguments, UnderlyingNamedTypeSymbol.TypeArgumentsWithAnnotationsNoUseSiteDiagnostics.GetPublicSymbols(), default); 90return UnderlyingNamedTypeSymbol.TypeArgumentsWithAnnotationsNoUseSiteDiagnostics.ToPublicAnnotations(); 96return UnderlyingNamedTypeSymbol.TypeArgumentsWithAnnotationsNoUseSiteDiagnostics[ordinal].CustomModifiers; 103return UnderlyingNamedTypeSymbol.OriginalDefinition.GetPublicSymbol(); 111return UnderlyingNamedTypeSymbol.DelegateInvokeMethod.GetPublicSymbol(); 119return UnderlyingNamedTypeSymbol.EnumUnderlyingType.GetPublicSymbol(); 127return UnderlyingNamedTypeSymbol.ConstructedFrom.GetPublicSymbol(); 133return UnderlyingNamedTypeSymbol.Construct(ConstructTypeArguments(typeArguments), unbound: false).GetPublicSymbol(); 138return UnderlyingNamedTypeSymbol.Construct(ConstructTypeArguments(typeArguments, typeArgumentNullableAnnotations), unbound: false).GetPublicSymbol(); 143return UnderlyingNamedTypeSymbol.ConstructUnboundGenericType().GetPublicSymbol(); 163return UnderlyingNamedTypeSymbol.TupleElements.GetPublicSymbols(); 175var type = UnderlyingNamedTypeSymbol; 183bool INamedTypeSymbol.IsComImport => UnderlyingNamedTypeSymbol.IsComImport; 185bool INamedTypeSymbol.IsGenericType => UnderlyingNamedTypeSymbol.IsGenericType; 187bool INamedTypeSymbol.IsUnboundGenericType => UnderlyingNamedTypeSymbol.IsUnboundGenericType; 189bool INamedTypeSymbol.IsScriptClass => UnderlyingNamedTypeSymbol.IsScriptClass; 191bool INamedTypeSymbol.IsImplicitClass => UnderlyingNamedTypeSymbol.IsImplicitClass; 193bool INamedTypeSymbol.MightContainExtensionMethods => UnderlyingNamedTypeSymbol.MightContainExtensionMethods; 195bool INamedTypeSymbol.IsSerializable => UnderlyingNamedTypeSymbol.IsSerializable; 200UnderlyingNamedTypeSymbol.OriginalDefinition is SourceMemberContainerTypeSymbol 201&& UnderlyingNamedTypeSymbol.IsFileLocal; 203INamedTypeSymbol INamedTypeSymbol.NativeIntegerUnderlyingType => UnderlyingNamedTypeSymbol.NativeIntegerUnderlyingType.GetPublicSymbol();