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

65 lines
2.5 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Resources
{
/// <summary>Informs the resource manager of an app's default culture. This class cannot be inherited.</summary>
// Token: 0x020001FB RID: 507
[Token(Token = "0x20001FB")]
[AttributeUsage(AttributeTargets.Assembly)]
[ComVisible(true)]
public sealed class NeutralResourcesLanguageAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.Resources.NeutralResourcesLanguageAttribute" /> class.</summary>
/// <param name="cultureName">The name of the culture that the current assembly's neutral resources were written in.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="cultureName" /> parameter is <see langword="null" />.</exception>
// Token: 0x06001371 RID: 4977 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001371")]
[Address(RVA = "0x2CF3BD0", Offset = "0x2CF2BD0", VA = "0x182CF3BD0")]
public NeutralResourcesLanguageAttribute(string cultureName)
{
}
/// <summary>Gets the culture name.</summary>
/// <returns>The name of the default culture for the main assembly.</returns>
// Token: 0x170001E7 RID: 487
// (get) Token: 0x06001372 RID: 4978 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170001E7")]
public string CultureName
{
[Token(Token = "0x6001372")]
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
get
{
return null;
}
}
/// <summary>Gets the location for the <see cref="T:System.Resources.ResourceManager" /> class to use to retrieve neutral resources by using the resource fallback process.</summary>
/// <returns>One of the enumeration values that indicates the location (main assembly or satellite) from which to retrieve neutral resources.</returns>
// Token: 0x170001E8 RID: 488
// (get) Token: 0x06001373 RID: 4979 RVA: 0x0000EFB8 File Offset: 0x0000D1B8
[Token(Token = "0x170001E8")]
public UltimateResourceFallbackLocation Location
{
[Token(Token = "0x6001373")]
[Address(RVA = "0x411540", Offset = "0x410540", VA = "0x180411540")]
get
{
return UltimateResourceFallbackLocation.MainAssembly;
}
}
// Token: 0x040009B6 RID: 2486
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x40009B6")]
private string _culture;
// Token: 0x040009B7 RID: 2487
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x40009B7")]
private UltimateResourceFallbackLocation _fallbackLoc;
}
}