Bug 108 - error:VBNC99997
Summary: error:VBNC99997
Alias: None
Product: Compilers
Classification: Mono
Component: VisualBasic ()
Version: unspecified
Hardware: PC Linux
: Normal major
Target Milestone: ---
Assignee: Rolf Bjarne Kvinge [MSFT]
Depends on:
Reported: 2011-07-29 03:49 UTC by k.annamacharya
Modified: 2015-04-16 10:19 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description k.annamacharya 2011-07-29 03:49:24 UTC
You have encountered some thing in compiler which is not implemented. Please file a bug. 

I has used the following code snippet to get the value from a grid view as follows
Dim sno as new TextBox()

and the same code with DirectCast()


Comment 1 Rolf Bjarne Kvinge [MSFT] 2012-07-04 20:26:23 UTC
I can't reproduce this, I've tried with the following code:

Imports System
Imports System.Web.UI.WebControls

Public Class D
	Public Shared Sub Main ()
		Dim sno As New TextBox()
		Dim GridView1 As GridView
		Dim e As GridViewRow
	End Sub
End Class

and it currently compiles just fine. Can you provide a complete sample that fails to compile?
Comment 2 Rolf Bjarne Kvinge [MSFT] 2015-04-16 10:19:25 UTC
This bug has been waiting for a response for over 2 years; I'm closing it for now. If you have a complete test case, please attach the test case and reopen the bug.