-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes Issue dotnet/coreclr#20262 for CoreCLR 5.0 (dotnet/coreclr#25926)
Disassembler: ildasm/dasm.cpp In the CoreCLR with reference assemblies and redirection it is more difficult to determine if a particular Assembly is the System assembly, like mscorlib.dll is for the Desktop CLR. In the CoreCLR runtimes, the System assembly can be System.Private.CoreLib.dll, System.Runtime.dll or netstandard.dll and in the future a different Assembly name could be used. We now determine the identity of the System assembly by querying if the Assembly defines the well known type System.Object as that type must be defined by the System assembly If this type is defined then we will output the ".mscorlib" directive to indicate that this assembly is the System assembly. Assembler: ilasm/assembler.cpp In Assembler:GetBaseAsmRef() add a check for System.Private.CoreLib as the System or Base assembly. Commit migrated from dotnet/coreclr@cb86146
- Loading branch information
Showing
2 changed files
with
47 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters