36 lines
1.1 KiB
C#
36 lines
1.1 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace System.Reflection
|
|
{
|
|
/// <summary>Defines a friendly default alias for an assembly manifest.</summary>
|
|
// Token: 0x02000226 RID: 550
|
|
[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
|
|
[ComVisible(true)]
|
|
public sealed class AssemblyDefaultAliasAttribute : Attribute
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Reflection.AssemblyDefaultAliasAttribute" /> class.</summary>
|
|
/// <param name="defaultAlias">The assembly default alias information. </param>
|
|
// Token: 0x06001D67 RID: 7527 RVA: 0x0006E120 File Offset: 0x0006C320
|
|
public AssemblyDefaultAliasAttribute(string defaultAlias)
|
|
{
|
|
this.name = defaultAlias;
|
|
}
|
|
|
|
/// <summary>Gets default alias information.</summary>
|
|
/// <returns>A string containing the default alias information.</returns>
|
|
// Token: 0x17000544 RID: 1348
|
|
// (get) Token: 0x06001D68 RID: 7528 RVA: 0x0006E130 File Offset: 0x0006C330
|
|
public string DefaultAlias
|
|
{
|
|
get
|
|
{
|
|
return this.name;
|
|
}
|
|
}
|
|
|
|
// Token: 0x040009E3 RID: 2531
|
|
private string name;
|
|
}
|
|
}
|