I've been testing my business objects with a little driver program called
PSSDriver. It's a Windows Form project and I've been putting my code in the
Form Load.

The code is as follows:

Option Compare Text
Option Strict On

Imports PersonShowStationMaint ' The business objects DLL

Public Class Form1
Inherits System.Windows.Forms.Form

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load

Const MarkConn As String = "Integrated Security=SSPI;Persist Security
Info=False;Initial Catalog=Mark;Data Source=RAINSLEY"

Dim Show As New Show(MarkConn)
With Show
End With

End Sub
End Class

The .GetById invocation works just fine and the Show object contains the
expected data. However, when I attempt to invoke the .GetShowPeople method, I
get the following error:

An unhandled exception of type 'System.TypeLoadException' occurred in

Additional information: Declaration referenced in a method implementation can
not be a final method. Type: PersonShowStationMaint.ShowPeople. Assembly:

The declaration of the .GetById method is:

Public Function GetById(ByVal Id As Int32) As Boolean

and the declaration of the .GetShowPeople method is:

Public Sub GetShowPeople()

What am I doing wrong?