terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ GrovelForResourceSet()

ResourceSet System.Resources.FileBasedResourceGroveler.GrovelForResourceSet ( CultureInfo culture,
Dictionary< string, ResourceSet > localResourceSets,
bool tryParents,
bool createIfNotExists,
StackCrawlMark stackMark )
inline

Implements System.Resources.IResourceGroveler.

Definition at line 18 of file FileBasedResourceGroveler.cs.

19 {
20 ResourceManager rm = this._mediator._rm;
21 string text;
22 if (text != null)
23 {
24 return this.CreateResourceSet(text);
25 }
26 bool hasInvariantCultureName = culture.HasInvariantCultureName;
27 string resourceString = Environment.GetResourceString("Could not find any resources appropriate for the specified culture (or the neutral culture) on disk.");
28 if (resourceString == null || resourceString != null)
29 {
30 string newLine = Environment.NewLine;
31 if ((newLine == null || newLine != null) && ("baseName: " == null || "baseName: " != null))
32 {
33 string baseNameField = this._mediator._rm.BaseNameField;
34 if ((baseNameField == null || baseNameField != null) && (" locationInfo: " == null || " locationInfo: " != null))
35 {
36 ResourceManager rm2 = this._mediator._rm;
37 Type locationInfo = rm2._locationInfo;
38 if (rm2 == null)
39 {
40 }
41 return "<null>";
42 }
43 }
44 }
46 }
class f__AnonymousType0<< Count > j__TPar
static string NewLine
static string GetResourceString(string key)
ResourceManager.ResourceManagerMediator _mediator

References System.Resources.FileBasedResourceGroveler._mediator, System.Resources.ResourceManager.BaseNameField, System.Resources.FileBasedResourceGroveler.CreateResourceSet(), System.culture, System.Environment.GetResourceString(), j__TPar, System.Environment.NewLine, and System.text.