Denis Koroskin wrote:
> private void doPart1()
> {
> void delegate() dg = unchecked(this.dg); // no checking done
> // use dg here without checking
> // *BUT* it someone denies the contract and calls the method without
> // ensuring that this.dg is not null, you'll get a access violation
> (or NPE)
> }
Fuck no.