You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<value>This AssemblyBuilder instance doesn't support saving. Use AssemblyBuilder.DefinePersistedAssembly to create an AssemblyBuilder instance that supports saving.</value>
Copy file name to clipboardExpand all lines: src/libraries/System.Private.CoreLib/src/System/Reflection/Emit/AssemblyBuilder.cs
-48
Original file line number
Diff line number
Diff line change
@@ -33,56 +33,8 @@ public ModuleBuilder DefineDynamicModule(string name)
33
33
returnGetDynamicModuleCore(name);
34
34
}
35
35
36
-
/// <summary>
37
-
/// Defines an <see cref="AssemblyBuilder"/> that can be saved to a file or stream.
38
-
/// </summary>
39
-
/// <param name="name">The name of the assembly.</param>
40
-
/// <param name="coreAssembly">The assembly that denotes the "system assembly" that houses the well-known types such as <see cref="object"/></param>
41
-
/// <param name="assemblyAttributes">A collection that contains the attributes of the assembly.</param>
42
-
/// <returns>An <see cref="AssemblyBuilder"/> that can be persisted.</returns>
43
-
/// <exception cref="ArgumentNullException">The <paramref name="name"/> or <paramref name="name.Name"/> or <paramref name="coreAssembly"/> is null.</exception>
44
-
/// <remarks>Currently the persisted assembly doesn't support running, need to save it and load back to run.</remarks>
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("Types might be removed by trimming. If the type name is a string literal, consider using Type.GetType instead.")]
0 commit comments