Not sure what happens there, but the code snippet as attached does not get recognized by the C# editor. Seems to be the generic which he doesn’t like. What’s weird is that in Rh5 it is recognized properly. It is a bit inconvenient because everything is red and the formatting of the code which comes afterwards get’s completely messed up.
test_code_editor.gh (1.8 KB)