21 overrides of UnderlyingSymbol
Microsoft.CodeAnalysis.CSharp (21)
Symbols\PublicModel\AliasSymbol.cs (1)
19
internal override CSharp.Symbol
UnderlyingSymbol
=> _underlying;
Symbols\PublicModel\ArrayTypeSymbol.cs (1)
31
internal override CSharp.Symbol
UnderlyingSymbol
=> _underlying;
Symbols\PublicModel\DiscardSymbol.cs (1)
21
internal override CSharp.Symbol
UnderlyingSymbol
=> _underlying;
Symbols\PublicModel\DynamicTypeSymbol.cs (1)
28
internal override CSharp.Symbol
UnderlyingSymbol
=> _underlying;
Symbols\PublicModel\ErrorTypeSymbol.cs (1)
29
internal override CSharp.Symbol
UnderlyingSymbol
=> _underlying;
Symbols\PublicModel\EventSymbol.cs (1)
22
internal override CSharp.Symbol
UnderlyingSymbol
=> _underlying;
Symbols\PublicModel\FieldSymbol.cs (1)
24
internal override CSharp.Symbol
UnderlyingSymbol
=> _underlying;
Symbols\PublicModel\FunctionPointerTypeSymbol.cs (1)
24
internal override CSharp.Symbol
UnderlyingSymbol
=> _underlying;
Symbols\PublicModel\LabelSymbol.cs (1)
19
internal override CSharp.Symbol
UnderlyingSymbol
=> _underlying;
Symbols\PublicModel\LocalSymbol.cs (1)
23
internal override CSharp.Symbol
UnderlyingSymbol
=> _underlying;
Symbols\PublicModel\MethodSymbol.cs (1)
30
internal override CSharp.Symbol
UnderlyingSymbol
=> _underlying;
Symbols\PublicModel\ModuleSymbol.cs (1)
22
internal override CSharp.Symbol
UnderlyingSymbol
=> _underlying;
Symbols\PublicModel\NamespaceSymbol.cs (1)
23
internal override CSharp.Symbol
UnderlyingSymbol
=> _underlying;
Symbols\PublicModel\NonErrorNamedTypeSymbol.cs (1)
30
internal override CSharp.Symbol
UnderlyingSymbol
=> _underlying;
Symbols\PublicModel\NonSourceAssemblySymbol.cs (1)
23
internal override CSharp.Symbol
UnderlyingSymbol
=> _underlying;
Symbols\PublicModel\ParameterSymbol.cs (1)
24
internal override CSharp.Symbol
UnderlyingSymbol
=> _underlying;
Symbols\PublicModel\PointerTypeSymbol.cs (1)
30
internal override CSharp.Symbol
UnderlyingSymbol
=> _underlying;
Symbols\PublicModel\PropertySymbol.cs (1)
24
internal override CSharp.Symbol
UnderlyingSymbol
=> _underlying;
Symbols\PublicModel\RangeVariableSymbol.cs (1)
21
internal override CSharp.Symbol
UnderlyingSymbol
=> _underlying;
Symbols\PublicModel\SourceAssemblySymbol.cs (1)
22
internal override CSharp.Symbol
UnderlyingSymbol
=> _underlying;
Symbols\PublicModel\TypeParameterSymbol.cs (1)
31
internal override CSharp.Symbol
UnderlyingSymbol
=> _underlying;
39 references to UnderlyingSymbol
Microsoft.CodeAnalysis.CSharp (39)
Emitter\EditAndContinue\CSharpDefinitionMap.cs (1)
42
return (symbol as Symbols.PublicModel.Symbol)?.
UnderlyingSymbol
;
Emitter\EditAndContinue\CSharpSymbolChanges.cs (1)
20
return (symbol as Symbols.PublicModel.Symbol)?.
UnderlyingSymbol
;
SymbolDisplay\SymbolDisplayVisitor.Types.cs (2)
179
&& symbol is Symbols.PublicModel.Symbol {
UnderlyingSymbol
: NamedTypeSymbol { } internalSymbol1 }
189
&& symbol is Symbols.PublicModel.Symbol {
UnderlyingSymbol
: NamedTypeSymbol { AssociatedFileIdentifier: { } identifier } internalSymbol2 })
Symbols\PublicModel\NamespaceOrTypeSymbol.cs (2)
38
bool INamespaceOrTypeSymbol.IsNamespace =>
UnderlyingSymbol
.Kind == SymbolKind.Namespace;
40
bool INamespaceOrTypeSymbol.IsType =>
UnderlyingSymbol
.Kind != SymbolKind.Namespace;
Symbols\PublicModel\Symbol.cs (29)
59
return
UnderlyingSymbol
.OriginalDefinition.GetPublicSymbol();
67
return
UnderlyingSymbol
.ContainingSymbol.GetPublicSymbol();
75
return
UnderlyingSymbol
.ContainingType.GetPublicSymbol();
81
return
UnderlyingSymbol
.GetHashCode();
101
return other is object &&
UnderlyingSymbol
.Equals(other.
UnderlyingSymbol
, equalityComparer.CompareKind);
108
return
UnderlyingSymbol
.Locations;
116
return
UnderlyingSymbol
.DeclaringSyntaxReferences;
122
return StaticCast<AttributeData>.From(
UnderlyingSymbol
.GetAttributes());
129
return
UnderlyingSymbol
.DeclaredAccessibility;
156
return
UnderlyingSymbol
.GetDocumentationCommentId();
161
return
UnderlyingSymbol
.GetDocumentationCommentXml(preferredCulture, expandIncludes, cancellationToken);
195
SymbolKind ISymbol.Kind =>
UnderlyingSymbol
.Kind;
199
string ISymbol.Name =>
UnderlyingSymbol
.Name;
201
string ISymbol.MetadataName =>
UnderlyingSymbol
.MetadataName;
203
int ISymbol.MetadataToken =>
UnderlyingSymbol
.MetadataToken;
205
IAssemblySymbol ISymbol.ContainingAssembly =>
UnderlyingSymbol
.ContainingAssembly.GetPublicSymbol();
207
IModuleSymbol ISymbol.ContainingModule =>
UnderlyingSymbol
.ContainingModule.GetPublicSymbol();
209
INamespaceSymbol ISymbol.ContainingNamespace =>
UnderlyingSymbol
.ContainingNamespace.GetPublicSymbol();
211
bool ISymbol.IsDefinition =>
UnderlyingSymbol
.IsDefinition;
215
get { return
UnderlyingSymbol
.IsStatic; }
220
get { return
UnderlyingSymbol
.IsVirtual; }
225
get { return
UnderlyingSymbol
.IsOverride; }
232
return
UnderlyingSymbol
.IsAbstract;
240
return
UnderlyingSymbol
.IsSealed;
244
bool ISymbol.IsExtern =>
UnderlyingSymbol
.IsExtern;
246
bool ISymbol.IsImplicitlyDeclared =>
UnderlyingSymbol
.IsImplicitlyDeclared;
248
bool ISymbol.CanBeReferencedByName =>
UnderlyingSymbol
.CanBeReferencedByName;
250
bool ISymbol.HasUnsupportedMetadata =>
UnderlyingSymbol
.HasUnsupportedMetadata;
Symbols\PublicModel\TypeSymbol.cs (2)
35
return (ITypeSymbol)
UnderlyingSymbol
.ISymbol;
113
? UnderlyingTypeSymbol.FindImplementationForInterfaceMember(symbol.
UnderlyingSymbol
).GetPublicSymbol()
Symbols\SymbolExtensions.cs (2)
398
return csSymbol.
UnderlyingSymbol
;
768
return (TSymbol?)((PublicModel.Symbol?)symbol)?.
UnderlyingSymbol
;