system\reflection\customattribute.cs (9)
1197if (IsCustomAttributeDefined(type.GetRuntimeModule(), type.MetadataToken, caType))
1225if (IsCustomAttributeDefined(method.GetRuntimeModule(), method.MetadataToken, caType))
1253return IsCustomAttributeDefined(ctor.GetRuntimeModule(), ctor.MetadataToken, caType);
1265return IsCustomAttributeDefined(property.GetRuntimeModule(), property.MetadataToken, caType);
1277return IsCustomAttributeDefined(e.GetRuntimeModule(), e.MetadataToken, caType);
1289return IsCustomAttributeDefined(field.GetRuntimeModule(), field.MetadataToken, caType);
1301return IsCustomAttributeDefined(parameter.GetRuntimeModule(), parameter.MetadataToken, caType);
1313return IsCustomAttributeDefined(assembly.ManifestModule as RuntimeModule, RuntimeAssembly.GetToken(assembly.GetNativeHandle()), caType);
1325return IsCustomAttributeDefined(module, module.MetadataToken, caType);