Allow Conditional attribute also to non void methods
Currently it's possible to use
only with void function. So we have to use #if with non void function to get a default value.
Please, extend the attribute in order to return a specified default value or null for reference type.