Skip to content

Commit c3e74ef

Browse files
authored
markdig fixes - Part 5 (#2556)
* markdig fixes * Apply suggestions from peer review Co-Authored-By: Ron Petrusha <[email protected]> * fix param name
1 parent 9f8b6a3 commit c3e74ef

File tree

10 files changed

+38
-47
lines changed

10 files changed

+38
-47
lines changed

xml/System.Data.Services.Common/EntityPropertyMappingAttribute.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@
151151
<format type="text/markdown"><![CDATA[
152152
153153
## Remarks
154-
When the value of <xref:System.Data.Services.Common.EntityPropertyMappingAttribute.KeepInContent%2A> is `true`, the feed is backward compatible with [!INCLUDE[ssAstoria](~/includes/ssastoria-md.md)] client applications that use protocol version 1.0. When the value of <xref:System.Data.Services.Common.EntityPropertyMappingAttribute.KeepInContent%2A>``is `false`, the protocol version used by the data service must be 2.0 or later versions. For more information, see [Data Service Versioning](~/docs/framework/data/wcf/data-service-versioning-wcf-data-services.md).
154+
When the value of <xref:System.Data.Services.Common.EntityPropertyMappingAttribute.KeepInContent%2A> is `true`, the feed is backward compatible with [!INCLUDE[ssAstoria](~/includes/ssastoria-md.md)] client applications that use protocol version 1.0. When the value of <xref:System.Data.Services.Common.EntityPropertyMappingAttribute.KeepInContent%2A> is `false`, the protocol version used by the data service must be 2.0 or later versions. For more information, see [Data Service Versioning](~/docs/framework/data/wcf/data-service-versioning-wcf-data-services.md).
155155
156156
]]></format>
157157
</remarks>

xml/System.Net.PeerToPeer/PeerNameRecordCollection.xml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,11 @@
2828
<format type="text/markdown"><![CDATA[
2929
3030
## Remarks
31-
32-
- This collection holds instances of the <xref:System.Net.PeerToPeer.PeerNameRecord> element, which are used to specify information about a peer within a <xref:System.Net.PeerToPeer.Cloud>.
33-
34-
-
35-
36-
References to a peer name record collection are returned by the <xref:System.Net.PeerToPeer.PeerNameResolver.Resolve%2A> and <xref:System.Net.PeerToPeer.PeerNameResolver.ResolveAsync%2A> methods.
37-
38-
All members of the class are inherited from the Collection\<T> class. Only those methods which are overridden are described.
31+
32+
This collection holds instances of the <xref:System.Net.PeerToPeer.PeerNameRecord> element, which are used to specify information about a peer within a <xref:System.Net.PeerToPeer.Cloud>.
33+
34+
References to a peer name record collection are returned by the <xref:System.Net.PeerToPeer.PeerNameResolver.Resolve%2A?displayProperty=nameWithType> and <xref:System.Net.PeerToPeer.PeerNameResolver.ResolveAsync%2A?displayProperty=nameWithType> methods.
35+
3936
4037
]]></format>
4138
</remarks>
@@ -142,4 +139,4 @@
142139
</Docs>
143140
</Member>
144141
</Members>
145-
</Type>
142+
</Type>

xml/System.Net.PeerToPeer/PnrpPermission.xml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
## Remarks
3838
The default permissions allow all local and Intranet zone applications to access PNRP services. If the default permissions are not changed, all link-local and site-local applications have access to Peer-to-Peer services, but global (internet) applications have no access.
3939
40-
Instances of this type have two permission states: they either have no access to the resource(s) protected by the permission, or they have unrestricted full access to those resources.
40+
Instances of this type have two permission states: they either have no access to the resources protected by the permission, or they have unrestricted full access to those resources.
4141
4242
]]></format>
4343
</remarks>
@@ -267,19 +267,18 @@
267267
<format type="text/markdown"><![CDATA[
268268
269269
## Remarks
270-
The current <xref:System.Net.PeerToPeer.PnrpPermission> is a subset of the specified permission if the current permission specifies a set of operations that is wholly contained by the specified permission. For example, a permission that represents access to "*C:\example.txt*" is a subset of a permission that represents access to "*C:\\*". If this method returns `true`, the current permission represents no more access to the protected resource than does the specified permission.
271-
272-
The following statements are required to be `true` for all implementations of the IsSubsetOf method. X, Y, and Z represent <xref:System.Security.IPermission> objects that are not a `null` reference (`Nothing` in Visual Basic).
273-
274-
- X.IsSubsetOf(X) returns `true`.
275-
276-
- X.IsSubsetOf(Y) returns the same value as Y.IsSubsetOf(X) if and only if X and Y represent the same set of permissions.
277-
278-
- If X.IsSubsetOf(Y) and Y.IsSubsetOf(Z) both return `true`, X.IsSubsetOf(Z) returns `true`.
270+
271+
The current <xref:System.Net.PeerToPeer.PnrpPermission> is a subset of the specified permission if the current permission specifies a set of operations that is wholly contained by the specified permission. For example, a permission that represents access to "*C:\example.txt*" is a subset of a permission that represents access to "*C:\\*". If this method returns `true`, the current permission represents no more access to the protected resource than does the specified permission.
279272
280-
-
273+
The following statements are required to be `true` for all implementations of the IsSubsetOf method. X, Y, and Z represent <xref:System.Security.IPermission> objects that are not a `null` reference (`Nothing` in Visual Basic).
274+
275+
- `X.IsSubsetOf(X)` returns `true`.
276+
277+
- `X.IsSubsetOf(Y)` returns the same value as `Y.IsSubsetOf(X)` if and only if X and Y represent the same set of permissions.
278+
279+
- If `X.IsSubsetOf(Y)` and `Y.IsSubsetOf(Z)` both return `true`, `X.IsSubsetOf(Z)` returns `true`.
281280
282-
If X represents an empty IPermission object with a permission state of *None* and Y represents an IPermission object that is a `null` reference (`Nothing` in Visual Basic), X.IsSubsetOf(Y) returns `true`. If Z is also an empty permission, the compound set operation X.Union(Z).IsSubsetOf(Y) also returns `true` because the <xref:System.Net.PeerToPeer.PnrpPermission.Union%2A> of two empty permissions is an empty permission.
281+
If X represents an empty <xref:System.Security.IPermission> object with a permission state of *None*, and Y represents an <xref:System.Security.IPermission> object that is a `null` reference (`Nothing` in Visual Basic), `X.IsSubsetOf(Y)` returns `true`. If Z is also an empty permission, the compound set operation `X.Union(Z).IsSubsetOf(Y)` also returns `true` because the <xref:System.Net.PeerToPeer.PnrpPermission.Union%2A> of two empty permissions is an empty permission.
283282
284283
]]></format>
285284
</remarks>
@@ -417,4 +416,4 @@
417416
</Docs>
418417
</Member>
419418
</Members>
420-
</Type>
419+
</Type>

