Two FCalls, DependentHandle::nSetPrimary and MarshalNative::GCHandleInternalSet, had identical implementations, which led to a failure in ECall::GetFCallImpl ("Duplicate pImplementation entries found in reverse fcall table"). Add FCUnique() to make them different.
_ASSERTE(handle != NULL);
+ // Avoid collision with MarshalNative::GCHandleInternalSet
+ FCUnique(0x12);
+
IGCHandleManager *mgr = GCHandleUtilities::GetGCHandleManager();
mgr->StoreObjectInHandle(handle, _primary);
}