Files
27Aug2021-Cpp2IL-Dump/mscorlib/System/Runtime/InteropServices/GuidAttribute.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

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: 0x0200058F RID: 1423
[Token(Token = "0x200058F")]
[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: 0x06002CB0 RID: 11440 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002CB0")]
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
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: 0x170006C7 RID: 1735
// (get) Token: 0x06002CB1 RID: 11441 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170006C7")]
public string Value
{
[Token(Token = "0x6002CB1")]
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
get
{
return null;
}
}
// Token: 0x040019D2 RID: 6610
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40019D2")]
internal string _val;
}
}