I have been testing the jint library and hit a snag. Given this class in C#:
public class Foo { public string Name { get; } = "Bar"; }