mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-16 17:10:20 -10:00
The problem is that DispatchRuntime.Type is a service implementation type that could implement two or more contract interfaces, and it was in random order how ServiceProxyGenerator picks up the contract type. Now it looks for correct contract type instead of the service type by exactly looking for the target contract in the endpoint (dispatcher).