c# - Moq Unsupported expression - Stack Overflow
stackoverflow.com › questions › 68921493Aug 25, 2021 · System.NotSupportedException Unsupported expression: m => m.Items Non-overridable members (here: ProjectDbContext.get_Items) may not be used in setup / verification expressions. at Moq.Guard.IsOverridable (MethodInfo method, Expression expression) in C:\projects\moq4\src\Moq\Guard.cs:line 99 at Moq.InvocationShape..ctor (LambdaExpression …
System.NotSupportedException:“Unsupported expression: n => n”
github.com › moq › moq4Jun 6, 2017 · moq / moq4 Public Notifications Fork 667 Star 5k Code Issues 22 Pull requests 5 Actions Wiki Security Insights New issue System.NotSupportedException:“Unsupported expression: n => n” #367 Closed a764578566 opened this issue on Jun 6, 2017 · 4 comments a764578566 commented on Jun 6, 2017 Member stakx commented on Jun 15, 2017 • edited