-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Closed
Closed
Copy link
Labels
area-System.Reflection.Emitneeds-author-actionAn issue or pull request that requires more info or actions from the author.An issue or pull request that requires more info or actions from the author.
Milestone
Description
Description
Lines 80 to 83 in 1c9e200
| // Assemblies loaded in memory return empty string from Location. | |
| string location = asm.Location; | |
| if (location == string.Empty) | |
| continue; |
In the System.ComponentModel.Design.RuntimeLicenseContext the following lines state that Location returns null for in memory loaded assemblies.
However System.Reflection.Emit.InternalAssemblyBuilder throws an exception when Location is accessed:
runtime/src/coreclr/System.Private.CoreLib/src/System/Reflection/Emit/AssemblyBuilder.cs
Line 105 in 1c9e200
| public override string Location => throw new NotSupportedException(SR.NotSupported_DynamicAssembly); |
Configuration
.NET 5.0
Windows x86
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-System.Reflection.Emitneeds-author-actionAn issue or pull request that requires more info or actions from the author.An issue or pull request that requires more info or actions from the author.