castle.core 2.5.0.0 → 2.5.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. data/docs/BreakingChanges.txt +13 -0
  2. data/docs/Changes.txt +13 -1
  3. data/lib/ASL - Apache Software Foundation License.txt +57 -0
  4. data/lib/Silverlight3/Castle.Core.dll +0 -0
  5. data/lib/Silverlight3/Castle.Core.pdb +0 -0
  6. data/lib/Silverlight3/Castle.Core.xml +261 -224
  7. data/lib/Silverlight4/Castle.Core.dll +0 -0
  8. data/lib/Silverlight4/Castle.Core.pdb +0 -0
  9. data/lib/Silverlight4/Castle.Core.xml +261 -224
  10. data/lib/dotNet35/Castle.Core.dll +0 -0
  11. data/lib/dotNet35/Castle.Core.pdb +0 -0
  12. data/lib/dotNet35/Castle.Core.xml +261 -279
  13. data/lib/dotNet35/loggingServices/Castle.Services.Logging.Log4netIntegration.dll +0 -0
  14. data/lib/dotNet35/loggingServices/Castle.Services.Logging.Log4netIntegration.pdb +0 -0
  15. data/lib/dotNet35/loggingServices/Castle.Services.Logging.NLogIntegration.dll +0 -0
  16. data/lib/dotNet35/loggingServices/Castle.Services.Logging.NLogIntegration.pdb +0 -0
  17. data/lib/dotNet40ClientProfile/Castle.Core.dll +0 -0
  18. data/lib/dotNet40ClientProfile/Castle.Core.pdb +0 -0
  19. data/lib/dotNet40ClientProfile/Castle.Core.xml +261 -224
  20. metadata +8 -17
  21. data/docs/DictionaryAdapter-Changes.txt +0 -67
  22. data/docs/DynamicProxy-Changes.txt +0 -238
  23. data/lib/dotNet35/BreakingChanges.txt +0 -42
  24. data/lib/dotNet40/BreakingChanges.txt +0 -42
  25. data/lib/dotNet40/Castle.Core.dll +0 -0
  26. data/lib/dotNet40/Castle.Core.pdb +0 -0
  27. data/lib/dotNet40/Castle.Core.xml +0 -4937
  28. data/lib/dotNet40/loggingServices/Castle.Services.Logging.Log4netIntegration.dll +0 -0
  29. data/lib/dotNet40/loggingServices/Castle.Services.Logging.Log4netIntegration.pdb +0 -0
  30. data/lib/dotNet40/loggingServices/Castle.Services.Logging.NLogIntegration.dll +0 -0
  31. data/lib/dotNet40/loggingServices/Castle.Services.Logging.NLogIntegration.pdb +0 -0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: castle.core
3
3
  version: !ruby/object:Gem::Version
4
- hash: 71
4
+ hash: 67
5
5
  prerelease: false
6
6
  segments:
7
7
  - 2
8
8
  - 5
9
+ - 1
9
10
  - 0
10
- - 0
11
- version: 2.5.0.0
11
+ version: 2.5.1.0
12
12
  platform: ruby
13
13
  authors:
14
14
  - Jonathon Rossi
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2010-08-22 00:00:00 -05:00
20
+ date: 2010-09-26 00:00:00 -05:00
21
21
  default_executable:
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency
@@ -45,13 +45,14 @@ dependencies:
45
45
  requirements:
46
46
  - - "="
47
47
  - !ruby/object:Gem::Version
48
- hash: 941
48
+ hash: 40200919
49
49
  segments:
50
50
  - 1
51
51
  - 0
52
52
  - 0
53
53
  - 505
54
- version: 1.0.0.505
54
+ - 20100822
55
+ version: 1.0.0.505.20100822
55
56
  type: :runtime
56
57
  version_requirements: *id002
57
58
  description: |
@@ -65,7 +66,7 @@ extensions: []
65
66
  extra_rdoc_files: []
66
67
 
67
68
  files:
68
- - lib/dotNet35/BreakingChanges.txt
69
+ - lib/ASL - Apache Software Foundation License.txt
69
70
  - lib/dotNet35/Castle.Core.dll
70
71
  - lib/dotNet35/Castle.Core.pdb
71
72
  - lib/dotNet35/Castle.Core.xml
@@ -73,14 +74,6 @@ files:
73
74
  - lib/dotNet35/loggingServices/Castle.Services.Logging.Log4netIntegration.pdb
74
75
  - lib/dotNet35/loggingServices/Castle.Services.Logging.NLogIntegration.dll
75
76
  - lib/dotNet35/loggingServices/Castle.Services.Logging.NLogIntegration.pdb
76
- - lib/dotNet40/BreakingChanges.txt
77
- - lib/dotNet40/Castle.Core.dll
78
- - lib/dotNet40/Castle.Core.pdb
79
- - lib/dotNet40/Castle.Core.xml
80
- - lib/dotNet40/loggingServices/Castle.Services.Logging.Log4netIntegration.dll
81
- - lib/dotNet40/loggingServices/Castle.Services.Logging.Log4netIntegration.pdb
82
- - lib/dotNet40/loggingServices/Castle.Services.Logging.NLogIntegration.dll
83
- - lib/dotNet40/loggingServices/Castle.Services.Logging.NLogIntegration.pdb
84
77
  - lib/dotNet40ClientProfile/Castle.Core.dll
85
78
  - lib/dotNet40ClientProfile/Castle.Core.pdb
86
79
  - lib/dotNet40ClientProfile/Castle.Core.xml
@@ -94,8 +87,6 @@ files:
94
87
  - docs/BreakingChanges.txt
95
88
  - docs/Changes.txt
96
89
  - docs/Committers.txt
97
- - docs/DictionaryAdapter-Changes.txt
98
- - docs/DynamicProxy-Changes.txt
99
90
  has_rdoc: true
100
91
  homepage: http://castleproject.org
101
92
  licenses: []
@@ -1,67 +0,0 @@
1
- v2.5
2
- - Merged project into Castle.Core.dll
3
- - Moved project to Core repository
4
-
5
- V1.1
6
- ====
7
-
8
- - Group meta and instance properties together
9
-
10
- - Standardize edit and non-edit mode with notifications
11
-
12
- - Visit children properties to determine if changed
13
-
14
- - Use standard IChangeTracking to identify dirty
15
-
16
- - Added Validation group support
17
-
18
- - Added more fine-grained fetching strategy
19
-
20
- - Support multiple validators simulatenously
21
-
22
- - Added mult-level editing capability
23
-
24
- - Added dynamic property value resolution
25
-
26
- - Added on-demand property resolution
27
-
28
- - Added editable collection support
29
-
30
- - Added support for creating additional adapters from existing adapter
31
-
32
- - Added PropertyDescriptor initialization hook
33
-
34
- - Added nested property notification (with progagation)
35
-
36
- - Added DictionaryAdapter initialization hook
37
-
38
- - Added support for IDataErrorInfo
39
-
40
- - Simplied internals and added support for IEditableObject
41
-
42
- - Added support for INotifyPropertyChanged
43
-
44
-
45
- RC 4
46
- ====
47
-
48
- - Resolved COMP-ISSUE-105 to allow properties to be redefined to add write access
49
-
50
- - Added IDictionaryAdapterMeta mixin to all generated adapters to expose meta
51
- data information.
52
-
53
- - Added DictionaryTypeKeyPrefixAttribute to use the interface type for scoping
54
-
55
- - Added DictionaryStringListAttribute to support delimited string conversion
56
-
57
- - Created PropertyDescriptor to simplify IL generation
58
-
59
- - Refactored to generalize property getting and setting
60
-
61
- - Refactored to support general-purpose key modifications
62
-
63
- - Applied patch from Lee Henson allowing Types to inherit or override prefixes using [DictionaryAdapterKeyPrefix()].
64
-
65
- - Return default(T) for value type properties not in the dictionary
66
-
67
- - Moved for CastleContrib/Castle.Tools.CodeGenerator
@@ -1,238 +0,0 @@
1
- 2.5.0 (2010-08-21)
2
- - Merged project into Castle.Core.dll
3
- - Moved project to Core repository
4
-
5
- 2.2.0 (2010-01-11)
6
- ==================
7
- - Fixed medium trust issue introduced in 2.2.0 Beta 1 where it would try to create a trace logger.
8
- - Some changes to the way explicit interface methods are implemented to support WPF databinding.
9
-
10
- 2.2.0 Beta 1 (2009-12-04)
11
- =========================
12
- - Fixed DYNPROXY-ISSUE-120: Add logging to DynamicProxy.
13
- Introduced basic logging for cache hit/miss, methods that cannot be intercepted, and overriding Equals/GetHashCode.
14
- - Applied patch from James Curran fixing DYNPROXY-ISSUE-124: "InterfaceProxyWithoutTargetGenerator ctor missing selector parameter".
15
- - Fixed DYNPROXY-ISSUE-105: Invocation types should be cached and shared among proxy implementations.
16
- - BREAKING CHANGE - implemented DYNPROXY-ISSUE-91: Allow CreateInterfaceProxyWithTargetInterface to be able to permanently change target.
17
- - Fixed DYNPROXY-ISSUE-122: "interceptor selector should not affect caching"
18
- - Fixed DYNPROXY-ISSUE-121: "proxy with target interface incorrectly forwards to mixins"
19
- - Added ability to change proxy target on mixin methods on interface proxy with target interface
20
- - Added generic overloads for CreateInterfaceProxyWithTargetInterface to make it consistent with other methods
21
- - BREAKING CHANGE - changed behavior of invocation.MethodInvocationTarget to be more consistent.
22
- - Fixed DYNPROXY-ISSUE-117: Fix BaseTypeForInterfaceProxy. Added checks for base type being null, not a class type, being sealed and not having
23
- default accessible constructor.
24
- - Fixed DYNPROXY-ISSUE-112: Reimplement DefaultAttributeAssembler to make use of CustomAttributeData to avoid exceptions on unreplicable attributes.
25
- - Fixed DYNPROXY-ISSUE-118: Can't proxy remoting transparent interface proxies.
26
- - Fixed DYNPROXY-ISSUE-94: CreateProxyWithTarget fails if you use ProxyGenerationHook
27
- - Fixed DYNPROXY-ISSUE-89: Proxy generation fails when IProxyGenerationHook chooses not to proxy mixin method
28
- - Improved (a lot) range of supported scenarios, especially around generics.
29
- - Improved exception messages in exceptions thrown at users, with short explanation of what they may have done wrong and how to fix it.
30
- - Fixed DYNPROXY-ISSUE-113: AbstractTypeEmitter can now be used to emit interfaces
31
- - Fixed DYNPROXY-ISSUE-108: Obtaining replicated custom attributes on proxy may fail when property setter throws exception on default value
32
- - Moved custom attribute replication from CustomAttributeUtil to new interface - IAttributeDisassembler
33
- - Exposed IAttributeDisassembler via ProxyGenerationOptions, so that users can plug their implementation for some convoluted scenarios.
34
- - Fixed DYNPROXY-ISSUE-106: Proxying COM interfaces produces invalid proxies
35
- - Change in behavior - interfaces are now implemented explicitly (except for class proxy, when class implements the member virtually)
36
- - Fixed DYNPROXY-ISSUE-96: Implement order of precenence.
37
- - Interface proxy now can proxy explicit interface implementation
38
- - Fixed DYNPROXY-ISSUE-103: Proxy with interfaces having methods with identical signature is invalid
39
- - Fixed DYNPROXY-ISSUE-102: Intercept non-virtual interface implementation
40
- - Fixed DYNPROXY-ISSUE-100: Additional interfaces on proxy with target interface can cause stack overflow. Now a check is performed and if proxy
41
- is the target of invocation, or the target is null an exception is thrown.
42
- - Changed behavior of interface proxies with target interface (all interface proxies actually, but the change in behavior is visible in proxies
43
- with target interface). Now the target is being casted using 'as' operator to the target interface of invocation, so if the type of target object
44
- implements additional interfaces invocation target will be set to the proxy target, and to null otherwise. This is consisted with how interface
45
- proxies with target work.
46
- - Fixed bug reported by Jos� F. Romaniello - can not assign new target to interface proxy with target interface, in certain scenarios:
47
- http://groups.google.com/group/castle-project-users/browse_thread/thread/2e507f47dbb831f1
48
- - Applied Krzysztof Kozmic's clean up patch with some minor changes
49
- (http://groups.google.com/group/castle-project-devel/browse_thread/thread/853fa870326f7f71/9237bb890ca6dab7)
50
- - Moved MethodInfos of AbstractInvocation methods to InvocationMethods class, where all the other methods are.
51
- - Extracted MethodInfos obtained inline to their own classes in Castle.DynamicProxy.Tokens namespace. This should
52
- improve performance a little bit.
53
- - Removed two ctors from AbstractInvocation (that didn't have interfMethod parameter).
54
- - Updated generated proxies to call other two Invocation ctors.
55
- - Some tidying up in BaseProxyGenerator to remove duplication after updating calls to Invocation ctors.
56
- - Removed collecting and generating tokenCaches for System.Object methods, since we never use these anyway.
57
- - Removed redundant casts in code.
58
- - Changed code using non-generic collections to use their generic conterparts.
59
- - Some more minor tidying up.
60
- - Improved exception message when can not instantiate class proxy due to invalid arguments.
61
- - Reverted changes introduced in fix for DYNPROXY-ISSUE-97 for the constructor issue. It actually is an issue with params object[] which is confusing
62
- and can lead to errors like the one reported, and the fix was inconsistent with the other overload that had arguments passed as explicit object[]
63
- and could break the other overload in some scenarios.
64
- - Marked the overload of CreateClassProxy having params object[] as obsolete
65
- - Introduced another overload that takes constructor arguments as explicit array, and interceptors as params IInterceptor[] which is the pattern
66
- for all other overloads anyway.
67
- - Fixed DYNPROXY-ISSUE-99: "Generated proxy class has no namespace", which due to a bug in WPF caused issues with databinding. Now proxies are in
68
- namespace Castle.Proxies.
69
- - Fixed DYNPROXY-97: This issue are actually three separate bugs:
70
- First relates to the improper handling of types with generic methods having parameters being an array of generic type of T
71
- Second was related to improper handing of hierarchy of generic constraints, but it seems Fabian's fix to GenericUtil fixed that earlier.
72
- Third issue was related to improper handing of certain kinds of constructor arguments passed to class proxy generator.
73
- - Fixed DYNPROXY-90: "DP2: Inherited interfaces w/ target does not to work"
74
- - Fixed DYNPROXY-88: "proxy generation fail when multiple interfaces have common base interface"
75
- They both were actually special cases of one issue with invalid collection of interface members.
76
- - Fixed DYNPROXY-92: "Proxy fails when creating a Proxy for certain Generic signatures"
77
- The problem was that GenericUtil.cs wrongfully copied generic arguments whose constraints referenced the proxied method without adjusting those
78
- constraints.
79
-
80
- 2.1.0 (2009-05-04)
81
- ==================
82
- - Fixed DYNPROXY-87: "Mixin takes precedence over target object"
83
- changed DP to throw exceptions when two mixins implement the same interface or a mixin implements the same interface as its target class/object
84
-
85
- - Applied Krzysztof Kozmic's patch improving the XML documentation of IInterceptorSelector
86
- and IProxyGenerationHook.
87
-
88
- 2.1.0 RC1 (2009-03-10)
89
- ======================
90
- - Applied Krzysztof Kozmic's patch improving the XML documentation and parameter names of IProxyBuilder, DefaultProxyBuilder and ProxyGenerator.
91
-
92
- - Applied Krzysztof Kozmic's patch heavily improving the XML documentation of ProxyGenerator.
93
-
94
- - Fixed DYNPROXY-ISSUE-84: "UseSingleInterfaceProxy on ProxyGenerationOptions is never used and should be removed"
95
-
96
- - Fixed DYNPROXY-ISSUE-58/DYNPROXY-ISSUE-77: "Inherited interface seems not to work"
97
- using Dimitri Goethals' test case and Ayende Rahien/Andrey Shchekin's patch.
98
-
99
- - Fixed DYNPROXY-ISSUE-52: "DynamicProxy 1.1.5 doesn't work on Medium Trust"
100
- uses the assembly's fullname instead of calling GetName()
101
-
102
- - Fixed DYNPROXY-ISSUE-82: "Not allow generics & NoGeneric methods with same signature"
103
- using Fabio Maulo's test case and Krzysztof Kozmic patch.
104
-
105
- - Applied Neil Bourgeois's patch fixing DYNPROXY-ISSUE-78
106
- "Custom attributes of virtual properties absent on proxy"
107
-
108
- - Applied Craig Vermeer's patch fixing an issue with generating default constructors for DYNPROXY-ISSUE-81
109
- "No Default Constructor in generated Class Proxy"
110
-
111
- - Added support for IInterceptorSelector (patch provided by Krzysztof Kozmic).
112
- - Removed ProxyGenerationOptions.UseSelector.
113
-
114
- - Added support for generic methods when specifying additional interfaces to CreateInterfaceProxyWithoutTarget (reported by Craig Neuwirth, cause
115
- found by Krzysztof Kozmic)
116
-
117
- - Added support for provide additional interfaces for target interface proxies.
118
-
119
- - Added workarounds for dictionary deserialization scenarios (reported by Gr�gory C�let)
120
-
121
- - Fixed mixin-related bug with serialization (per Rogelio again)
122
- - Made interface proxies without target and with target interface support mixins
123
-
124
- - Fixed ProxyGenerationOptions equality issues with ordering and different instances of the same mixin types (thanks for finding
125
- the bug, Rogelio)
126
-
127
- - Readded mixin support (via Rogelio J. Baucells)
128
-
129
- - ClassEmitter now supports emitting fields with specific attributes
130
-
131
- - Added a load API to ModuleScope
132
- - SaveAssembly now serializes the cache keys together with the generated types
133
-
134
- - Fixed test issue - PEVerify is now called with a quoted assembly path (to allow for spaces in the path)
135
- - Fixed test annoyance - PEVerify is now not called in a separate window
136
- - Changed PersistentProxyBuilder behavior - SaveAssembly is not called by the class generators any more, instead PersistentProxyBuilder.SaveAssemblies
137
- must be used. This allows the proxy builder to save multiple proxies at the same time. Test cases have been adapted.
138
-
139
- - Fixed issues with CacheKey.Equals and ProxyGenerationOptions.Equals/GetHashCode
140
- - Added a way to set and retrieve the ModuleScope used by ProxyObjectReference for proxy deserialization; proxies can now be deserialized with
141
- the same ModuleScope used by the application (DYNPROXY-71)
142
-
143
- - Made BasePEVerifyTestCase only check those assemblies that were actually generated in the test case, see DYNPROXY-68
144
- - Fixed bug with protected internal constructors, see DYNPROXY-66/DYNPROXY-67
145
- - Fixed test cases not using the ProxyGenerator supplied by BasePEVerifyTestCase, see DYNPROXY-69
146
-
147
- - Added StrongNameUtil, which provides methods for checking whether an assembly is signed/a type comes from a signed assembly
148
- - Added an additional constructor overload to ClassEmitter, allowing to force it to use an unsigned assembly
149
-
150
- - Fixed a bug in ModuleScope: SaveAssembly tried to delete from the current directory if a file with a matching name existed, not from the target
151
- directory
152
-
153
- - Applied Pawel Pabich's suggestion fixing DYNPROXY-65
154
- "OpCodeUtil.GetUnderlyingTypeOfEnum doesn't handle unsigned integers"
155
-
156
- - Fixed bug in ArgumentReference occurring when emitting static methods
157
-
158
- - Removed ClsCompliant(false) from all the public types in DynamicProxy
159
-
160
- - Added constructors to ClassEmitter, removed "serializable" ctor parameter, it wasn't used
161
-
162
- - Fixed bug in ModuleScope, see DYNPROXY-64
163
-
164
- - Fixed bug in LoadArrayElementExpression, see DYNPROXY-57
165
-
166
- - Changed signing behavior for generated assembly, assembly is now only signed if all involved types (base type, interfaces) are also signed
167
-
168
- - Documented ModuleScope, added friendlier API for saving assemblies, added tests for ModuleScope, see DYNPROXY-55
169
-
170
- - Applied Adam Tybor's patch fixing DYNPROXY-63
171
- "ProxyType not included in CacheKey"
172
-
173
- - Reimplemented serialization of ProxyGenerationOptions, see revision 3803, DYNPROXY-59
174
-
175
- - Added method signature filtering to MethodFinder (see MethodSignatureComparer) because there were
176
- still cases triggering duplicate methods
177
-
178
- - Reimplemented serialization without default constructors, see revision 3725, DYNPROXY-53
179
- - Reimplemented serialization with delegates/events, see revision 3751, DYNPROXY-56
180
-
181
- - Renamed InterfaceProxyGeneratorWithoutTarget to InterfaceProxyWithoutTargetGenerator
182
-
183
- - Fixed DYNPROXY-62
184
- "Some tests in MethodFinderTestCase failed because of culture specific exception messages"
185
-
186
- - Implemented cache for System.Type.GetMethods() in order to avoid triggering the duplicate methods bug
187
-
188
- - Applied Adam Tybor's patch fixing DYNPROXY-61
189
- "Need GetInterceptors from IProxyTargetAccessor back for NHibernate Trunk"
190
-
191
- - Disabled replication of internal constructors on class proxies.
192
-
193
- - Moved the UseSingleInterfaceProxy from Core.ComponentModel to ProxyGeneratorOptions.
194
-
195
- - Applied Lee Henson's patch fixing generic parameter definitions
196
-
197
- - Applied Jacob Lewallen's patch that introduces ProxyInterfaceWithTargetInterface
198
- Quoting
199
-
200
- "I've introduced a new "mode" that is
201
- ProxyInterfaceWithTargetInterface, that uses the given interface as
202
- the target type, rather than the type of the target (it asserts the
203
- target implements the interface) All other modes should remain the
204
- same.
205
-
206
- "In this scenario, the IInvocation will also implement
207
- IChangeProxyTarget, which can then be used to change the proxy target
208
- to another implementation of the target interface."
209
-
210
- - Added support for events
211
-
212
- - Fixed DYNPROXY-43
213
- "DP2 : Missing ParameterInfo 'Name' for Proxied methods"
214
-
215
- - Fixed DYNPROXY-41
216
- "Invalid state exception on DP2"
217
-
218
- - Fixed DYNPROXY-39
219
- "Deadlock in DynamicProxy2"
220
-
221
- - Fixed DYNPROXY-28
222
- "Virtual methods calls from constructors are not working"
223
-
224
- - Fixed DYNPROXY-27
225
- "Support for non-parameterless constructors"
226
-
227
- - Fixed DYNPROXY-25
228
- "Chars returns are not properly configured"
229
-
230
- - Fixed DYNPROXY-24
231
- "DynamicProxy2: missing locks"
232
-
233
- - Fixed DYNPROXY-34
234
- "Cant proxy generic interfaces"
235
-
236
- Alpha Version 1.0.0.0
237
- =====================
238
- - First release
@@ -1,42 +0,0 @@
1
- ================================================================================================
2
- change - Removed obsolete overload of ProxyGenerator.CreateClassProxy
3
-
4
- impact - low
5
- fixability - trivial
6
- revision -
7
-
8
- description - Deprecated overload of ProxyGenerator.CreateClassProxy was removed to keep the
9
- method consistent with other methods and to remove confusion
10
-
11
- fix - whenever removed overload was used, use one of the other overloads.
12
-
13
- ================================================================================================
14
- change - IProxyGenerationHook.NonVirtualMemberNotification method was renamed
15
-
16
- impact - high
17
- fixability - easy
18
- revision -
19
-
20
- description - to accommodate class proxies with target method NonVirtualMemberNotification on
21
- IProxyGenerationHook type was renamed to more accurate NonProxyableMemberNotification
22
- since for class proxies with target not just methods but also fields and other member that
23
- break the abstraction will be passed to this method.
24
-
25
- fix - whenever NonVirtualMemberNotification is used/implemented change the method name to
26
- NonProxyableMemberNotification. Implementors should also accommodate possibility that not
27
- only MethodInfos will be passed as method's second parameter.
28
-
29
- ================================================================================================
30
- change - DynamicProxy will now allow to intercept members of System.Object
31
-
32
- impact - very low
33
- fixability - easy
34
- revision -
35
-
36
- description - to allow scenarios like mocking of System.Object members, DynamicProxy will not
37
- disallow proxying of these methods anymore. AllMethodsHook (default IProxyGenerationHook)
38
- will still filter them out though.
39
-
40
- fix - whenever custom IProxyGenerationHook is used, user should account for System.Object's
41
- members being now passed to ShouldInterceptMethod and NonVirtualMemberNotification methods
42
- and if neccessary update the code to handle them appropriately.
@@ -1,42 +0,0 @@
1
- ================================================================================================
2
- change - Removed obsolete overload of ProxyGenerator.CreateClassProxy
3
-
4
- impact - low
5
- fixability - trivial
6
- revision -
7
-
8
- description - Deprecated overload of ProxyGenerator.CreateClassProxy was removed to keep the
9
- method consistent with other methods and to remove confusion
10
-
11
- fix - whenever removed overload was used, use one of the other overloads.
12
-
13
- ================================================================================================
14
- change - IProxyGenerationHook.NonVirtualMemberNotification method was renamed
15
-
16
- impact - high
17
- fixability - easy
18
- revision -
19
-
20
- description - to accommodate class proxies with target method NonVirtualMemberNotification on
21
- IProxyGenerationHook type was renamed to more accurate NonProxyableMemberNotification
22
- since for class proxies with target not just methods but also fields and other member that
23
- break the abstraction will be passed to this method.
24
-
25
- fix - whenever NonVirtualMemberNotification is used/implemented change the method name to
26
- NonProxyableMemberNotification. Implementors should also accommodate possibility that not
27
- only MethodInfos will be passed as method's second parameter.
28
-
29
- ================================================================================================
30
- change - DynamicProxy will now allow to intercept members of System.Object
31
-
32
- impact - very low
33
- fixability - easy
34
- revision -
35
-
36
- description - to allow scenarios like mocking of System.Object members, DynamicProxy will not
37
- disallow proxying of these methods anymore. AllMethodsHook (default IProxyGenerationHook)
38
- will still filter them out though.
39
-
40
- fix - whenever custom IProxyGenerationHook is used, user should account for System.Object's
41
- members being now passed to ShouldInterceptMethod and NonVirtualMemberNotification methods
42
- and if neccessary update the code to handle them appropriately.