Ray's Asp.net Blog

Answers and code snippets from ASP.NET projects (Webforms/MVC/Classic ASP)

Pages

▼

Wednesday, January 21, 2015

How to fix FakeitEasy problem The current proxy generator can not intercept the specified method for the following reason: Sealed methods can not be intercepted.

Add virtual keyword to the method
http://geekswithblogs.net/Aligned/archive/2013/03/12/fakeiteasy---sealed-methods-can-not-be-intercepted-exception.aspx

at 4:36 PM No comments:
‹
›
Home
View web version
Powered by Blogger.