System.Globalization.TextInfo.TextInfo C# (CSharp) Method

TextInfo() private method

private TextInfo ( CultureTableRecord table ) : System
table CultureTableRecord
return System
        internal unsafe TextInfo(CultureTableRecord table) 
        {
            this.m_cultureTableRecord = table;
            this.m_textInfoID = this.m_cultureTableRecord.ITEXTINFO;

            if (table.IsSynthetic)
            {
                // <SyntheticSupport/>
                //
                // we just initialize m_pNativeTextInfo with variant to make the synthetic TextInfo works when 
                // GetCaseInsensitiveHashCode and ChangeCaseSurrogate get called. otherwise m_pNativeTextInfo
                // is not used at all in TextInfo with synthetic cultures.
                // 
                m_pNativeTextInfo = InvariantNativeTextInfo;
            }
            else
            {
                this.m_pNativeTextInfo = GetNativeTextInfo(this.m_textInfoID);
            }
        }

Same methods

TextInfo::TextInfo ( ) : System