MissingMethodException

    Date: 11/02/04 (C Sharp)    Keywords: no keywords

    Dear experts :),

    I have recently started to learn my first steps in C#. I am already an experienced programmer, but C# is new to me.

    What I've done is this:

    • I've created a class library that I called "DAWG". Its intended purpose is not important here.
    • This library has a class, Wordlist, which has a constructor that doesn't do anything other than setting a member variable to null.
    • The main program consists of little else than a form with a menu with two menu items: Open and Exit. Open is supposed to open a word list and create a DAWG from it.
    The problem is that I get a MissingMethodException whenever the code for the form contains the line wordlist = new Wordlist();. If I put that line in the constructor of the form, I get the exception immediately when starting the program. If I put it into the method that is linked to the 'Open' menu item, I get it when I click the menu item. In both cases, however, the exception occurs in "Non-user code", according to the call stack; it does not seem to occur when the Wordlist constructor is actually called.

    In case it is important, I should also mention that the application is targeting the Pocket PC platform, but I don't think this would matter.

    Thanks for any help you can offer!

    Source: http://www.livejournal.com/community/csharp/20245.html

« fast set || Interfaces »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home