Ejemplo n.º 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((ModuleName.GetHashCode() * 397) ^ Token.GetHashCode());
     }
 }
Ejemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ModuleHash.Length != 0)
            {
                hash ^= ModuleHash.GetHashCode();
            }
            if (MetadataToken != 0)
            {
                hash ^= MetadataToken.GetHashCode();
            }
            if (StartLineNumber != 0)
            {
                hash ^= StartLineNumber.GetHashCode();
            }
            if (EndLineNumber != 0)
            {
                hash ^= EndLineNumber.GetHashCode();
            }
            return(hash);
        }
 public sealed override int GetHashCode() => MetadataToken.GetHashCode() ^ DeclaringType.GetHashCode();
Ejemplo n.º 4
0
 public override int GetHashCode()
 {
     return(m_token.GetHashCode() ^ m_tables.GetHashCode());
 }
Ejemplo n.º 5
0
 public override int GetHashCode()
 {
     return(MetadataToken.GetHashCode() ^ ModuleHandle.GetHashCode());
 }