jamescourtney / FlatSharp

Fast, idiomatic C# implementation of Flatbuffers
Apache License 2.0
510 stars 51 forks source link

Clean up Exceptions Thrown in Generated Code #419

Closed jamescourtney closed 8 months ago

jamescourtney commented 9 months ago

This post indicates that methods that throw an exception cannot be inlined by the JIT. FlatSharp throws exceptions in many places in generated code. This issue tracks cleaning these up into static exception "thrower" methods.