I\'ve found a way to disable warnings for an entire VB.NET project, but that is very undesirable. I would like to disable a certain warning for the scope of one method at mo
Unfortunately the answer is no, the VB.NET compiler doesn't support suppression of warnings in such a manner.
You would have to re-factor your VB.NET code or look at some other alternative like writing some of the code in C#.