danneu
if (thing is Thing.Foo) return thing.fooValue return thing.barValue // <-- doesn't know it must be Thing.Bar