Esempio n. 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         int result = (_name != null
                                               ? _name.GetHashCode()
                                               : 0);
         result = (result * 397) ^ (_testClass != null
                                                            ? _testClass.GetHashCode()
                                                            : 0);
         result = (result * 397) ^ _testConstructorId;
         result = (result * 397) ^ (_testFactoryDescriptor != null
                                                            ? _testFactoryDescriptor.GetHashCode()
                                                            : 0);
         return(result);
     }
 }