unsafe internal int GetHashCodeOfString(string source, CompareOptions options)
{
//
// Parameter validation
//
if(null == source)
{
throw new ArgumentNullException("source");
}
if ((options & ValidHashCodeOfStringMaskOffFlags) != 0)
{
throw new ArgumentException(Environment.GetResourceString("Argument_InvalidFlag"), "options");
}
if(0 == source.Length)
{
return(0);
}
//
////////////////////////////////////////////////////////////////////////
return (nativeGetGlobalizedHashCode(m_pSortingTable, source, (int)options, this.m_sortingLCID));
}