Only use nameof when the language version is C# 6 or higher (fixes #1)
Use ParseExpression instead of ParseTypeName