1 write to _handle
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
316
_handle
= handle;
47 references to _handle
Microsoft.CodeAnalysis.CSharp (47)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (47)
117
if (this.ContainingPEModule.HasAnyCustomAttributes(
_handle
))
600
return
_handle
;
606
get { return MetadataTokens.GetToken(
_handle
); }
621
uncommon.lazyHasInterpolatedStringHandlerAttribute = ContainingPEModule.Module.HasInterpolatedStringHandlerAttribute(
_handle
).ToThreeState();
640
uncommon.lazyHasEmbeddedAttribute = ContainingPEModule.Module.HasCodeAnalysisEmbeddedAttribute(
_handle
).ToThreeState();
659
uncommon.lazyHasCompilerLoweringPreserveAttribute = ContainingPEModule.Module.HasCompilerLoweringPreserveAttribute(
_handle
).ToThreeState();
714
TypeSymbol decodedType = DynamicTypeDecoder.TransformType(baseType, 0,
_handle
, moduleSymbol);
715
decodedType = NativeIntegerTypeDecoder.TransformType(decodedType,
_handle
, moduleSymbol, this);
716
decodedType = TupleTypeDecoder.DecodeTupleTypesIfApplicable(decodedType,
_handle
, moduleSymbol);
717
baseType = (NamedTypeSymbol)NullableTypeDecoder.TransformType(TypeWithAnnotations.Create(decodedType),
_handle
, moduleSymbol, accessSymbol: this, nullableContext: this).Type;
743
EntityHandle token = moduleSymbol.Module.GetBaseTypeOfTypeOrThrow(
_handle
);
763
var interfaceImpls = moduleSymbol.Module.GetInterfaceImplementationsOrThrow(
_handle
);
944
value = ContainingPEModule.Module.HasNullableContextAttribute(
_handle
, out byte arg) ?
977
foreach (var methodDef in module.GetMethodsOfTypeOrThrow(
_handle
))
992
foreach (var propertyDef in module.GetPropertiesOfTypeOrThrow(
_handle
))
1007
foreach (var eventDef in module.GetEventsOfTypeOrThrow(
_handle
))
1022
foreach (var fieldDef in module.GetFieldsOfTypeOrThrow(
_handle
))
1088
var hasRequiredMemberAttribute = ContainingPEModule.Module.HasAttribute(
_handle
, AttributeDescription.RequiredMemberAttribute);
1118
foreach (var fieldDef in module.GetFieldsOfTypeOrThrow(
_handle
))
1238
foreach (var handle in this.ContainingPEModule.Module.GetFieldsOfTypeOrThrow(
_handle
))
1298
foreach (var methodDef in module.GetMethodsOfTypeOrThrow(
_handle
))
1405
foreach (var fieldDef in module.GetFieldsOfTypeOrThrow(
_handle
))
1489
foreach (var fieldDef in module.GetFieldsOfTypeOrThrow(
_handle
))
1929
bool moduleHasExtension = module.HasExtensionAttribute(
_handle
, ignoreCase: false);
2041
foreach (var methodHandle in module.GetMethodsOfTypeOrThrow(
_handle
))
2127
nestedTypeDefs = module.GetNestedTypeDefsOrThrow(
_handle
);
2206
foreach (var fieldRid in module.GetFieldsOfTypeOrThrow(
_handle
))
2254
foreach (var methodHandle in module.GetMethodsOfTypeOrThrow(
_handle
))
2256
if (isOrdinaryEmbeddableStruct || module.ShouldImportMethod(
_handle
, methodHandle, moduleSymbol.ImportOptions) ||
2278
foreach (var propertyDef in module.GetPropertiesOfTypeOrThrow(
_handle
))
2284
PEMethodSymbol getMethod = GetAccessorMethod(module, methodHandleToSymbol,
_handle
, methods.Getter);
2285
PEMethodSymbol setMethod = GetAccessorMethod(module, methodHandleToSymbol,
_handle
, methods.Setter);
2310
foreach (var eventRid in module.GetEventsOfTypeOrThrow(
_handle
))
2317
PEMethodSymbol addMethod = GetAccessorMethod(module, methodHandleToSymbol,
_handle
, methods.Adder);
2318
PEMethodSymbol removeMethod = GetAccessorMethod(module, methodHandleToSymbol,
_handle
, methods.Remover);
2389
if (this.ContainingPEModule.Module.HasRequiredAttributeAttribute(
_handle
))
2471
this.ContainingPEModule.Module.HasDefaultMemberAttribute(
_handle
, out defaultMemberName);
2506
return ContainingPEModule.Module.HasGuidAttribute(
_handle
, out guidString);
2513
return this.ContainingPEModule.Module.GetTypeLayout(
_handle
);
2558
isByRefLike = module.HasIsByRefLikeAttribute(
_handle
).ToThreeState();
2589
isReadOnly = module.HasIsReadOnlyAttribute(
_handle
).ToThreeState();
2646
ImmutableArray<string> conditionalSymbols = this.ContainingPEModule.Module.GetConditionalAttributeValues(
_handle
);
2665
ObsoleteAttributeHelpers.InitializeObsoleteDataFromMetadata(ref uncommon.lazyObsoleteAttributeData,
_handle
, ContainingPEModule, ignoreByRefLikeMarker, ignoreRequiredMemberMarker: false);
2688
if (this.ContainingPEModule.Module.HasAttributeUsageAttribute(
_handle
, new MetadataDecoder(ContainingPEModule), out AttributeUsageInfo info))
2748
if (this.ContainingPEModule.Module.HasInlineArrayAttribute(
_handle
, out length) && length > 0)
2790
if (ContainingPEModule.Module.HasCollectionBuilderAttribute(
_handle
, out string builderTypeName, out string methodName))
3022
var nestedType = Create(this.ContainingPEModule, (PENamespaceSymbol)this.ContainingNamespace,
_handle
, null);