public unsafe virtual SortKey GetSortKey(String source, CompareOptions options) { // SortKey() will check the parameters and validate them accordingly. return (new SortKey(m_pSortingTable, this.m_sortingLCID, source, options)); }
void AssertSortKey (string message, byte [] expected, string test, CompareOptions opt, CompareInfo ci) { byte [] actual = ci.GetSortKey (test, opt).KeyData; Assert.AreEqual (expected, actual, message); }