Added missing `HtmlAttributeNotBound` to `ViewContext` property.
- Did not add a test to validate the behavior. None of the other `TagHelper`s validate that a property is not visible/bound. #2901
This commit is contained in:
parent
2792f10f9a
commit
6d228a62dc
|
|
@ -56,6 +56,7 @@ namespace Microsoft.AspNet.Mvc.TagHelpers
|
|||
|
||||
protected IHostingEnvironment HostingEnvironment { get; }
|
||||
|
||||
[HtmlAttributeNotBound]
|
||||
[ViewContext]
|
||||
public ViewContext ViewContext { get; set; }
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue