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

1 comment:

  1. This is an amazing blog,it gives very helpful messages to us.Besides that Wisen has established as Best Dot Net Training in Chennai. or learn thru ASP.NET Online Training . Nowadays Dot Net has tons of job opportunities on various vertical industry.

    ReplyDelete