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