Skip to content

Commit a223824

Browse files
Apply suggestions from code review (assembly builder)
Co-authored-by: Genevieve Warren <[email protected]>
1 parent bd7daf2 commit a223824

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xml/System.Reflection.Emit/AssemblyBuilder.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ The following code example shows how to define and use a dynamic assembly. The e
442442
<param name="access">The access rights of the assembly.</param>
443443
<summary>Defines a dynamic assembly that has the specified name and access rights.</summary>
444444
<returns>An object that represents the new assembly.</returns>
445-
<remarks>.NET 6+ only: If the <see cref="P:System.Runtime.Loader.AssemblyLoadContext.CurrentContextualReflectionContext" /> property is null, then the assembly will be created in the <see cref="T:System.Runtime.Loader.AssemblyLoadContext" /> of function which calls DefineDynamicAssembly. Otherwise it will create it with the <see cref="T:System.Runtime.Loader.AssemblyLoadContext" /> specified in <see cref="P:System.Runtime.Loader.AssemblyLoadContext.CurrentContextualReflectionContext" /></remarks>
445+
<remarks>.NET 6+ only: If the <see cref="P:System.Runtime.Loader.AssemblyLoadContext.CurrentContextualReflectionContext" /> property is null, then the assembly is created in the <see cref="T:System.Runtime.Loader.AssemblyLoadContext" /> of the function that calls DefineDynamicAssembly. Otherwise, it's created with the <see cref="T:System.Runtime.Loader.AssemblyLoadContext" /> specified in <see cref="P:System.Runtime.Loader.AssemblyLoadContext.CurrentContextualReflectionContext" />.</remarks>
446446
</Docs>
447447
</Member>
448448
<Member MemberName="DefineDynamicAssembly">
@@ -507,7 +507,7 @@ The following code example shows how to define and use a dynamic assembly. The e
507507
<param name="assemblyAttributes">A collection that contains the attributes of the assembly.</param>
508508
<summary>Defines a dynamic assembly that has the specified name, access rights, and attributes.</summary>
509509
<returns>An object that represents the new assembly.</returns>
510-
<remarks>.NET 6+ only: If the <see cref="P:System.Runtime.Loader.AssemblyLoadContext.CurrentContextualReflectionContext" /> property is null, then the assembly will be created in the <see cref="T:System.Runtime.Loader.AssemblyLoadContext" /> of function which calls DefineDynamicAssembly. Otherwise it will create it with the <see cref="T:System.Runtime.Loader.AssemblyLoadContext" /> specified in <see cref="P:System.Runtime.Loader.AssemblyLoadContext.CurrentContextualReflectionContext" /></remarks>
510+
<remarks>.NET 6+ only: If the <see cref="P:System.Runtime.Loader.AssemblyLoadContext.CurrentContextualReflectionContext" /> property is null, then the assembly is created in the <see cref="T:System.Runtime.Loader.AssemblyLoadContext" /> of the function that calls DefineDynamicAssembly. Otherwise, it's created with the <see cref="T:System.Runtime.Loader.AssemblyLoadContext" /> specified in <see cref="P:System.Runtime.Loader.AssemblyLoadContext.CurrentContextualReflectionContext" />.</remarks>
511511
</Docs>
512512
</Member>
513513
<MemberGroup MemberName="DefineDynamicModule">

0 commit comments

Comments
 (0)