Remove unused private using
[System.Core] Disable use of CAS.
The added ifdef is required to circumvent a compile error on older versions of mcs.