加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

f# – FSharp.Core.dll中的HasCustomAttribute标记值为19

发布时间:2020-12-14 02:48:42 所属栏目:Windows 来源:网络整理
导读:在FSharp.Core.dll(4.0.30319.1)中,我发现HasCustomAttribute标记的值为19.在ECMA-335中未指定此值. ECMA-335(第II部分,24.2.6)仅描述0到18之间的值. 有人知道什么是有价值的意思吗? 更新: 好像tag(19)指定GenericParamTable. Core.EqualityConditionalOnA
在FSharp.Core.dll(4.0.30319.1)中,我发现HasCustomAttribute标记的值为19.在ECMA-335中未指定此值. ECMA-335(第II部分,24.2.6)仅描述0到18之间的值.

有人知道什么是有价值的意思吗?

更新:

好像tag(19)指定GenericParamTable.
Core.EqualityConditionalOnAttribute Class
Collections.Map<'Key,'Value> Class
但第6版Reflector没有显示FSharp.Core.Collections.FSharpMap类型的泛型参数的属性.

更新2:

问题已经结束.在第5版ECMA-335中回答. (我使用了第4版).

解决方法

ECMA 335第5版将19指定为GenericParam. Partition II Section 22.20对此有这样的说法:

The GenericParam table stores the generic parameters used in generic type definitions and generic method definitions. These generic parameters can be constrained (i.e.,generic arguments shall extend some class and/or implement certain interfaces) or unconstrained. (Such constraints are stored in the GenericParamConstraint table.)

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读