using System;
using System.Diagnostics;
namespace System.Runtime.Versioning
{
/// Specifies the resource exposure for a member of a class. This class cannot be inherited.
// Token: 0x0200049B RID: 1179
[Conditional("RESOURCE_ANNOTATION_WORK")]
[AttributeUsage(AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field, Inherited = false)]
public sealed class ResourceExposureAttribute : Attribute
{
/// Initializes a new instance of the class with the specified exposure level.
/// The scope of the resource.
// Token: 0x06002C98 RID: 11416 RVA: 0x00092B38 File Offset: 0x00090D38
public ResourceExposureAttribute(ResourceScope exposureLevel)
{
this.exposure = exposureLevel;
}
/// Gets the resource exposure scope.
/// A object.
// Token: 0x170008B3 RID: 2227
// (get) Token: 0x06002C99 RID: 11417 RVA: 0x00092B48 File Offset: 0x00090D48
public ResourceScope ResourceExposureLevel
{
get
{
return this.exposure;
}
}
// Token: 0x0400114A RID: 4426
private ResourceScope exposure;
}
}