This commit is contained in:
niko
2026-06-04 11:42:34 +02:00
parent f39ba70a9f
commit e720b98cd1
7488 changed files with 2493818 additions and 0 deletions
+66
View File
@@ -0,0 +1,66 @@
using System;
namespace System.Resources
{
// Token: 0x02000284 RID: 644
internal class NameOrId
{
// Token: 0x0600209E RID: 8350 RVA: 0x00077A20 File Offset: 0x00075C20
public NameOrId(string name)
{
this.name = name;
}
// Token: 0x0600209F RID: 8351 RVA: 0x00077A30 File Offset: 0x00075C30
public NameOrId(int id)
{
this.id = id;
}
// Token: 0x17000613 RID: 1555
// (get) Token: 0x060020A0 RID: 8352 RVA: 0x00077A40 File Offset: 0x00075C40
public bool IsName
{
get
{
return this.name != null;
}
}
// Token: 0x17000614 RID: 1556
// (get) Token: 0x060020A1 RID: 8353 RVA: 0x00077A50 File Offset: 0x00075C50
public string Name
{
get
{
return this.name;
}
}
// Token: 0x17000615 RID: 1557
// (get) Token: 0x060020A2 RID: 8354 RVA: 0x00077A58 File Offset: 0x00075C58
public int Id
{
get
{
return this.id;
}
}
// Token: 0x060020A3 RID: 8355 RVA: 0x00077A60 File Offset: 0x00075C60
public override string ToString()
{
if (this.name != null)
{
return "Name(" + this.name + ")";
}
return "Id(" + this.id + ")";
}
// Token: 0x04000BA0 RID: 2976
private string name;
// Token: 0x04000BA1 RID: 2977
private int id;
}
}