Esempio n. 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = base.GetHashCode();
         hashCode = (hashCode * 397) ^ (MinimumRuntimeVersion != null ? MinimumRuntimeVersion.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ ExternalDependencies.GetHashCode();
         return(hashCode);
     }
 }
Esempio n. 2
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = base.GetHashCode();
         hashCode = (hashCode * 397) ^ (MinimumRuntimeVersion?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ (int)RuntimeType;
         hashCode = (hashCode * 397) ^ ExternalDependencies.GetHashCode();
         return(hashCode);
     }
 }