Skip to content

Commit fd7fcb2

Browse files
nxtngewarren
andauthored
Apply suggestions from code review
Co-Authored-By: Genevieve Warren <[email protected]>
1 parent bedb918 commit fd7fcb2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

xml/System.Reflection/Assembly.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3550,14 +3550,14 @@
35503550
<Parameter Name="assemblyString" Type="System.String" Index="0" FrameworkAlternate="netcore-2.0;netcore-2.1;netcore-2.2;netcore-3.0;netframework-1.1;netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netstandard-2.0;xamarinandroid-7.1;xamarinios-10.8;xamarinmac-3.0;netstandard-2.1" />
35513551
</Parameters>
35523552
<Docs>
3553-
<param name="assemblyString">The short form or long form of the assembly name.</param>
3554-
<summary>Loads an assembly given the short form or long form of its name.</summary>
3553+
<param name="assemblyString">The long or short form of the assembly name.</param>
3554+
<summary>Loads an assembly with the specified name.</summary>
35553555
<returns>The loaded assembly.</returns>
35563556
<remarks>
35573557
<format type="text/markdown"><![CDATA[
35583558
35593559
## Remarks
3560-
It's recommended to call the `Load` method given the long form of its name to load the correct assembly. The long form of an assembly name consists of its simple name (such as "System" for the System.dll assembly) along with its version, culture, public key token, and optionally its processor architecture. It corresponds to the assembly's <xref:System.Reflection.Assembly.FullName%2A> property. The following example illustrates the use of a long name to load the System.dll assembly for the .NET Framework 4.
3560+
To load the correct assembly, it's recommended to call the `Load` method by passing the long form of the assembly name. The long form of an assembly name consists of its simple name (such as "System" for the System.dll assembly) along with its version, culture, public key token, and optionally its processor architecture. It corresponds to the assembly's <xref:System.Reflection.Assembly.FullName%2A> property. The following example illustrates the use of a long name to load the System.dll assembly for the .NET Framework 4:
35613561
35623562
[!code-csharp[System.Reflection.Assembly.Load#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.reflection.assembly.load/cs/load1.cs#1)]
35633563
[!code-vb[System.Reflection.Assembly.Load#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assembly.load/vb/load1.vb#1)]

0 commit comments

Comments
 (0)