You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
System.NullReferenceException : Object reference not set to an instance of an object.
at Moq.ExpressionExtensions.GetReboundProperty(MemberExpression expression) in src\Moq\ExpressionExtensions.cs:line 327
at Moq.ExpressionExtensions.ToPropertyInfo(LambdaExpression expression) in src\Moq\ExpressionExtensions.cs:line 343
at Moq.Mock`1.SetupProperty[TProperty](Expression`1 property, TProperty initialValue) in src\Moq\Mock.Generic.cs:line 659
at Moq.Mock`1.SetupProperty[TProperty](Expression`1 property) in src\Moq\Mock.Generic.cs:line 621
at ...
The text was updated successfully, but these errors were encountered:
Noticed while working on a bug fix for #886 that
SetupProperty
will also fail for partially overridden properties, albeit for different reasons.Steps to reproduce:
Expected outcome:
The test passes.
Actual outcome:
The text was updated successfully, but these errors were encountered: