summaryrefslogtreecommitdiff
path: root/src/vm/clrex.h
diff options
context:
space:
mode:
authortijoytk <tijoytk@MUONNEUTRINO>2017-08-23 15:40:13 -0700
committertijoytk <tijoytk@MUONNEUTRINO>2017-08-23 15:40:13 -0700
commit3d777c6b864dfdbde9db823ccdc27f087725f45c (patch)
tree2f87407eb015571673a1cf5717f367ad9f7f6283 /src/vm/clrex.h
parent59da8574383d547a20dcae478b67ff458f6d71e6 (diff)
downloadcoreclr-3d777c6b864dfdbde9db823ccdc27f087725f45c.tar.gz
coreclr-3d777c6b864dfdbde9db823ccdc27f087725f45c.tar.bz2
coreclr-3d777c6b864dfdbde9db823ccdc27f087725f45c.zip
This reverts
https://github.com/dotnet/coreclr/commit/16fc3005c085212f6e700a0df8ff7f36c1ea535b The PR was trying to fix an incorrect test , we should be passing in !fForWinRT.See https://github.com/dotnet/coreclr/issues/13460#issuecomment-324456870 for more info.
Diffstat (limited to 'src/vm/clrex.h')
-rw-r--r--src/vm/clrex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm/clrex.h b/src/vm/clrex.h
index ce55ebcefa..12eb702be1 100644
--- a/src/vm/clrex.h
+++ b/src/vm/clrex.h
@@ -1095,7 +1095,7 @@ inline EEMessageException::EEMessageException(HRESULT hr)
}
inline EEMessageException::EEMessageException(HRESULT hr, bool fUseCOMException)
- : EEException(GetKindFromHR(hr, fUseCOMException)),
+ : EEException(GetKindFromHR(hr, !fUseCOMException)),
m_hr(hr),
m_resID(0)
{