[gh-196] Improved JIT ASM static constructor error message.

This commit is contained in:
Andrey Shchekin 2017-09-24 22:57:52 +13:00
Родитель ae08266598
Коммит 2ad3e6f7fc
3 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -88,7 +88,7 @@ namespace SharpLab.Server.Decompilation {
return;
case Remote.MethodJitStatus.FailedTypeWithStaticConstructor:
writer.WriteLine(" ; Types with static constructors are not supported by SharpLab JIT ASM decompiler.");
writer.WriteLine(" ; Type {0} has a static constructor, which is not supported by SharpLab JIT decompiler.", method.Type.Name);
return;
}

Просмотреть файл

@ -12,7 +12,7 @@ static class C {
; Desktop CLR v<IGNORE> (clr.dll) on x86.
C..cctor()
; Types with static constructors are not supported by SharpLab JIT ASM decompiler.
; Type C has a static constructor, which is not supported by SharpLab JIT decompiler.
C.M()
; Types with static constructors are not supported by SharpLab JIT ASM decompiler.
; Type C has a static constructor, which is not supported by SharpLab JIT decompiler.

Просмотреть файл

@ -9,7 +9,7 @@ static class C {
; Desktop CLR v<IGNORE> (clr.dll) on x86.
C..cctor()
; Types with static constructors are not supported by SharpLab JIT ASM decompiler.
; Type C has a static constructor, which is not supported by SharpLab JIT decompiler.
C.M()
; Types with static constructors are not supported by SharpLab JIT ASM decompiler.
; Type C has a static constructor, which is not supported by SharpLab JIT decompiler.