public string execute(User user, dynamic data)
{
if (user == null || data == null)
{
return string.Empty;
}
user.log("Getting user {0}", user.id);
}
user.id
is uint
type
user
on the last line is marked with a warning:
Possible System.NullRefferenceException
How could user
be null? Is it Visual Studio bug or am I missing anything?