Allow LogicScript functions to be compiled to C# using LINQ expressions