Skip to content

Commit e88a58b

Browse files
authored
markdig fixes - Part 2 (#2552)
* markdig fixes * fix formatting * undo one set of changes
1 parent 6ff029f commit e88a58b

File tree

9 files changed

+49
-46
lines changed

9 files changed

+49
-46
lines changed

xml/Microsoft.VisualBasic.Compatibility.VB6/WebBrowserArray.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -817,16 +817,14 @@ MsgBox(CStr(WebBrowserArray(1).Text))
817817
818818
- <xref:System.Windows.Forms.WebBrowser.GoSearch%2A>
819819
820-
-
821-
822820
You can handle the `Navigating` event to cancel navigation if certain conditions have not been met, for example, when the user has not completely filled out a form. To cancel navigation, set the `Cancel` property of the <xref:System.Windows.Forms.WebBrowserNavigatingEventArgs> object passed to the event handler to `true`. You can also use this object to retrieve the URL of the new document through the <xref:System.Windows.Forms.WebBrowserNavigatingEventArgs.Url%2A> property. If the new document will be displayed in a Web page frame, you can retrieve the name of the frame through the <xref:System.Windows.Forms.WebBrowserNavigatingEventArgs.TargetFrameName%2A> property.
823821
824822
Handle the <xref:Microsoft.VisualBasic.Compatibility.VB6.WebBrowserArray.Navigated> event to receive notification when the <xref:System.Windows.Forms.WebBrowser> control finishes navigation and has begun loading the document at the new location. Handle the <xref:Microsoft.VisualBasic.Compatibility.VB6.WebBrowserArray.DocumentCompleted> event to receive notification when the <xref:System.Windows.Forms.WebBrowser> control finishes loading the new document.
825823
826824
For more information about how to handle events, see [Handling and Raising Events](~/docs/standard/events/index.md).
827825
828826
> [!NOTE]
829-
> Functions and objects in the <xref:Microsoft.VisualBasic.Compatibility.VB6> namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic. 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.
827+
> Functions and objects in the <xref:Microsoft.VisualBasic.Compatibility.VB6> namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic. 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.
830828
831829
]]></format>
832830
</remarks>

xml/System.Activities/WorkflowIdentityFilter.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,22 @@
2020
## Remarks
2121
This class supports the versioning and dynamic update functionality of Windows Workflow Foundation. For more information about workflow versioning, workflow identity, and dynamic update, see the following topics:
2222
23-
- [Workflow Versioning](~/docs/framework/windows-workflow-foundation/whats-new-in-wf-in-dotnet.md)
23+
- [Workflow Versioning](~/docs/framework/windows-workflow-foundation/whats-new-in-wf-in-dotnet.md)
2424
Describes the workflow versioning functionality introduced in [!INCLUDE[net_v45](~/includes/net-v45-md.md)].
2525
26-
- [Dynamic Update](~/docs/framework/windows-workflow-foundation/dynamic-update.md)
26+
- [Dynamic Update](~/docs/framework/windows-workflow-foundation/dynamic-update.md)
2727
Describes how to update the workflow definition of a persisted workflow instance by using dynamic update.
2828
29-
- [Using WorkflowApplication Identity and Versioning](~/docs/framework/windows-workflow-foundation/using-workflowidentity-and-versioning.md)
29+
- [Using WorkflowApplication Identity and Versioning](~/docs/framework/windows-workflow-foundation/using-workflowidentity-and-versioning.md)
3030
Describes how to use <xref:System.Activities.WorkflowIdentity> to host multiple versions of a workflow side-by-side.
3131
32-
- [Side by Side Versioning in WorkflowServiceHost](~/docs/framework/wcf/feature-details/side-by-side-versioning-in-workflowservicehost.md)
32+
- [Side by Side Versioning in WorkflowServiceHost](~/docs/framework/wcf/feature-details/side-by-side-versioning-in-workflowservicehost.md)
3333
Describes how to host multiple versions of a workflow on a single endpoint.
3434
35-
- [How to: Host Multiple Versions of a Workflow Side-by-Side](~/docs/framework/windows-workflow-foundation/how-to-host-multiple-versions-of-a-workflow-side-by-side.md)
35+
- [How to: Host Multiple Versions of a Workflow Side-by-Side](~/docs/framework/windows-workflow-foundation/how-to-host-multiple-versions-of-a-workflow-side-by-side.md)
3636
This step in the [Getting Started Tutorial](~/docs/framework/windows-workflow-foundation/getting-started-tutorial.md) demonstrates updating a workflow definition, and hosting workflows using both the old and new definition at the same time.
3737
38-
- [How to: Update the Definition of a Running Workflow Instance](~/docs/framework/windows-workflow-foundation/how-to-update-the-definition-of-a-running-workflow-instance.md)
38+
- [How to: Update the Definition of a Running Workflow Instance](~/docs/framework/windows-workflow-foundation/how-to-update-the-definition-of-a-running-workflow-instance.md)
3939
This step in the [Getting Started Tutorial](~/docs/framework/windows-workflow-foundation/getting-started-tutorial.md) demonstrates updating persisted workflow instances to use a new workflow definition.
4040
4141
]]></format>

