Beispiel #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         int result = (FeatureLanguage != null ? FeatureLanguage.GetHashCode() : 0);
         result = (result * 397) ^ (ToolLanguage != null ? ToolLanguage.GetHashCode() : 0);
         result = (result * 397) ^ (GeneratorUnitTestProvider != null ? GeneratorUnitTestProvider.GetHashCode() : 0);
         result = (result * 397) ^ AllowDebugGeneratedFiles.GetHashCode();
         result = (result * 397) ^ AllowRowTests.GetHashCode();
         return(result);
     }
 }
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = (FeatureLanguage != null ? FeatureLanguage.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (ToolLanguage != null ? ToolLanguage.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (GeneratorUnitTestProvider != null ? GeneratorUnitTestProvider.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ AllowDebugGeneratedFiles.GetHashCode();
         hashCode = (hashCode * 397) ^ AllowRowTests.GetHashCode();
         hashCode = (hashCode * 397) ^ (GeneratorPath != null ? GeneratorPath.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ UsesPlugins.GetHashCode();
         return(hashCode);
     }
 }