[cs/java] optimize Reflect.fields on a dynamic object