public static bool Equals(StaticString a, StaticString b) { //if( a == Null && b == Null ) { // return true; //} //if( a == Null && b != Null ) { // return false; //} //if( a != Null && b == Null ) { // return false; //} int lhs = 0; int rhs = 0; try { lhs = a.m_Hash; } catch (Exception) { } try { rhs = b.m_Hash; } catch (Exception) { } return(lhs == rhs); }
public bool Equals(StaticString rhs) { return(m_Hash.Equals(rhs.m_Hash)); }
public static bool Equals(StaticString a, string b) { return(a.ToString().Equals(b)); }
public StaticString(StaticString str) { m_Hash = str.m_Hash; }
public static bool operator!=(string a, StaticString b) { return(!StaticString.Equals(a, b)); }
public static bool operator!=(StaticString lhs, string rhs) { return(!StaticString.Equals(lhs, rhs)); }
public int CompareTo(StaticString rhs) { return(m_Hash.CompareTo(rhs.m_Hash)); }
public static bool Equals(string a, StaticString b) { return(a.Equals(b.ToString())); }