Some more problems on this matter. This tries to invoke TST.ASD instead of .ASD : void ASD(char[] a,int b) { } class TST { this(){"asd".ASD(5);} void ASD(){} }