1 write to _handle
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
329
_handle
= handle;
48 references to _handle
Microsoft.CodeAnalysis.CSharp (48)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (48)
117
if (this.ContainingPEModule.HasAnyCustomAttributes(
_handle
))
629
return
_handle
;
635
get { return MetadataTokens.GetToken(
_handle
); }
650
uncommon.lazyHasInterpolatedStringHandlerAttribute = ContainingPEModule.Module.HasInterpolatedStringHandlerAttribute(
_handle
).ToThreeState();
669
uncommon.lazyHasEmbeddedAttribute = ContainingPEModule.Module.HasCodeAnalysisEmbeddedAttribute(
_handle
).ToThreeState();
688
uncommon.lazyHasCompilerLoweringPreserveAttribute = ContainingPEModule.Module.HasCompilerLoweringPreserveAttribute(
_handle
).ToThreeState();
743
TypeSymbol decodedType = DynamicTypeDecoder.TransformType(baseType, 0,
_handle
, moduleSymbol);
744
decodedType = NativeIntegerTypeDecoder.TransformType(decodedType,
_handle
, moduleSymbol, this);
745
decodedType = TupleTypeDecoder.DecodeTupleTypesIfApplicable(decodedType,
_handle
, moduleSymbol);
746
baseType = (NamedTypeSymbol)NullableTypeDecoder.TransformType(TypeWithAnnotations.Create(decodedType),
_handle
, moduleSymbol, accessSymbol: this, nullableContext: this).Type;
772
EntityHandle token = moduleSymbol.Module.GetBaseTypeOfTypeOrThrow(
_handle
);
792
var interfaceImpls = moduleSymbol.Module.GetInterfaceImplementationsOrThrow(
_handle
);
990
value = ContainingPEModule.Module.HasNullableContextAttribute(
_handle
, out byte arg) ?
1023
foreach (var methodDef in module.GetMethodsOfTypeOrThrow(
_handle
))
1038
foreach (var propertyDef in module.GetPropertiesOfTypeOrThrow(
_handle
))
1053
foreach (var eventDef in module.GetEventsOfTypeOrThrow(
_handle
))
1068
foreach (var fieldDef in module.GetFieldsOfTypeOrThrow(
_handle
))
1134
var hasRequiredMemberAttribute = ContainingPEModule.Module.HasAttribute(
_handle
, AttributeDescription.RequiredMemberAttribute);
1164
foreach (var fieldDef in module.GetFieldsOfTypeOrThrow(
_handle
))
1284
foreach (var handle in this.ContainingPEModule.Module.GetFieldsOfTypeOrThrow(
_handle
))
1344
foreach (var methodDef in module.GetMethodsOfTypeOrThrow(
_handle
))
1451
foreach (var fieldDef in module.GetFieldsOfTypeOrThrow(
_handle
))
1535
foreach (var fieldDef in module.GetFieldsOfTypeOrThrow(
_handle
))
1989
bool moduleHasExtension = module.HasExtensionAttribute(
_handle
, ignoreCase: false);
2085
foreach (var methodHandle in module.GetMethodsOfTypeOrThrow(
_handle
))
2178
nestedTypeDefs = module.GetNestedTypeDefsOrThrow(
_handle
);
2187
module.HasExtensionAttribute(
_handle
, ignoreCase: false) && !this.IsGenericType;
2309
foreach (var fieldRid in module.GetFieldsOfTypeOrThrow(
_handle
))
2355
foreach (var methodHandle in module.GetMethodsOfTypeOrThrow(isExtension ? _lazyUncommonProperties.extensionInfo.GroupingTypeSymbol.Handle :
_handle
))
2357
if (isOrdinaryEmbeddableStruct || module.ShouldImportMethod(
_handle
, methodHandle, moduleSymbol.ImportOptions))
2386
foreach (var propertyDef in module.GetPropertiesOfTypeOrThrow(isExtension ? _lazyUncommonProperties.extensionInfo.GroupingTypeSymbol.Handle :
_handle
))
2399
PEMethodSymbol getMethod = GetAccessorMethod(module, methodHandleToSymbol,
_handle
, methods.Getter);
2400
PEMethodSymbol setMethod = GetAccessorMethod(module, methodHandleToSymbol,
_handle
, methods.Setter);
2431
foreach (var eventRid in module.GetEventsOfTypeOrThrow(
_handle
))
2438
PEMethodSymbol addMethod = GetAccessorMethod(module, methodHandleToSymbol,
_handle
, methods.Adder);
2439
PEMethodSymbol removeMethod = GetAccessorMethod(module, methodHandleToSymbol,
_handle
, methods.Remover);
2510
if (this.ContainingPEModule.Module.HasRequiredAttributeAttribute(
_handle
))
2592
this.ContainingPEModule.Module.HasDefaultMemberAttribute(
_handle
, out defaultMemberName);
2627
return ContainingPEModule.Module.HasGuidAttribute(
_handle
, out guidString);
2634
return this.ContainingPEModule.Module.GetTypeLayout(
_handle
);
2679
isByRefLike = module.HasIsByRefLikeAttribute(
_handle
).ToThreeState();
2733
isReadOnly = module.HasIsReadOnlyAttribute(
_handle
).ToThreeState();
2790
ImmutableArray<string> conditionalSymbols = this.ContainingPEModule.Module.GetConditionalAttributeValues(
_handle
);
2809
ObsoleteAttributeHelpers.InitializeObsoleteDataFromMetadata(ref uncommon.lazyObsoleteAttributeData,
_handle
, ContainingPEModule, ignoreByRefLikeMarker, ignoreRequiredMemberMarker: false);
2832
if (this.ContainingPEModule.Module.HasAttributeUsageAttribute(
_handle
, new MetadataDecoder(ContainingPEModule), out AttributeUsageInfo info))
2892
if (this.ContainingPEModule.Module.HasInlineArrayAttribute(
_handle
, out length) && length > 0)
2934
if (ContainingPEModule.Module.HasCollectionBuilderAttribute(
_handle
, out string builderTypeName, out string methodName))
3176
var nestedType = Create(this.ContainingPEModule, (PENamespaceSymbol)this.ContainingNamespace,
_handle
, null);