Skip to content

Commit 0d795ed

Browse files
authored
Fix up paramrefs (System namespace) (#10184)
1 parent bc2b8ea commit 0d795ed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+853
-868
lines changed

xml/System/Activator.xml

Lines changed: 23 additions & 23 deletions
Large diffs are not rendered by default.

xml/System/AppDomain.xml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -978,7 +978,7 @@ Application domains, which are represented by <xref:System.AppDomain> objects, h
978978
]]></format>
979979
</remarks>
980980
<exception cref="T:System.ArgumentNullException">
981-
<paramref name="assemblyName" /> or <paramref name="typeName" /> is <see langword="null" />.</exception>
981+
<paramref name="assemblyFile" /> or <paramref name="typeName" /> is <see langword="null" />.</exception>
982982
<exception cref="T:System.TypeLoadException">The type cannot be loaded.</exception>
983983
<exception cref="T:System.AppDomainUnloadedException">The operation is attempted on an unloaded application domain.</exception>
984984
<exception cref="T:System.MissingMethodException">No public parameterless constructor was found.</exception>
@@ -1540,7 +1540,7 @@ This method overload uses the <xref:System.AppDomainSetup> information from the
15401540
<exception cref="T:System.MethodAccessException">The caller does not have permission to call this constructor.</exception>
15411541
<exception cref="T:System.MissingMethodException">No matching public constructor was found.</exception>
15421542
<exception cref="T:System.TypeLoadException">
1543-
<paramref name="typename" /> was not found in <paramref name="assemblyName" />.</exception>
1543+
<paramref name="typeName" /> was not found in <paramref name="assemblyName" />.</exception>
15441544
<exception cref="T:System.NullReferenceException">This instance is <see langword="null" />.</exception>
15451545
<altmember cref="M:System.Activator.CreateInstance(System.Type,System.Reflection.BindingFlags,System.Reflection.Binder,System.Object[],System.Globalization.CultureInfo)" />
15461546
</Docs>
@@ -1641,7 +1641,7 @@ This method overload uses the <xref:System.AppDomainSetup> information from the
16411641
<exception cref="T:System.MissingMethodException">No matching public constructor was found.</exception>
16421642
<exception cref="T:System.NotSupportedException">The caller cannot provide activation attributes for an object that does not inherit from <see cref="T:System.MarshalByRefObject" />.</exception>
16431643
<exception cref="T:System.TypeLoadException">
1644-
<paramref name="typename" /> was not found in <paramref name="assemblyName" />.</exception>
1644+
<paramref name="typeName" /> was not found in <paramref name="assemblyName" />.</exception>
16451645
<exception cref="T:System.NullReferenceException">This instance is <see langword="null" />.</exception>
16461646
<altmember cref="M:System.Activator.CreateInstance(System.Type,System.Reflection.BindingFlags,System.Reflection.Binder,System.Object[],System.Globalization.CultureInfo)" />
16471647
</Docs>
@@ -1753,7 +1753,7 @@ This method overload uses the <xref:System.AppDomainSetup> information from the
17531753
<exception cref="T:System.MissingMethodException">No matching constructor was found.</exception>
17541754
<exception cref="T:System.NotSupportedException">The caller cannot provide activation attributes for an object that does not inherit from <see cref="T:System.MarshalByRefObject" />.</exception>
17551755
<exception cref="T:System.TypeLoadException">
1756-
<paramref name="typename" /> was not found in <paramref name="assemblyName" />.</exception>
1756+
<paramref name="typeName" /> was not found in <paramref name="assemblyName" />.</exception>
17571757
<exception cref="T:System.NullReferenceException">This instance is <see langword="null" />.</exception>
17581758
<altmember cref="M:System.Activator.CreateInstance(System.Type,System.Reflection.BindingFlags,System.Reflection.Binder,System.Object[],System.Globalization.CultureInfo)" />
17591759
</Docs>
@@ -1849,7 +1849,7 @@ This method overload uses the <xref:System.AppDomainSetup> information from the
18491849

