Re: Swap() and RemoveLast() should be added to Reflection API

2009-03-10 Thread Scott Stafford
Are you interested in a patch from me to add them or would you just add it yourselves at some point? On Mar 9, 2:53 pm, Kenton Varda ken...@google.com wrote: It wasn't added because the reflection interface is already huge, and there are a lot of different things that people could potentially

Re: Swap() and RemoveLast() should be added to Reflection API

2009-03-10 Thread Kenton Varda
I'd love a patch! As a reminder, you'll have to sign the contributor license agreement: http://code.google.com/legal/individual-cla-v1.0.html http://code.google.com/legal/corporate-cla-v1.0.html (Individual if you own the copyright on your work, corporate if your employer does.) Thanks. On

Swap() and RemoveLast() should be added to Reflection API

2009-03-09 Thread Scott Stafford
Hi - I noticed that the functionality for Swap() and RemoveLast() was not available to reflection. I needed them and tried to add them in a branch, and it seemed trivial enough (especially RemoveLast). Is there anything that I missed? Is there a reason that this is more complex than I can see