SignatureAttributes 枚举
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指定其他可应用于方法签名的标志。 此类型中字段的基础值对应于 SignatureHeader 结构表示的前导签名字节中的表示形式。
此枚举支持其成员值的按位组合。
public enum class SignatureAttributes
C#
[System.Flags]
public enum SignatureAttributes
[<System.Flags>]
type SignatureAttributes =
Public Enum SignatureAttributes
- 继承
- 属性
名称 | 值 | 说明 |
---|---|---|
ExplicitThis | 64 | 指示表示实例指针的第一个显式声明的参数。 |
Generic | 16 | 泛型方法。 |
Instance | 32 | 实例方法。 Ecma 335 CLI 规范将此标志称为 |
None | 0 | 无标志。 |
产品 | 版本 |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 |
UWP | 10.0 |