D-Programming-Language/phobos — pull request #2385 by tom-tan (2014-07-31 06:22:25+00:00)
Title: Mark std.file.getSize as trusted

On Windows systems, it does not contain any unsafe operations.
On Posix systems, it uses an unsafe function `core.sys.posix.sys.stat.stat` and takes an address of a local variable (`statbuf`) but we can verify it can be trusted.