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

175 lines
8.3 KiB
C#

using System;
using System.Collections;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Resources
{
/// <summary>Stores all the resources localized for one particular culture, ignoring all other cultures, including any fallback rules.</summary>
// Token: 0x02000204 RID: 516
[Token(Token = "0x2000204")]
[ComVisible(true)]
[Serializable]
public class ResourceSet : IDisposable, IEnumerable
{
/// <summary>Initializes a new instance of the <see cref="T:System.Resources.ResourceSet" /> class with default properties.</summary>
// Token: 0x060013CD RID: 5069 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60013CD")]
[Address(RVA = "0x2CFB270", Offset = "0x2CFA270", VA = "0x182CFB270")]
protected ResourceSet()
{
}
// Token: 0x060013CE RID: 5070 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60013CE")]
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
internal ResourceSet(bool junk)
{
}
// Token: 0x060013CF RID: 5071 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60013CF")]
[Address(RVA = "0x2CFAA30", Offset = "0x2CF9A30", VA = "0x182CFAA30")]
private void CommonInit()
{
}
/// <summary>Releases resources (other than memory) associated with the current instance, closing internal managed objects if requested.</summary>
/// <param name="disposing">Indicates whether the objects contained in the current instance should be explicitly closed.</param>
// Token: 0x060013D0 RID: 5072 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60013D0")]
[Address(RVA = "0x2CFAA80", Offset = "0x2CF9A80", VA = "0x182CFAA80", Slot = "6")]
protected virtual void Dispose(bool disposing)
{
}
/// <summary>Disposes of the resources (other than memory) used by the current instance of <see cref="T:System.Resources.ResourceSet" />.</summary>
// Token: 0x060013D1 RID: 5073 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60013D1")]
[Address(RVA = "0x2BA3AB0", Offset = "0x2BA2AB0", VA = "0x182BA3AB0", Slot = "4")]
public void Dispose()
{
}
/// <summary>Returns an <see cref="T:System.Collections.IDictionaryEnumerator" /> that can iterate through the <see cref="T:System.Resources.ResourceSet" />.</summary>
/// <returns>An <see cref="T:System.Collections.IDictionaryEnumerator" /> for this <see cref="T:System.Resources.ResourceSet" />.</returns>
/// <exception cref="T:System.ObjectDisposedException">The resource set has been closed or disposed.</exception>
// Token: 0x060013D2 RID: 5074 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60013D2")]
[Address(RVA = "0x2CFAE50", Offset = "0x2CF9E50", VA = "0x182CFAE50", Slot = "7")]
[ComVisible(false)]
public virtual IDictionaryEnumerator GetEnumerator()
{
return null;
}
/// <summary>Returns an <see cref="T:System.Collections.IEnumerator" /> object to avoid a race condition with <see langword="Dispose" />. This member is not intended to be used directly from your code.</summary>
/// <returns>An enumerator for the current <see cref="T:System.Resources.ResourceSet" /> object.</returns>
// Token: 0x060013D3 RID: 5075 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60013D3")]
[Address(RVA = "0x2CFAE50", Offset = "0x2CF9E50", VA = "0x182CFAE50", Slot = "5")]
IEnumerator IEnumerable.GetEnumerator()
{
return null;
}
// Token: 0x060013D4 RID: 5076 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60013D4")]
[Address(RVA = "0x2CFADC0", Offset = "0x2CF9DC0", VA = "0x182CFADC0")]
private IDictionaryEnumerator GetEnumeratorHelper()
{
return null;
}
/// <summary>Searches for a <see cref="T:System.String" /> resource with the specified name.</summary>
/// <param name="name">Name of the resource to search for.</param>
/// <returns>The value of a resource, if the value is a <see cref="T:System.String" />.</returns>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="name" /> parameter is <see langword="null" />.</exception>
/// <exception cref="T:System.InvalidOperationException">The resource specified by <paramref name="name" /> is not a <see cref="T:System.String" />.</exception>
/// <exception cref="T:System.ObjectDisposedException">The object has been closed or disposed.</exception>
// Token: 0x060013D5 RID: 5077 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60013D5")]
[Address(RVA = "0x2CFAF90", Offset = "0x2CF9F90", VA = "0x182CFAF90", Slot = "8")]
public virtual string GetString(string name)
{
return null;
}
/// <summary>Searches for a <see cref="T:System.String" /> resource with the specified name in a case-insensitive manner, if requested.</summary>
/// <param name="name">Name of the resource to search for.</param>
/// <param name="ignoreCase">Indicates whether the case of the case of the specified name should be ignored.</param>
/// <returns>The value of a resource, if the value is a <see cref="T:System.String" />.</returns>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="name" /> parameter is <see langword="null" />.</exception>
/// <exception cref="T:System.InvalidOperationException">The resource specified by <paramref name="name" /> is not a <see cref="T:System.String" />.</exception>
/// <exception cref="T:System.ObjectDisposedException">The object has been closed or disposed.</exception>
// Token: 0x060013D6 RID: 5078 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60013D6")]
[Address(RVA = "0x2CFB0A0", Offset = "0x2CFA0A0", VA = "0x182CFB0A0", Slot = "9")]
public virtual string GetString(string name, bool ignoreCase)
{
return null;
}
/// <summary>Searches for a resource object with the specified name.</summary>
/// <param name="name">Case-sensitive name of the resource to search for.</param>
/// <returns>The requested resource.</returns>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="name" /> parameter is <see langword="null" />.</exception>
/// <exception cref="T:System.ObjectDisposedException">The object has been closed or disposed.</exception>
// Token: 0x060013D7 RID: 5079 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60013D7")]
[Address(RVA = "0x2CFAF80", Offset = "0x2CF9F80", VA = "0x182CFAF80", Slot = "10")]
public virtual object GetObject(string name)
{
return null;
}
/// <summary>Searches for a resource object with the specified name in a case-insensitive manner, if requested.</summary>
/// <param name="name">Name of the resource to search for.</param>
/// <param name="ignoreCase">Indicates whether the case of the specified name should be ignored.</param>
/// <returns>The requested resource.</returns>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="name" /> parameter is <see langword="null" />.</exception>
/// <exception cref="T:System.ObjectDisposedException">The object has been closed or disposed.</exception>
// Token: 0x060013D8 RID: 5080 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60013D8")]
[Address(RVA = "0x2CFAF30", Offset = "0x2CF9F30", VA = "0x182CFAF30", Slot = "11")]
public virtual object GetObject(string name, bool ignoreCase)
{
return null;
}
// Token: 0x060013D9 RID: 5081 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60013D9")]
[Address(RVA = "0x2CFAE60", Offset = "0x2CF9E60", VA = "0x182CFAE60")]
private object GetObjectInternal(string name)
{
return null;
}
// Token: 0x060013DA RID: 5082 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60013DA")]
[Address(RVA = "0x2CFAAF0", Offset = "0x2CF9AF0", VA = "0x182CFAAF0")]
private object GetCaseInsensitiveObjectInternal(string name)
{
return null;
}
/// <summary>Indicates the <see cref="T:System.Resources.IResourceReader" /> used to read the resources.</summary>
// Token: 0x040009F0 RID: 2544
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x40009F0")]
[NonSerialized]
protected IResourceReader Reader;
/// <summary>The <see cref="T:System.Collections.Hashtable" /> in which the resources are stored.</summary>
// Token: 0x040009F1 RID: 2545
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x40009F1")]
protected Hashtable Table;
// Token: 0x040009F2 RID: 2546
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x40009F2")]
private Hashtable _caseInsensitiveTable;
}
}