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()`
This commit is contained in:
parent
e96b4d7b94
commit
bb158ec6ee
|
|
@ -620,11 +620,7 @@ namespace Microsoft.AspNet.Mvc.TagHelpers
|
||||||
|
|
||||||
public int GetHashCode(IReadOnlyTagHelperAttribute attribute)
|
public int GetHashCode(IReadOnlyTagHelperAttribute attribute)
|
||||||
{
|
{
|
||||||
return HashCodeCombiner
|
return attribute.GetHashCode();
|
||||||
.Start()
|
|
||||||
.Add(attribute.Name, StringComparer.Ordinal)
|
|
||||||
.Add(attribute.Value)
|
|
||||||
.CombinedHash;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue