By Reference
ByReference<T> is a little internal gem that Core uses to power Span<T>
Problem
The type is internal and heavily guarded by the runtime team (do search on the subject). The argument behind keeping it out of reach for children is that it is too dangerous and brings more harm than good.
Solution
I disagree, and looks like I am not alone. A couple of nice gentlemen in different parts of the world came up with a brilliant way to liberate that little peace of code! I am using their genius idea here to bring speed of Span<> to IoC world.
By Reference
ByReference<T>is a little internal gem that Core uses to powerSpan<T>Problem
The type is internal and heavily guarded by the runtime team (do search on the subject). The argument behind keeping it out of reach for children is that it is too dangerous and brings more harm than good.
Solution
I disagree, and looks like I am not alone. A couple of nice gentlemen in different parts of the world came up with a brilliant way to liberate that little peace of code! I am using their genius idea here to bring speed of
Span<>to IoC world.