struct Foo { /// Sets or gets prop void prop(int t); /// ditto int prop(); } void main(string[] args) { Foo f; f.prop }