1 write to _handle
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
301
_handle
= handle;
46 references to _handle
Microsoft.CodeAnalysis.CSharp (46)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (46)
115
if (this.ContainingPEModule.HasAnyCustomAttributes(
_handle
))
425
return
_handle
;
431
get { return MetadataTokens.GetToken(
_handle
); }
446
uncommon.lazyHasInterpolatedStringHandlerAttribute = ContainingPEModule.Module.HasInterpolatedStringHandlerAttribute(
_handle
).ToThreeState();
465
uncommon.lazyHasEmbeddedAttribute = ContainingPEModule.Module.HasCodeAnalysisEmbeddedAttribute(
_handle
).ToThreeState();
484
uncommon.lazyHasCompilerLoweringPreserveAttribute = ContainingPEModule.Module.HasCompilerLoweringPreserveAttribute(
_handle
).ToThreeState();
539
TypeSymbol decodedType = DynamicTypeDecoder.TransformType(baseType, 0,
_handle
, moduleSymbol);
540
decodedType = NativeIntegerTypeDecoder.TransformType(decodedType,
_handle
, moduleSymbol, this);
541
decodedType = TupleTypeDecoder.DecodeTupleTypesIfApplicable(decodedType,
_handle
, moduleSymbol);
542
baseType = (NamedTypeSymbol)NullableTypeDecoder.TransformType(TypeWithAnnotations.Create(decodedType),
_handle
, moduleSymbol, accessSymbol: this, nullableContext: this).Type;
568
EntityHandle token = moduleSymbol.Module.GetBaseTypeOfTypeOrThrow(
_handle
);
588
var interfaceImpls = moduleSymbol.Module.GetInterfaceImplementationsOrThrow(
_handle
);
769
value = ContainingPEModule.Module.HasNullableContextAttribute(
_handle
, out byte arg) ?
802
foreach (var methodDef in module.GetMethodsOfTypeOrThrow(
_handle
))
817
foreach (var propertyDef in module.GetPropertiesOfTypeOrThrow(
_handle
))
832
foreach (var eventDef in module.GetEventsOfTypeOrThrow(
_handle
))
847
foreach (var fieldDef in module.GetFieldsOfTypeOrThrow(
_handle
))
913
var hasRequiredMemberAttribute = ContainingPEModule.Module.HasAttribute(
_handle
, AttributeDescription.RequiredMemberAttribute);
943
foreach (var fieldDef in module.GetFieldsOfTypeOrThrow(
_handle
))
1063
foreach (var handle in this.ContainingPEModule.Module.GetFieldsOfTypeOrThrow(
_handle
))
1123
foreach (var methodDef in module.GetMethodsOfTypeOrThrow(
_handle
))
1230
foreach (var fieldDef in module.GetFieldsOfTypeOrThrow(
_handle
))
1314
foreach (var fieldDef in module.GetFieldsOfTypeOrThrow(
_handle
))
1754
bool moduleHasExtension = module.HasExtensionAttribute(
_handle
, ignoreCase: false);
1889
nestedTypeDefs = module.GetNestedTypeDefsOrThrow(
_handle
);
1968
foreach (var fieldRid in module.GetFieldsOfTypeOrThrow(
_handle
))
2013
foreach (var methodHandle in module.GetMethodsOfTypeOrThrow(
_handle
))
2015
if (isOrdinaryEmbeddableStruct || module.ShouldImportMethod(
_handle
, methodHandle, moduleSymbol.ImportOptions))
2036
foreach (var propertyDef in module.GetPropertiesOfTypeOrThrow(
_handle
))
2042
PEMethodSymbol getMethod = GetAccessorMethod(module, methodHandleToSymbol,
_handle
, methods.Getter);
2043
PEMethodSymbol setMethod = GetAccessorMethod(module, methodHandleToSymbol,
_handle
, methods.Setter);
2068
foreach (var eventRid in module.GetEventsOfTypeOrThrow(
_handle
))
2075
PEMethodSymbol addMethod = GetAccessorMethod(module, methodHandleToSymbol,
_handle
, methods.Adder);
2076
PEMethodSymbol removeMethod = GetAccessorMethod(module, methodHandleToSymbol,
_handle
, methods.Remover);
2147
if (this.ContainingPEModule.Module.HasRequiredAttributeAttribute(
_handle
))
2229
this.ContainingPEModule.Module.HasDefaultMemberAttribute(
_handle
, out defaultMemberName);
2264
return ContainingPEModule.Module.HasGuidAttribute(
_handle
, out guidString);
2271
return this.ContainingPEModule.Module.GetTypeLayout(
_handle
);
2316
isByRefLike = module.HasIsByRefLikeAttribute(
_handle
).ToThreeState();
2344
isReadOnly = module.HasIsReadOnlyAttribute(
_handle
).ToThreeState();
2401
ImmutableArray<string> conditionalSymbols = this.ContainingPEModule.Module.GetConditionalAttributeValues(
_handle
);
2420
ObsoleteAttributeHelpers.InitializeObsoleteDataFromMetadata(ref uncommon.lazyObsoleteAttributeData,
_handle
, ContainingPEModule, ignoreByRefLikeMarker, ignoreRequiredMemberMarker: false);
2443
if (this.ContainingPEModule.Module.HasAttributeUsageAttribute(
_handle
, new MetadataDecoder(ContainingPEModule), out AttributeUsageInfo info))
2503
if (this.ContainingPEModule.Module.HasInlineArrayAttribute(
_handle
, out length) && length > 0)
2545
if (ContainingPEModule.Module.HasCollectionBuilderAttribute(
_handle
, out string builderTypeName, out string methodName))
2777
var nestedType = Create(this.ContainingPEModule, (PENamespaceSymbol)this.ContainingNamespace,
_handle
, null);