I noticed there were 2 functions with nearly identical code. Two small differences:
1) the static version was slightly more performant having more ref usages, avoiding making copies. I took this one
1) the non-static one had a side-effect of setting the Type which I've maintained.
This is a pure refactor, API and functionality should be the same.
I noticed there were 2 functions with nearly identical code. Two small differences:
1) the static version was slightly more performant having more
ref
usages, avoiding making copies. I took this one 1) the non-static one had a side-effect of setting theType
which I've maintained.This is a pure refactor, API and functionality should be the same.