CosmosOS / IL2CPU

IL2CPU is a compiler for .NET IL code to compile to assembly language for direct booting.
BSD 3-Clause "New" or "Revised" License
282 stars 70 forks source link

Implement endfilter opcode and plug Microsoft.VisualBasic.CompilerServices.Utils #87

Open fxyx opened 4 years ago

fxyx commented 4 years ago

Same new project... If I use the IF or SELECT CASE statement I receve a "Exception: System.NotImplementedException: OpCode 'Endfilter' not implemented! SAM D:\Sviluppo vb.Net\Sistemi Operativi\SAM\SAM\IL2CPU" error. I try to move this code to other Class with the same error. Version - Were you using the User Kit or Dev Kit? And what User Kit version or Dev Kit commit (Cosmos, IL2CPU, X#)? I download all new three days ago on my Lattepanda alpha. I try compiling the solution here, using the precompiled versione... Cosmos_Issue

MishaTy commented 1 year ago

We need a plug for 1>System.RuntimeTypeHandle::System.RuntimeType GetTypeByName(System.String, Boolean, Boolean, System.Threading.StackCrawlMark ByRef, System.Runtime.Loader.AssemblyLoadContext) 1>System.RuntimeTypeHandle::System.RuntimeType GetTypeByName(System.String, Boolean, Boolean, System.Threading.StackCrawlMark ByRef) 1>System.RuntimeType::System.RuntimeType GetType(System.String, Boolean, Boolean, System.Threading.StackCrawlMark ByRef) 1>System.Type::System.Type GetType(System.String) 1>Microsoft.VisualBasic.CompilerServices.Utils::Void .cctor() 1>Microsoft.VisualBasic.CompilerServices.Utils