You make it worse!,
Just change
199 Me._dataProvider = DataProvider.Instance
to
199 Me._dataProvider = DotNetNuke.Modules.IFrame.Data.DataProvider.Instance
and even the stupids IDE should stop any warning.
Update: Sorry, I was to quick reading your last post. The suggestion of VWD is ok. IMHO all code is equal, and everytime the code inside DataProvider.vb is called. I would not call it a glitch - there is none, and it is not a potential site crasher at all.
What really has changed is the type of the module, it is source only and come without any assemblies. If you build inside VWD, you actually just provide a "test compile run". however you can also adopt any changes with NotePad, save it and these changes are adopted directly without any (external) build needed. The ASP.NET 2.0 engine compiles on the fly.