예제 #1
0
파일: IdEntry.cs 프로젝트: fvannee/vnvd
 /// <summary>
 /// Serves as a hash function for a particular type.
 /// </summary>
 /// <returns>
 /// A hash code for the current <see cref="T:System.Object"/>.
 /// </returns>
 /// <filterpriority>2</filterpriority>
 public override int GetHashCode()
 {
     unchecked
     {
         int result = Level;
         result = (result * 397) ^ (ReflectionObject != null ? ReflectionObject.GetHashCode() : 0);
         result = (result * 397) ^ (Node != null ? Node.GetHashCode() : 0);
         return(result);
     }
 }