http://d.puremagic.com/issues/show_bug.cgi?id=979 ------- Comment #3 from benoit at tionex.de 2007-02-19 15:52 ------- But note, this works: class Foo{ int x; static void foo(){ int o = x.offsetof; // works } } --