in InspectableShadow.cs [110:124]
private static int GetTrustLevel(IntPtr thisPtr, IntPtr trustLevel)
{
try
{
var shadow = ToShadow<InspectableShadow>(thisPtr);
var callback = (IInspectable)shadow.Callback;
// Write full trust
Marshal.WriteInt32(trustLevel, (int)TrustLevel.FullTrust);
}
catch (Exception exception)
{
return (int)Result.GetResultFromException(exception);
}
return Result.Ok.Code;
}