1 write to _handle
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
299
_handle
= handle;
45 references to _handle
Microsoft.CodeAnalysis.CSharp (45)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (45)
114
if (this.ContainingPEModule.HasAnyCustomAttributes(
_handle
))
423
return
_handle
;
429
get { return MetadataTokens.GetToken(
_handle
); }
444
uncommon.lazyHasInterpolatedStringHandlerAttribute = ContainingPEModule.Module.HasInterpolatedStringHandlerAttribute(
_handle
).ToThreeState();
463
uncommon.lazyHasEmbeddedAttribute = ContainingPEModule.Module.HasCodeAnalysisEmbeddedAttribute(
_handle
).ToThreeState();
518
TypeSymbol decodedType = DynamicTypeDecoder.TransformType(baseType, 0,
_handle
, moduleSymbol);
519
decodedType = NativeIntegerTypeDecoder.TransformType(decodedType,
_handle
, moduleSymbol, this);
520
decodedType = TupleTypeDecoder.DecodeTupleTypesIfApplicable(decodedType,
_handle
, moduleSymbol);
521
baseType = (NamedTypeSymbol)NullableTypeDecoder.TransformType(TypeWithAnnotations.Create(decodedType),
_handle
, moduleSymbol, accessSymbol: this, nullableContext: this).Type;
547
EntityHandle token = moduleSymbol.Module.GetBaseTypeOfTypeOrThrow(
_handle
);
567
var interfaceImpls = moduleSymbol.Module.GetInterfaceImplementationsOrThrow(
_handle
);
748
value = ContainingPEModule.Module.HasNullableContextAttribute(
_handle
, out byte arg) ?
781
foreach (var methodDef in module.GetMethodsOfTypeOrThrow(
_handle
))
796
foreach (var propertyDef in module.GetPropertiesOfTypeOrThrow(
_handle
))
811
foreach (var eventDef in module.GetEventsOfTypeOrThrow(
_handle
))
826
foreach (var fieldDef in module.GetFieldsOfTypeOrThrow(
_handle
))
892
var hasRequiredMemberAttribute = ContainingPEModule.Module.HasAttribute(
_handle
, AttributeDescription.RequiredMemberAttribute);
922
foreach (var fieldDef in module.GetFieldsOfTypeOrThrow(
_handle
))
1042
foreach (var handle in this.ContainingPEModule.Module.GetFieldsOfTypeOrThrow(
_handle
))
1102
foreach (var methodDef in module.GetMethodsOfTypeOrThrow(
_handle
))
1209
foreach (var fieldDef in module.GetFieldsOfTypeOrThrow(
_handle
))
1293
foreach (var fieldDef in module.GetFieldsOfTypeOrThrow(
_handle
))
1733
bool moduleHasExtension = module.HasExtensionAttribute(
_handle
, ignoreCase: false);
1868
nestedTypeDefs = module.GetNestedTypeDefsOrThrow(
_handle
);
1947
foreach (var fieldRid in module.GetFieldsOfTypeOrThrow(
_handle
))
1992
foreach (var methodHandle in module.GetMethodsOfTypeOrThrow(
_handle
))
1994
if (isOrdinaryEmbeddableStruct || module.ShouldImportMethod(
_handle
, methodHandle, moduleSymbol.ImportOptions))
2015
foreach (var propertyDef in module.GetPropertiesOfTypeOrThrow(
_handle
))
2021
PEMethodSymbol getMethod = GetAccessorMethod(module, methodHandleToSymbol,
_handle
, methods.Getter);
2022
PEMethodSymbol setMethod = GetAccessorMethod(module, methodHandleToSymbol,
_handle
, methods.Setter);
2047
foreach (var eventRid in module.GetEventsOfTypeOrThrow(
_handle
))
2054
PEMethodSymbol addMethod = GetAccessorMethod(module, methodHandleToSymbol,
_handle
, methods.Adder);
2055
PEMethodSymbol removeMethod = GetAccessorMethod(module, methodHandleToSymbol,
_handle
, methods.Remover);
2126
if (this.ContainingPEModule.Module.HasRequiredAttributeAttribute(
_handle
))
2208
this.ContainingPEModule.Module.HasDefaultMemberAttribute(
_handle
, out defaultMemberName);
2243
return ContainingPEModule.Module.HasGuidAttribute(
_handle
, out guidString);
2250
return this.ContainingPEModule.Module.GetTypeLayout(
_handle
);
2295
isByRefLike = module.HasIsByRefLikeAttribute(
_handle
).ToThreeState();
2323
isReadOnly = module.HasIsReadOnlyAttribute(
_handle
).ToThreeState();
2380
ImmutableArray<string> conditionalSymbols = this.ContainingPEModule.Module.GetConditionalAttributeValues(
_handle
);
2399
ObsoleteAttributeHelpers.InitializeObsoleteDataFromMetadata(ref uncommon.lazyObsoleteAttributeData,
_handle
, ContainingPEModule, ignoreByRefLikeMarker, ignoreRequiredMemberMarker: false);
2422
if (this.ContainingPEModule.Module.HasAttributeUsageAttribute(
_handle
, new MetadataDecoder(ContainingPEModule), out AttributeUsageInfo info))
2482
if (this.ContainingPEModule.Module.HasInlineArrayAttribute(
_handle
, out length) && length > 0)
2524
if (ContainingPEModule.Module.HasCollectionBuilderAttribute(
_handle
, out string builderTypeName, out string methodName))
2756
var nestedType = Create(this.ContainingPEModule, (PENamespaceSymbol)this.ContainingNamespace,
_handle
, null);