Changes made by VS 2012
Using case-insensitive comparisons to support lower-case expressions such as "cast(Foo as int)"