- aspnet/Razor@e722f90 removed `HashCodeCombiner` from `public` surface of Razor assembly
- not actually needed since `IReadOnlyTagHelperAttribute` implementations provide a solid `GetHashCode()`
This commit is contained in:
Doug Bunting 2015-07-29 09:40:14 -07:00
parent e96b4d7b94
commit bb158ec6ee
1 changed files with 1 additions and 5 deletions

View File

@ -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();
}
}
}