1 write to _handle
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
337_handle = handle;
51 references to _handle
Microsoft.CodeAnalysis.CSharp (51)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (51)
117if (this.ContainingPEModule.HasAnyCustomAttributes(_handle)) 637return _handle; 643get { return MetadataTokens.GetToken(_handle); } 658uncommon.lazyHasInterpolatedStringHandlerAttribute = ContainingPEModule.Module.HasInterpolatedStringHandlerAttribute(_handle).ToThreeState(); 677uncommon.lazyHasEmbeddedAttribute = ContainingPEModule.Module.HasCodeAnalysisEmbeddedAttribute(_handle).ToThreeState(); 696uncommon.lazyHasCompilerLoweringPreserveAttribute = ContainingPEModule.Module.HasCompilerLoweringPreserveAttribute(_handle).ToThreeState(); 715uncommon.lazyHasUnionAttribute = ContainingPEModule.Module.FindTargetAttribute(_handle, AttributeDescription.UnionAttribute).HasValue.ToThreeState(); 770TypeSymbol decodedType = DynamicTypeDecoder.TransformType(baseType, 0, _handle, moduleSymbol); 771decodedType = NativeIntegerTypeDecoder.TransformType(decodedType, _handle, moduleSymbol, this); 772decodedType = TupleTypeDecoder.DecodeTupleTypesIfApplicable(decodedType, _handle, moduleSymbol); 773baseType = (NamedTypeSymbol)NullableTypeDecoder.TransformType(TypeWithAnnotations.Create(decodedType), _handle, moduleSymbol, accessSymbol: this, nullableContext: this).Type; 799EntityHandle token = moduleSymbol.Module.GetBaseTypeOfTypeOrThrow(_handle); 819var interfaceImpls = moduleSymbol.Module.GetInterfaceImplementationsOrThrow(_handle); 992if (!containingModule.TryGetNonEmptyCustomAttributes(_handle, out var customAttributeHandles)) 1050value = ContainingPEModule.Module.HasNullableContextAttribute(_handle, out byte arg) ? 1083foreach (var methodDef in module.GetMethodsOfTypeOrThrow(_handle)) 1098foreach (var propertyDef in module.GetPropertiesOfTypeOrThrow(_handle)) 1113foreach (var eventDef in module.GetEventsOfTypeOrThrow(_handle)) 1128foreach (var fieldDef in module.GetFieldsOfTypeOrThrow(_handle)) 1194var hasRequiredMemberAttribute = ContainingPEModule.Module.HasAttribute(_handle, AttributeDescription.RequiredMemberAttribute); 1215var hasIsClosedTypeAttribute = ContainingPEModule.Module.HasAttribute(_handle, AttributeDescription.IsClosedTypeAttribute); 1372foreach (var fieldDef in module.GetFieldsOfTypeOrThrow(_handle)) 1492foreach (var handle in this.ContainingPEModule.Module.GetFieldsOfTypeOrThrow(_handle)) 1552foreach (var methodDef in module.GetMethodsOfTypeOrThrow(_handle)) 1659foreach (var fieldDef in module.GetFieldsOfTypeOrThrow(_handle)) 1743foreach (var fieldDef in module.GetFieldsOfTypeOrThrow(_handle)) 2208bool moduleHasExtension = module.HasExtensionAttribute(_handle, ignoreCase: false); 2304foreach (var methodHandle in module.GetMethodsOfTypeOrThrow(_handle)) 2397nestedTypeDefs = module.GetNestedTypeDefsOrThrow(_handle); 2406module.HasExtensionAttribute(_handle, ignoreCase: false) && !this.IsGenericType; 2534foreach (var fieldRid in module.GetFieldsOfTypeOrThrow(_handle)) 2580foreach (var methodHandle in module.GetMethodsOfTypeOrThrow(isExtension ? _lazyUncommonProperties.extensionInfo.GroupingTypeSymbol.Handle : _handle)) 2582if (isOrdinaryEmbeddableStruct || module.ShouldImportMethod(_handle, methodHandle, moduleSymbol.ImportOptions)) 2611foreach (var propertyDef in module.GetPropertiesOfTypeOrThrow(isExtension ? _lazyUncommonProperties.extensionInfo.GroupingTypeSymbol.Handle : _handle)) 2624PEMethodSymbol getMethod = GetAccessorMethod(module, methodHandleToSymbol, _handle, methods.Getter); 2625PEMethodSymbol setMethod = GetAccessorMethod(module, methodHandleToSymbol, _handle, methods.Setter); 2656foreach (var eventRid in module.GetEventsOfTypeOrThrow(_handle)) 2663PEMethodSymbol addMethod = GetAccessorMethod(module, methodHandleToSymbol, _handle, methods.Adder); 2664PEMethodSymbol removeMethod = GetAccessorMethod(module, methodHandleToSymbol, _handle, methods.Remover); 2735if (this.ContainingPEModule.Module.HasRequiredAttributeAttribute(_handle)) 2817this.ContainingPEModule.Module.HasDefaultMemberAttribute(_handle, out defaultMemberName); 2852return ContainingPEModule.Module.HasGuidAttribute(_handle, out guidString); 2859return this.ContainingPEModule.Module.GetTypeLayout(_handle); 2904isByRefLike = module.HasIsByRefLikeAttribute(_handle).ToThreeState(); 2953isReadOnly = module.HasIsReadOnlyAttribute(_handle).ToThreeState(); 3010ImmutableArray<string> conditionalSymbols = this.ContainingPEModule.Module.GetConditionalAttributeValues(_handle); 3029ObsoleteAttributeHelpers.InitializeObsoleteDataFromMetadata(ref uncommon.lazyObsoleteAttributeData, _handle, ContainingPEModule, ignoreByRefLikeMarker, ignoreRequiredMemberMarker: false); 3052if (this.ContainingPEModule.Module.HasAttributeUsageAttribute(_handle, new MetadataDecoder(ContainingPEModule), out AttributeUsageInfo info)) 3112if (this.ContainingPEModule.Module.HasInlineArrayAttribute(_handle, out length) && length > 0) 3154if (ContainingPEModule.Module.HasCollectionBuilderAttribute(_handle, out string builderTypeName, out string methodName)) 3396var nestedType = Create(this.ContainingPEModule, (PENamespaceSymbol)this.ContainingNamespace, _handle, null);