18501850
<paramref name="securityAttributes" /> is not <see langword="null" />. When legacy CAS policy is not enabled, <paramref name="securityAttributes" /> should be <see langword="null" /></exception>
18511851
<exception cref="T:System.TypeLoadException">
1852-
<paramref name="typename" /> was not found in <paramref name="assemblyName" />.</exception>
1852+
<paramref name="typeName" /> was not found in <paramref name="assemblyName" />.</exception>
18531853
<exception cref="T:System.NullReferenceException">This instance is <see langword="null" />.</exception>
18541854
<altmember cref="M:System.Activator.CreateInstance(System.Type,System.Reflection.BindingFlags,System.Reflection.Binder,System.Object[],System.Globalization.CultureInfo)" />
18551855
</Docs>
@@ -1948,7 +1948,7 @@ This method overload uses the <xref:System.AppDomainSetup> information from the
19481948
<paramref name="assemblyName" /> or <paramref name="typeName" /> is <see langword="null" />.</exception>
19491949
<exception cref="T:System.MissingMethodException">No matching public constructor was found.</exception>
19501950
<exception cref="T:System.TypeLoadException">
1951-
<paramref name="typename" /> was not found in <paramref name="assemblyName" />.</exception>
1951+
<paramref name="typeName" /> was not found in <paramref name="assemblyName" />.</exception>
19521952
<exception cref="T:System.IO.FileNotFoundException">
19531953
<paramref name="assemblyName" /> was not found.</exception>
19541954
<exception cref="T:System.MethodAccessException">The caller does not have permission to call this constructor.</exception>
@@ -2050,7 +2050,7 @@ This method overload uses the <xref:System.AppDomainSetup> information from the
20502050
<paramref name="assemblyName" /> or <paramref name="typeName" /> is <see langword="null" />.</exception>
20512051
<exception cref="T:System.MissingMethodException">No matching public constructor was found.</exception>
20522052
<exception cref="T:System.TypeLoadException">
2053-
<paramref name="typename" /> was not found in <paramref name="assemblyName" />.</exception>
2053+
<paramref name="typeName" /> was not found in <paramref name="assemblyName" />.</exception>
20542054
<exception cref="T:System.IO.FileNotFoundException">
20552055
<paramref name="assemblyName" /> was not found.</exception>
20562056
<exception cref="T:System.MethodAccessException">The caller does not have permission to call this constructor.</exception>
@@ -2174,7 +2174,7 @@ This method overload uses the <xref:System.AppDomainSetup> information from the
21742174
<paramref name="assemblyName" /> or <paramref name="typeName" /> is <see langword="null" />.</exception>
21752175
<exception cref="T:System.MissingMethodException">No matching constructor was found.</exception>
21762176
<exception cref="T:System.TypeLoadException">
2177-
<paramref name="typename" /> was not found in <paramref name="assemblyName" />.</exception>
2177+
<paramref name="typeName" /> was not found in <paramref name="assemblyName" />.</exception>
21782178
<exception cref="T:System.IO.FileNotFoundException">
21792179
<paramref name="assemblyName" /> was not found.</exception>
21802180
<exception cref="T:System.MethodAccessException">The caller does not have permission to call this constructor.</exception>
@@ -2275,7 +2275,7 @@ This method overload uses the <xref:System.AppDomainSetup> information from the
22752275
<paramref name="assemblyName" /> or <paramref name="typeName" /> is <see langword="null" />.</exception>
22762276
<exception cref="T:System.MissingMethodException">No matching constructor was found.</exception>
22772277
<exception cref="T:System.TypeLoadException">
2278-
<paramref name="typename" /> was not found in <paramref name="assemblyName" />.</exception>
2278+
<paramref name="typeName" /> was not found in <paramref name="assemblyName" />.</exception>
22792279
<exception cref="T:System.IO.FileNotFoundException">
22802280
<paramref name="assemblyName" /> was not found.</exception>
22812281
<exception cref="T:System.MethodAccessException">The caller does not have permission to call this constructor.</exception>
@@ -3046,25 +3046,25 @@ This method overload uses the <xref:System.AppDomainSetup> information from the
30463046
]]></format>
30473047
</remarks>
30483048
<exception cref="T:System.ArgumentNullException">
3049-
<paramref name="assemblyName" /> is <see langword="null" />.
3049+
<paramref name="assemblyFile" /> is <see langword="null" />.
30503050

30513051
-or-
30523052

