Hi there.
I think there is a bug in a Devart.Data.dll
Looks like when DbMonitor gets the stacktrace, enumerates all methods and builds a string for each method, it fails if there is any anonymous method. It has no DeclaringType, so DeclaringType property of MethodInfo is null. So when it tries to get the DeclaringType.FullName, it fails with NullReference exception.
Best regards,
Alexander Efimov.