{"action":"closed","issue":{"url":"https://api.github.com/repos/destructurama/fsharp/issues/3","labels_url":"https://api.github.com/repos/destructurama/fsharp/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/destructurama/fsharp/issues/3/comments","events_url":"https://api.github.com/repos/destructurama/fsharp/issues/3/events","html_url":"https://github.com/destructurama/fsharp/issues/3","id":85861795,"number":3,"title":"list of lists throws InvalidCastException","user":{"login":"adamchester","id":570470,"avatar_url":"https://avatars.githubusercontent.com/u/570470?v=3","gravatar_id":"","url":"https://api.github.com/users/adamchester","html_url":"https://github.com/adamchester","followers_url":"https://api.github.com/users/adamchester/followers","following_url":"https://api.github.com/users/adamchester/following{/other_user}","gists_url":"https://api.github.com/users/adamchester/gists{/gist_id}","starred_url":"https://api.github.com/users/adamchester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamchester/subscriptions","organizations_url":"https://api.github.com/users/adamchester/orgs","repos_url":"https://api.github.com/users/adamchester/repos","events_url":"https://api.github.com/users/adamchester/events{/privacy}","received_events_url":"https://api.github.com/users/adamchester/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-07T05:38:13Z","updated_at":"2015-06-08T04:49:38Z","closed_at":"2015-06-08T04:49:38Z","body":"Using the test script, I get the an `InvalidCastException`:\r\n```\r\n>fsi lists.fsx\r\nSystem.InvalidCastException: Unable to cast object of type 'Microsoft.FSharp.Collections.FSharpList`1[System.Int32]' to type 'System.Collections.Generic.IEnumerable`1[System.Object]'.\r\n   at Destructurama.FSharp.FSharpTypesDestructuringPolicy.Serilog-Core-IDestructuringPolicy-TryDestructure(Object value, ILogEventPropertyValueFactory propertyValueFactory, LogEventPropertyValue& result) in C:\\projects\\fsharp\\src\\Destructurama.FSharp\\DestructuramaFSharp.fs:line 31\r\n   at Serilog.Parameters.PropertyValueConverter.CreatePropertyValue(Object value, Destructuring destructuring, Int32 depth) in c:\\projects\\serilog\\src\\Serilog\\Parameters\\PropertyValueConverter-net40.cs:line 121\r\n   at Serilog.Parameters.PropertyValueConverter.DepthLimiter.CreatePropertyValue(Object value, Boolean destructureObjects) in c:\\projects\\serilog\\src\\Serilog\\Parameters\\DepthLimiter.cs:line 45\r\n   at Microsoft.FSharp.Collections.IEnumerator.map@111.DoMoveNext(b& )\r\n   at Microsoft.FSharp.Collections.IEnumerator.MapEnumerator`1.System-Collections-IEnumerator-MoveNext()\r\n   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)\r\n   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)\r\n   at Serilog.Events.SequenceValue..ctor(IEnumerable`1 elements) in c:\\projects\\serilog\\src\\Serilog\\Events\\SequenceValue-net40.cs:line 37\r\n   at Destructurama.FSharp.FSharpTypesDestructuringPolicy.Serilog-Core-IDestructuringPolicy-TryDestructure(Object value, ILogEventPropertyValueFactory propertyValueFactory, LogEventPropertyValue& result) in C:\\projects\\fsharp\\src\\Destructurama.FSharp\\DestructuramaFSharp.fs:line 33\r\n   at Serilog.Parameters.PropertyValueConverter.CreatePropertyValue(Object value, Destructuring destructuring, Int32 depth) in c:\\projects\\serilog\\src\\Serilog\\Parameters\\PropertyValueConverter-net40.cs:line 121\r\n   at Serilog.Parameters.PropertyBinder.ConstructProperty(PropertyToken propertyToken, Object value) in c:\\projects\\serilog\\src\\Serilog\\Parameters\\PropertyBinder.cs:line 122\r\n   at Serilog.Parameters.PropertyBinder.ConstructNamedProperties(MessageTemplate template, Object[] messageTemplateParameters) in c:\\projects\\serilog\\src\\Serilog\\Parameters\\PropertyBinder.cs:line 113\r\n   at Serilog.Parameters.PropertyBinder.ConstructProperties(MessageTemplate messageTemplate, Object[] messageTemplateParameters) in c:\\projects\\serilog\\src\\Serilog\\Parameters\\PropertyBinder.cs:line 57\r\n   at Serilog.Core.Pipeline.Logger.Write(LogEventLevel level, Exception exception, String messageTemplate, Object[] propertyValues) in c:\\projects\\serilog\\src\\Serilog\\Core\\Pipeline\\Logger.cs:line 138\r\n   at Serilog.Core.Pipeline.Logger.Verbose(String messageTemplate, Object[] propertyValues) in c:\\projects\\serilog\\src\\Serilog\\Core\\Pipeline\\Logger.cs:line 177\r\n   at <StartupCode$FSI_0001>.$FSI_0001.main@() in C:\\repo\\fserilog\\serilog.fsx:line 40\r\nStopped due to error\r\n```\r\n\r\nThe test script is:\r\n```fsharp\r\n#I \"packages/Serilog/lib/net40\"\r\n#r \"Serilog\"\r\n#r \"Serilog.FullNetFx\"\r\n\r\n#I \"packages/Destructurama.FSharp/lib/portable-net45+win+wpa81+wp80+MonoAndroid10+MonoTouch10\"\r\n#r \"Destructurama.FSharp\"\r\n\r\nopen Serilog\r\n\r\nLog.Logger <- LoggerConfiguration()\r\n    .Destructure.FSharpTypes()\r\n    .WriteTo.ColoredConsole()\r\n    .MinimumLevel.Verbose()\r\n    .CreateLogger()\r\n\r\nlet myListOfLists = [\r\n    [1;2;3;4;5]\r\n    [6;7;8;9;10]\r\n]\r\n\r\nLog.Verbose(\"List of lists {@list}\", myListOfLists)\r\n```\r\n\r\nI used the following nuget package versions:\r\n```\r\nNUGET\r\n  remote: https://nuget.org/api/v2\r\n  specs:\r\n    Destructurama.FSharp (1.0.8)\r\n      Serilog (>= 1.4.204)\r\n    Serilog (1.5.6)\r\n```\r\n"}}