30533053
<paramref name="typeName" /> is <see langword="null" />.</exception>
30543054
<exception cref="T:System.NotSupportedException">The caller cannot provide activation attributes for an object that does not inherit from <see cref="T:System.MarshalByRefObject" />.</exception>
30553055
<exception cref="T:System.AppDomainUnloadedException">The operation is attempted on an unloaded application domain.</exception>
30563056
<exception cref="T:System.IO.FileNotFoundException">
3057-
<paramref name="assemblyName" /> was not found.</exception>
3057+
<paramref name="assemblyFile" /> was not found.</exception>
30583058
<exception cref="T:System.TypeLoadException">
3059-
<paramref name="typeName" /> was not found in <paramref name="assemblyName" />.</exception>
3059+
<paramref name="typeName" /> was not found in <paramref name="assemblyFile" />.</exception>
30603060
<exception cref="T:System.MissingMethodException">No matching public constructor was found.</exception>
30613061
<exception cref="T:System.MethodAccessException">The caller does not have sufficient permission to call this constructor.</exception>
30623062
<exception cref="T:System.BadImageFormatException">
3063-
<paramref name="assemblyName" /> is not a valid assembly.
3063+
<paramref name="assemblyFile" /> is not a valid assembly.
30643064

30653065
-or-
30663066

3067-
<paramref name="assemblyName" /> was compiled with a later version of the common language runtime that the version that is currently loaded.</exception>
3067+
<paramref name="assemblyFile" /> was compiled with a later version of the common language runtime that the version that is currently loaded.</exception>
30683068
<exception cref="T:System.IO.FileLoadException">An assembly or module was loaded twice with two different evidences.</exception>
30693069
<altmember cref="M:System.Activator.CreateInstanceFrom(System.String,System.String)" />
30703070
</Docs>

xml/System/ArgumentException.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -650,13 +650,13 @@ The following example demonstrates how to throw and catch an <xref:System.Argume
650650

651651
</term><description> Value
652652

653-
</description></listheader><item><term> The <paramref name="paramName" /> is a null reference (<see langword="Nothing" /> in Visual Basic) or of zero length.
653+
</description></listheader><item><term> The <see cref="P:System.ArgumentException.ParamName" /> is a null reference (<see langword="Nothing" /> in Visual Basic) or of zero length.
654654

655-
</term><description> The <paramref name="message" /> string passed to the constructor.
655+
</term><description> The <see cref="P:System.ArgumentException.Message" /> string passed to the constructor.
656656

657-
</description></item><item><term> The <paramref name="paramName" /> is not null reference (<see langword="Nothing" /> in Visual Basic) and it has a length greater than zero.
657+
</description></item><item><term> The <see cref="P:System.ArgumentException.ParamName" /> is not null and has a length greater than zero.
658658

659-
</term><description> The <paramref name="message" /> string appended with the name of the invalid parameter.
659+
</term><description> The <see cref="P:System.ArgumentException.Message" /> string appended with the name of the invalid parameter.
660660

661661
</description></item></list></value>
662662
<remarks>

xml/System/ArgumentOutOfRangeException.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -848,13 +848,13 @@ The following example defines a class to contain information about an invited gu
848848

849849
</term><description> Value
850850

851-
</description></listheader><item><term> The <paramref name="actualValue" /> is <see langword="null" />.
851+
</description></listheader><item><term> The <see cref="P:System.ArgumentOutOfRangeException.ActualValue" /> is <see langword="null" />.
852852

853-
</term><description> The <paramref name="message" /> string passed to the constructor.
853+
</term><description> The <see cref="P:System.ArgumentOutOfRangeException.Message" /> string passed to the constructor.
854854

855-
</description></item><item><term> The <paramref name="actualValue" /> is not <see langword="null" />.
855+
</description></item><item><term> The <see cref="P:System.ArgumentOutOfRangeException.ActualValue" /> is not <see langword="null" />.
856856

857-
</term><description> The <paramref name="message" /> string appended with the string representation of the invalid argument value.
857+
</term><description> The <see cref="P:System.ArgumentOutOfRangeException.Message" /> string appended with the string representation of the invalid argument value.
858858

859859
</description></item></list></value>
860860
<remarks>

