Skip to content

Commit d0662cd

Browse files
Merge pull request #11969 from dotnet/main
Merge main into live
2 parents eff4e7e + 0cf8ef8 commit d0662cd

File tree

3 files changed

+10
-16
lines changed

3 files changed

+10
-16
lines changed

xml/System.Net.Http.Headers/NameValueHeaderValue.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
<AssemblyVersion>4.2.0.0</AssemblyVersion>
7474
</AssemblyInfo>
7575
<Docs>
76-
<summary>Initializes a new instance of the CLASS class.</summary>
76+
<summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.NameValueHeaderValue" /> class.</summary>
7777
</Docs>
7878
</MemberGroup>
7979
<Member MemberName=".ctor">

xml/System.Reflection/ParameterInfo.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -220,17 +220,17 @@
220220
<format type="text/markdown"><![CDATA[
221221
222222
## Remarks
223-
This method utilizes the <xref:System.Reflection.ParameterInfo.AttrsImpl> method.
224-
225-
To get the <xref:System.Reflection.ParameterInfo> array, first get the method or the constructor and then call <xref:System.Reflection.MethodBase.GetParameters%2A?displayProperty=nameWithType>.
226223
224+
This method utilizes the <xref:System.Reflection.ParameterInfo.AttrsImpl> method.
227225
226+
To get the <xref:System.Reflection.ParameterInfo> array, first get the method or the constructor and then call <xref:System.Reflection.MethodBase.GetParameters%2A?displayProperty=nameWithType>.
228227
229228
## Examples
230-
The following example defines a method with three parameters. It uses the <xref:System.Reflection.ParameterInfo.Attributes%2A> property to get the attributes of the second parameter and display them at the console.
231229
232-
:::code language="csharp" source="~/snippets/csharp/System.Reflection/ParameterInfo/Attributes/parameterinfo_attributes1.cs" id="Snippet1":::
233-
:::code language="vb" source="~/snippets/visualbasic/System.Reflection/ParameterInfo/Attributes/parameterinfo_attributes1.vb" id="Snippet1":::
230+
The following example defines a method with three parameters. It uses the <xref:System.Reflection.ParameterInfo.Attributes%2A> property to get the attributes of each parameter and display them in the console.
231+
232+
:::code language="csharp" source="~/snippets/csharp/System.Reflection/ParameterInfo/Attributes/parameterinfo_attributes1.cs" id="Snippet1":::
233+
:::code language="vb" source="~/snippets/visualbasic/System.Reflection/ParameterInfo/Attributes/parameterinfo_attributes1.vb" id="Snippet1":::
234234
235235
]]></format>
236236
</remarks>

xml/System.Xml.Serialization/SoapIncludeAttribute.xml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -196,15 +196,9 @@
196196
<remarks>
197197
<format type="text/markdown"><![CDATA[
198198
199-
## Remarks
200-
Apply multiple instances of the <xref:System.Xml.Serialization.SoapIncludeAttribute> to a field or property that returns either an array of objects, an <xref:System.Collections.ArrayList> that contains a collection of objects, or an object that can return multiple types. Set the <xref:System.Xml.Serialization.SoapIncludeAttribute.Type%2A> property for each type that you want the field or property to contain.
201-
202-
203-
204-
## Examples
205-
The following example applies the <xref:System.Xml.Serialization.SoapIncludeAttribute> twice to an XML Web services method. The method returns an object of type `Vehicle` (a base class). The <xref:System.Xml.Serialization.SoapIncludeAttribute> allows the method to return instances of classes derived from the `Vehicle` class.
206-
207-
199+
## Remarks
200+
201+
Apply multiple instances of the <xref:System.Xml.Serialization.SoapIncludeAttribute> to a field or property that returns either an array of objects, an <xref:System.Collections.ArrayList> that contains a collection of objects, or an object that can return multiple types. Set the <xref:System.Xml.Serialization.SoapIncludeAttribute.Type%2A> property for each type that you want the field or property to contain.
208202
209203
]]></format>
210204
</remarks>

0 commit comments

Comments
 (0)