scripts
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace System.Runtime.Versioning
|
||||
{
|
||||
/// <summary>Specifies the resource exposure for a member of a class. This class cannot be inherited.</summary>
|
||||
// Token: 0x0200049B RID: 1179
|
||||
[Conditional("RESOURCE_ANNOTATION_WORK")]
|
||||
[AttributeUsage(AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field, Inherited = false)]
|
||||
public sealed class ResourceExposureAttribute : Attribute
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Versioning.ResourceExposureAttribute" /> class with the specified exposure level.</summary>
|
||||
/// <param name="exposureLevel">The scope of the resource.</param>
|
||||
// Token: 0x06002C98 RID: 11416 RVA: 0x00092B38 File Offset: 0x00090D38
|
||||
public ResourceExposureAttribute(ResourceScope exposureLevel)
|
||||
{
|
||||
this.exposure = exposureLevel;
|
||||
}
|
||||
|
||||
/// <summary>Gets the resource exposure scope.</summary>
|
||||
/// <returns>A <see cref="T:System.Runtime.Versioning.ResourceScope" /> object.</returns>
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user