xml/System/Array.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,7 @@
819819
<exception cref="T:System.ArgumentNullException">
820820
<paramref name="array" /> is <see langword="null" />.</exception>
821821
<exception cref="T:System.InvalidOperationException">
822-
<paramref name="T" /> does not implement the <see cref="T:System.IComparable`1" /> generic interface.</exception>
822+
<typeparamref name="T" /> does not implement the <see cref="T:System.IComparable`1" /> generic interface.</exception>
823823
<altmember cref="T:System.IComparable`1" />
824824
<altmember cref="Overload:System.Array.Sort" />
825825
<related type="Article" href="/dotnet/standard/globalization-localization/performing-culture-insensitive-string-operations-in-arrays">Performing Culture-Insensitive String Operations in Arrays</related>
@@ -954,7 +954,7 @@
954954
<exception cref="T:System.ArgumentException">
955955
<paramref name="comparer" /> is <see langword="null" />, and <paramref name="value" /> is of a type that is not compatible with the elements of <paramref name="array" />.</exception>
956956
<exception cref="T:System.InvalidOperationException">
957-
<paramref name="comparer" /> is <see langword="null" />, and <paramref name="T" /> does not implement the <see cref="T:System.IComparable`1" /> generic interface</exception>
957+
<paramref name="comparer" /> is <see langword="null" />, and <typeparamref name="T" /> does not implement the <see cref="T:System.IComparable`1" /> generic interface</exception>
958958
<altmember cref="T:System.Collections.Generic.IComparer`1" />
959959
<altmember cref="T:System.IComparable`1" />
960960
<altmember cref="Overload:System.Array.Sort" />
@@ -1064,7 +1064,7 @@
10641064

10651065
<paramref name="value" /> is of a type that is not compatible with the elements of <paramref name="array" />.</exception>
10661066
<exception cref="T:System.InvalidOperationException">
1067-
<paramref name="T" /> does not implement the <see cref="T:System.IComparable`1" /> generic interface.</exception>
1067+
<typeparamref name="T" /> does not implement the <see cref="T:System.IComparable`1" /> generic interface.</exception>
10681068
<altmember cref="T:System.IComparable`1" />
10691069
<altmember cref="Overload:System.Array.Sort" />
10701070
<related type="Article" href="/dotnet/standard/globalization-localization/performing-culture-insensitive-string-operations-in-arrays">Performing Culture-Insensitive String Operations in Arrays</related>
@@ -1195,7 +1195,7 @@
11951195

11961196
<paramref name="comparer" /> is <see langword="null" />, and <paramref name="value" /> is of a type that is not compatible with the elements of <paramref name="array" />.</exception>
11971197
<exception cref="T:System.InvalidOperationException">
1198-
<paramref name="comparer" /> is <see langword="null" />, and <paramref name="T" /> does not implement the <see cref="T:System.IComparable`1" /> generic interface.</exception>
1198+
<paramref name="comparer" /> is <see langword="null" />, and <typeparamref name="T" /> does not implement the <see cref="T:System.IComparable`1" /> generic interface.</exception>
11991199
<altmember cref="T:System.Collections.Generic.IComparer`1" />
12001200
<altmember cref="T:System.IComparable`1" />
12011201
<altmember cref="Overload:System.Array.Sort" />
@@ -3475,7 +3475,7 @@
34753475
<param name="array">The one-dimensional, zero-based array to search.</param>
34763476
<param name="match">The predicate that defines the conditions of the element to search for.</param>
34773477
<summary>Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire <see cref="T:System.Array" />.</summary>
3478-
<returns>The first element that matches the conditions defined by the specified predicate, if found; otherwise, the default value for type <paramref name="T" />.</returns>
3478+
<returns>The first element that matches the conditions defined by the specified predicate, if found; otherwise, the default value for type <typeparamref name="T" />.</returns>
34793479
<remarks>
34803480
<format type="text/markdown"><![CDATA[
34813481

@@ -3991,7 +3991,7 @@
39913991
<param name="array">The one-dimensional, zero-based <see cref="T:System.Array" /> to search.</param>
39923992
<param name="match">The <see cref="T:System.Predicate`1" /> that defines the conditions of the element to search for.</param>
39933993
<summary>Searches for an element that matches the conditions defined by the specified predicate, and returns the last occurrence within the entire <see cref="T:System.Array" />.</summary>
3994-
<returns>The last element that matches the conditions defined by the specified predicate, if found; otherwise, the default value for type <paramref name="T" />.</returns>
3994+
<returns>The last element that matches the conditions defined by the specified predicate, if found; otherwise, the default value for type <typeparamref name="T" />.</returns>
39953995
<remarks>
39963996
<format type="text/markdown"><![CDATA[
39973997

0 commit comments

Comments
 (0)