What is a suffix like "+ <> c__DisplayClassX", where X is a number?
I have an exception thrown by a WPF application. Message:
Type 'MyNamespacesPath.AType+<>c__DisplayClass5' in Assembly... is not marked as serializable
The problem is that the type cannot be serialized. But this type is auto-generated, maybe an anonymous method or an expression tree. Does anyone know the exact origin of these types to know where to find the error?
+5