zeroc-ice / ice

All-in-one solution for creating networked applications with RPC, pub/sub, server deployment, and more.
https://zeroc.com
GNU General Public License v2.0
2k stars 592 forks source link

Reference implementation factory methods, should always return a new reference #2344

Open pepone opened 5 days ago

pepone commented 5 days ago

We don't need these checks, the factory methods are only called when requesting a new reference with different settings. https://github.com/zeroc-ice/ice/blob/a30bc338624899c0bafa92dc88745c0dcaf73789/csharp/src/Ice/Internal/Reference.cs#L127-L130