1 write to _handle
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
296
_handle
= handle;
43 references to _handle
Microsoft.CodeAnalysis.CSharp (43)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (43)
113
if (this.ContainingPEModule.HasAnyCustomAttributes(
_handle
))
411
return
_handle
;
417
get { return MetadataTokens.GetToken(
_handle
); }
432
uncommon.lazyHasInterpolatedStringHandlerAttribute = ContainingPEModule.Module.HasInterpolatedStringHandlerAttribute(
_handle
).ToThreeState();
451
uncommon.lazyHasEmbeddedAttribute = ContainingPEModule.Module.HasCodeAnalysisEmbeddedAttribute(
_handle
).ToThreeState();
506
TypeSymbol decodedType = DynamicTypeDecoder.TransformType(baseType, 0,
_handle
, moduleSymbol);
507
decodedType = NativeIntegerTypeDecoder.TransformType(decodedType,
_handle
, moduleSymbol, this);
508
decodedType = TupleTypeDecoder.DecodeTupleTypesIfApplicable(decodedType,
_handle
, moduleSymbol);
509
baseType = (NamedTypeSymbol)NullableTypeDecoder.TransformType(TypeWithAnnotations.Create(decodedType),
_handle
, moduleSymbol, accessSymbol: this, nullableContext: this).Type;
535
EntityHandle token = moduleSymbol.Module.GetBaseTypeOfTypeOrThrow(
_handle
);
555
var interfaceImpls = moduleSymbol.Module.GetInterfaceImplementationsOrThrow(
_handle
);
736
value = ContainingPEModule.Module.HasNullableContextAttribute(
_handle
, out byte arg) ?
769
foreach (var methodDef in module.GetMethodsOfTypeOrThrow(
_handle
))
784
foreach (var propertyDef in module.GetPropertiesOfTypeOrThrow(
_handle
))
799
foreach (var eventDef in module.GetEventsOfTypeOrThrow(
_handle
))
814
foreach (var fieldDef in module.GetFieldsOfTypeOrThrow(
_handle
))
880
var hasRequiredMemberAttribute = ContainingPEModule.Module.HasAttribute(
_handle
, AttributeDescription.RequiredMemberAttribute);
910
foreach (var fieldDef in module.GetFieldsOfTypeOrThrow(
_handle
))
1030
foreach (var handle in this.ContainingPEModule.Module.GetFieldsOfTypeOrThrow(
_handle
))
1090
foreach (var methodDef in module.GetMethodsOfTypeOrThrow(
_handle
))
1197
foreach (var fieldDef in module.GetFieldsOfTypeOrThrow(
_handle
))
1281
foreach (var fieldDef in module.GetFieldsOfTypeOrThrow(
_handle
))
1721
bool moduleHasExtension = module.HasExtensionAttribute(
_handle
, ignoreCase: false);
1856
nestedTypeDefs = module.GetNestedTypeDefsOrThrow(
_handle
);
1908
foreach (var fieldRid in module.GetFieldsOfTypeOrThrow(
_handle
))
1953
foreach (var methodHandle in module.GetMethodsOfTypeOrThrow(
_handle
))
1955
if (isOrdinaryEmbeddableStruct || module.ShouldImportMethod(
_handle
, methodHandle, moduleSymbol.ImportOptions))
1976
foreach (var propertyDef in module.GetPropertiesOfTypeOrThrow(
_handle
))
1982
PEMethodSymbol getMethod = GetAccessorMethod(module, methodHandleToSymbol,
_handle
, methods.Getter);
1983
PEMethodSymbol setMethod = GetAccessorMethod(module, methodHandleToSymbol,
_handle
, methods.Setter);
2008
foreach (var eventRid in module.GetEventsOfTypeOrThrow(
_handle
))
2015
PEMethodSymbol addMethod = GetAccessorMethod(module, methodHandleToSymbol,
_handle
, methods.Adder);
2016
PEMethodSymbol removeMethod = GetAccessorMethod(module, methodHandleToSymbol,
_handle
, methods.Remover);
2087
if (this.ContainingPEModule.Module.HasRequiredAttributeAttribute(
_handle
))
2169
this.ContainingPEModule.Module.HasDefaultMemberAttribute(
_handle
, out defaultMemberName);
2204
return ContainingPEModule.Module.HasGuidAttribute(
_handle
, out guidString);
2211
return this.ContainingPEModule.Module.GetTypeLayout(
_handle
);
2254
isByRefLike = module.HasIsByRefLikeAttribute(
_handle
).ToThreeState();
2282
isReadOnly = module.HasIsReadOnlyAttribute(
_handle
).ToThreeState();
2339
ImmutableArray<string> conditionalSymbols = this.ContainingPEModule.Module.GetConditionalAttributeValues(
_handle
);
2358
ObsoleteAttributeHelpers.InitializeObsoleteDataFromMetadata(ref uncommon.lazyObsoleteAttributeData,
_handle
, ContainingPEModule, ignoreByRefLikeMarker, ignoreRequiredMemberMarker: false);
2381
var handle = this.ContainingPEModule.Module.GetAttributeUsageAttributeHandle(
_handle
);
2655
var nestedType = Create(this.ContainingPEModule, (PENamespaceSymbol)this.ContainingNamespace,
_handle
, null);