public override int GetHashCode()
 {
     return((Sym != null ? Sym.GetHashCode() : 0) +
            (Ats != null ? Ats.GetHashCode() : 0));
 }
示例#2
0
文件: WithType.cs 项目: jnm2/corefx
 [ExcludeFromCodeCoverage] // Never used as a key.
 public override int GetHashCode()
 {
     Debug.Fail("If using this as a key, implement IEquatable<SymWithType>");
     return((Sym?.GetHashCode() ?? 0) + (Ats?.GetHashCode() ?? 0));
 }
示例#3
0
 public override int GetHashCode()
 {
     return((Sym?.GetHashCode() ?? 0) + (Ats?.GetHashCode() ?? 0));
 }