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);
2033
foreach (var methodHandle in module.GetMethodsOfTypeOrThrow(
_handle
))
2119
nestedTypeDefs = module.GetNestedTypeDefsOrThrow(
_handle
);
2198
foreach (var fieldRid in module.GetFieldsOfTypeOrThrow(
_handle
))
2246
foreach (var methodHandle in module.GetMethodsOfTypeOrThrow(
_handle
))
2248
if (isOrdinaryEmbeddableStruct || module.ShouldImportMethod(
_handle
, methodHandle, moduleSymbol.ImportOptions) ||
2270
foreach (var propertyDef in module.GetPropertiesOfTypeOrThrow(
_handle
))
2276
PEMethodSymbol getMethod = GetAccessorMethod(module, methodHandleToSymbol,
_handle
, methods.Getter);
2277
PEMethodSymbol setMethod = GetAccessorMethod(module, methodHandleToSymbol,
_handle
, methods.Setter);
2302
foreach (var eventRid in module.GetEventsOfTypeOrThrow(
_handle
))
2309
PEMethodSymbol addMethod = GetAccessorMethod(module, methodHandleToSymbol,
_handle
, methods.Adder);
2310
PEMethodSymbol removeMethod = GetAccessorMethod(module, methodHandleToSymbol,
_handle
, methods.Remover);
2381
if (this.ContainingPEModule.Module.HasRequiredAttributeAttribute(
_handle
))
2463
this.ContainingPEModule.Module.HasDefaultMemberAttribute(
_handle
, out defaultMemberName);
2498
return ContainingPEModule.Module.HasGuidAttribute(
_handle
, out guidString);
2505
return this.ContainingPEModule.Module.GetTypeLayout(
_handle
);
2550
isByRefLike = module.HasIsByRefLikeAttribute(
_handle
).ToThreeState();
2581
isReadOnly = module.HasIsReadOnlyAttribute(
_handle
).ToThreeState();
2638
ImmutableArray<string> conditionalSymbols = this.ContainingPEModule.Module.GetConditionalAttributeValues(
_handle
);
2657
ObsoleteAttributeHelpers.InitializeObsoleteDataFromMetadata(ref uncommon.lazyObsoleteAttributeData,
_handle
, ContainingPEModule, ignoreByRefLikeMarker, ignoreRequiredMemberMarker: false);
2680
if (this.ContainingPEModule.Module.HasAttributeUsageAttribute(
_handle
, new MetadataDecoder(ContainingPEModule), out AttributeUsageInfo info))
2740
if (this.ContainingPEModule.Module.HasInlineArrayAttribute(
_handle
, out length) && length > 0)
2782
if (ContainingPEModule.Module.HasCollectionBuilderAttribute(
_handle
, out string builderTypeName, out string methodName))
3014
var nestedType = Create(this.ContainingPEModule, (PENamespaceSymbol)this.ContainingNamespace,
_handle
, null);