I tried to run unit tests on the .net 7.0, everything is working except of linq stuff.
The following unit tests are failing:
- EnumerableTest.Invoke_enumerable_extensions
- GithubIssues.Lambda_Issue_256
- LambdaExpressionTest.Sum
- LambdaExpressionTest.Sum_string_length
Error Message: System.ArgumentException : GenericArguments[1], 'System.Object', on 'TResult Average[TSource,TAccumulator,TResult](System.Collections.Generic.IEnumerable1[TSource])' violates the constraint of type 'TAccumulator'. System.Security.VerificationException : Method System.Linq.Enumerable.Average: type argument 'System.Object' violates the constraint of type parameter 'TAccumulator'.
Linq also fails if you try to use nuget on .net 7.0 project (.net 6.0 are OK).
I tried to run unit tests on the .net 7.0, everything is working except of linq stuff.
The following unit tests are failing:
Error Message: System.ArgumentException : GenericArguments[1], 'System.Object', on 'TResult Average[TSource,TAccumulator,TResult](System.Collections.Generic.IEnumerable1[TSource])' violates the constraint of type 'TAccumulator'. System.Security.VerificationException : Method System.Linq.Enumerable.Average: type argument 'System.Object' violates the constraint of type parameter 'TAccumulator'.Linq also fails if you try to use nuget on .net 7.0 project (.net 6.0 are OK).