Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 30 lines (23 sloc) 1.516 kB
9cc4212 @kkozmic - DynamicProxy does not disallow intercepting members of System.Objec…
kkozmic authored
1 ================================================================================================
19de0e0 @kkozmic - BREAKING CHANGE - IProxyGenerationHook.NonVirtualMemberNotification…
kkozmic authored
2 change - IProxyGenerationHook.NonVirtualMemberNotification method was renamed
3
4 impact - high
5 fixability - easy
6 revision -
7
8 description - to accommodate class proxies with target method NonVirtualMemberNotification on
9 IProxyGenerationHook type was renamed to more accurate NonProxyableMemberNotification
10 since for class proxies with target not just methods but also fields and other member that
11 break the abstraction will be passed to this method.
12
13 fix - whenever NonVirtualMemberNotification is used/implemented change the method name to
14 NonProxyableMemberNotification. Implementors should also accommodate possibility that not
15 only MethodInfos will be passed as method's second parameter.
16
17 ================================================================================================
9cc4212 @kkozmic - DynamicProxy does not disallow intercepting members of System.Objec…
kkozmic authored
18 change - DynamicProxy will now allow to intercept members of System.Object
19
20 impact - very low
21 fixability - easy
22 revision -
23
24 description - to allow scenarios like mocking of System.Object members, DynamicProxy will not
25 disallow proxying of these methods anymore. AllMethodsHook (default IProxyGenerationHook)
26 will still filter them out though.
27
28 fix - whenever custom IProxyGenerationHook is used, user should account for System.Object's
29 members being now passed to ShouldInterceptMethod and NonVirtualMemberNotification methods
30 and if neccessary update the code to handle them appropriately.
Something went wrong with that request. Please try again.