From bb158ec6ee3f22ad614a984739f96a286436575d Mon Sep 17 00:00:00 2001 From: Doug Bunting Date: Wed, 29 Jul 2015 09:40:14 -0700 Subject: [PATCH] Build break: React to aspnet/Razor@e722f90 - aspnet/Razor@e722f90 removed `HashCodeCombiner` from `public` surface of Razor assembly - not actually needed since `IReadOnlyTagHelperAttribute` implementations provide a solid `GetHashCode()` --- .../TagHelperOutputExtensionsTest.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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(); } } }