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