Repository: dotnet/runtime
File: src/coreclr/System.Private.CoreLib/src/System/RuntimeHandles.cs (C#)

Code before:
                *pException = ex;
            }
        }

        [UnmanagedCallersOnly]
        internal static unsafe void GetStringLiteral(Resolver* pResolver, int token, string* ppResult, Exception* pException)
        {
            try
            {
                *ppResult = pResolver->GetStringLiteral(token);
            }
            catch (Exception ex)
            {
                *pException = ex;
            }
        }

        [UnmanagedCallersOnly]
        internal static unsafe void ResolveToken(Resolver* pResolver, int token, IntPtr* pTypeHandle, IntPtr* pMethodHandle, IntPtr* pFieldHandle, Exception* pException)
        {
            try
            {
                pResolver->ResolveToken(token, out IntPtr typeHandle, out IntPtr methodHandle, out IntPtr fieldHandle);
                *pTypeHandle = typeHandle;
                *pMethodHandle = methodHandle;
                *pFieldHandle = fieldHandle;
            }
            catch (Exception ex)
            {
                *pException = ex;
            }
        }

        [UnmanagedCallersOnly]
        internal static unsafe void ResolveSignature(Resolver* pResolver, int token, int fromMethod, byte[]* ppResult, Exception* pException)
        {
            try
            {
                *ppResult = pResolver->ResolveSignature(token, fromMethod);
            }
            catch (Exception ex)
            {
                *pException = ex;
            }
        }

        [UnmanagedCallersOnly]
        internal static unsafe void GetRawEHInfo(Resolver* pResolver, byte[]* ppResult, Exception* pException)
        {
            try
            {

Review comment (suggestion):
```suggestion
                pResolver->ResolveToken(token, out *pTypeHandle, out *pMethodHandle, out *pFieldHandle);
```

Code after:
                *pException = ex;
            }
        }

        [UnmanagedCallersOnly]
        internal static unsafe void GetStringLiteral(Resolver* pResolver, int token, string* ppResult, Exception* pException)
        {
            try
            {
                *ppResult = pResolver->GetStringLiteral(token);
            }
            catch (Exception ex)
            {
                *pException = ex;
            }
        }

        [UnmanagedCallersOnly]
        internal static unsafe void ResolveToken(Resolver* pResolver, int token, IntPtr* pTypeHandle, IntPtr* pMethodHandle, IntPtr* pFieldHandle, Exception* pException)
        {
            try
            {
                pResolver->ResolveToken(token, out *pTypeHandle, out *pMethodHandle, out *pFieldHandle);
            }
            catch (Exception ex)
            {
                *pException = ex;
            }
        }

        [UnmanagedCallersOnly]
        internal static unsafe void ResolveSignature(Resolver* pResolver, int token, int fromMethod, byte[]* ppResult, Exception* pException)
        {
            try
            {
                *ppResult = pResolver->ResolveSignature(token, fromMethod);
            }
            catch (Exception ex)
            {
                *pException = ex;
            }
        }

        [UnmanagedCallersOnly]
        internal static unsafe void GetEHInfo(Resolver* pResolver, int EHNumber, byte[]* ppRawEHInfo, void* parsedEHInfo, Exception* pException)
        {
            try
            {
                byte[]? rawEHInfo = pResolver->GetRawEHInfo();
                if (rawEHInfo != null)
                {