Skip to content

Add support of .net 7.0 #270

@zatuliveter

Description

@zatuliveter

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).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions