Consuming anonymous types with DiagnosticListener in .NET 6 In this post I look at how to consume DiagnosticListener events where the object is an anonymous type, and so cant be cast to a named Type. https://andrewlock.net/consuming-anonymous-types-with-diagnosticlistener-in-dotnet6/ 364 views10:39