Ejemplo n.º 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (int)ConfigSource;
         hashCode = (hashCode * 397) ^ (CustomDependencies != null ? CustomDependencies.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (GeneratorCustomDependencies != null ? GeneratorCustomDependencies.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (FeatureLanguage != null ? FeatureLanguage.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (BindingCulture != null ? BindingCulture.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (UnitTestProvider != null ? UnitTestProvider.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ StopAtFirstError.GetHashCode();
         hashCode = (hashCode * 397) ^ (int)MissingOrPendingStepsOutcome;
         hashCode = (hashCode * 397) ^ AllowDebugGeneratedFiles.GetHashCode();
         hashCode = (hashCode * 397) ^ AllowRowTests.GetHashCode();
         hashCode = (hashCode * 397) ^ TraceSuccessfulSteps.GetHashCode();
         hashCode = (hashCode * 397) ^ TraceTimings.GetHashCode();
         hashCode = (hashCode * 397) ^ MinTracedDuration.GetHashCode();
         hashCode = (hashCode * 397) ^ (int)StepDefinitionSkeletonStyle;
         hashCode = (hashCode * 397) ^ (AdditionalStepAssemblies != null ? AdditionalStepAssemblies.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Plugins != null ? Plugins.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ MarkFeaturesParallelizable.GetHashCode();
         hashCode = (hashCode * 397) ^ (SkipParallelizableMarkerForTags != null ? SkipParallelizableMarkerForTags.GetHashCode() : 0);
         return(hashCode);
     }
 }
Ejemplo n.º 2
0
        public override int GetHashCode()
        {
            unchecked
            {
                var hashCode = CucumberMessagesConfiguration != null?CucumberMessagesConfiguration.GetHashCode() : 0;

                hashCode = (hashCode * 397) ^ (int)ConfigSource;
                hashCode = (hashCode * 397) ^ (CustomDependencies != null ? CustomDependencies.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ (GeneratorCustomDependencies != null ? GeneratorCustomDependencies.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ (FeatureLanguage != null ? FeatureLanguage.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ (BindingCulture != null ? BindingCulture.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ StopAtFirstError.GetHashCode();
                hashCode = (hashCode * 397) ^ (int)MissingOrPendingStepsOutcome;
                hashCode = (hashCode * 397) ^ AllowDebugGeneratedFiles.GetHashCode();
                hashCode = (hashCode * 397) ^ AllowRowTests.GetHashCode();
                hashCode = (hashCode * 397) ^ (int)ObsoleteBehavior;
                hashCode = (hashCode * 397) ^ TraceSuccessfulSteps.GetHashCode();
                hashCode = (hashCode * 397) ^ TraceTimings.GetHashCode();
                hashCode = (hashCode * 397) ^ MinTracedDuration.GetHashCode();
                hashCode = (hashCode * 397) ^ (int)StepDefinitionSkeletonStyle;
                hashCode = (hashCode * 397) ^ (AdditionalStepAssemblies != null ? AdditionalStepAssemblies.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ (AddNonParallelizableMarkerForTags != null ? AddNonParallelizableMarkerForTags.GetHashCode() : 0);
                return(hashCode);
            }
        }
Ejemplo n.º 3
0
 public override int GetHashCode()
 {
     unchecked
     {
         int result = (FeatureLanguage != null ? FeatureLanguage.GetHashCode() : 0);
         result = (result * 397) ^ (ToolLanguage != null ? ToolLanguage.GetHashCode() : 0);
         result = (result * 397) ^ (GeneratorUnitTestProviderType != null ? GeneratorUnitTestProviderType.GetHashCode() : 0);
         result = (result * 397) ^ AllowDebugGeneratedFiles.GetHashCode();
         result = (result * 397) ^ AllowRowTests.GetHashCode();
         return(result);
     }
 }
Ejemplo n.º 4
0
 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);
     }
 }
Ejemplo n.º 5
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = (FeatureLanguage != null ? FeatureLanguage.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (ToolLanguage != null ? ToolLanguage.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (BindingCulture != null ? BindingCulture.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (RuntimeUnitTestProvider != null ? RuntimeUnitTestProvider.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ DetectAmbiguousMatches.GetHashCode();
         hashCode = (hashCode * 397) ^ StopAtFirstError.GetHashCode();
         hashCode = (hashCode * 397) ^ MissingOrPendingStepsOutcome.GetHashCode();
         hashCode = (hashCode * 397) ^ TraceSuccessfulSteps.GetHashCode();
         hashCode = (hashCode * 397) ^ TraceTimings.GetHashCode();
         hashCode = (hashCode * 397) ^ MinTracedDuration.GetHashCode();
         hashCode = (hashCode * 397) ^ StepDefinitionSkeletonStyle.GetHashCode();
         return(hashCode);
     }
 }