Mono Class Library: System Namespace

System.MissingMethodException Class

Represents the error that occurs when there is an attempt to dynamically access a method that does not exist. [Edit]

See Also: MissingMethodException Members

System.Object
     System.Exception
          System.SystemException
               System.MemberAccessException
                    System.MissingMemberException
                         System.MissingMethodException

[System.Runtime.InteropServices.ComVisible(true)]
public class MissingMethodException : MissingMemberException

Thread Safety

All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.

Remarks

Normally a compilation error is generated if code attempts to access a nonexistent method of a class. MissingMethodException is designed to handle cases where an attempt is made to dynamically access a renamed or deleted method of an assembly that is not referenced by its strong name. The MissingMethodException is thrown when code in a dependent assembly attempts to access a missing method in an assembly that was modified.

Note:

The following CIL instructions throw MissingMethodException:

  • callvirt
  • newobj
[Edit]

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0