43 lines
1.5 KiB
C#
43 lines
1.5 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Runtime.InteropServices
|
|
{
|
|
/// <summary>Supplies an explicit <see cref="T:System.Guid" /> when an automatic GUID is undesirable.</summary>
|
|
// Token: 0x02000570 RID: 1392
|
|
[Token(Token = "0x2000570")]
|
|
[ComVisible(true)]
|
|
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Delegate)]
|
|
public sealed class GuidAttribute : Attribute
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.GuidAttribute" /> class with the specified GUID.</summary>
|
|
/// <param name="guid">The <see cref="T:System.Guid" /> to be assigned.</param>
|
|
// Token: 0x06002A9C RID: 10908 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002A9C")]
|
|
[Address(RVA = "0x462000", Offset = "0x460E00", VA = "0x180462000")]
|
|
public GuidAttribute(string guid)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the <see cref="T:System.Guid" /> of the class.</summary>
|
|
/// <returns>The <see cref="T:System.Guid" /> of the class.</returns>
|
|
// Token: 0x1700064F RID: 1615
|
|
// (get) Token: 0x06002A9D RID: 10909 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x1700064F")]
|
|
public string Value
|
|
{
|
|
[Token(Token = "0x6002A9D")]
|
|
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0400190F RID: 6415
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400190F")]
|
|
internal string _val;
|
|
}
|
|
}
|