Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetCachedSortHandle()

static IntPtr System.Globalization.CompareInfo.SortHandleCache.GetCachedSortHandle ( string sortName)
inlinestaticpackage

Definition at line 22 of file CompareInfo.cs.

23 {
25 {
27 {
29 {
30 case Interop.Globalization.ResultCode.OutOfMemory:
31 throw new OutOfMemoryException();
32 default:
33 throw new ExternalException(SR.Arg_ExternalException);
34 case Interop.Globalization.ResultCode.Success:
35 break;
36 }
37 try
38 {
40 }
41 catch
42 {
44 throw;
45 }
46 }
47 return value;
48 }
49 }
static void CloseSortHandle(IntPtr handle)
static ResultCode GetSortHandle(string localeName, out IntPtr sortHandle)
static readonly Dictionary< string, IntPtr > s_sortNameToSortHandleCache

References System.SR.Arg_ExternalException, Interop.Globalization.CloseSortHandle(), System.Runtime.Serialization.Dictionary, Interop.Globalization.GetSortHandle(), System.Globalization.CompareInfo.SortHandleCache.s_sortNameToSortHandleCache, and System.value.

Referenced by System.Globalization.CompareInfo.IcuInitSortHandle().