语言

LinkerSafeAttribute 类

定义

注意

For .NET 6+, please use: [assembly: global::System.Reflection.AssemblyMetadata("IsTrimmable", "True")]

指示链接器可以处理程序集。

[System.AttributeUsage(System.AttributeTargets.Assembly)]
[System.Obsolete("For .NET 6+, please use: [assembly: global::System.Reflection.AssemblyMetadata("IsTrimmable", "True")]")]
public sealed class LinkerSafeAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly)>]
[<System.Obsolete("For .NET 6+, please use: [assembly: global::System.Reflection.AssemblyMetadata("IsTrimmable", "True")]")>]
type LinkerSafeAttribute = class
    inherit Attribute
继承
LinkerSafeAttribute
属性

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

构造函数

名称 说明
LinkerSafeAttribute()
已过时.

初始化 LinkerSafeAttribute 类的新实例。

适用于