70 result =
_mediator.NeutralResourcesCulture;
106 long position =
store.Position;
127 long offset = binaryReader.BaseStream.Position +
num3;
132 store.Position = position;
143 store.Position = position;
167 [
RequiresUnreferencedCode(
"The CustomResourceTypesSupport feature switch has been enabled for this app which is being trimmed. Custom readers as well as custom objects on the resources file are not observable by the trimmer and so required assemblies, types and members may be removed.")]
221 if (!
_mediator.LookedForSatelliteContractVersion)
224 _mediator.LookedForSatelliteContractVersion =
true;
262 if (
text.Length == 0)
264 text =
"<invariant>";
293 Environment.
FailFast(
"System.Private.CoreLib.resources couldn't be found! Large parts of the BCL won't work!");
295 string text =
string.Empty;
static ? object CreateInstance([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors|DynamicallyAccessedMemberTypes.NonPublicConstructors)] Type type, BindingFlags bindingAttr, Binder? binder, object?[]? args, CultureInfo? culture)
bool TryGetValue(TKey key, [MaybeNullWhen(false)] out TValue value)
static void FailFast(string? message)
static CultureInfo InvariantCulture
static CultureInfo GetCultureInfo(int culture)
static bool PredefinedCulturesOnly
virtual AssemblyName GetName()
static readonly FastResourceComparer Default
readonly ResourceManager.ResourceManagerMediator _mediator
void HandleSatelliteMissing()
static CultureInfo GetNeutralResourcesLanguage(Assembly a, out UltimateResourceFallbackLocation fallbackLocation)
ManifestBasedResourceGroveler(ResourceManager.ResourceManagerMediator mediator)
ResourceSet CreateResourceSet(Stream store, Assembly assembly)
CultureInfo UltimateFallbackFixup(CultureInfo lookForCulture)
static Assembly InternalGetSatelliteAssembly(Assembly mainAssembly, CultureInfo culture, Version version)
Assembly GetSatelliteAssembly(CultureInfo lookForCulture)
static ResourceSet InternalGetResourceSetFromSerializedData(Stream store, string readerTypeName, string resSetTypeName, ResourceManager.ResourceManagerMediator mediator)
static string GetManifestResourceNamesList(Assembly assembly)
bool CanUseDefaultResourceClasses(string readerTypeName, string resSetTypeName)
Stream GetManifestResourceStream(Assembly satellite, string fileName)
ResourceSet GrovelForResourceSet(CultureInfo culture, Dictionary< string, ResourceSet > localResourceSets, bool tryParents, bool createIfNotExists)
void HandleResourceStreamMissing(string fileName)
Stream CaseInsensitiveManifestResourceStreamLookup(Assembly satellite, string name)
static readonly int MagicNumber
virtual string GetResourceFileName(CultureInfo culture)
static bool IsDefaultType(string asmTypeName, string typeName)
static readonly int HeaderVersionNumber
static bool AllowCustomResourceTypes
static string Arg_InvalidNeutralResourcesLanguage_FallbackLoc
static string Arg_InvalidNeutralResourcesLanguage_Asm_Culture
static string NotSupported_ObsoleteResourcesFile
static string MissingManifestResource_NoNeutralAsm
static string Format(string resourceFormat, object p1)
static string MissingManifestResource_MultipleBlobs
static string MissingSatelliteAssembly_Culture_Name
static string InvalidOperation_ResMgrBadResSet_Type
static string ResourceManager_ReflectionNotAllowed
static ? Type GetType(string typeName, bool throwOnError, bool ignoreCase)
static readonly char Delimiter
UltimateResourceFallbackLocation