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