scripts
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace System
|
||||
{
|
||||
/// <summary>Used to set the default loader optimization policy for the main method of an executable application.</summary>
|
||||
/// <filterpriority>1</filterpriority>
|
||||
// Token: 0x0200067F RID: 1663
|
||||
[ComVisible(true)]
|
||||
[AttributeUsage(AttributeTargets.Method)]
|
||||
public sealed class LoaderOptimizationAttribute : Attribute
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.LoaderOptimizationAttribute" /> class to the specified value.</summary>
|
||||
/// <param name="value">A value equivalent to a <see cref="T:System.LoaderOptimization" /> constant. </param>
|
||||
// Token: 0x06003EF5 RID: 16117 RVA: 0x000D5274 File Offset: 0x000D3474
|
||||
public LoaderOptimizationAttribute(byte value)
|
||||
{
|
||||
this.lo = (LoaderOptimization)value;
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.LoaderOptimizationAttribute" /> class to the specified value.</summary>
|
||||
/// <param name="value">A <see cref="T:System.LoaderOptimization" /> constant. </param>
|
||||
// Token: 0x06003EF6 RID: 16118 RVA: 0x000D5284 File Offset: 0x000D3484
|
||||
public LoaderOptimizationAttribute(LoaderOptimization value)
|
||||
{
|
||||
this.lo = value;
|
||||
}
|
||||
|
||||
/// <summary>Gets the current <see cref="T:System.LoaderOptimization" /> value for this instance.</summary>
|
||||
/// <returns>A <see cref="T:System.LoaderOptimization" /> constant.</returns>
|
||||
/// <filterpriority>2</filterpriority>
|
||||
// Token: 0x17000BC1 RID: 3009
|
||||
// (get) Token: 0x06003EF7 RID: 16119 RVA: 0x000D5294 File Offset: 0x000D3494
|
||||
public LoaderOptimization Value
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.lo;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04001924 RID: 6436
|
||||
private LoaderOptimization lo;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user