Skip to content

Commit 1ca77b5

Browse files
authored
fix mismatched paramrefs (#11146)
1 parent 67ccaec commit 1ca77b5

File tree

29 files changed

+1646
-1675
lines changed

29 files changed

+1646
-1675
lines changed

xml/System.Numerics/BigInteger.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11708,7 +11708,7 @@ The integer value `33022` can be exported in four different arrays:
1170811708
<param name="destination">The span of characters into which this instance will be written.</param>
1170911709
<param name="charsWritten">When the method returns, contains the length of the span in number of characters.</param>
1171011710
<param name="format">A read-only span of characters that specifies the format for the formatting operation.</param>
11711-
<param name="provider">An object that supplies culture-specific formatting information about <paramref name="value" />.</param>
11711+
<param name="provider">An object that supplies culture-specific formatting information.</param>
1171211712
<summary>Formats this big integer instance into a span of characters.</summary>
1171311713
<returns>
1171411714
<see langword="true" /> if the formatting operation succeeds; <see langword="false" /> otherwise.</returns>

xml/System.Numerics/Vector`1.xml

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

xml/System.Reflection.Emit/AssemblyBuilder.xml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3383,11 +3383,6 @@ The following code example shows how to define and use a dynamic assembly. The e
33833383
> [!NOTE]
33843384
> <xref:System.Reflection.Emit.AssemblyBuilder.SetCustomAttribute%2A> cannot be used to set declarative security attributes. Use one of the overloads of <xref:System.AppDomain.DefineDynamicAssembly%2A> that takes required, optional, and refused permissions.
33853385
3386-
> [!NOTE]
3387-
> Starting with the .NET Framework 2.0 Service Pack 1, this member no longer requires <xref:System.Security.Permissions.ReflectionPermission> with the <xref:System.Security.Permissions.ReflectionPermissionFlag.ReflectionEmit?displayProperty=nameWithType> flag. (See [Security Issues in Reflection Emit](/dotnet/framework/reflection-and-codedom/security-issues-in-reflection-emit).) To use this functionality, your application should target the .NET Framework 3.5 or later.
3388-
3389-
3390-
33913386
## Examples
33923387
The following code sample illustrates the use of `SetCustomAttribute` within <xref:System.Reflection.Emit.AssemblyBuilder>, using a <xref:System.Reflection.Emit.CustomAttributeBuilder>.
33933388
@@ -3398,7 +3393,7 @@ The following code example shows how to define and use a dynamic assembly. The e
33983393
]]></format>
33993394
</remarks>
34003395
<exception cref="T:System.ArgumentNullException">
3401-
<paramref name="con" /> is <see langword="null" />.</exception>
3396+
<paramref name="customBuilder" /> is <see langword="null" />.</exception>
34023397
<exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
34033398
</Docs>
34043399
</Member>

xml/System.Reflection.Emit/DynamicILInfo.xml

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

xml/System.Reflection.Emit/DynamicMethod.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1988,11 +1988,6 @@ The following code example creates a dynamic method that takes two parameters. T
19881988
19891989
This method does not demand permissions directly, but invoking the dynamic method can result in security demands, depending on the method. For example, no demands are made for anonymously hosted dynamic methods that are created with the `restrictedSkipVisibility` parameter set to `false`. On the other hand, if you create a method with `restrictedSkipVisibility` set to `true` so it can access a hidden member of a target assembly, the method will cause a demand for the permissions of the target assembly plus <xref:System.Security.Permissions.ReflectionPermission> with the <xref:System.Security.Permissions.ReflectionPermissionFlag.MemberAccess?displayProperty=nameWithType> flag.
19901990
1991-
> [!NOTE]
1992-
> Prior to .NET Framework 2.0, this method required <xref:System.Security.Permissions.ReflectionPermission> with the <xref:System.Security.Permissions.ReflectionPermissionFlag.MemberAccess> flag.
1993-
1994-
1995-
19961991
## Examples
19971992
The following code example invokes a dynamic method with exact binding, using the US-English culture. This code example is part of a larger example provided for the <xref:System.Reflection.Emit.DynamicMethod> class.
19981993

xml/System.Reflection.Emit/EnumBuilder.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3739,7 +3739,7 @@ The following code sample demonstrates the use of the `AssemblyQualifiedName` pr
37393739
]]></format>
37403740
</remarks>
37413741
<exception cref="T:System.ArgumentNullException">
3742-
<paramref name="con" /> is <see langword="null" />.</exception>
3742+
<paramref name="customBuilder" /> is <see langword="null" />.</exception>
37433743
</Docs>
37443744
</Member>
37453745
<Member MemberName="SetCustomAttribute">

xml/System.Reflection.Emit/EventBuilder.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@
367367
<summary>Sets a custom attribute using a custom attribute builder.</summary>
368368
<remarks>To be added.</remarks>
369369
<exception cref="T:System.ArgumentNullException">
370-
<paramref name="con" /> is <see langword="null" />.</exception>
370+
<paramref name="customBuilder" /> is <see langword="null" />.</exception>
371371
<exception cref="T:System.InvalidOperationException">
372372
<see cref="M:System.Reflection.Emit.TypeBuilder.CreateType" /> has been called on the enclosing type.</exception>
373373
</Docs>

xml/System.Reflection.Emit/FieldBuilder.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -902,7 +902,7 @@
902902
]]></format>
903903
</remarks>
904904
<exception cref="T:System.ArgumentNullException">
905-
<paramref name="con" /> is <see langword="null" />.</exception>
905+
<paramref name="customBuilder" /> is <see langword="null" />.</exception>
906906
<exception cref="T:System.InvalidOperationException">The parent type of this field is complete.</exception>
907907
</Docs>
908908
</Member>

xml/System.Reflection.Emit/ILGenerator.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1174,7 +1174,7 @@
11741174
]]></format>
11751175
</remarks>
11761176
<exception cref="T:System.ArgumentNullException">
1177-
<paramref name="con" /> is <see langword="null" />. This exception is new in the .NET Framework 4.</exception>
1177+
<paramref name="con" /> is <see langword="null" />.</exception>
11781178
</Docs>
11791179
</Member>
11801180
<Member MemberName="Emit">
@@ -1302,8 +1302,6 @@
13021302
13031303
Labels are created using <xref:System.Reflection.Emit.ILGenerator.DefineLabel%2A> and their location within the stream is fixed by using <xref:System.Reflection.Emit.ILGenerator.MarkLabel%2A>. If a single-byte instruction is used, the label can represent a jump of at most 127 bytes along the stream. `opcode` must represent a branch instruction. Because branches are relative instructions, `label` will be replaced with the correct offset to branch during the fixup process.
13041304
1305-
1306-
13071305
## Examples
13081306
The code sample below illustrates the creation of a dynamic method with a jump table. The jump table is built using an array of <xref:System.Reflection.Emit.Label>.
13091307
@@ -1313,8 +1311,6 @@
13131311
13141312
]]></format>
13151313
</remarks>
1316-
<exception cref="T:System.ArgumentNullException">
1317-
<paramref name="con" /> is <see langword="null" />. This exception is new in the .NET Framework 4.</exception>
13181314
</Docs>
13191315
</Member>
13201316
<Member MemberName="Emit">

xml/System.Reflection.Emit/ModuleBuilder.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3229,7 +3229,6 @@
32293229
32303230
]]></format>
32313231
</remarks>
3232-
<exception cref="T:System.ArgumentNullException">The <paramref name="name" /> parameter is <see langword="null" />.</exception>
32333232
</Docs>
32343233
</Member>
32353234
<Member MemberName="GetFieldToken">
@@ -5438,13 +5437,8 @@
54385437
## Remarks
54395438
This method does nothing.
54405439
5441-
> [!NOTE]
5442-
> Starting with the .NET Framework 2.0 Service Pack 1, this member no longer requires <xref:System.Security.Permissions.ReflectionPermission> with the <xref:System.Security.Permissions.ReflectionPermissionFlag.ReflectionEmit?displayProperty=nameWithType> flag. (See [Security Issues in Reflection Emit](/dotnet/framework/reflection-and-codedom/security-issues-in-reflection-emit).) To use this functionality, your application should target the .NET Framework 3.5 or later.
5443-
54445440
]]></format>
54455441
</remarks>
5446-
<exception cref="T:System.ArgumentNullException">
5447-
<paramref name="url" /> is <see langword="null" />.</exception>
54485442
</Docs>
54495443
</Member>
54505444
<Member MemberName="SetUserEntryPoint">

0 commit comments

Comments
 (0)