C# on iPhone unable to access Mono 2.6 features

The release notes for iPhone 1.6 said Mono was updated to Mono 2.6. However, none of the C# 3 features that are part of Mono 2.6 such as var are compiling. Is Unity iPhone specifically setting a compile flag to force .NET 2.1 only features? Is this necessary for Full AOT compilation? We can get C# 3 features in regular Unity with this hack but I'm not sure what to do for iPhone since the compiler looks to already be updated to 2.6 and there's no 3.0 option in the project's player settings.

If I have to just wait for Unity 3 I suppose that's acceptable, but considering iPhone apps don't depend on any sort of backwards compatibility and Mono has already been upgraded, it would be really nice to have the latest and greatest language features.

Support for some C# 3.0 features will come to Unity iPhone, but most likely some time after Unity 3.0.

what i am writing is just a guess. mono is a runtime with libraries and unity updated it's use of mono so you can compile things like dynamic language runtime for it and some other features but unity don't use the JIT compiler that mono has and wrote a ahead of time compiler. this compiler needs to be updated to support c# 3 features.

You don't need that hack in Unity3 to use c# 3.0 features in the editor. Which specific piece of code is not working for you on the iphone? Please also make sure to disable all stripping.

(We allow agressive stripping, which at its strongest level removes quite a lot of mono functionality. Those levels are really intended for the "I dont care about this .NET stuff, I just want to make my dragon walk forward kthnxbyt" scenario)