Exemple #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((ErrorId ?? -1) ^ ErrorPosition.GetHashCode());
     }
 }
Exemple #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((SourceSpan.GetHashCode() * 397) ^ Line);
     }
 }
 public override int GetHashCode()
 {
     unchecked
     {
         int hash = Span.GetHashCode();
         hash = (hash * 397) ^ StartLine;
         hash = (hash * 397) ^ EndLineColumn;
         hash = (hash * 397) ^ FullFilePath.Length;
         return(hash);
     }
 }
 public override int GetHashCode()
 => Hash.Combine(
     Document,
     SourceSpan.GetHashCode());