コード例 #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var result = base.GetHashCode();
         result = (result * 397) ^ ContextTypeName.GetHashCode();
         return(result);
     }
 }
コード例 #2
0
ファイル: Task.cs プロジェクト: slav/machine.specifications
 public override int GetHashCode()
 {
     unchecked
     {
         int result = base.GetHashCode();
         result = (result * 397) ^ AssemblyLocation.GetHashCode();
         result = (result * 397) ^ ContextTypeName.GetHashCode();
         result = (result * 397) ^ RunExplicitly.GetHashCode();
         return(result);
     }
 }
コード例 #3
0
 public override int GetHashCode()
 {
     unchecked
     {
         var result = base.GetHashCode();
         result = (result * 397) ^ ContextTypeName.GetHashCode();
         result = (result * 397) ^ BehaviorTypeName.GetHashCode();
         result = (result * 397) ^ SpecificationFieldName.GetHashCode();
         result = (result * 397) ^ SpecificationFieldNameOnContext.GetHashCode();
         return(result);
     }
 }