summaryrefslogtreecommitdiff
path: root/src/vm
diff options
context:
space:
mode:
authorJon Hanna <jon@hackcraft.net>2016-12-05 07:22:10 +0000
committerJan Kotas <jkotas@microsoft.com>2016-12-04 23:22:10 -0800
commite5946c901f3f82f668ee4322b300f195c43cecaf (patch)
treedf4b2a5ff97c7b3e22508d1e8ada7974e3a49372 /src/vm
parent6ed21c52f25243b7cc1c64b19a47bbd4beb69314 (diff)
downloadcoreclr-e5946c901f3f82f668ee4322b300f195c43cecaf.tar.gz
coreclr-e5946c901f3f82f668ee4322b300f195c43cecaf.tar.bz2
coreclr-e5946c901f3f82f668ee4322b300f195c43cecaf.zip
Fix several misspellings of exception and "a exception". (#8442)
Diffstat (limited to 'src/vm')
-rw-r--r--src/vm/clsload.hpp2
-rw-r--r--src/vm/dllimport.cpp2
-rw-r--r--src/vm/dllimportcallback.cpp2
-rw-r--r--src/vm/excep.cpp2
-rw-r--r--src/vm/frameworkexceptionloader.cpp2
-rw-r--r--src/vm/i386/RedirectedHandledJITCase.asm2
-rw-r--r--src/vm/ilmarshalers.cpp2
-rw-r--r--src/vm/typeparse.cpp2
8 files changed, 8 insertions, 8 deletions
diff --git a/src/vm/clsload.hpp b/src/vm/clsload.hpp
index e2705ae2e4..a3a0de3cf4 100644
--- a/src/vm/clsload.hpp
+++ b/src/vm/clsload.hpp
@@ -697,7 +697,7 @@ public:
// fLoadTypes=DontLoadTypes: if type isn't already in the loader's table, return NULL
// fLoadTypes=LoadTypes: if type isn't already in the loader's table, then create it
// Each comes in two variants, LoadXThrowing and LoadXNoThrow, the latter being just
- // a exception-handling wrapper around the former.
+ // an exception-handling wrapper around the former.
//
// Each also allows types to be loaded only up to a particular level (see classloadlevel.h).
// The class loader itself makes use of these levels to "break" recursion across
diff --git a/src/vm/dllimport.cpp b/src/vm/dllimport.cpp
index 5d63b1de87..a3f7f30d86 100644
--- a/src/vm/dllimport.cpp
+++ b/src/vm/dllimport.cpp
@@ -4940,7 +4940,7 @@ void NDirect::PopulateNDirectMethodDesc(NDirectMethodDesc* pNMD, PInvokeStaticSi
// Currently only ManagedToNativeComInteropStubAttribute is supported.
// It returns NULL if no such attribute(s) can be found.
// But if the attribute is found and is invalid, or something went wrong in the looking up
-// process, a exception will be thrown. If everything goes well, you'll get the MethodDesc
+// process, an exception will be thrown. If everything goes well, you'll get the MethodDesc
// of the stub method
HRESULT FindPredefinedILStubMethod(MethodDesc *pTargetMD, DWORD dwStubFlags, MethodDesc **ppRetStubMD)
{
diff --git a/src/vm/dllimportcallback.cpp b/src/vm/dllimportcallback.cpp
index cfac3cdb47..31949a6c58 100644
--- a/src/vm/dllimportcallback.cpp
+++ b/src/vm/dllimportcallback.cpp
@@ -1372,7 +1372,7 @@ VOID UMThunkMarshInfo::LoadTimeInit(Signature sig, Module * pModule, MethodDesc
#ifndef CROSSGEN_COMPILE
//----------------------------------------------------------
// This initializer finishes the init started by LoadTimeInit.
-// It does stub creation and can throw a exception.
+// It does stub creation and can throw an exception.
//
// It can safely be called multiple times and by concurrent
// threads.
diff --git a/src/vm/excep.cpp b/src/vm/excep.cpp
index b7c55d38a7..e16b581389 100644
--- a/src/vm/excep.cpp
+++ b/src/vm/excep.cpp
@@ -12197,7 +12197,7 @@ done:
// CE can be caught in the VM and later reraised again. Examples of such scenarios
// include AD transition, COM interop, Reflection invocation, to name a few.
// In such cases, we want to mark the corruption severity for reuse upon reraise,
-// implying that when the VM does a reraise of such a exception, we should use
+// implying that when the VM does a reraise of such an exception, we should use
// the original corruption severity for the new raised exception, instead of creating
// a new one for it.
/* static */
diff --git a/src/vm/frameworkexceptionloader.cpp b/src/vm/frameworkexceptionloader.cpp
index 7d01f82983..a33010e163 100644
--- a/src/vm/frameworkexceptionloader.cpp
+++ b/src/vm/frameworkexceptionloader.cpp
@@ -74,7 +74,7 @@ MethodTable* FrameworkExceptionLoader::GetException(RuntimeExceptionKind kind)
{
Exception *ex = GET_EXCEPTION();
- // Let non-file-not-found execeptions propagate
+ // Let non-file-not-found exceptions propagate
if (EEFileLoadException::GetFileLoadKind(ex->GetHR()) != kFileNotFoundException)
EX_RETHROW;
diff --git a/src/vm/i386/RedirectedHandledJITCase.asm b/src/vm/i386/RedirectedHandledJITCase.asm
index 80345623e7..44a93bd10c 100644
--- a/src/vm/i386/RedirectedHandledJITCase.asm
+++ b/src/vm/i386/RedirectedHandledJITCase.asm
@@ -103,7 +103,7 @@ _ExceptionHijack@0 PROC PUBLIC
; This is where we land when we're hijacked from an IP by the debugger.
; The debugger has already pushed the args:
; - a CONTEXT
- ; - a EXCEPTION_RECORD onto the stack
+ ; - an EXCEPTION_RECORD onto the stack
; - an DWORD to use to mulitplex the hijack
; - an arbitrary void* data parameter
call _ExceptionHijackWorker@16
diff --git a/src/vm/ilmarshalers.cpp b/src/vm/ilmarshalers.cpp
index 114fbe3ccb..c44e561df3 100644
--- a/src/vm/ilmarshalers.cpp
+++ b/src/vm/ilmarshalers.cpp
@@ -4177,7 +4177,7 @@ void ILNativeArrayMarshaler::EmitConvertSpaceNativeToCLR(ILCodeStream* pslILEmit
if (IsByref(m_dwMarshalFlags))
{
//
- // Reset the element count just in case there is a exception thrown in the code emitted by
+ // Reset the element count just in case there is an exception thrown in the code emitted by
// EmitLoadElementCount. The best thing we can do here is to avoid a crash.
//
_ASSERTE(m_dwSavedSizeArg != LOCAL_NUM_UNUSED);
diff --git a/src/vm/typeparse.cpp b/src/vm/typeparse.cpp
index e8e4e74ee8..28521f1839 100644
--- a/src/vm/typeparse.cpp
+++ b/src/vm/typeparse.cpp
@@ -1926,7 +1926,7 @@ DomainAssembly * LoadDomainAssembly(
{
Exception *ex = GET_EXCEPTION();
- // Let non-File-not-found execeptions propagate
+ // Let non-File-not-found exceptions propagate
if (EEFileLoadException::GetFileLoadKind(ex->GetHR()) != kFileNotFoundException)
EX_RETHROW;
}