Open ingted opened 2 months ago
.NET 7 & 9 Version FsPickler .NET Standard 2.0 Version FsPickler Which was built with FSharp.Core 7.0.200
System.AggregateException: One or more errors occurred. ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.) ([A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.)
---> System.InvalidCastException: [A]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]] cannot be cast to [B]System.Collections.Generic.KeyValuePair`2[System.Tuple`2[System.Tuple`2[System.Tuple`2[System.String,System.String],System.Int16],Microsoft.FSharp.Collections.FSharpSet`1[FAkka.TA.TAType+MyCandleMetadata]],System.Collections.Generic.SortedList`2[System.Int64,Skender.Stock.Indicators.IQuote[]]]. Type A originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0-preview.7.24405.7\System.Private.CoreLib.dll'.
at Akka.Serialization.Serializer.FromBinary[T](Byte[] bytes)
at FAkka.TA.FAkkaQuote.TAPickleHelper.unpickle[T](String pickled) in G:\coldfar_py\sharftrade9\mdc\MdcFsClient90\TAType.fsx:line 1198
at FAkka.Trading.FAnalytica.FriceSeries.clo@1743-274.Invoke(Tuple`2 tupledArg) in G:\coldfar_py\sharftrade9\mdc\MdcFsClient90\FAnalytica.fs:line 1826
at FSharp.Collections.ParallelSeq.PSeqModule.iter@62.Invoke(T delegateArg0)
at System.Linq.Parallel.ForAllOperator`1.ForAllEnumerator`1.MoveNext(TInput& currentElement, Int32& currentKey)
at System.Linq.Parallel.ForAllSpoolingTask`2.SpoolingWork()
at System.Linq.Parallel.SpoolingTaskBase.Work()
at System.Linq.Parallel.QueryTask.BaseWork(Object unused)
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
Still in progress to try to resolve
I found a way to overcome this:
namespace MdcFsClient70Linker //build in .net 9
type MCM7 = FAkka.TA.TAType.MyCandleMetadata //Use MCM7 to refer to .net 7 version MyCandleMetadata
//and then MyCandleMetadata in .NET 9 project will not conflict with MCM7
let alc = System.Runtime.Loader.AssemblyLoadContext.Default
let ass1 = alc.LoadFromAssemblyPath @"G:\coldfar_py\sharftrade9\mdc\MdcFsClient70Linker\MdcFsClient70Linker\bin\Debug\net7.0\MdcFsClient70Linker.dll"
let ass2 = alc.LoadFromAssemblyPath @"G:\coldfar_py\sharftrade7\mdc\MdcFsClient70_forBuild\bin3\net7.0\MdcFsClient70.dll"
let unpickled = serializerHelper.unpickle<KeyValuePair<TACategory * Set<MdcFsClient70Linker.MCM7>, SL<int64, IQuote []>>> @"G:\coldfar_py\data_pickled\20240322_ES_(((CME, ES), 30), set [Scale 30s; USING 3; MA [34M]])_ta.pickle"
ps. This assume that you could build the same project with different assembly name
Everything works like a charm now!!
I am using a library built in .NET 9 and trying to unpickle pickle file which produced in .NET 7 library. And I use System.Runtime.Loader.AssemblyLoadContext.Default.LoadFromAssemblyPath to load the .NET 7 version library and then everything is fine now.