Skip to content

Commit 6fb04f5

Browse files
committed
Fix sig
1 parent 8058839 commit 6fb04f5

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/coreclr/vm/corelib.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,8 +303,8 @@ DEFINE_CLASS(EXCEPTION, System, Exception)
303303
DEFINE_METHOD(EXCEPTION, INTERNAL_PRESERVE_STACK_TRACE, InternalPreserveStackTrace, IM_RetVoid)
304304
#ifdef FEATURE_COMINTEROP
305305
DEFINE_METHOD(EXCEPTION, GET_DESCRIPTION_BSTR, GetDescriptionBstr, SM_PtrException_PtrException_RetIntPtr)
306-
DEFINE_METHOD(EXCEPTION, GET_SOURCE_BSTR, GetSourceBstr, SM_PtrException_PtrException_RetIntPtr)
307-
DEFINE_METHOD(EXCEPTION, GET_HELP_CONTEXT_BSTR, GetHelpContextBstr, SM_PtrException_PtrIntPtr_PtrUInt_PtrException_RetVoid)
306+
DEFINE_METHOD(EXCEPTION, GET_SOURCE_BSTR, GetSourceBstr, SM_PtrException_PtrException_RetIntPtr)
307+
DEFINE_METHOD(EXCEPTION, GET_HELP_CONTEXT_BSTR, GetHelpContextBstr, SM_PtrException_PtrIntPtr_PtrUInt_PtrException_RetVoid)
308308
#endif // FEATURE_COMINTEROP
309309

310310

src/coreclr/vm/metasig.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -523,9 +523,10 @@ DEFINE_METASIG_T(SM(Assembly_Str_RetArrAssembly, C(ASSEMBLY) s, a(C(ASSEMBLY))))
523523
DEFINE_METASIG(SM(Str_RetArrStr, s, a(s)))
524524

525525
// Exception
526-
DEFINE_METASIG(IM(RefUInt_RetStr, r(K), s))
526+
#ifdef FEATURE_COMINTEROP
527527
DEFINE_METASIG_T(SM(PtrException_PtrException_RetIntPtr, P(C(EXCEPTION)) P(C(EXCEPTION)), I))
528-
DEFINE_METASIG_T(SM(PtrException_PtrIntPtr_PtrUInt_PtrException_RetVoid, P(C(EXCEPTION)) P(I) P(U) P(C(EXCEPTION)), v))
528+
DEFINE_METASIG_T(SM(PtrException_PtrIntPtr_PtrUInt_PtrException_RetVoid, P(C(EXCEPTION)) P(I) P(K) P(C(EXCEPTION)), v))
529+
#endif //FEATURE_COMINTEROP
529530

530531
#ifdef FEATURE_COMINTEROP
531532
// The signature of the method System.Runtime.InteropServices.ICustomQueryInterface.GetInterface

0 commit comments

Comments
 (0)