Files
Dec2017-Script-Dump/System/SRDescriptionAttribute.cs
2026-06-04 11:42:34 +02:00

35 lines
806 B
C#

using System;
using System.ComponentModel;
namespace System
{
// Token: 0x020002FA RID: 762
[AttributeUsage(AttributeTargets.All)]
internal class SRDescriptionAttribute : global::System.ComponentModel.DescriptionAttribute
{
// Token: 0x06001B57 RID: 6999 RVA: 0x000641E0 File Offset: 0x000623E0
public SRDescriptionAttribute(string description)
: base(description)
{
}
// Token: 0x17000852 RID: 2130
// (get) Token: 0x06001B58 RID: 7000 RVA: 0x000641EC File Offset: 0x000623EC
public override string Description
{
get
{
if (!this.isReplaced)
{
this.isReplaced = true;
base.DescriptionValue = global::Locale.GetText(base.DescriptionValue);
}
return base.DescriptionValue;
}
}
// Token: 0x040015E6 RID: 5606
private bool isReplaced;
}
}