This question is locked. New answers and comments are not allowed.
Hi All,
I need to have a JustCode Null Check Rule which will give JustCode error if anyone try to use or access an object without having Not Nothing condition in VB.NET. So, it means it will be mandatory to check if Object IsNot Nothing then only one can access or use an object in code with this rule like below:
If myObject IsNot Nothing Then
Console.WriteLine(myObject.Tostring());
EndIf
So, how can I generate or enforce such rule with JustCode? Please help in achieving solution for this problem asap.
Thanks,
Pratham