mirror of
https://github.com/BepInEx/dotnet-runtime.git
synced 2026-11-23 03:39:35 -10:00
All of these calls to ReferenceEquals pass a value type, which gets boxed, and ReferenceEquals returns false. Further, all of the calls originated in .NET Framework, so the moderately expensive way of saying "false" has been there for a while. * Inline the expression to `false` * Further inline and remove dead blocks or unnecessary ifs. * Delete any comments explaining the code, since they're not relevant.