Edit-and-continue changes async codegen; make it configurable #4432
-
Unfortunately, the lowering of the feature changes codegen when running compiling under debug in an effort to support edit and continue - specifically the generated closure is a This makes it impossible to constrain generic arguments in methods in the builder pointed to by Worse, lowering happens after proposed source generation and compilation checks before assembly is emitted, so the usual suspects like Cecil cannot be employed to solve this. I'm working in a domain where edit and continue would never work anyway, so a reasonable compromise could be having a compiler flag for overriding whether EnC is enabled, looks like Thanks for any thoughts! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
This question seems to be belong to the roslyn repo - not csharplang. |
Beta Was this translation helpful? Give feedback.
This question seems to be belong to the roslyn repo - not csharplang.
Lowering is an implementation detail - it is not enforced by the language.