Code Generation: async Task and ValueTask Expressions w/ System.Linq.Expressions #4644
-
In S.L.Expressions, we have almost all building blocks needed for custom code generation. In the past, S.L.E name space was declared feature complete. However, the language moves forward, and the tool set provided inside that name space lags behind since .net core 1. Ideally, I would like to have feature parity with Roslyn, sans the Lexer and Parser, to be able to generate methods and classes with that name space. Currently, we are depending on Castle Windsor's DynamicProxy library, which, with some extensions, can barely handle regular Task and Task async methods. It is totally inadequate for Value Tasks, however. It's design is outdated and relies heavily on reflection. Our other alternatives are:
Can we please add to System.Linq.Expressions:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Beta Was this translation helpful? Give feedback.
-
@hivanov unfortunetly if you want inbox solution you are out of luck because S.L.E is practically obsoleted for all intent and purposes and runtime team is not going to spend a dime fixing S.L.E (i mean bringing up to parity with new constructs) |
Beta Was this translation helpful? Give feedback.
#2545