xml/System.Net.Http/HttpClientHandler.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,12 @@ Starting with .NET Core 2.1, the <xref:System.Net.Http.SocketsHttpHandler?displa
3939
```csharp
4040
AppContext.SetSwitch("System.Net.Http.UseSocketsHttpHandler", false);
4141
```
42+
4243
```vb
4344
AppContext.SetSwitch("System.Net.Http.UseSocketsHttpHandler", False)
4445
```
45-
By defining the `System.Net.Http.UseSocketsHttpHandler` switch in the *.netcore.runtimeconfig.json* configuration file:
46+
47+
- By defining the `System.Net.Http.UseSocketsHttpHandler` switch in the *.netcore.runtimeconfig.json* configuration file:
4648
4749
```json
4850
"runtimeOptions": {

xml/System.Runtime.Loader/AssemblyLoadContext.xml

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -460,20 +460,25 @@ For more information, see [How to use and debug assembly unloadability in .NET C
460460
<format type="text/markdown"><![CDATA[
461461
462462
## Remarks
463-
<xref:System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyName%2A> loads an assembly by resolving the <xref:System.Reflection.AssemblyName>. This triggers a full resolution. The resolution fallback sequence follows this process:
464-
1. The method calls <xref:System.Runtime.Loader.AssemblyLoadContext.Load(System.Reflection.AssemblyName)>.
465-
> [!IMPORTANT]
466-
> <xref:System.Runtime.Loader.AssemblyLoadContext.Load(System.Reflection.AssemblyName)> must not call this method to prevent recursive stack overflow.
467-
2. Unless the assembly is loaded or an exception is thrown, the method attempts to load the assembly in the default <xref:System.Runtime.Loader.AssemblyLoadContext>.
468-
3. Unless the assembly is loaded or an exception is thrown, the method fires the <xref:System.Runtime.Loader.AssemblyLoadContext.Resolving> event.
469-
4. Unless the assembly is loaded or an exception is thrown, the method fires the <xref:System.AppDomain.AssemblyResolve> event.
463+
464+
<xref:System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyName%2A> loads an assembly by resolving the <xref:System.Reflection.AssemblyName>. This triggers a full resolution. The resolution fallback sequence follows this process:
465+
466+
1. The method calls <xref:System.Runtime.Loader.AssemblyLoadContext.Load(System.Reflection.AssemblyName)>.
467+
468+
> [!IMPORTANT]
469+
> <xref:System.Runtime.Loader.AssemblyLoadContext.Load(System.Reflection.AssemblyName)> must not call this method to prevent recursive stack overflow.
470+
471+
2. Unless the assembly is loaded or an exception is thrown, the method attempts to load the assembly in the default <xref:System.Runtime.Loader.AssemblyLoadContext>.
472+
3. Unless the assembly is loaded or an exception is thrown, the method fires the <xref:System.Runtime.Loader.AssemblyLoadContext.Resolving> event.
473+
4. Unless the assembly is loaded or an exception is thrown, the method fires the <xref:System.AppDomain.AssemblyResolve> event.
470474
471-
> [!NOTE]
472-
> <xref:System.IO.FileLoadException> is thrown if `assemblyRef` specifies the full assembly name, and the first assembly that matches the simple name has a incompatible version or culture. The loader does not continue probing for other assemblies that match the simple name.
475+
> [!NOTE]
476+
> <xref:System.IO.FileLoadException> is thrown if `assemblyRef` specifies the full assembly name, and the first assembly that matches the simple name has a incompatible version or culture. The loader does not continue probing for other assemblies that match the simple name.
477+
478+
Each <xref:System.Runtime.Loader.AssemblyLoadContext> can load only:
473479
474-
Each <xref:System.Runtime.Loader.AssemblyLoadContext> can load only:
475-
* One version of an executable assembly.
476-
* One version of a satellite assembly for each culture.
480+
* One version of an executable assembly.
481+
* One version of a satellite assembly for each culture.
477482
478483
]]></format>
479484
</remarks>

xml/System.ServiceModel.Description/WsdlEndpointConversionContext.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
<format type="text/markdown"><![CDATA[
2121
2222
## Remarks
23-
The <xref:System.ServiceModel.Description.WsdlEndpointConversionContext> class represents the context in which the custom WSDL for an endpoint is either exported using <xref:System.ServiceModel.Description.IWsdlExportExtension?displayProperty=nameWithType> or imported using <xref:System.ServiceModel.Description.IWsdlImportExtension?displayProperty=nameWithType>. The following properties enable you to retrieve the WSDL document object model for the current WSDL:
23+
The <xref:System.ServiceModel.Description.WsdlEndpointConversionContext> class represents the context in which the custom WSDL for an endpoint is either exported using <xref:System.ServiceModel.Description.IWsdlExportExtension?displayProperty=nameWithType> or imported using <xref:System.ServiceModel.Description.IWsdlImportExtension?displayProperty=nameWithType>.
24+
25+
The following properties enable you to retrieve the WSDL document object model for the current WSDL:
2426
2527
- The <xref:System.ServiceModel.Description.WsdlEndpointConversionContext.ContractConversionContext%2A> property gets the <xref:System.ServiceModel.Description.WsdlContractConversionContext?displayProperty=nameWithType> for the endpoint contract.
2628
@@ -30,9 +32,7 @@
3032
3133
- The <xref:System.ServiceModel.Description.WsdlEndpointConversionContext.WsdlPort%2A> property gets the port for the current endpoint.
3234
33-
-
34-
35-
- The following methods enable you to add or remove custom WSDL elements to the appropriate scopes in the exported or imported WSDL:
35+
The following methods enable you to add or remove custom WSDL elements to the appropriate scopes in the exported or imported WSDL:
3636
3737
- The <xref:System.ServiceModel.Description.WsdlEndpointConversionContext.GetFaultBinding%2A> method returns the fault binding for the specified fault.
3838

xml/System.Windows.Forms.DataVisualization.Charting/BorderSkinStyle.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,13 @@
1818
<format type="text/markdown"><![CDATA[
1919
2020
## Remarks
21-
The <xref:System.Windows.Forms.DataVisualization.Charting.BorderSkin> class represents the style of the border skin used for a chart image. If you set the <xref:System.Windows.Forms.DataVisualization.Charting.BorderSkin.SkinStyle> property to None, no skin will be used. This is the default value for the <xref:System.Windows.Forms.DataVisualization.Charting.BorderSkin.SkinStyle> property.
21+
22+
The <xref:System.Windows.Forms.DataVisualization.Charting.BorderSkin> class represents the style of the border skin used for a chart image. If you set the <xref:System.Windows.Forms.DataVisualization.Charting.BorderSkin.SkinStyle> property to None, no skin will be used. This is the default value for the <xref:System.Windows.Forms.DataVisualization.Charting.BorderSkin.SkinStyle> property.
2223
2324
> [!NOTE]
24-
> The difference between the sets of border skin styles that use frames and follow either the naming convention "FrameThin*" or "FrameTitle*" (for example, <xref:System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.FrameThin1> or <xref:System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.FrameTitle1>) is the shape and thickness of their frames.
25+
> The difference between the sets of border skin styles that use frames and follow either the naming convention "FrameThin\*" or "FrameTitle\*" (for example, <xref:System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.FrameThin1> or <xref:System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.FrameTitle1>) is the shape and thickness of their frames.
2526
26-
In addition, if you use one of the "FrameThin" style border skins, the title of the chart will not be displayed. However, if you use one of the "FrameTitle" style border skins, the title of the chart will appear in the top-horizontal part of the frame.
27+
In addition, if you use one of the "FrameThin" style border skins, the title of the chart will not be displayed. However, if you use one of the "FrameTitle" style border skins, the title of the chart will appear in the top-horizontal part of the frame.
2728
2829
]]></format>
2930
</remarks>

xml/System.Windows.Threading/DispatcherFrame.xml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -99,15 +99,14 @@
9999
<format type="text/markdown"><![CDATA[
100100
101101
## Remarks
102-
<xref:System.Windows.Threading.DispatcherFrame> typically fall into two categories:
103-
104-
- Long running, general purpose frames, that exit only when instructed to. These frames should exit when they are requested.
105-
106-
- Short running, very specific frames that exit when an important criteria is met. These frames may consider not exiting when they are requested in favor of waiting for their exit criteria to be met. These frames should have a time-out associated with them.
107-
108-
-
109-
110-
- At application shutdown, all frames are request to exit.
102+
103+
<xref:System.Windows.Threading.DispatcherFrame> typically fall into two categories:
104+
105+
- Long running, general purpose frames, that exit only when instructed to. These frames should exit when they are requested.
106+
107+
- Short running, very specific frames that exit when an important criteria is met. These frames may consider not exiting when they are requested in favor of waiting for their exit criteria to be met. These frames should have a time-out associated with them.
108+
109+
At application shutdown, all frames are requested to exit.
111110
112111
]]></format>
113112
</remarks>

xml/System/ArgumentOutOfRangeException.xml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<format type="text/markdown"><![CDATA[
4949
5050
## Remarks
51-
An <xref:System.ArgumentOutOfRangeException> exception is thrown when a method is invoked and at least one of the arguments passed to the method is not `null` and contains an invalid value that is not a member of the set of values expected for the argument. The <xref:System.ArgumentException.ParamName%2A> property identifies the invalid argument, and the <xref:System.ArgumentOutOfRangeException.ActualValue%2A> property, if a value is present, identifies the invalid value.
51+
An <xref:System.ArgumentOutOfRangeException> exception is thrown when a method is invoked and at least one of the arguments passed to the method is not `null` and contains an invalid value that is not a member of the set of values expected for the argument. The <xref:System.ArgumentException.ParamName%2A> property identifies the invalid argument, and the <xref:System.ArgumentOutOfRangeException.ActualValue%2A> property, if a value is present, identifies the invalid value.
5252
5353
Typically, an <xref:System.ArgumentOutOfRangeException> results from developer error. Instead of handling the exception in a `try`/`catch` block, you should eliminate the cause of the exception or, if the argument is returned by a method call or input by the user before being passed to the method that throws the exception, you should validate arguments before passing them to the method.
5454
@@ -60,7 +60,7 @@
6060
6161
- String manipulation methods in the <xref:System.String> class.
6262
63-
The conditions in which an <xref:System.ArgumentOutOfRangeException> exception is thrown include the following:
63+
The conditions in which an <xref:System.ArgumentOutOfRangeException> exception is thrown include the following:
6464
6565
You are retrieving the member of a collection by its index number, and the index number is invalid.
6666
This is the most common cause of an <xref:System.ArgumentOutOfRangeException> exception. Typically, the index number is invalid for one of three reasons:
@@ -132,9 +132,7 @@
132132
[!code-csharp[System.ArgumentOutOfRangeException#18](~/samples/snippets/csharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/cs/NoFind2.cs#18)]
133133
[!code-vb[System.ArgumentOutOfRangeException#18](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/NoFind2.vb#18)]
134134
135-
-
136-
137-
You've attempted to extract a substring that is outside the range of the current string.
135+
- You've attempted to extract a substring that is outside the range of the current string.
138136
The methods that extract substrings all require that you specify the starting position of the substring and, for substrings that do not continue to the end of the string, the number of characters in the substring. Note that this is not the *index* of the last character in the substring.
139137
140138
An <xref:System.ArgumentOutOfRangeException> exception is typically thrown in this case because you've incorrectly calculated the number of characters in the substring. If you are using a search method like <xref:System.String.IndexOf%2A?displayProperty=nameWithType> to identify the starting and ending positions of a substring:

0 commit comments

Comments
 (0)