Won't Fix
Last Updated: 14 Aug 2025 13:03 by ADMIN
Stefan
Created on: 13 Oct 2014 07:20
Type: Feature Request
0
Field access mocking
I'd like to be able to intercept and arrange access to fields on any class.

public class Dependency
{
  public int A;
}
..
var dep = new Dependency();
Mock.Arrange(() => dep.A).Returns(5);
Mock.ArrangeSet(() => dep.A = Arg.AnyInt).DoInstead(...);
1 comment
ADMIN
Veselka
Posted on: 14 Aug 2025 13:03

Hello Everyone,

After conducting a cost-benefit analysis of this feature, we decided not to pursue further investments in it.

Regards,
Veselka
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.