using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using System.Threading;
using Cpp2IlInjected;
namespace System.Resources
{
/// Represents a resource manager that provides convenient access to culture-specific resources at run time.
// Token: 0x020001F7 RID: 503
[Token(Token = "0x20001F7")]
[ComVisible(true)]
[Serializable]
public class ResourceManager
{
// Token: 0x06001340 RID: 4928 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001340")]
[Address(RVA = "0x2957550", Offset = "0x2956350", VA = "0x182957550")]
private void Init()
{
}
/// Initializes a new instance of the class with default values.
// Token: 0x06001341 RID: 4929 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001341")]
[Address(RVA = "0x2957EF0", Offset = "0x2956CF0", VA = "0x182957EF0")]
protected ResourceManager()
{
}
/// Initializes a new instance of the class that looks up resources contained in files with the specified root name in the given assembly.
/// The root name of the resource file without its extension but including any fully qualified namespace name. For example, the root name for the resource file named MyApplication.MyResource.en-US.resources is MyApplication.MyResource.
/// The main assembly for the resources.
/// The or parameter is .
// Token: 0x06001342 RID: 4930 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001342")]
[Address(RVA = "0x2958200", Offset = "0x2957000", VA = "0x182958200")]
public ResourceManager(string baseName, Assembly assembly)
{
}
/// Initializes a new instance of the class that looks up resources in satellite assemblies based on information from the specified type object.
/// A type from which the resource manager derives all information for finding .resources files.
/// The parameter is .
// Token: 0x06001343 RID: 4931 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001343")]
[Address(RVA = "0x2957FA0", Offset = "0x2956DA0", VA = "0x182957FA0")]
public ResourceManager(Type resourceSource)
{
}
// Token: 0x06001344 RID: 4932 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001344")]
[Address(RVA = "0x2957CF0", Offset = "0x2956AF0", VA = "0x182957CF0")]
[OnDeserializing]
private void OnDeserializing(StreamingContext ctx)
{
}
// Token: 0x06001345 RID: 4933 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001345")]
[Address(RVA = "0x2957B90", Offset = "0x2956990", VA = "0x182957B90")]
[OnDeserialized]
private void OnDeserialized(StreamingContext ctx)
{
}
// Token: 0x06001346 RID: 4934 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001346")]
[Address(RVA = "0x2957D10", Offset = "0x2956B10", VA = "0x182957D10")]
[OnSerializing]
private void OnSerializing(StreamingContext ctx)
{
}
// Token: 0x06001347 RID: 4935 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001347")]
[Address(RVA = "0x2956030", Offset = "0x2954E30", VA = "0x182956030")]
private void CommonAssemblyInit()
{
}
/// Gets the root name of the resource files that the searches for resources.
/// The root name of the resource files that the searches for resources.
// Token: 0x170001E1 RID: 481
// (get) Token: 0x06001348 RID: 4936 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170001E1")]
public virtual string BaseName
{
[Token(Token = "0x6001348")]
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "4")]
get
{
return null;
}
}
/// Gets or sets a value that indicates whether the resource manager allows case-insensitive resource lookups in the and methods.
///
/// to ignore case during resource lookup; otherwise, .
// Token: 0x170001E2 RID: 482
// (get) Token: 0x06001349 RID: 4937 RVA: 0x0000EC88 File Offset: 0x0000CE88
[Token(Token = "0x170001E2")]
public virtual bool IgnoreCase
{
[Token(Token = "0x6001349")]
[Address(RVA = "0x40FFA0", Offset = "0x40EDA0", VA = "0x18040FFA0", Slot = "5")]
get
{
return default(bool);
}
}
/// Gets or sets the location from which to retrieve default fallback resources.
/// One of the enumeration values that specifies where the resource manager can look for fallback resources.
// Token: 0x170001E3 RID: 483
// (get) Token: 0x0600134A RID: 4938 RVA: 0x0000ECA0 File Offset: 0x0000CEA0
[Token(Token = "0x170001E3")]
protected UltimateResourceFallbackLocation FallbackLocation
{
[Token(Token = "0x600134A")]
[Address(RVA = "0x7FA0A0", Offset = "0x7F8EA0", VA = "0x1807FA0A0")]
get
{
return UltimateResourceFallbackLocation.MainAssembly;
}
}
/// Generates the name of the resource file for the given object.
/// The culture object for which a resource file name is constructed.
/// The name that can be used for a resource file for the given object.
// Token: 0x0600134B RID: 4939 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600134B")]
[Address(RVA = "0x2956790", Offset = "0x2955590", VA = "0x182956790", Slot = "6")]
protected virtual string GetResourceFileName(CultureInfo culture)
{
return null;
}
// Token: 0x0600134C RID: 4940 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600134C")]
[Address(RVA = "0x2956390", Offset = "0x2955190", VA = "0x182956390")]
internal ResourceSet GetFirstResourceSet(CultureInfo culture)
{
return null;
}
/// Retrieves the resource set for a particular culture.
/// The culture whose resources are to be retrieved.
///
/// to load the resource set, if it has not been loaded yet; otherwise, .
///
/// to use resource fallback to load an appropriate resource if the resource set cannot be found; to bypass the resource fallback process.
/// The resource set for the specified culture.
/// The parameter is .
///
/// is , no usable set of resources has been found, and there are no default culture resources.
// Token: 0x0600134D RID: 4941 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600134D")]
[Address(RVA = "0x29568C0", Offset = "0x29556C0", VA = "0x1829568C0", Slot = "7")]
public virtual ResourceSet GetResourceSet(CultureInfo culture, bool createIfNotExists, bool tryParents)
{
return null;
}
/// Provides the implementation for finding a resource set.
/// The culture object to look for.
///
/// to load the resource set, if it has not been loaded yet; otherwise, .
///
/// to check parent objects if the resource set cannot be loaded; otherwise, .
/// The specified resource set.
/// The main assembly does not contain a .resources file, which is required to look up a resource.
/// There was an internal error in the runtime.
/// The satellite assembly associated with could not be located.
// Token: 0x0600134E RID: 4942 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600134E")]
[Address(RVA = "0x29575E0", Offset = "0x29563E0", VA = "0x1829575E0", Slot = "8")]
protected virtual ResourceSet InternalGetResourceSet(CultureInfo culture, bool createIfNotExists, bool tryParents)
{
return null;
}
// Token: 0x0600134F RID: 4943 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600134F")]
[Address(RVA = "0x2957610", Offset = "0x2956410", VA = "0x182957610")]
private ResourceSet InternalGetResourceSet(CultureInfo requestedCulture, bool createIfNotExists, bool tryParents, ref StackCrawlMark stackMark)
{
return null;
}
// Token: 0x06001350 RID: 4944 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001350")]
[Address(RVA = "0x2955EE0", Offset = "0x2954CE0", VA = "0x182955EE0")]
private static void AddResourceSet(Dictionary localResourceSets, string cultureName, ref ResourceSet rs)
{
}
/// Returns the version specified by the attribute in the given assembly.
/// The assembly to check for the attribute.
/// The satellite contract version of the given assembly, or if no version was found.
/// The found in the assembly is invalid.
///
/// is .
// Token: 0x06001351 RID: 4945 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001351")]
[Address(RVA = "0x2956C10", Offset = "0x2955A10", VA = "0x182956C10")]
protected static Version GetSatelliteContractVersion(Assembly a)
{
return null;
}
/// Returns culture-specific information for the main assembly's default resources by retrieving the value of the attribute on a specified assembly.
/// The assembly for which to return culture-specific information.
/// The culture from the attribute, if found; otherwise, the invariant culture.
// Token: 0x06001352 RID: 4946 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001352")]
[Address(RVA = "0x2956770", Offset = "0x2955570", VA = "0x182956770")]
protected static CultureInfo GetNeutralResourcesLanguage(Assembly a)
{
return null;
}
// Token: 0x06001353 RID: 4947 RVA: 0x0000ECB8 File Offset: 0x0000CEB8
[Token(Token = "0x6001353")]
[Address(RVA = "0x2956140", Offset = "0x2954F40", VA = "0x182956140")]
internal static bool CompareNames(string asmTypeName1, string typeName2, AssemblyName asmName2)
{
return default(bool);
}
// Token: 0x06001354 RID: 4948 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001354")]
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080")]
private void SetAppXConfiguration()
{
}
/// Returns the value of the string resource localized for the specified culture.
/// The name of the resource to retrieve.
/// An object that represents the culture for which the resource is localized.
/// The value of the resource localized for the specified culture, or if cannot be found in a resource set.
/// The parameter is .
/// The value of the specified resource is not a string.
/// No usable set of resources has been found, and there are no resources for a default culture. For information about how to handle this exception, see the "Handling MissingManifestResourceException and MissingSatelliteAssemblyException Exceptions" section in the class topic.
/// The default culture's resources reside in a satellite assembly that could not be found. For information about how to handle this exception, see the "Handling MissingManifestResourceException and MissingSatelliteAssemblyException Exceptions" section in the class topic.
// Token: 0x06001355 RID: 4949 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001355")]
[Address(RVA = "0x2957150", Offset = "0x2955F50", VA = "0x182957150", Slot = "9")]
public virtual string GetString(string name, CultureInfo culture)
{
return null;
}
/// Specifies the root name of the resource files that the searches for resources.
// Token: 0x040009B6 RID: 2486
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x40009B6")]
protected string BaseNameField;
/// Contains a that returns a mapping from cultures to objects.
// Token: 0x040009B7 RID: 2487
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x40009B7")]
[Obsolete]
protected Hashtable ResourceSets;
// Token: 0x040009B8 RID: 2488
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x40009B8")]
[NonSerialized]
private Dictionary _resourceSets;
// Token: 0x040009B9 RID: 2489
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
[Token(Token = "0x40009B9")]
private string moduleDir;
/// Specifies the main assembly that contains the resources.
// Token: 0x040009BA RID: 2490
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
[Token(Token = "0x40009BA")]
protected Assembly MainAssembly;
// Token: 0x040009BB RID: 2491
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
[Token(Token = "0x40009BB")]
private Type _locationInfo;
// Token: 0x040009BC RID: 2492
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
[Token(Token = "0x40009BC")]
private Type _userResourceSet;
// Token: 0x040009BD RID: 2493
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
[Token(Token = "0x40009BD")]
private CultureInfo _neutralResourcesCulture;
// Token: 0x040009BE RID: 2494
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
[Token(Token = "0x40009BE")]
[NonSerialized]
private ResourceManager.CultureNameResourceSetPair _lastUsedResourceCache;
// Token: 0x040009BF RID: 2495
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
[Token(Token = "0x40009BF")]
private bool _ignoreCase;
// Token: 0x040009C0 RID: 2496
[global::Cpp2IlInjected.FieldOffset(Offset = "0x59")]
[Token(Token = "0x40009C0")]
private bool UseManifest;
// Token: 0x040009C1 RID: 2497
[global::Cpp2IlInjected.FieldOffset(Offset = "0x5A")]
[Token(Token = "0x40009C1")]
[OptionalField]
private bool UseSatelliteAssem;
// Token: 0x040009C2 RID: 2498
[global::Cpp2IlInjected.FieldOffset(Offset = "0x5C")]
[Token(Token = "0x40009C2")]
[OptionalField]
private UltimateResourceFallbackLocation _fallbackLoc;
// Token: 0x040009C3 RID: 2499
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
[Token(Token = "0x40009C3")]
[OptionalField]
private Version _satelliteContractVersion;
// Token: 0x040009C4 RID: 2500
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
[Token(Token = "0x40009C4")]
[OptionalField]
private bool _lookedForSatelliteContractVersion;
// Token: 0x040009C5 RID: 2501
[global::Cpp2IlInjected.FieldOffset(Offset = "0x70")]
[Token(Token = "0x40009C5")]
[OptionalField]
private Assembly _callingAssembly;
// Token: 0x040009C6 RID: 2502
[global::Cpp2IlInjected.FieldOffset(Offset = "0x78")]
[Token(Token = "0x40009C6")]
[OptionalField]
private RuntimeAssembly m_callingAssembly;
// Token: 0x040009C7 RID: 2503
[global::Cpp2IlInjected.FieldOffset(Offset = "0x80")]
[Token(Token = "0x40009C7")]
[NonSerialized]
private IResourceGroveler resourceGroveler;
/// Holds the number used to identify resource files.
// Token: 0x040009C8 RID: 2504
[Token(Token = "0x40009C8")]
public static readonly int MagicNumber;
/// Specifies the version of resource file headers that the current implementation of can interpret and produce.
// Token: 0x040009C9 RID: 2505
[Token(Token = "0x40009C9")]
public static readonly int HeaderVersionNumber;
// Token: 0x040009CA RID: 2506
[Token(Token = "0x40009CA")]
private static readonly Type _minResourceSet;
// Token: 0x040009CB RID: 2507
[Token(Token = "0x40009CB")]
internal static readonly string ResReaderTypeName;
// Token: 0x040009CC RID: 2508
[Token(Token = "0x40009CC")]
internal static readonly string ResSetTypeName;
// Token: 0x040009CD RID: 2509
[Token(Token = "0x40009CD")]
internal static readonly string MscorlibName;
// Token: 0x040009CE RID: 2510
[Token(Token = "0x40009CE")]
internal static readonly int DEBUG;
// Token: 0x020001F8 RID: 504
[Token(Token = "0x20001F8")]
internal class CultureNameResourceSetPair
{
// Token: 0x06001357 RID: 4951 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001357")]
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
public CultureNameResourceSetPair()
{
}
// Token: 0x040009CF RID: 2511
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x40009CF")]
public string lastCultureName;
// Token: 0x040009D0 RID: 2512
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x40009D0")]
public ResourceSet lastResourceSet;
}
// Token: 0x020001F9 RID: 505
[Token(Token = "0x20001F9")]
internal class ResourceManagerMediator
{
// Token: 0x06001358 RID: 4952 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001358")]
[Address(RVA = "0x2955CF0", Offset = "0x2954AF0", VA = "0x182955CF0")]
internal ResourceManagerMediator(ResourceManager rm)
{
}
// Token: 0x170001E4 RID: 484
// (get) Token: 0x06001359 RID: 4953 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170001E4")]
internal string ModuleDir
{
[Token(Token = "0x6001359")]
[Address(RVA = "0x407190", Offset = "0x405F90", VA = "0x180407190")]
get
{
return null;
}
}
// Token: 0x170001E5 RID: 485
// (get) Token: 0x0600135A RID: 4954 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170001E5")]
internal Type LocationInfo
{
[Token(Token = "0x600135A")]
[Address(RVA = "0x532820", Offset = "0x531620", VA = "0x180532820")]
get
{
return null;
}
}
// Token: 0x170001E6 RID: 486
// (get) Token: 0x0600135B RID: 4955 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170001E6")]
internal Type UserResourceSet
{
[Token(Token = "0x600135B")]
[Address(RVA = "0x2955E80", Offset = "0x2954C80", VA = "0x182955E80")]
get
{
return null;
}
}
// Token: 0x170001E7 RID: 487
// (get) Token: 0x0600135C RID: 4956 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170001E7")]
internal string BaseNameField
{
[Token(Token = "0x600135C")]
[Address(RVA = "0x567220", Offset = "0x566020", VA = "0x180567220")]
get
{
return null;
}
}
// Token: 0x170001E8 RID: 488
// (get) Token: 0x0600135D RID: 4957 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170001E8")]
internal CultureInfo NeutralResourcesCulture
{
[Token(Token = "0x600135D")]
[Address(RVA = "0x5327C0", Offset = "0x5315C0", VA = "0x1805327C0")]
get
{
return null;
}
}
// Token: 0x0600135E RID: 4958 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600135E")]
[Address(RVA = "0x18001C0", Offset = "0x17FEFC0", VA = "0x1818001C0")]
internal string GetResourceFileName(CultureInfo culture)
{
return null;
}
// Token: 0x170001E9 RID: 489
// (get) Token: 0x0600135F RID: 4959 RVA: 0x0000ECD0 File Offset: 0x0000CED0
// (set) Token: 0x06001360 RID: 4960 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170001E9")]
internal bool LookedForSatelliteContractVersion
{
[Token(Token = "0x600135F")]
[Address(RVA = "0x2955DB0", Offset = "0x2954BB0", VA = "0x182955DB0")]
get
{
return default(bool);
}
[Token(Token = "0x6001360")]
[Address(RVA = "0x2955EA0", Offset = "0x2954CA0", VA = "0x182955EA0")]
set
{
}
}
// Token: 0x170001EA RID: 490
// (get) Token: 0x06001361 RID: 4961 RVA: 0x00002082 File Offset: 0x00000282
// (set) Token: 0x06001362 RID: 4962 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170001EA")]
internal Version SatelliteContractVersion
{
[Token(Token = "0x6001361")]
[Address(RVA = "0x2955E60", Offset = "0x2954C60", VA = "0x182955E60")]
get
{
return null;
}
[Token(Token = "0x6001362")]
[Address(RVA = "0x2955EC0", Offset = "0x2954CC0", VA = "0x182955EC0")]
set
{
}
}
// Token: 0x06001363 RID: 4963 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001363")]
[Address(RVA = "0x2955C90", Offset = "0x2954A90", VA = "0x182955C90")]
internal Version ObtainSatelliteContractVersion(Assembly a)
{
return null;
}
// Token: 0x170001EB RID: 491
// (get) Token: 0x06001364 RID: 4964 RVA: 0x0000ECE8 File Offset: 0x0000CEE8
[Token(Token = "0x170001EB")]
internal UltimateResourceFallbackLocation FallbackLoc
{
[Token(Token = "0x6001364")]
[Address(RVA = "0x2955D90", Offset = "0x2954B90", VA = "0x182955D90")]
get
{
return UltimateResourceFallbackLocation.MainAssembly;
}
}
// Token: 0x170001EC RID: 492
// (get) Token: 0x06001365 RID: 4965 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170001EC")]
internal RuntimeAssembly CallingAssembly
{
[Token(Token = "0x6001365")]
[Address(RVA = "0x2955D70", Offset = "0x2954B70", VA = "0x182955D70")]
get
{
return null;
}
}
// Token: 0x170001ED RID: 493
// (get) Token: 0x06001366 RID: 4966 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170001ED")]
internal RuntimeAssembly MainAssembly
{
[Token(Token = "0x6001366")]
[Address(RVA = "0x2955DD0", Offset = "0x2954BD0", VA = "0x182955DD0")]
get
{
return null;
}
}
// Token: 0x170001EE RID: 494
// (get) Token: 0x06001367 RID: 4967 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170001EE")]
internal string BaseName
{
[Token(Token = "0x6001367")]
[Address(RVA = "0xDE44B0", Offset = "0xDE32B0", VA = "0x180DE44B0")]
get
{
return null;
}
}
// Token: 0x040009D1 RID: 2513
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x40009D1")]
private ResourceManager _rm;
}
}
}