The IReference implementation always returns "OtherType" from Type() but this causes XAML to go down a fallback codepath where it queries GetRuntimeClassName() and then uses the string name to try to figure out what the boxed type is.
This is just inefficient most of the time but with WINRT_LEAN_AND_MEAN it stops working because those strings aren't returned anymore.
Hopefully it's simple to fix the Type() implementation to return Int32 or UInt32 instead.
The IReference implementation always returns "OtherType" from Type() but this causes XAML to go down a fallback codepath where it queries GetRuntimeClassName() and then uses the string name to try to figure out what the boxed type is.
This is just inefficient most of the time but with WINRT_LEAN_AND_MEAN it stops working because those strings aren't returned anymore.
Hopefully it's simple to fix the Type() implementation to return Int32 or UInt32 instead.