xml/System.Security.Policy/Site.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,10 @@
4141
<format type="text/markdown"><![CDATA[
4242
4343
## Remarks
44-
The presence of <xref:System.Security.Policy.Site> evidence produces a <xref:System.Security.Permissions.SiteIdentityPermission> in the grant set. If there is a <xref:System.Security.CodeAccessPermission.Demand%2A> for <xref:System.Security.Permissions.SiteIdentityPermission>, the <xref:System.Security.Permissions.SiteIdentityPermission> that corresponds to the <xref:System.Security.Policy.Site> evidence will be compared with the demanded permission.
44+
45+
The presence of <xref:System.Security.Policy.Site> evidence produces a <xref:System.Security.Permissions.SiteIdentityPermission> in the grant set. If there is a <xref:System.Security.CodeAccessPermission.Demand%2A> for <xref:System.Security.Permissions.SiteIdentityPermission>, the <xref:System.Security.Permissions.SiteIdentityPermission> that corresponds to the <xref:System.Security.Policy.Site> evidence will be compared with the demanded permission.
4546
46-
Site identity is defined for code from URLs with any protocol except FILE. A site is the string between the "//" after the protocol of a URL and the following "/", if present. For example, www.fourthcoffee.com is the site identity 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.
47+
Site identity is defined for code from URLs with any protocol except FILE. A site is the string between the "//" after the protocol of a URL and the following "/", if present. For example, `www.fourthcoffee.com` is the site identity 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`.
4748
4849
]]></format>
4950
</remarks>

xml/System.Security.Policy/SiteMembershipCondition.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,10 @@
4646
<format type="text/markdown"><![CDATA[
4747
4848
## Remarks
49-
A code assembly satisfies a site membership condition if that code originates from the Web site specified by <xref:System.Security.Policy.SiteMembershipCondition.Site%2A>. Site identity is defined for code from URLs with any protocol except FILE. A site is the string between the "//" after the protocol of a URL and the following "/", if present. For example, www.fourthcoffee.com is the site identity 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.
49+
50+
A code assembly satisfies a site membership condition if that code originates from the Web site specified by <xref:System.Security.Policy.SiteMembershipCondition.Site%2A>. Site identity is defined for code from URLs with any protocol except FILE. A site is the string between the "//" after the protocol of a URL and the following "/", if present. For example, `www.fourthcoffee.com` is the site identity 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`.
5051
51-
Sites can be matched exactly, or by a wildcard ("*") prefix at the dot delimiter. For example, the site name *.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 * will match any site, but will not match code that has no site evidence.
52+
Sites can be matched exactly, or by a wildcard ("\*") prefix at the dot delimiter. For example, the site name `*.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 \* will match any site, but will not match code that has no site evidence.
5253
5354
]]></format>
5455
</remarks>

xml/System.Web.UI.Design/TemplateEditingVerb.xml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -211,20 +211,16 @@
211211
212212
When `disposing` is `true`, this method releases all resources held by any managed objects that this <xref:System.Web.UI.Design.TemplateEditingVerb> references. This method invokes the `Dispose` method of each referenced object.
213213
214-
]]></format>
215-
</remarks>
216-
<block subset="none" type="overrides">
217-
<para>
218-
<block subset="none" type="note">
219-
<para>
220-
The <see cref="T:System.Web.UI.Design.TemplateEditingVerb" /> class is obsolete. Expose templates through the <see cref="P:System.Web.UI.Design.ControlDesigner.TemplateGroups" /> property of a control designer. The design host creates a <see cref="T:System.Web.UI.Design.TemplatedEditableDesignerRegion" /> for each <see cref="T:System.Web.UI.Design.TemplateGroup" /> defined for a control designer.
214+
## Notes to inheritors
215+
216+
The <xref:System.Web.UI.Design.TemplateEditingVerb> class is obsolete. Expose templates through the <xref:System.Web.UI.Design.ControlDesigner.TemplateGroups> property of a control designer. The design host creates a <xref:System.Web.UI.Design.TemplatedEditableDesignerRegion> for each <xref:System.Web.UI.Design.TemplateGroup> defined for a control designer.
221217
222-
</para>
223-
</block>
224-
<see langword="Dispose" /> can be called multiple times by other objects. When overriding <see langword="Dispose(Boolean)" />, be careful not to reference objects that have been previously disposed of in an earlier call to <see langword="Dispose" />. For more information about how to implement <see langword="Dispose(Boolean)" />, see [Implementing a Dispose Method](~/docs/standard/garbage-collection/implementing-dispose.md).
218+
`Dispose` can be called multiple times by other objects. When overriding `Dispose(Boolean)`, be careful not to reference objects that have been previously disposed of in an earlier call to `Dispose`. For more information about how to implement `Dispose(Boolean)`, see [Implementing a Dispose Method](~/docs/standard/garbage-collection/implementing-dispose.md).
225219
226-
For more information about <see langword="Dispose" /> and <see cref="M:System.Object.Finalize" />, see [Cleaning Up Unmanaged Resources](~/docs/standard/garbage-collection/unmanaged.md) and [Overriding the Finalize Method](https://docs.microsoft.com/previous-versions/dotnet/netframework-4.0/ddae83kx(v=vs.100)).</para>
227-
</block>
220+
For more information about `Dispose` and <xref:System.Object.Finalize>, see [Cleaning Up Unmanaged Resources](~/docs/standard/garbage-collection/unmanaged.md) and [Overriding the Finalize Method](https://docs.microsoft.com/previous-versions/dotnet/netframework-4.0/ddae83kx(v=vs.100)).
221+
222+
]]></format>
223+
</remarks>
228224
<altmember cref="P:System.Web.UI.Design.ControlDesigner.TemplateGroups" />
229225
<altmember cref="T:System.Web.UI.Design.TemplatedEditableDesignerRegion" />
230226
<altmember cref="T:System.Web.UI.Design.TemplateGroup" />

xml/System.Web/HttpCookie.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -373,9 +373,8 @@
373373
<format type="text/markdown"><![CDATA[
374374
375375
## Remarks
376-
The <xref:System.Web.HttpCookie.Path%2A> property extends the <xref:System.Web.HttpCookie.Domain%2A> property to completely describe the specific URL to which the cookie applies. For example, in the URL http:/www.microsoft.com/asp, the domain is www.microsoft.com and the path is /asp.
377-
378-
376+
377+
The <xref:System.Web.HttpCookie.Path%2A> property extends the <xref:System.Web.HttpCookie.Domain%2A> property to completely describe the specific URL to which the cookie applies. For example, in the URL `http:/www.microsoft.com/asp`, the domain is `www.microsoft.com` and the path is /asp.
379378
380379
## Examples
381380
The following code example sets the <xref:System.Web.HttpCookie.Path%2A> property of a new cookie.

xml/System.Workflow.ComponentModel/ActivityExecutionStatusChangedEventArgs.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,6 @@
134134
135135
- The <xref:System.Workflow.ComponentModel.ActivityExecutionResult> as an enumeration converted to string, of the originating <xref:System.Workflow.ComponentModel.Activity>.
136136
137-
-
138-
139137
]]></format>
140138
</remarks>
141139
</Docs>

xml/System.Xml.Serialization/XmlTypeMapping.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<format type="text/markdown"><![CDATA[
3636
3737
## Remarks
38-
The <xref:System.Xml.Serialization.XmlTypeMapping> class is used to serialize an object as encoded SOAP XML. The resulting XML conforms to section 5 of the World Wide Web Consortium (www.w3.org) document, "Simple Object Access Protocol (SOAP) 1.1". Create an <xref:System.Xml.Serialization.XmlTypeMapping> by calling the <xref:System.Xml.Serialization.SoapReflectionImporter.ImportTypeMapping%2A> method of the <xref:System.Xml.Serialization.SoapReflectionImporter> class. Use the <xref:System.Xml.Serialization.XmlTypeMapping> to construct an instance of the <xref:System.Xml.Serialization.XmlSerializer> class. To control the serialization, use one of the attributes listed in [Attributes That Control Encoded SOAP Serialization](~/docs/standard/serialization/attributes-that-control-encoded-soap-serialization.md).
38+
The <xref:System.Xml.Serialization.XmlTypeMapping> class is used to serialize an object as encoded SOAP XML. The resulting XML conforms to section 5 of the [World Wide Web Consortium](https://www.w3.org) document, "Simple Object Access Protocol (SOAP) 1.1". Create an <xref:System.Xml.Serialization.XmlTypeMapping> by calling the <xref:System.Xml.Serialization.SoapReflectionImporter.ImportTypeMapping%2A> method of the <xref:System.Xml.Serialization.SoapReflectionImporter> class. Use the <xref:System.Xml.Serialization.XmlTypeMapping> to construct an instance of the <xref:System.Xml.Serialization.XmlSerializer> class. To control the serialization, use one of the attributes listed in [Attributes That Control Encoded SOAP Serialization](~/docs/standard/serialization/attributes-that-control-encoded-soap-serialization.md).
3939
4040
4141
@@ -323,4 +323,4 @@ To set a namespace name of an object, apply a <xref:System.Xml.Serialization.Soa
323323
</Docs>
324324
</Member>
325325
</Members>
326-
</Type>
326+
</Type>

xml/System/DateTime.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4953,7 +4953,7 @@ The `DateTime.Parse` overloads return a <xref:System.DateTime> value whose <xref
49534953
[!code-csharp-interactive[System.DateTime.Parse#5](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.DateTime.Parse/cs/Parse5.cs#5)]
49544954
[!code-vb[System.DateTime.Parse#5](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Parse/vb/Parse5.vb#5)]
49554955

4956-
### Examples
4956+
## Examples
49574957

49584958
Numerous examples that call the `DateTime.Parse` method are interspersed throughout the [Remarks](#remarks) section of this article and in the documentation for the individual `DateTime.Parse` overloads.
49594959

0 commit comments

Comments
 (0)