'type' does not contain a definition for 'identifier'
This error is given when a type does not contain a member that is attempting to be referenced.
Make sure you don't have a type with the same name as the target type!
You can figure out whether this is the case by using your IDE's Go To Declaration feature.
Your options for fixing this error are:
UnityEngine.Cursor for example.using Cursor = UnityEngine.Cursor; for example.Either the type does not have the member in your version, or you do mistakenly have a type with the same name.