Anonymous type must contain at least one member
The initializer list in an anonymous type declaration cannot be empty.
' Not valid.
' Dim anonInstance = New With {}
Error ID: BC36574
To correct this error
Declare a member within the braces, as shown in the following code.
Dim anonInstance = New With {.MemberName = "value"}