Skip to content

Commit 9b4b438

Browse files
yishengjin1413mairaw
authored andcommitted
Fix Bug 976235 : [LSI]Link to enum fields were incorrectly migrated (dotnet#2070)
* fix enum reference * fix enum field reference
1 parent b287a1e commit 9b4b438

File tree

1,697 files changed

+10847
-18368
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,697 files changed

+10847
-18368
lines changed

xml/Microsoft.Build.BuildEngine/Project.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@
461461
## Remarks
462462
If the <xref:Microsoft.Build.BuildEngine.Project.ToolsVersion%2A> attribute is not present on the [Project Element (MSBuild)](http://msdn.microsoft.com/library/d1cda56a-dbef-4109-9201-39e962e3f653) element, getting the value returns the default Tools version of the parent <xref:Microsoft.Build.BuildEngine>.
463463
464-
The <xref:Microsoft.Build.BuildEngine.Project.DefaultToolsVersion%2A> value can differ from the Tools version used during a build if its value is overridden during construction of the <xref:Microsoft.Build.BuildEngine.Project> instance or it is set to a specific value with the <xref:Microsoft.Build.BuildEngine.Project.ToolsVersion%2A> property. Setting the <xref:Microsoft.Build.BuildEngine.Project.DefaultToolsVersion%2A> value cannot change the Tools version if it has been overridden, but you can change the Tools version using the <xref:Microsoft.Build.BuildEngine.Project.ToolsVersion%2A> property.
464+
The <xref:Microsoft.Build.BuildEngine.Project.DefaultToolsVersion%2A> value can differ from the Tools version used during a build if its value is overridden during construction of the <xref:Microsoft.Build.BuildEngine.Project.DefaultToolsVersion%2A> instance or it is set to a specific value with the <xref:Microsoft.Build.BuildEngine.Project.ToolsVersion%2A> property. Setting the <xref:Microsoft.Build.BuildEngine.Project.DefaultToolsVersion%2A> value cannot change the Tools version if it has been overridden, but you can change the Tools version using the <xref:Microsoft.Build.BuildEngine.Project.ToolsVersion%2A> property.
465465
466466
For more information about Tools versions, see `MSBuild Tool Set (ToolsVersion)`.
467467

xml/Microsoft.Build.Tasks.Deployment.Bootstrapper/BuildSettings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@
149149
## Remarks
150150
If you specify <xref:Microsoft.Build.Tasks.Deployment.Bootstrapper.BuildSettings.ApplicationFile%2A>, the bootstraper will be published to the location specified by this value.
151151
152-
If <xref:Microsoft.Build.Tasks.Deployment.Bootstrapper.BuildSettings.ComponentsLocation%2A> is set to <xref:Microsoft.Build.Tasks.Deployment.Bootstrapper.ComponentsLocation>, required component files will be published to a location relative to this value.
152+
If <xref:Microsoft.Build.Tasks.Deployment.Bootstrapper.BuildSettings.ComponentsLocation%2A> is set to <xref:Microsoft.Build.Tasks.Deployment.Bootstrapper.ComponentsLocation.Relative>, required component files will be published to a location relative to this value.
153153
154154
Set this value to null if Setup.exe is not to be published to the Web.
155155

xml/Microsoft.Build.Tasks.Deployment.Bootstrapper/IBuildSettings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
## Remarks
143143
If you have specified <xref:Microsoft.Build.Tasks.Deployment.Bootstrapper.BuildSettings.ApplicationFile%2A>, the bootstraper will be published to the location specified by this value.
144144
145-
If <xref:Microsoft.Build.Tasks.Deployment.Bootstrapper.BuildSettings.ComponentsLocation%2A> is set to <xref:Microsoft.Build.Tasks.Deployment.Bootstrapper.ComponentsLocation>, required component files will be published to a location relative to this value.
145+
If <xref:Microsoft.Build.Tasks.Deployment.Bootstrapper.BuildSettings.ComponentsLocation%2A> is set to <xref:Microsoft.Build.Tasks.Deployment.Bootstrapper.ComponentsLocation.Relative>, required component files will be published to a location relative to this value.
146146
147147
Set this value to null if Setup.exe is not to be published to the Web.
148148

xml/Microsoft.Build.Tasks.Deployment.ManifestUtilities/OutputMessage.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
<format type="text/markdown"><![CDATA[
9595
9696
## Remarks
97-
The values can be <xref:Microsoft.Build.Tasks.Deployment.ManifestUtilities.OutputMessageType>, <xref:Microsoft.Build.Tasks.Deployment.ManifestUtilities.OutputMessageType>, or <xref:Microsoft.Build.Tasks.Deployment.ManifestUtilities.OutputMessageType>. For more information, see <xref:Microsoft.Build.Tasks.Deployment.ManifestUtilities.OutputMessageType>.
97+
The values can be <xref:Microsoft.Build.Tasks.Deployment.ManifestUtilities.OutputMessageType.Error>, <xref:Microsoft.Build.Tasks.Deployment.ManifestUtilities.OutputMessageType.Info>, or <xref:Microsoft.Build.Tasks.Deployment.ManifestUtilities.OutputMessageType.Warning>. For more information, see <xref:Microsoft.Build.Tasks.Deployment.ManifestUtilities.OutputMessageType>.
9898
9999
]]></format>
100100
</remarks>

xml/Microsoft.JScript/ArrayWrapper.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
<format type="text/markdown"><![CDATA[
5656
5757
## Remarks
58-
This property throws an <xref:Microsoft.JScript.JSError> exception if you try to set it.
58+
This property throws an <xref:Microsoft.JScript.JSError.AssignmentToReadOnly> exception if you try to set it.
5959
6060
]]></format>
6161
</remarks>

xml/Microsoft.SqlServer.Server/SqlFunctionAttribute.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
<format type="text/markdown"><![CDATA[
6969
7070
## Remarks
71-
The default is <xref:Microsoft.SqlServer.Server.DataAccessKind>.<xref:Microsoft.SqlServer.Server.SqlFunctionAttribute.DataAccess%2A> is also required when connecting to remote servers if transactions integration is required (the default).
71+
The default is <xref:Microsoft.SqlServer.Server.DataAccessKind.None>.<xref:Microsoft.SqlServer.Server.SqlFunctionAttribute.DataAccess%2A> is also required when connecting to remote servers if transactions integration is required (the default).
7272
7373
If a Transact-SQL query is executed from inside a table-valued function (TVF), the <xref:Microsoft.SqlServer.Server.DataAccessKind>.`Read` property should be set.
7474
@@ -229,7 +229,7 @@
229229
<format type="text/markdown"><![CDATA[
230230
231231
## Remarks
232-
The default is <xref:Microsoft.SqlServer.Server.SystemDataAccessKind>.
232+
The default is <xref:Microsoft.SqlServer.Server.SystemDataAccessKind.None>.
233233
234234
]]></format>
235235
</remarks>

xml/Microsoft.SqlServer.Server/SqlTriggerContext.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
2525
2626
## Examples
27-
The following example shows a <xref:Microsoft.SqlServer.Server.SqlTriggerContext> object being used to determine if an <xref:Microsoft.SqlServer.Server.TriggerAction> action occurred. If a row was inserted into the `user`'s table, the user name and real name are retrieved from the inserted row and then added to the **UserNameAudit** table.
27+
The following example shows a <xref:Microsoft.SqlServer.Server.SqlTriggerContext> object being used to determine if an <xref:Microsoft.SqlServer.Server.TriggerAction.Insert> action occurred. If a row was inserted into the `user`'s table, the user name and real name are retrieved from the inserted row and then added to the **UserNameAudit** table.
2828
2929
[!code-csharp[DataWorks SqlTriggerContext Sample#1](~/samples/snippets/csharp/VS_Snippets_ADO.NET/DataWorks SqlTriggerContext Sample/CS/source.cs#1)]
3030
[!code-vb[DataWorks SqlTriggerContext Sample#1](~/samples/snippets/visualbasic/VS_Snippets_ADO.NET/DataWorks SqlTriggerContext Sample/VB/source.vb#1)]
@@ -130,7 +130,7 @@
130130
<format type="text/markdown"><![CDATA[
131131
132132
## Examples
133-
The following example shows an auditing trigger. If an <xref:Microsoft.SqlServer.Server.TriggerAction> or <xref:Microsoft.SqlServer.Server.TriggerAction> action occurred, the affected rows are retrieved from the INSERTED and DELETED tables.
133+
The following example shows an auditing trigger. If an <xref:Microsoft.SqlServer.Server.TriggerAction.Insert> or <xref:Microsoft.SqlServer.Server.TriggerAction.Delete> action occurred, the affected rows are retrieved from the INSERTED and DELETED tables.
134134
135135
[!code-csharp[DataWorks SqlTriggerContext Sample#2](~/samples/snippets/csharp/VS_Snippets_ADO.NET/DataWorks SqlTriggerContext Sample/CS/source.cs#2)]
136136
[!code-vb[DataWorks SqlTriggerContext Sample#2](~/samples/snippets/visualbasic/VS_Snippets_ADO.NET/DataWorks SqlTriggerContext Sample/VB/source.vb#2)]

xml/Microsoft.VisualBasic.ApplicationServices/ApplicationBase.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
Use the `My.Application.ChangeUICulture` method to change the culture that the current thread uses for retrieving culture-specific resources.
8585
8686
> [!IMPORTANT]
87-
> The `My.Application.ChangeCulture` method requires a <xref:System.Security.Permissions.SecurityPermission> with the <xref:System.Security.Permissions.SecurityPermissionFlag> set. Manipulating threads is dangerous because of the security state associated with threads. Therefore, this permission should be given only as necessary to trustworthy code. You cannot change a thread's culture in semi-trusted code.
87+
> The `My.Application.ChangeCulture` method requires a <xref:System.Security.Permissions.SecurityPermission> with the <xref:System.Security.Permissions.SecurityPermissionFlag.ControlThread> set. Manipulating threads is dangerous because of the security state associated with threads. Therefore, this permission should be given only as necessary to trustworthy code. You cannot change a thread's culture in semi-trusted code.
8888
8989
## Availability by Project Type
9090

xml/Microsoft.VisualBasic.ApplicationServices/WindowsFormsApplicationBase.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@
7979
<format type="text/markdown"><![CDATA[
8080
8181
## Remarks
82-
If the `authenticationMode` parameter is the <xref:Microsoft.VisualBasic.ApplicationServices.AuthenticationMode> enumeration value, then this constructor attempts to set the current thread's <xref:System.Threading.Thread.CurrentPrincipal%2A> property to the <xref:System.Security.Principal.WindowsPrincipal> for the current user.
82+
If the `authenticationMode` parameter is the <xref:Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows> enumeration value, then this constructor attempts to set the current thread's <xref:System.Threading.Thread.CurrentPrincipal%2A> property to the <xref:System.Security.Principal.WindowsPrincipal> for the current user.
8383
84-
If the `authenticationMode` parameter is the <xref:Microsoft.VisualBasic.ApplicationServices.AuthenticationMode> enumeration value, then this constructor leaves the current thread's <xref:System.Threading.Thread.CurrentPrincipal%2A> property unchanged.
84+
If the `authenticationMode` parameter is the <xref:Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.ApplicationDefined> enumeration value, then this constructor leaves the current thread's <xref:System.Threading.Thread.CurrentPrincipal%2A> property unchanged.
8585
8686
]]></format>
8787
</remarks>

xml/Microsoft.VisualBasic.Compatibility.VB6/BaseControlArray.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -495,12 +495,10 @@
495495

496496
The <see cref="T:Microsoft.VisualBasic.Compatibility.VB6.BaseControlArray" /> class is the base class for all control arrays that are used in applications upgraded from Visual Basic 6.0. Because this class is not typically used to create an instance of the class, this <see langword="Protected" /> method is usually not called directly but is instead called by a derived class.
497497

498-
<block subset="none" type="note">
499-
<para>
498+
<block subset="none" type="note"><para>
500499
Functions and objects in the <see cref="N:Microsoft.VisualBasic.Compatibility.VB6" /> namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to [!INCLUDE[vbprvb](~/includes/vbprvb-md.md)]. In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the [!INCLUDE[dnprdnshort](~/includes/dnprdnshort-md.md)]. They are necessary only when the Visual Basic 6.0 code model differs significantly from the [!INCLUDE[dnprdnshort](~/includes/dnprdnshort-md.md)] implementation.
501500

502-
</para>
503-
</block></returns>
501+
</para></block></returns>
504502
<remarks>To be added.</remarks>
505503
<block subset="none" type="overrides">
506504
<para>When you override <see langword="GetControlInstanceType" /> in a derived class, do not call the <see langword="GetControlInstanceType" /> method of the base class.</para>

0 commit comments

Comments
 (0)