Skip to content

Commit 8078fec

Browse files
mairawRon Petrusha
andauthored
markdig fixes - Part 11 (#2688)
* markdig fixes * Apply suggestions from peer review Co-Authored-By: Ron Petrusha <[email protected]>
1 parent 3237560 commit 8078fec

File tree

10 files changed

+32
-30
lines changed

10 files changed

+32
-30
lines changed

xml/System.Reflection/MetadataLoadContext.xml

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -95,14 +95,14 @@ The core assembly is not loaded until necessary. The following APIs do not trigg
9595
* <xref:System.Reflection.MetadataLoadContext.LoadFromStream%2A?displayProperty=nameWithType>
9696
* <xref:System.Reflection.MetadataLoadContext.LoadFromAssemblyPath%2A?displayProperty=nameWithType>
9797
* <xref:System.Reflection.MetadataLoadContext.LoadFromByteArray%2A?displayProperty=nameWithType>
98-
* <System.Reflection.Assembly.GetName%2A?displayProperty=nameWithType>
99-
* <System.Reflection.Assembly.FullName?displayProperty=nameWithType>
100-
* <System.Reflection.Assembly.GetReferencedAssemblies%2A?displayProperty=nameWithType>
101-
* <System.Reflection.Assembly.GetTypes%2A?displayProperty=nameWithType>
102-
* <System.Reflection.Assembly.DefinedTypes?displayProperty=nameWithType>
103-
* <System.Reflection.Assembly.GetExportedTypes%2A?displayProperty=nameWithType>
104-
* <System.Reflection.Assembly.GetForwardedTypes%2A?displayProperty=nameWithType>
105-
* <System.Reflection.Assembly.GetType(System.String,System.Boolean,System.Boolean)?displayProperty=nameWithType>
98+
* <xref:System.Reflection.Assembly.GetName%2A?displayProperty=nameWithType>
99+
* <xref:System.Reflection.Assembly.FullName?displayProperty=nameWithType>
100+
* <xref:System.Reflection.Assembly.GetReferencedAssemblies%2A?displayProperty=nameWithType>
101+
* <xref:System.Reflection.Assembly.GetTypes%2A?displayProperty=nameWithType>
102+
* <xref:System.Reflection.Assembly.DefinedTypes?displayProperty=nameWithType>
103+
* <xref:System.Reflection.Assembly.GetExportedTypes%2A?displayProperty=nameWithType>
104+
* <xref:System.Reflection.Assembly.GetForwardedTypes%2A?displayProperty=nameWithType>
105+
* <xref:System.Reflection.Assembly.GetType(System.String,System.Boolean,System.Boolean)?displayProperty=nameWithType>
106106
* <xref:System.Type.Name?displayProperty=nameWithType>
107107
* <xref:System.Type.FullName?displayProperty=nameWithType>
108108
* <xref:System.Type.AssemblyQualifiedName?displayProperty=nameWithType>
@@ -111,11 +111,11 @@ If a core assembly cannot be found or if the core assembly is missing types, thi
111111
112112
* APIs that need to parse signatures or typespecs and return the results as <xref:System.Type> objects will throw an exception. For example:
113113
114-
* <xref:System.Reflection.MethodInfo.ReturnType?displayProperty=nameWithType>
115-
* System.Reflection.MethodBase.GetParameters%2A?displayProperty=nameWithType>
116-
* <xref:System.Type.BaseType?displayProperty-nameWithType>
117-
* <xref:System.Type.GetInterfaces%2A?displayProperty=nameWithType>
118-
114+
* <xref:System.Reflection.MethodInfo.ReturnType?displayProperty=nameWithType>
115+
* <xref:System.Reflection.MethodBase.GetParameters%2A?displayProperty=nameWithType>
116+
* <xref:System.Type.BaseType?displayProperty-nameWithType>
117+
* <xref:System.Type.GetInterfaces%2A?displayProperty=nameWithType>
118+
119119
* 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.
120120
121121
* If a metadata entity sets flags that surface as a pseudo-custom attribute, and the core assembly does not contain the pseudo-custom attribute type, the necessary constructor or any of the parameter types of the constructor, the <xref:System.Reflection.MetadataLoadContext> will not throw. It will omit the pseudo-custom attribute from the list of returned attributes.
@@ -233,7 +233,9 @@ Note that the behavior of this method matches the behavior of the <xref:System.R
233233
<remarks>
234234
<format type="text/markdown"><![CDATA[
235235
## Remarks
236-
Note that the behavior of this method matches the behavior of <xref:System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyName%2A?displayProperty=nameWithType> resolve event but does not match the behavior of <xxref:System.Reflection.Assembly.ReflectionOnlyLoad%2A?displayProperty=nameWithType>. (The latter gives up without raising its resolve event.)
236+
237+
Note that the behavior of this method matches the behavior of the <xref:System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyName%2A?displayProperty=nameWithType> resolve event but does not match the behavior of <xref:System.Reflection.Assembly.ReflectionOnlyLoad%2A?displayProperty=nameWithType>. (The latter gives up without raising its resolve event.)
238+
237239
]]></format>
238240
</remarks>
239241
<exception cref="T:System.IO.FileNotFoundException">The resolver returns <see langword="null" />.</exception>
@@ -325,4 +327,4 @@ Note that the behavior of this method matches the behavior of <xref:System.Runti
325327
</Docs>
326328
</Member>
327329
</Members>
328-
</Type>
330+
</Type>

xml/System.Security.Cryptography.Xml/XmlDsigC14NTransform.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
4343
4444
## Examples
45-
This section contains two code examples. The first example demonstrates how to sign non-XML data using a detached signature. Example #1 creates a signature of www.microsoft.com in an XML file and then verifies the file. The second example demonstrates how to call members of the <xref:System.Security.Cryptography.Xml.XmlDsigC14NTransform> class.
45+
This section contains two code examples. The first example demonstrates how to sign non-XML data using a detached signature. Example #1 creates a signature of `www.microsoft.com` in an XML file and then verifies the file. The second example demonstrates how to call members of the <xref:System.Security.Cryptography.Xml.XmlDsigC14NTransform> class.
4646
4747
**Example #1**
4848

xml/System.Security.Permissions/SiteIdentityPermissionAttribute.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@
4242
<format type="text/markdown"><![CDATA[
4343
4444
## Remarks
45-
Site identity is only defined for code from URLs with the protocols of HTTP, HTTPS, and FTP. A site is the string between the "//" after the protocol of a URL and the following "/", if present, for example, www.fourthcoffee.com in the URL http://www.fourthcoffee.com/process/grind.htm. This excludes port numbers. If a given URL is http://www.fourthcoffee.com:8000/, the site is www.fourthcoffee.com, not www.fourthcoffee.com:8000.
45+
Site identity is only defined for code from URLs with the protocols of HTTP, HTTPS, and FTP. A site is the string between the "//" after the protocol of a URL and the following "/", if present, for example, `www.fourthcoffee.com` in the URL `http://www.fourthcoffee.com/process/grind.htm`. This excludes port numbers. If a given URL is `http://www.fourthcoffee.com:8000/`, the site is `www.fourthcoffee.com`, not `www.fourthcoffee.com:8000`.
4646
47-
Sites can be matched exactly, or by a wildcard ("*") prefix at the dot delimiter. For example, the site name string *.fourthcoffee.com matches fourthcoffee.com as well as www.fourthcoffee.com. Without a wildcard, the site name must be a precise match. The site name string * will match any site, but will not match code that has no site evidence.
47+
Sites can be matched exactly, or by a wildcard ("\*") prefix at the dot delimiter. For example, the site name string `*.fourthcoffee.com` matches `fourthcoffee.com` as well as `www.fourthcoffee.com`. Without a wildcard, the site name must be a precise match. The site name string \* will match any site, but will not match code that has no site evidence.
4848
4949
> [!IMPORTANT]
5050
> Starting with the [!INCLUDE[net_v40_long](~/includes/net-v40-long-md.md)], identity permissions are not used.
@@ -164,9 +164,9 @@
164164
<format type="text/markdown"><![CDATA[
165165
166166
## Remarks
167-
Site identity is only defined for code from URLs with the protocols of HTTP, HTTPS, and FTP. A site is the string between the "//" after the protocol of a URL and the following "/", if present, for example, www.fourthcoffee.com in the URL http://www.fourthcoffee.com/process/grind.htm. This excludes port numbers. If a given URL is http://www.fourthcoffee.com:8000/, the site is www.fourthcoffee.com, not www.fourthcoffee.com:8000.
167+
Site identity is only defined for code from URLs with the protocols of HTTP, HTTPS, and FTP. A site is the string between the "//" after the protocol of a URL and the following "/", if present, for example, `www.fourthcoffee.com` in the URL `http://www.fourthcoffee.com/process/grind.htm`. This excludes port numbers. If a given URL is `http://www.fourthcoffee.com:8000/`, the site is `www.fourthcoffee.com`, not `www.fourthcoffee.com:8000`.
168168
169-
Sites can be matched exactly, or by a wildcard ("*") prefix at the dot delimiter. For example, the site name string *.fourthcoffee.com matches fourthcoffee.com as well as www.fourthcoffee.com. Without a wildcard, the site name must be a precise match.
169+
Sites can be matched exactly, or by a wildcard ("\*") prefix at the dot delimiter. For example, the site name string `*.fourthcoffee.com` matches `fourthcoffee.com` as well as `www.fourthcoffee.com`. Without a wildcard, the site name must be a precise match.
170170
171171
]]></format>
172172
</remarks>

xml/System.ServiceModel.Configuration/ComContractElement.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<format type="text/markdown"><![CDATA[
2121
2222
## Remarks
23-
COM+ integration service contracts are currently restricted to the "http://tempuri.org" namespace, and the contract name is derived from the supporting COM interface. You can, however, specify alternatives by using the `comContracts` section in the configuration file.
23+
COM+ integration service contracts are currently restricted to the `"http://tempuri.org"` namespace, and the contract name is derived from the supporting COM interface. You can, however, specify alternatives by using the `comContracts` section in the configuration file.
2424
2525
2626

xml/System.ServiceModel.Configuration/ComContractsSection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<format type="text/markdown"><![CDATA[
2121
2222
## Remarks
23-
The COM+ integration service contracts are currently restricted to the "http://tempuri.org" namespace, and contract name is derived from the supporting COM interface. You can, however, specify alternatives by using the `comContracts` section in the configuration file. For example, you can use the following configuration to specify the namespace and contract name for a service contract
23+
The COM+ integration service contracts are currently restricted to the `"http://tempuri.org"` namespace, and contract name is derived from the supporting COM interface. You can, however, specify alternatives by using the `comContracts` section in the configuration file. For example, you can use the following configuration to specify the namespace and contract name for a service contract
2424
2525
2626

xml/System.ServiceModel/ServiceBehaviorAttribute.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
127127
- The <xref:System.ServiceModel.ServiceBehaviorAttribute.Name%2A> property is the name of the service type, without namespace or assembly information.
128128
129-
- The <xref:System.ServiceModel.ServiceBehaviorAttribute.Namespace%2A> property is "http://tempuri.org".
129+
- The <xref:System.ServiceModel.ServiceBehaviorAttribute.Namespace%2A> property is `"http://tempuri.org"`.
130130
131131
- The <xref:System.ServiceModel.ServiceBehaviorAttribute.ReleaseServiceInstanceOnTransactionComplete%2A> property is `true`.
132132

xml/System.ServiceModel/ServiceContractAttribute.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@
377377
</ReturnValue>
378378
<Docs>
379379
<summary>Gets or sets the namespace of the <see langword="&lt;portType&gt;" /> element in Web Services Description Language (WSDL).</summary>
380-
<value>The WSDL namespace of the <see langword="&lt;portType&gt;" /> element. The default value is "http://tempuri.org".</value>
380+
<value>The WSDL namespace of the <see langword="&lt;portType&gt;" /> element. The default value is <c>"http://tempuri.org"</c>.</value>
381381
<remarks>
382382
<format type="text/markdown"><![CDATA[
383383

xml/System.ServiceModel/WSDualHttpBinding.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@
179179
<format type="text/markdown"><![CDATA[
180180
181181
## Remarks
182-
An Internet resource is local if it has a local address. A local address is one that is on the same computer, the local LAN or intranet and is identified, syntactically, by the lack of a period (.) as in the URIs "http://webserver/" and "http://localhost/".
182+
An Internet resource is local if it has a local address. A local address is one that is on the same computer, the local LAN or intranet, and is identified, syntactically, by the lack of a period (.), as in the URIs `http://webserver/` and `http://localhost/`.
183183
184184
Setting the <xref:System.ServiceModel.WSDualHttpBinding.BypassProxyOnLocal%2A> property determines whether endpoints configured with the <xref:System.ServiceModel.WSDualHttpBinding> use the proxy server when accessing local resources.
185185
@@ -953,4 +953,4 @@
953953
</Docs>
954954
</Member>
955955
</Members>
956-
</Type>
956+
</Type>

xml/System.ServiceModel/WSHttpBindingBase.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
<format type="text/markdown"><![CDATA[
132132
133133
## Remarks
134-
An Internet resource is local if it has a local address. A local address is one that is on same computer, the local LAN or intranet and is identified, syntactically, by the lack of a period (.) as in the URIs "http://webserver/" and "http://localhost/".
134+
An Internet resource is local if it has a local address. A local address is one that is on same computer, the local LAN or intranet, and is identified, syntactically, by the lack of a period (.), as in the URIs `http://webserver/` and `http://localhost/`.
135135
136136
Setting the <xref:System.ServiceModel.WSHttpBindingBase.BypassProxyOnLocal%2A> property determines whether endpoints configured with the <xref:System.ServiceModel.WSHttpBindingBase> use the proxy server when accessing local resources.
137137
@@ -831,4 +831,4 @@
831831
</Docs>
832832
</Member>
833833
</Members>
834-
</Type>
834+
</Type>

xml/System.ServiceModel/WebHttpBinding.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@
233233
<format type="text/markdown"><![CDATA[
234234
235235
## Remarks
236-
An Internet resource is local if it has a local address. A local address is one that is on same computer, the local LAN or intranet and is identified, syntactically, by the lack of a period (.) as in the URIs "http://webserver/" and "http://localhost/".
236+
An Internet resource is local if it has a local address. A local address is one that is on same computer, the local LAN or intranet, and is identified, syntactically, by the lack of a period (.), as in the URIs `http://webserver/` and `http://localhost/`.
237237
238238
Setting the <xref:System.ServiceModel.WebHttpBinding.BypassProxyOnLocal%2A> property determines whether endpoints configured with the <xref:System.ServiceModel.WebHttpBinding> use the proxy server when accessing local resources.
239239
@@ -834,4 +834,4 @@
834834
</Docs>
835835
</Member>
836836
</Members>
837-
</Type>
837+
</Type>

0 commit comments

Comments
 (0)