Browse Source

#2657: Print info about metadata kind in assembly decompilation output.

pull/2660/head
Siegfried Pammer 3 years ago
parent
commit
aea4eba97b
  1. 4
      ILSpy/Languages/CSharpLanguage.cs

4
ILSpy/Languages/CSharpLanguage.cs

@ -451,6 +451,10 @@ namespace ICSharpCode.ILSpy @@ -451,6 +451,10 @@ namespace ICSharpCode.ILSpy
{
output.WriteLine("// This assembly was compiled using the /deterministic option.");
}
if (module.Metadata.MetadataKind != MetadataKind.Ecma335)
{
output.WriteLine("// This assembly was loaded with Windows Runtime projections applied.");
}
if (metadata.IsAssembly)
{
var asm = metadata.GetAssemblyDefinition();

Loading…
Cancel
Save