System.Globalization.CompareInfo.OnDeserialized C# (CSharp) Method

OnDeserialized() private method

private OnDeserialized ( ) : void
return void
        private unsafe void OnDeserialized()
        {
            BCLDebug.Assert(this.culture >= 0, "[CompareInfo.OnDeserialized] - culture >= 0");
            
            // Get the Win32 LCID used to create NativeCompareInfo, which only takes Win32 LCID.
            if (m_sortingLCID <= 0)
            {
                m_sortingLCID = GetSortingLCID(this.culture);
            }
            if (m_pSortingTable == null && !IsSynthetic)
            {
                m_pSortingTable = InitializeCompareInfo(GlobalizationAssembly.DefaultInstance.pNativeGlobalizationAssembly, this.m_sortingLCID);
            }
            BCLDebug.Assert(IsSynthetic || m_pSortingTable != null, "m_pSortingTable != null");
            // m_name is intialized later if it not exist in the serialization stream
        }   

Same methods

CompareInfo::OnDeserialized ( StreamingContext ctx ) : void