diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Internal/DefaultEditorTemplates.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Internal/DefaultEditorTemplates.cs
index 1fce1dc8d5..6248883489 100644
--- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Internal/DefaultEditorTemplates.cs
+++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Internal/DefaultEditorTemplates.cs
@@ -437,7 +437,7 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Internal
private static IHtmlContent GenerateTextBox(IHtmlHelper htmlHelper, object value, object htmlAttributes)
{
return htmlHelper.TextBox(
- current: null,
+ expression: null,
value: value,
format: null,
htmlAttributes: htmlAttributes);
diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/IHtmlHelper.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/IHtmlHelper.cs
index c757db49f9..0a31ca723a 100644
--- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/IHtmlHelper.cs
+++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/IHtmlHelper.cs
@@ -634,16 +634,16 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
IHtmlContent TextArea(string expression, string value, int rows, int columns, object htmlAttributes);
///
- /// Returns an <input> element of type "text" for the specified . Adds a
+ /// Returns an <input> element of type "text" for the specified . Adds a
/// "value" attribute to the element containing the first non-null value found in:
/// the entry with full name,
/// the parameter,
/// the entry with full name,
- /// the evaluated against , or
+ /// the evaluated against , or
/// the dictionary entry with key "value".
/// See for more information about a "full name".
///
- /// Expression name, relative to the current model.
+ /// Expression name, relative to the current model.
/// If non-null, value to include in the element.
///
/// The format string (see https://msdn.microsoft.com/en-us/library/txafckwd.aspx) used to format the "value"
@@ -655,11 +655,11 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
///
/// A new containing the <input> element.
///
- /// Combines and to set
- /// <input> element's "name" attribute. Sanitizes to set element's "id"
+ /// Combines and to set
+ /// <input> element's "name" attribute. Sanitizes to set element's "id"
/// attribute.
///
- IHtmlContent TextBox(string current, object value, string format, object htmlAttributes);
+ IHtmlContent TextBox(string expression, object value, string format, object htmlAttributes);
///
/// Returns the validation message if an error exists in the object
diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/exceptions.net45.json b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/exceptions.net45.json
index 3f5e07c865..d3c60e975f 100644
--- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/exceptions.net45.json
+++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/exceptions.net45.json
@@ -1,10 +1,21 @@
[
+ {
+ "OldTypeId": "public interface Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper",
+ "OldMemberId": "Microsoft.AspNetCore.Html.IHtmlContent TextBox(System.String current, System.Object value, System.String format, System.Object htmlAttributes)",
+ "Kind": "Removal"
+ },
+ {
+ "OldTypeId": "public interface Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper",
+ "NewTypeId": "public interface Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper",
+ "NewMemberId": "Microsoft.AspNetCore.Html.IHtmlContent TextBox(System.String expression, System.Object value, System.String format, System.Object htmlAttributes)",
+ "Kind": "Addition"
+ },
{
"OldTypeId": "public class Microsoft.AspNetCore.Mvc.ViewComponentResult : Microsoft.AspNetCore.Mvc.ActionResult",
"OldMemberId": "public Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine get_ViewEngine()",
"Kind": "Removal"
},
- {
+ {
"OldTypeId": "public class Microsoft.AspNetCore.Mvc.ViewComponentResult : Microsoft.AspNetCore.Mvc.ActionResult",
"OldMemberId": "public System.Void set_ViewEngine(Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine value)",
"Kind": "Removal"
diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/exceptions.netcore.json b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/exceptions.netcore.json
index 3f5e07c865..d3c60e975f 100644
--- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/exceptions.netcore.json
+++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/exceptions.netcore.json
@@ -1,10 +1,21 @@
[
+ {
+ "OldTypeId": "public interface Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper",
+ "OldMemberId": "Microsoft.AspNetCore.Html.IHtmlContent TextBox(System.String current, System.Object value, System.String format, System.Object htmlAttributes)",
+ "Kind": "Removal"
+ },
+ {
+ "OldTypeId": "public interface Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper",
+ "NewTypeId": "public interface Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper",
+ "NewMemberId": "Microsoft.AspNetCore.Html.IHtmlContent TextBox(System.String expression, System.Object value, System.String format, System.Object htmlAttributes)",
+ "Kind": "Addition"
+ },
{
"OldTypeId": "public class Microsoft.AspNetCore.Mvc.ViewComponentResult : Microsoft.AspNetCore.Mvc.ActionResult",
"OldMemberId": "public Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine get_ViewEngine()",
"Kind": "Removal"
},
- {
+ {
"OldTypeId": "public class Microsoft.AspNetCore.Mvc.ViewComponentResult : Microsoft.AspNetCore.Mvc.ActionResult",
"OldMemberId": "public System.Void set_ViewEngine(Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine value)",
"Kind": "Removal"