diff --git a/test/Microsoft.AspNet.Mvc.TagHelpers.Test/TagHelperOutputExtensionsTest.cs b/test/Microsoft.AspNet.Mvc.TagHelpers.Test/TagHelperOutputExtensionsTest.cs index 9788b95e73..351567ccad 100644 --- a/test/Microsoft.AspNet.Mvc.TagHelpers.Test/TagHelperOutputExtensionsTest.cs +++ b/test/Microsoft.AspNet.Mvc.TagHelpers.Test/TagHelperOutputExtensionsTest.cs @@ -620,11 +620,7 @@ namespace Microsoft.AspNet.Mvc.TagHelpers public int GetHashCode(IReadOnlyTagHelperAttribute attribute) { - return HashCodeCombiner - .Start() - .Add(attribute.Name, StringComparer.Ordinal) - .Add(attribute.Value) - .CombinedHash; + return attribute.GetHashCode(); } } }