1 write to _handle
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
300
_handle
= handle;
45 references to _handle
Microsoft.CodeAnalysis.CSharp (45)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (45)
115
if (this.ContainingPEModule.HasAnyCustomAttributes(
_handle
))
424
return
_handle
;
430
get { return MetadataTokens.GetToken(
_handle
); }
445
uncommon.lazyHasInterpolatedStringHandlerAttribute = ContainingPEModule.Module.HasInterpolatedStringHandlerAttribute(
_handle
).ToThreeState();
464
uncommon.lazyHasEmbeddedAttribute = ContainingPEModule.Module.HasCodeAnalysisEmbeddedAttribute(
_handle
).ToThreeState();
519
TypeSymbol decodedType = DynamicTypeDecoder.TransformType(baseType, 0,
_handle
, moduleSymbol);
520
decodedType = NativeIntegerTypeDecoder.TransformType(decodedType,
_handle
, moduleSymbol, this);
521
decodedType = TupleTypeDecoder.DecodeTupleTypesIfApplicable(decodedType,
_handle
, moduleSymbol);
522
baseType = (NamedTypeSymbol)NullableTypeDecoder.TransformType(TypeWithAnnotations.Create(decodedType),
_handle
, moduleSymbol, accessSymbol: this, nullableContext: this).Type;
548
EntityHandle token = moduleSymbol.Module.GetBaseTypeOfTypeOrThrow(
_handle
);
568
var interfaceImpls = moduleSymbol.Module.GetInterfaceImplementationsOrThrow(
_handle
);
749
value = ContainingPEModule.Module.HasNullableContextAttribute(
_handle
, out byte arg) ?
782
foreach (var methodDef in module.GetMethodsOfTypeOrThrow(
_handle
))
797
foreach (var propertyDef in module.GetPropertiesOfTypeOrThrow(
_handle
))
812
foreach (var eventDef in module.GetEventsOfTypeOrThrow(
_handle
))
827
foreach (var fieldDef in module.GetFieldsOfTypeOrThrow(
_handle
))
893
var hasRequiredMemberAttribute = ContainingPEModule.Module.HasAttribute(
_handle
, AttributeDescription.RequiredMemberAttribute);
923
foreach (var fieldDef in module.GetFieldsOfTypeOrThrow(
_handle
))
1043
foreach (var handle in this.ContainingPEModule.Module.GetFieldsOfTypeOrThrow(
_handle
))
1103
foreach (var methodDef in module.GetMethodsOfTypeOrThrow(
_handle
))
1210
foreach (var fieldDef in module.GetFieldsOfTypeOrThrow(
_handle
))
1294
foreach (var fieldDef in module.GetFieldsOfTypeOrThrow(
_handle
))
1734
bool moduleHasExtension = module.HasExtensionAttribute(
_handle
, ignoreCase: false);
1869
nestedTypeDefs = module.GetNestedTypeDefsOrThrow(
_handle
);
1948
foreach (var fieldRid in module.GetFieldsOfTypeOrThrow(
_handle
))
1993
foreach (var methodHandle in module.GetMethodsOfTypeOrThrow(
_handle
))
1995
if (isOrdinaryEmbeddableStruct || module.ShouldImportMethod(
_handle
, methodHandle, moduleSymbol.ImportOptions))
2016
foreach (var propertyDef in module.GetPropertiesOfTypeOrThrow(
_handle
))
2022
PEMethodSymbol getMethod = GetAccessorMethod(module, methodHandleToSymbol,
_handle
, methods.Getter);
2023
PEMethodSymbol setMethod = GetAccessorMethod(module, methodHandleToSymbol,
_handle
, methods.Setter);
2048
foreach (var eventRid in module.GetEventsOfTypeOrThrow(
_handle
))
2055
PEMethodSymbol addMethod = GetAccessorMethod(module, methodHandleToSymbol,
_handle
, methods.Adder);
2056
PEMethodSymbol removeMethod = GetAccessorMethod(module, methodHandleToSymbol,
_handle
, methods.Remover);
2127
if (this.ContainingPEModule.Module.HasRequiredAttributeAttribute(
_handle
))
2209
this.ContainingPEModule.Module.HasDefaultMemberAttribute(
_handle
, out defaultMemberName);
2244
return ContainingPEModule.Module.HasGuidAttribute(
_handle
, out guidString);
2251
return this.ContainingPEModule.Module.GetTypeLayout(
_handle
);
2296
isByRefLike = module.HasIsByRefLikeAttribute(
_handle
).ToThreeState();
2324
isReadOnly = module.HasIsReadOnlyAttribute(
_handle
).ToThreeState();
2381
ImmutableArray<string> conditionalSymbols = this.ContainingPEModule.Module.GetConditionalAttributeValues(
_handle
);
2400
ObsoleteAttributeHelpers.InitializeObsoleteDataFromMetadata(ref uncommon.lazyObsoleteAttributeData,
_handle
, ContainingPEModule, ignoreByRefLikeMarker, ignoreRequiredMemberMarker: false);
2423
if (this.ContainingPEModule.Module.HasAttributeUsageAttribute(
_handle
, new MetadataDecoder(ContainingPEModule), out AttributeUsageInfo info))
2483
if (this.ContainingPEModule.Module.HasInlineArrayAttribute(
_handle
, out length) && length > 0)
2525
if (ContainingPEModule.Module.HasCollectionBuilderAttribute(
_handle
, out string builderTypeName, out string methodName))
2757
var nestedType = Create(this.ContainingPEModule, (PENamespaceSymbol)this.ContainingNamespace,
_handle
, null);