1 write to _handle
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
332
_handle
= handle;
50 references to _handle
Microsoft.CodeAnalysis.CSharp (50)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (50)
117
if (this.ContainingPEModule.HasAnyCustomAttributes(
_handle
))
632
return
_handle
;
638
get { return MetadataTokens.GetToken(
_handle
); }
653
uncommon.lazyHasInterpolatedStringHandlerAttribute = ContainingPEModule.Module.HasInterpolatedStringHandlerAttribute(
_handle
).ToThreeState();
672
uncommon.lazyHasEmbeddedAttribute = ContainingPEModule.Module.HasCodeAnalysisEmbeddedAttribute(
_handle
).ToThreeState();
691
uncommon.lazyHasCompilerLoweringPreserveAttribute = ContainingPEModule.Module.HasCompilerLoweringPreserveAttribute(
_handle
).ToThreeState();
710
uncommon.lazyHasUnionAttribute = ContainingPEModule.Module.FindTargetAttribute(
_handle
, AttributeDescription.UnionAttribute).HasValue.ToThreeState();
765
TypeSymbol decodedType = DynamicTypeDecoder.TransformType(baseType, 0,
_handle
, moduleSymbol);
766
decodedType = NativeIntegerTypeDecoder.TransformType(decodedType,
_handle
, moduleSymbol, this);
767
decodedType = TupleTypeDecoder.DecodeTupleTypesIfApplicable(decodedType,
_handle
, moduleSymbol);
768
baseType = (NamedTypeSymbol)NullableTypeDecoder.TransformType(TypeWithAnnotations.Create(decodedType),
_handle
, moduleSymbol, accessSymbol: this, nullableContext: this).Type;
794
EntityHandle token = moduleSymbol.Module.GetBaseTypeOfTypeOrThrow(
_handle
);
814
var interfaceImpls = moduleSymbol.Module.GetInterfaceImplementationsOrThrow(
_handle
);
980
if (!containingModule.TryGetNonEmptyCustomAttributes(
_handle
, out var customAttributeHandles))
1032
value = ContainingPEModule.Module.HasNullableContextAttribute(
_handle
, out byte arg) ?
1065
foreach (var methodDef in module.GetMethodsOfTypeOrThrow(
_handle
))
1080
foreach (var propertyDef in module.GetPropertiesOfTypeOrThrow(
_handle
))
1095
foreach (var eventDef in module.GetEventsOfTypeOrThrow(
_handle
))
1110
foreach (var fieldDef in module.GetFieldsOfTypeOrThrow(
_handle
))
1176
var hasRequiredMemberAttribute = ContainingPEModule.Module.HasAttribute(
_handle
, AttributeDescription.RequiredMemberAttribute);
1206
foreach (var fieldDef in module.GetFieldsOfTypeOrThrow(
_handle
))
1326
foreach (var handle in this.ContainingPEModule.Module.GetFieldsOfTypeOrThrow(
_handle
))
1386
foreach (var methodDef in module.GetMethodsOfTypeOrThrow(
_handle
))
1493
foreach (var fieldDef in module.GetFieldsOfTypeOrThrow(
_handle
))
1577
foreach (var fieldDef in module.GetFieldsOfTypeOrThrow(
_handle
))
2042
bool moduleHasExtension = module.HasExtensionAttribute(
_handle
, ignoreCase: false);
2138
foreach (var methodHandle in module.GetMethodsOfTypeOrThrow(
_handle
))
2231
nestedTypeDefs = module.GetNestedTypeDefsOrThrow(
_handle
);
2240
module.HasExtensionAttribute(
_handle
, ignoreCase: false) && !this.IsGenericType;
2368
foreach (var fieldRid in module.GetFieldsOfTypeOrThrow(
_handle
))
2414
foreach (var methodHandle in module.GetMethodsOfTypeOrThrow(isExtension ? _lazyUncommonProperties.extensionInfo.GroupingTypeSymbol.Handle :
_handle
))
2416
if (isOrdinaryEmbeddableStruct || module.ShouldImportMethod(
_handle
, methodHandle, moduleSymbol.ImportOptions))
2445
foreach (var propertyDef in module.GetPropertiesOfTypeOrThrow(isExtension ? _lazyUncommonProperties.extensionInfo.GroupingTypeSymbol.Handle :
_handle
))
2458
PEMethodSymbol getMethod = GetAccessorMethod(module, methodHandleToSymbol,
_handle
, methods.Getter);
2459
PEMethodSymbol setMethod = GetAccessorMethod(module, methodHandleToSymbol,
_handle
, methods.Setter);
2490
foreach (var eventRid in module.GetEventsOfTypeOrThrow(
_handle
))
2497
PEMethodSymbol addMethod = GetAccessorMethod(module, methodHandleToSymbol,
_handle
, methods.Adder);
2498
PEMethodSymbol removeMethod = GetAccessorMethod(module, methodHandleToSymbol,
_handle
, methods.Remover);
2569
if (this.ContainingPEModule.Module.HasRequiredAttributeAttribute(
_handle
))
2651
this.ContainingPEModule.Module.HasDefaultMemberAttribute(
_handle
, out defaultMemberName);
2686
return ContainingPEModule.Module.HasGuidAttribute(
_handle
, out guidString);
2693
return this.ContainingPEModule.Module.GetTypeLayout(
_handle
);
2738
isByRefLike = module.HasIsByRefLikeAttribute(
_handle
).ToThreeState();
2787
isReadOnly = module.HasIsReadOnlyAttribute(
_handle
).ToThreeState();
2844
ImmutableArray<string> conditionalSymbols = this.ContainingPEModule.Module.GetConditionalAttributeValues(
_handle
);
2863
ObsoleteAttributeHelpers.InitializeObsoleteDataFromMetadata(ref uncommon.lazyObsoleteAttributeData,
_handle
, ContainingPEModule, ignoreByRefLikeMarker, ignoreRequiredMemberMarker: false);
2886
if (this.ContainingPEModule.Module.HasAttributeUsageAttribute(
_handle
, new MetadataDecoder(ContainingPEModule), out AttributeUsageInfo info))
2946
if (this.ContainingPEModule.Module.HasInlineArrayAttribute(
_handle
, out length) && length > 0)
2988
if (ContainingPEModule.Module.HasCollectionBuilderAttribute(
_handle
, out string builderTypeName, out string methodName))
3230
var nestedType = Create(this.ContainingPEModule, (PENamespaceSymbol)this.ContainingNamespace,
_handle
, null);