MethodCache icon indicating copy to clipboard operation
MethodCache copied to clipboard

Add array values arguments of methods for cache-key generation

Open atmeitsatme opened this issue 9 years ago • 0 comments

Hello, Cache-key don't support array values :

Example : public object[] TestMethod(object[] parameters) { return parameters; }

The result is the same whatever the values contained in the array : CollectionAssert.AreNotEquivalent(classTest.Method3(new object[] { 1, 2 }), classTest.Method3(new object[] { 2, 1 })); => The result is always object[] { 1, 2 }

Best regards,

atmeitsatme avatar Jan 05 '17 10:01 atmeitsatme