I'm using this code in order to check queryable
value:
visitor.Queryable = queryable ?? throw new Exception("error message");
I'm getting a compilation error:
error CS1525: Invalid expression term 'throw'
I'm using 4.5.2 .net framework. Any ideas?