コード例 #1
0
 protected override int ComputeHashCode()
 {
     return(HashUtilities.Combine(CreationOpt?.GetHashCode() ?? 0,
                                  HashUtilities.Combine(SymbolOpt?.GetHashCode() ?? 0,
                                                        HashUtilities.Combine(AnalysisEntityOpt?.GetHashCode() ?? 0,
                                                                              HashUtilities.Combine(LocationTypeOpt?.GetHashCode() ?? 0,
                                                                                                    HashUtilities.Combine(_isSpecialSingleton.GetHashCode(), IsNull.GetHashCode()))))));
 }
コード例 #2
0
 protected override int ComputeHashCode()
 {
     return(HashUtilities.Combine(CreationOpt?.GetHashCode() ?? 0,
                                  HashUtilities.Combine(SymbolOpt?.GetHashCode() ?? 0,
                                                        HashUtilities.Combine(AnalysisEntityOpt?.GetHashCode() ?? 0, LocationTypeOpt?.GetHashCode() ?? 0))));
 }