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