Exemplo n.º 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = base.GetHashCode();
         hashCode = (hashCode * 397) ^ (_sources != null ? _sources.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (int)ScriptType;
         hashCode = (hashCode * 397) ^ EscapeScript.GetHashCode();
         hashCode = (hashCode * 397) ^ (IncludeFile != null ? IncludeFile.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Script != null ? Script.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Result != null ? Result.GetHashCode() : 0);
         return(hashCode);
     }
 }