public override int GetHashCode()
{
return this.m_str.GetHashCode();
}
public void TestDiffInstances() { string str = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH); StringInfo stringInfo1 = new StringInfo(str); StringInfo stringInfo2 = new StringInfo(""); Assert.NotEqual(stringInfo2.GetHashCode(), stringInfo1.GetHashCode()); }