Public Class [Set](Of T As Object)
Public Shared Operator =(ByVal a As [Set](Of T), ByVal b As [Set](Of T)) As Boolean
' ...
End Operator
This gives the error: "At least one parameter type of this binary operator must be the enclosing type 'Set'."
Comments:
Reflection.Emit support for producing Generic types is on the cards. Look for it in the Beta 1 drop in the near future. — Joel Pobar