24 references to HasCustomAttributeTag
System.Reflection.Metadata (24)
System\Reflection\Metadata\Ecma335\CodedIndex.cs (24)
36public static int HasCustomAttribute(EntityHandle handle) => (handle.RowId << (int)HasCustomAttributeTag.BitCount) | (int)ToHasCustomAttributeTag(handle.Kind); 198private static HasCustomAttributeTag ToHasCustomAttributeTag(HandleKind kind) 202case HandleKind.MethodDefinition: return HasCustomAttributeTag.MethodDef; 203case HandleKind.FieldDefinition: return HasCustomAttributeTag.Field; 204case HandleKind.TypeReference: return HasCustomAttributeTag.TypeRef; 205case HandleKind.TypeDefinition: return HasCustomAttributeTag.TypeDef; 206case HandleKind.Parameter: return HasCustomAttributeTag.Param; 207case HandleKind.InterfaceImplementation: return HasCustomAttributeTag.InterfaceImpl; 208case HandleKind.MemberReference: return HasCustomAttributeTag.MemberRef; 209case HandleKind.ModuleDefinition: return HasCustomAttributeTag.Module; 210case HandleKind.DeclarativeSecurityAttribute: return HasCustomAttributeTag.DeclSecurity; 211case HandleKind.PropertyDefinition: return HasCustomAttributeTag.Property; 212case HandleKind.EventDefinition: return HasCustomAttributeTag.Event; 213case HandleKind.StandaloneSignature: return HasCustomAttributeTag.StandAloneSig; 214case HandleKind.ModuleReference: return HasCustomAttributeTag.ModuleRef; 215case HandleKind.TypeSpecification: return HasCustomAttributeTag.TypeSpec; 216case HandleKind.AssemblyDefinition: return HasCustomAttributeTag.Assembly; 217case HandleKind.AssemblyReference: return HasCustomAttributeTag.AssemblyRef; 218case HandleKind.AssemblyFile: return HasCustomAttributeTag.File; 219case HandleKind.ExportedType: return HasCustomAttributeTag.ExportedType; 220case HandleKind.ManifestResource: return HasCustomAttributeTag.ManifestResource; 221case HandleKind.GenericParameter: return HasCustomAttributeTag.GenericParam; 222case HandleKind.GenericParameterConstraint: return HasCustomAttributeTag.GenericParamConstraint; 223case HandleKind.MethodSpecification: return HasCustomAttributeTag.MethodSpec;