Compiler Error of the Day

by Nick Wednesday, February 22, 2006 3:52 PM
Here is a compiler error I got while quickly throwing together a custom collection:

Public Overrides Sub RemoveAt(index As Integer)' cannot override 'Public Overridable NotOverridable Sub RemoveAt(index As Integer)' because it is declared 'NotOverridable'

Overridable NotOverridable?! Huh?! Yet another reason why Visual Basic really chaps my hide.

Comments (1) -

ayan
ayan
8/21/2006 4:16:15 AM #

If you see the Close, ChangeDatabase, Open etc. methods along with some other properties of the SQLConnection Class, you can see that the intellisence as well as the object browser both are telling that they have been declared as Overridable NotOverridable. Isn't it Funny??

Comments are closed

About Me

Nick Schweitzer Nick Schweitzer
Wauwatosa, WI

Contact Me
I'm a Software Consultant in the Milwaukee area. Among various geeky pursuits, I'm also an amateur triathlete, and enjoy rock climbing. I also like to think I'm a political pundit. ... Full Bio

Community Involvement

Twitter

Archives

Flickr Photos

www.flickr.com
This is a Flickr badge showing public photos and videos from Nick_Schweitzer. Make your own badge here.

Standard Disclaimers

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2012 Nick Schweitzer