Skip to content

Commit e8c4cc3

Browse files
authored
Fix xref format issue in MetadataLoadContext.xml and LinqDataSourceView.xml (#4266)
1 parent 560f5df commit e8c4cc3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

xml/System.Reflection/MetadataLoadContext.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ If a core assembly cannot be found or if the core assembly is missing types, thi
121121
122122
* <xref:System.Reflection.MethodInfo.ReturnType?displayProperty=nameWithType>
123123
* <xref:System.Reflection.MethodBase.GetParameters%2A?displayProperty=nameWithType>
124-
* <xref:System.Type.BaseType?displayProperty-nameWithType>
124+
* <xref:System.Type.BaseType?displayProperty=nameWithType>
125125
* <xref:System.Type.GetInterfaces%2A?displayProperty=nameWithType>
126126
127127
* APIs that need to compare types to well-known core types will not throw an exception, and the comparison will evaluate to `false`. For example, if you do not specify a core assembly, <xref:System.Type.IsPrimitive> will return `false` for everything, even types named <xref:System.Int32>. Similarly, <xref:System.Type.GetTypeCode%2A?displayProperty=nameWithType> will return <xref:System.TypeCode.Object> for everything.

xml/System.Web.UI.WebControls/LinqDataSourceView.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2104,7 +2104,7 @@ For more information, see the <xref:System.Web.UI.WebControls.LinqDataSource.Ord
21042104
## Remarks
21052105
The `SaveViewState` method is primarily used by control developers.
21062106
2107-
View state is the accumulation of the values of the properties for a server control. These values are automatically added to the <xref:System.Web.UI.Control.ViewState> property of the server control, which is an instance of the <xref>:System.Web.UI.StateBag> class. The <xref:System.Web.UI.Control.ViewState> value for the server control is then persisted to a string object after the save-state stage of the server control life cycle.
2107+
View state is the accumulation of the values of the properties for a server control. These values are automatically added to the <xref:System.Web.UI.Control.ViewState> property of the server control, which is an instance of the <xref:System.Web.UI.StateBag> class. The <xref:System.Web.UI.Control.ViewState> value for the server control is then persisted to a string object after the save-state stage of the server control life cycle.
21082108
21092109
When view state is saved, the string object that was persisted after the save-state stage of the server control life cycle is rendered to the browser as an HTML hidden element. When you create custom server controls, you can improve efficiency by overriding the `SaveViewState` method and modifying the `ViewState` property for your server control. For more information, see [ASP.NET State Management Overview](https://docs.microsoft.com/previous-versions/aspnet/75x4ha6s(v=vs.100)).
21102110

0 commit comments

Comments
 (0)