Skip to content

Commit 2fa3ed8

Browse files
Update AssemblyBuilder.xml
1 parent 6f5010d commit 2fa3ed8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

xml/System.Reflection.Emit/AssemblyBuilder.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -440,9 +440,9 @@ The following code example shows how to define and use a dynamic assembly. The e
440440
<Docs>
441441
<param name="name">The name of the assembly.</param>
442442
<param name="access">The access rights of the assembly.</param>
443-
<summary>Defines a dynamic assembly that has the specified name and access rights. If the <see cref:System.Runtime.Loader.AssemblyLoadContext.CurrentContextualReflectionContext> property is null, then the assembly will be created in the <see cref:System.Runtime.Loader.AssemblyLoadContext> of function which calls DefineDynamicAssembly. Otherwise it will create it with the <see cref:System.Runtime.Loader.AssemblyLoadContext> specified in <see cref:System.Runtime.Loader.AssemblyLoadContext.CurrentContextualReflectionContext></summary>
443+
<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>To be added.</remarks>
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>
446446
</Docs>
447447
</Member>
448448
<Member MemberName="DefineDynamicAssembly">
@@ -505,9 +505,9 @@ The following code example shows how to define and use a dynamic assembly. The e
505505
<param name="name">The name of the assembly.</param>
506506
<param name="access">The access rights of the assembly.</param>
507507
<param name="assemblyAttributes">A collection that contains the attributes of the assembly.</param>
508-
<summary>Defines a dynamic assembly that has the specified name, access rights, and attributes. If the <see cref:System.Runtime.Loader.AssemblyLoadContext.CurrentContextualReflectionContext> property is null, then the assembly will be created in the <see cref:System.Runtime.Loader.AssemblyLoadContext> of function which calls DefineDynamicAssembly. Otherwise it will create it with the <see cref:System.Runtime.Loader.AssemblyLoadContext> specified in <see cref:System.Runtime.Loader.AssemblyLoadContext.CurrentContextualReflectionContext></summary>
508+
<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>To be added.</remarks>
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>
511511
</Docs>
512512
</Member>
513513
<MemberGroup MemberName="DefineDynamicModule">

0 commit comments

Comments
 (0)