This question is locked. New answers and comments are not allowed.
JustCode don't mark this as bad code:
public
object
ConvertBack(
object
value, Type targetType,
object
parameter, CultureInfo culture)
{
if
(value ==
null
)
{
if
(targetType
is
Nullable<
int
>)
// this is bad code
{
return
null
;
}
return
-1;
}
return
value;
}