We have had a problem in our code with people using IIf()
where they should really be using If
.
Is there a way I can override IIf
to disable it, or make it obsolete by using the <Obsolete()>
tag?
You can remove the Microsoft.VisualBasic
dll from the project references.
Then you can't use the VB6 functions.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With