using System; using System.IO; namespace System.Resources { // Token: 0x02000285 RID: 645 internal abstract class Win32Resource { // Token: 0x060020A4 RID: 8356 RVA: 0x00077AA0 File Offset: 0x00075CA0 internal Win32Resource(NameOrId type, NameOrId name, int language) { this.type = type; this.name = name; this.language = language; } // Token: 0x060020A5 RID: 8357 RVA: 0x00077AC0 File Offset: 0x00075CC0 internal Win32Resource(Win32ResourceType type, int name, int language) { this.type = new NameOrId((int)type); this.name = new NameOrId(name); this.language = language; } // Token: 0x17000616 RID: 1558 // (get) Token: 0x060020A6 RID: 8358 RVA: 0x00077AE8 File Offset: 0x00075CE8 public Win32ResourceType ResourceType { get { if (this.type.IsName) { return (Win32ResourceType)(-1); } return (Win32ResourceType)this.type.Id; } } // Token: 0x17000617 RID: 1559 // (get) Token: 0x060020A7 RID: 8359 RVA: 0x00077B08 File Offset: 0x00075D08 public NameOrId Name { get { return this.name; } } // Token: 0x17000618 RID: 1560 // (get) Token: 0x060020A8 RID: 8360 RVA: 0x00077B10 File Offset: 0x00075D10 public NameOrId Type { get { return this.type; } } // Token: 0x17000619 RID: 1561 // (get) Token: 0x060020A9 RID: 8361 RVA: 0x00077B18 File Offset: 0x00075D18 public int Language { get { return this.language; } } // Token: 0x060020AA RID: 8362 public abstract void WriteTo(Stream s); // Token: 0x060020AB RID: 8363 RVA: 0x00077B20 File Offset: 0x00075D20 public override string ToString() { return string.Concat(new object[] { "Win32Resource (Kind=", this.ResourceType, ", Name=", this.name, ")" }); } // Token: 0x04000BA2 RID: 2978 private NameOrId type; // Token: 0x04000BA3 RID: 2979 private NameOrId name; // Token: 0x04000BA4 RID: 2980 private int language; } }