Skip to content

Commit 0fe5e3d

Browse files
Improve readability of documentation per code review feedback
Co-authored-by: AaronRobinsonMSFT <30635565+AaronRobinsonMSFT@users.noreply.github.com>
1 parent 2f5616e commit 0fe5e3d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

xml/System.Runtime.InteropServices/TypeMapAssociationAttribute`1.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ Types used in a managed-to-unmanaged interop operation can use `TypeMapAssociati
4141
4242
When an application is trimmed, an entry in the Proxy Type Map is included when the "source type" is referenced in one of the following ways in reachable code:
4343
44-
- The argument to the `ldtoken` IL instruction when <xref:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute> is specified with one of the flags that preserves constructors for the storage location.
45-
- Calls to <xref:System.Type.GetType%2A?displayProperty=nameWithType> with a constant string representing the type name when <xref:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute> is specified with one of the flags that preserves constructors for the storage location.
44+
- The argument to the `ldtoken` IL instruction when <xref:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute> is specified with a flag that preserves constructors for the storage location.
45+
- Calls to <xref:System.Type.GetType%2A?displayProperty=nameWithType> with a constant string representing the type name when <xref:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute> is specified with a flag that preserves constructors.
4646
- The type of a method argument to the `newobj` instruction.
4747
- The generic argument to the <xref:System.Activator.CreateInstance%60%601> method.
4848
- The argument to the `box` instruction.

xml/System.Runtime.InteropServices/TypeMapAttribute`1.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ When an application is trimmed, an entry in the External Type Map is included wh
5555
- The argument to the `refanyval` instruction.
5656
- The argument to the `newarr` instruction.
5757
- The type of a method argument to the `newobj` instruction if it's a class type.
58-
- The owning type of an instance method argument to `call` or `ldftn`, or the owning type of any method argument to `callvirt` or `ldvirtftn`. (If the owning type is an interface and the trimming tool can determine that there's only one implementation of the interface, it's free to interpret the method token argument as though it's the method on the only implementing type.)
58+
- The owning type of an instance method argument to `call` or `ldftn`, or the owning type of any method argument to `callvirt` or `ldvirtftn`. If the owning type is an interface and the trimming tool can determine that there's only one implementation of the interface, it's free to interpret the method token argument as though it's the method on the only implementing type.
5959
- The generic argument to the <xref:System.Activator.CreateInstance%60%601> method.
6060
- Calls to <xref:System.Type.GetType%2A?displayProperty=nameWithType> with a constant string representing the type name.
6161

0 commit comments

Comments
 (0)