C# target import system.dynamic

I ran into a quirk with the import statement when working with C#. It looks like the keyword ‘dynamic’ is being detected. Is there a workaround/escape for this?

import cs.system.dynamic.ExpandoObject;

This errors to ‘Missing ;’

Thanks!

You can use the the annotation @:cs.using.
For example:

@:cs.using("System.Dynamic")
class MyClass {}