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.