summaryrefslogtreecommitdiff
path: root/src/utilcode
diff options
context:
space:
mode:
authorSteve MacLean <stmaclea@microsoft.com>2019-05-13 21:10:50 -0400
committerGitHub <noreply@github.com>2019-05-13 21:10:50 -0400
commit9d1dc4cee22cc6813ce1d01b9b5a8ad3d55840bb (patch)
tree36b7fe3a9583e874027c4e59225935e62e0464f9 /src/utilcode
parenta18ad94e54d5d03471db11e03fcb9a8d40b45c07 (diff)
downloadcoreclr-9d1dc4cee22cc6813ce1d01b9b5a8ad3d55840bb.tar.gz
coreclr-9d1dc4cee22cc6813ce1d01b9b5a8ad3d55840bb.tar.bz2
coreclr-9d1dc4cee22cc6813ce1d01b9b5a8ad3d55840bb.zip
RemoveThrowMessage (#24563)
Diffstat (limited to 'src/utilcode')
-rw-r--r--src/utilcode/ex.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/utilcode/ex.cpp b/src/utilcode/ex.cpp
index a5a7cb965e..4eaaf3d2ab 100644
--- a/src/utilcode/ex.cpp
+++ b/src/utilcode/ex.cpp
@@ -1063,26 +1063,6 @@ void DECLSPEC_NORETURN ThrowOutOfMemory()
#include "corexcep.h"
-void DECLSPEC_NORETURN ThrowMessage(LPCSTR string, ...)
-{
- CONTRACTL
- {
- THROWS;
- GC_NOTRIGGER;
- }
- CONTRACTL_END;
-
- StackSString message;
-
- va_list args;
- va_start(args, string);
- message.VPrintf(string, args);
- va_end(args);
-
- EX_THROW(HRMsgException, (E_FAIL, message));
-}
-
-
//--------------------------------------------------------------------------------
// Helper for EX_THROW_WITH_INNER()
//