For instance, compiling the following il:
.assembly '_0_89c370b1-0d11-4511-9273-3053e4dbf734' {}
.assembly extern netstandard
{
.publickeytoken = (B7 7A 5C 56 19 34 E0 89)
.ver 2:0:0:0
}
.class public auto ansi beforefieldinit Class
extends [netstandard]System.Object
{
} // end of class Class
Results in the following warning:
warning : Reference to undeclared extern assembly 'mscorlib'. Attempting autodetect
And System.Object is retargeted to mscorlib and an mscorlib ref is added to the output assembly.
For instance, compiling the following il:
Results in the following warning:
And System.Object is retargeted to mscorlib and an mscorlib ref is added to the output assembly.