[gh-196] Improved JIT ASM static constructor error message.
This commit is contained in:
Родитель
ae08266598
Коммит
2ad3e6f7fc
|
@ -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.
|
Загрузка…
Ссылка в новой задаче