Esempio n. 1
0
 /// <summary>
 /// Serves as the default hash function.
 /// </summary>
 /// <returns>
 /// A hash code for the current object.
 /// </returns>
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = FullScreen.GetHashCode();
         hashCode = (hashCode * 397) ^ Resolution.GetHashCode();
         hashCode = (hashCode * 397) ^ VSync.GetHashCode();
         return(hashCode);
     }
 }