1 write to _underlyingType
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Wrapped\WrappedNamedTypeSymbol.cs (1)
34
_underlyingType
= underlyingType;
94 references to _underlyingType
Microsoft.CodeAnalysis.CSharp (94)
Symbols\NativeIntegerTypeSymbol.cs (12)
42
public override Symbol ContainingSymbol =>
_underlyingType
.ContainingSymbol;
46
internal override bool IsComImport =>
_underlyingType
.IsComImport;
48
internal override NamedTypeSymbol BaseTypeNoUseSiteDiagnostics =>
_underlyingType
.BaseTypeNoUseSiteDiagnostics;
50
public override ExtendedSpecialType ExtendedSpecialType =>
_underlyingType
.ExtendedSpecialType;
73
ImmutableInterlocked.InterlockedInitialize(ref _lazyMembers, makeMembers(
_underlyingType
.GetMembers()));
82
Debug.Assert(
_underlyingType
.Equals(underlyingMember.ContainingSymbol));
148
internal override NamedTypeSymbol GetDeclaredBaseType(ConsList<TypeSymbol> basesBeingResolved) =>
_underlyingType
.GetDeclaredBaseType(basesBeingResolved);
166
var useSiteInfo =
_underlyingType
.GetUseSiteInfo();
177
internal sealed override NamedTypeSymbol NativeIntegerUnderlyingType =>
_underlyingType
;
197
if (!
_underlyingType
.Equals(other, comparison))
206
public override int GetHashCode() =>
_underlyingType
.GetHashCode();
220
var interfaces =
_underlyingType
.InterfacesNoUseSiteDiagnostics(basesBeingResolved).SelectAsArray((type, map) => map.SubstituteNamedType(type), GetTypeMap());
Symbols\Retargeting\RetargetingNamedTypeSymbol.cs (39)
52
return new RetargetingNamedTypeSymbol(_retargetingModule,
_underlyingType
, newData);
76
this.RetargetingTranslator.Retarget(
_underlyingType
.TypeParameters), default(ImmutableArray<TypeParameterSymbol>));
105
var underlying =
_underlyingType
.EnumUnderlyingType;
114
return
_underlyingType
.MemberNames;
118
internal override bool HasDeclaredRequiredMembers =>
_underlyingType
.HasDeclaredRequiredMembers;
122
return this.RetargetingTranslator.Retarget(
_underlyingType
.GetMembers());
127
return this.RetargetingTranslator.Retarget(
_underlyingType
.GetMembersUnordered());
132
return this.RetargetingTranslator.Retarget(
_underlyingType
.GetMembers(name));
137
foreach (FieldSymbol f in
_underlyingType
.GetFieldsToEmit())
145
bool isInterface =
_underlyingType
.IsInterfaceType();
147
foreach (MethodSymbol method in
_underlyingType
.GetMethodsToEmit())
170
foreach (PropertySymbol p in
_underlyingType
.GetPropertiesToEmit())
178
foreach (EventSymbol e in
_underlyingType
.GetEventsToEmit())
186
return this.RetargetingTranslator.Retarget(
_underlyingType
.GetEarlyAttributeDecodingMembers());
191
return this.RetargetingTranslator.Retarget(
_underlyingType
.GetEarlyAttributeDecodingMembers(name));
196
return this.RetargetingTranslator.Retarget(
_underlyingType
.GetTypeMembersUnordered());
201
return this.RetargetingTranslator.Retarget(
_underlyingType
.GetTypeMembers());
206
return this.RetargetingTranslator.Retarget(
_underlyingType
.GetTypeMembers(name));
211
return this.RetargetingTranslator.Retarget(
_underlyingType
.GetTypeMembers(name, arity));
218
return this.RetargetingTranslator.Retarget(
_underlyingType
.ContainingSymbol);
224
return this.RetargetingTranslator.GetRetargetedAttributes(
_underlyingType
.GetAttributes(), ref _lazyCustomAttributes);
229
return this.RetargetingTranslator.RetargetAttributes(
_underlyingType
.GetCustomAttributesToEmit(moduleBuilder));
252
NamedTypeSymbol? underlyingResult =
_underlyingType
.LookupMetadataType(ref typeName);
260
Debug.Assert((object)
_underlyingType
== underlyingResult.ContainingSymbol);
284
var underlyingBase =
_underlyingType
.BaseTypeNoUseSiteDiagnostics;
325
return this.RetargetingTranslator.Retarget(
_underlyingType
.GetInterfacesToEmit());
332
var underlyingBase =
_underlyingType
.GetDeclaredBaseType(basesBeingResolved);
344
var underlyingBaseInterfaces =
_underlyingType
.GetDeclaredInterfaces(basesBeingResolved);
367
NamedTypeSymbol coClass =
_underlyingType
.ComImportCoClass;
374
get { return
_underlyingType
.IsComImport; }
387
internal override bool IsFileLocal =>
_underlyingType
.IsFileLocal;
388
internal override FileIdentifier AssociatedFileIdentifier =>
_underlyingType
.AssociatedFileIdentifier;
394
internal sealed override bool IsRecord =>
_underlyingType
.IsRecord;
395
internal sealed override bool IsRecordStruct =>
_underlyingType
.IsRecordStruct;
396
internal sealed override bool HasPossibleWellKnownCloneMethod() =>
_underlyingType
.HasPossibleWellKnownCloneMethod();
400
foreach ((MethodSymbol body, MethodSymbol implemented) in
_underlyingType
.SynthesizedInterfaceMethodImpls())
414
return
_underlyingType
.HasInlineArrayAttribute(out length);
420
bool result =
_underlyingType
.HasCollectionBuilderAttribute(out builderType, out methodName);
430
if (
_underlyingType
.HasAsyncMethodBuilderAttribute(out builderArgument))
Symbols\SubstitutedNamedTypeSymbol.cs (9)
142
get { return
_underlyingType
; }
444
return
_underlyingType
.HasCollectionBuilderAttribute(out builderType, out methodName);
449
return
_underlyingType
.HasAsyncMethodBuilderAttribute(out builderArgument);
473
internal sealed override bool IsFileLocal =>
_underlyingType
.IsFileLocal;
474
internal sealed override FileIdentifier AssociatedFileIdentifier =>
_underlyingType
.AssociatedFileIdentifier;
480
internal sealed override bool IsRecord =>
_underlyingType
.IsRecord;
481
internal sealed override bool IsRecordStruct =>
_underlyingType
.IsRecordStruct;
482
internal sealed override bool HasPossibleWellKnownCloneMethod() =>
_underlyingType
.HasPossibleWellKnownCloneMethod();
486
return
_underlyingType
.HasInlineArrayAttribute(out length);
Symbols\Wrapped\WrappedNamedTypeSymbol.cs (34)
41
return
_underlyingType
;
47
get { return
_underlyingType
.IsImplicitlyDeclared; }
54
return
_underlyingType
.Arity;
62
return
_underlyingType
.MightContainExtensionMethods;
70
return
_underlyingType
.Name;
78
return
_underlyingType
.MetadataName;
86
return
_underlyingType
.HasSpecialName;
94
return
_underlyingType
.MangleName;
100
return
_underlyingType
.GetDocumentationCommentXml(preferredCulture, expandIncludes, cancellationToken);
107
return
_underlyingType
.DeclaredAccessibility;
115
return
_underlyingType
.TypeKind;
123
return
_underlyingType
.IsInterface;
136
return
_underlyingType
.Locations;
149
return
_underlyingType
.DeclaringSyntaxReferences;
157
return
_underlyingType
.IsStatic;
165
return
_underlyingType
.IsAbstract;
173
return
_underlyingType
.IsMetadataAbstract;
181
return
_underlyingType
.IsSealed;
189
return
_underlyingType
.IsMetadataSealed;
193
internal override bool HasCodeAnalysisEmbeddedAttribute =>
_underlyingType
.HasCodeAnalysisEmbeddedAttribute;
195
internal override bool IsInterpolatedStringHandlerType =>
_underlyingType
.IsInterpolatedStringHandlerType;
199
get { return
_underlyingType
.ObsoleteAttributeData; }
204
get { return
_underlyingType
.ShouldAddWinRTMembers; }
209
get { return
_underlyingType
.IsWindowsRuntimeImport; }
214
get { return
_underlyingType
.Layout; }
219
get { return
_underlyingType
.MarshallingCharSet; }
224
get { return
_underlyingType
.IsSerializable; }
229
get { return
_underlyingType
.IsRefLikeType; }
234
get { return
_underlyingType
.IsReadOnly; }
239
get { return
_underlyingType
.HasDeclarativeSecurity; }
244
return
_underlyingType
.GetSecurityInformation();
249
return
_underlyingType
.GetAppliedConditionalSymbols();
254
return
_underlyingType
.GetAttributeUsageInfo();
259
return
_underlyingType
.GetGuidString(out guidString);