diff --git a/code/Binary/Internal.Contexts/FallbackCollectionMethods.cs b/code/Binary/Internal.Contexts/FallbackCollectionMethods.cs index 96ccb031..ad04f493 100644 --- a/code/Binary/Internal.Contexts/FallbackCollectionMethods.cs +++ b/code/Binary/Internal.Contexts/FallbackCollectionMethods.cs @@ -239,7 +239,7 @@ private static DecodePassSpanDelegate GetDecodeDelegate(Converter } [RequiresUnreferencedCode(CommonModule.RequiresUnreferencedCodeMessage)] - private static IConverter GetConverter(IGeneratorContext context) where T : IEnumerable + private static SequenceConverter GetConverter(IGeneratorContext context) where T : IEnumerable { var converter = (Converter)context.GetConverter(typeof(E)); var encode = GetEncodeDelegate(converter); @@ -248,7 +248,7 @@ private static IConverter GetConverter(IGeneratorContext context) where T } [RequiresUnreferencedCode(CommonModule.RequiresUnreferencedCodeMessage)] - private static IConverter GetConverter(IGeneratorContext context) where K : notnull where T : IEnumerable> + private static SequenceConverter GetConverter(IGeneratorContext context) where K : notnull where T : IEnumerable> { var init = (Converter)context.GetConverter(typeof(K)); var tail = (Converter)context.GetConverter(typeof(V));