std.file: FileException ctor calls GetLastError like a property as default argument. This does not compile with -property switch because GetLastError is not marked as property. Also should consider using scope operator. The Posix version has the same problem when calling getErrno.
https://github.com/D-Programming-Language/phobos/pull/342
https://github.com/D-Programming-Language/phobos/commit/e312f9898b4132db91fff743cee7d570a23ed55b