Right now VB and C# represent anonymous delegates in different ways. Both are INamedTypes with TYpeKind.Delegate. However, a VB anonymous delegate reports IsAnonymousType=true, while a C# one reports CanBeReferencedByName=false.
We should investigate and determine if it is really appropriate for these two languages to deviate here in the representation. If there is a good reason, then that's fine and the split can remain. However, if there isn't, we should unify to help higher layers have a consistent way of handling both of these uniformly.
Right now VB and C# represent anonymous delegates in different ways. Both are INamedTypes with TYpeKind.Delegate. However, a VB anonymous delegate reports IsAnonymousType=true, while a C# one reports CanBeReferencedByName=false.
We should investigate and determine if it is really appropriate for these two languages to deviate here in the representation. If there is a good reason, then that's fine and the split can remain. However, if there isn't, we should unify to help higher layers have a consistent way of handling both of these uniformly.