コード例 #1
0
 internal override int GetHashCode(ComparisonOptions options)
 {
     // TODO(cyrusn): Consider hashing the type arguments as well.
     return
         (Hash.Combine(_arity,
                       Hash.Combine(GetHashCode(options.IgnoreCase, _metadataName),
                                    _containerKey.GetHashCode(options))));
 }
コード例 #2
0
 internal override int GetHashCode(ComparisonOptions options)
 {
     // TODO(cyrusn): Consider hashing the parameters as well
     return
         (Hash.Combine(_isIndexer,
                       Hash.Combine(_refKinds.Length,
                                    Hash.Combine(GetHashCode(options.IgnoreCase, _metadataName),
                                                 _containerKey.GetHashCode(options)))));
 }
コード例 #3
0
 internal override int GetHashCode(ComparisonOptions options)
 {
     // TODO: Consider hashing the parameters as well
     return
         (Hash.Combine(_arity,
                       Hash.Combine(_refKinds.Length,
                                    Hash.Combine(_isPartialMethodImplementationPart,
                                                 Hash.Combine(GetHashCode(options.IgnoreCase, _metadataName),
                                                              _containerKey.GetHashCode(options))))));
 }
コード例 #4
0
 internal override int GetHashCode(ComparisonOptions options)
 {
     return(Hash.Combine(
                GetHashCode(options.IgnoreCase, _metadataName),
                _containerKey.GetHashCode(options)));
 }
コード例 #5
0
 public int GetHashCode(SymbolKey obj) => obj.GetHashCode();
コード例 #6
0
 internal override int GetHashCode(ComparisonOptions options)
 {
     return(Hash.Combine(
                _rank,
                _elementKey.GetHashCode(options)));
 }
コード例 #7
0
 internal override int GetHashCode(ComparisonOptions options)
 {
     return(Hash.Combine(1, _pointedAtKey.GetHashCode(options)));
 }