diff --git a/src/debug/daccess/daccess.cpp b/src/debug/daccess/daccess.cpp index 99067dfed6f2..69167ab07ea3 100644 --- a/src/debug/daccess/daccess.cpp +++ b/src/debug/daccess/daccess.cpp @@ -7354,7 +7354,7 @@ ClrDataAccess::GetDacGlobals() //---------------------------------------------------------------------------- // -// IsExceptionFromManagedCode - report if pExceptionRecord points to a exception belonging to the current runtime +// IsExceptionFromManagedCode - report if pExceptionRecord points to an exception belonging to the current runtime // // Arguments: // pExceptionRecord - the exception record diff --git a/src/debug/ee/debugger.cpp b/src/debug/ee/debugger.cpp index d67cb4134c8a..43a2e5694386 100644 --- a/src/debug/ee/debugger.cpp +++ b/src/debug/ee/debugger.cpp @@ -11910,7 +11910,7 @@ HRESULT Debugger::GetAndSendInterceptCommand(DebuggerIPCEvent *event) // // Save off this breakpoint, so that if the exception gets unwound before we hit - // the breakpoint - the exeception info can call back to remove it. + // the breakpoint - the exception info can call back to remove it. // pExState->GetDebuggerState()->SetDebuggerInterceptContext((void *)pBreakpoint); diff --git a/src/mscorlib/src/System/Reflection/Emit/ILGenerator.cs b/src/mscorlib/src/System/Reflection/Emit/ILGenerator.cs index ad36bee594a2..22f78df279a2 100644 --- a/src/mscorlib/src/System/Reflection/Emit/ILGenerator.cs +++ b/src/mscorlib/src/System/Reflection/Emit/ILGenerator.cs @@ -1019,7 +1019,7 @@ public virtual void EndExceptionBlock() { public virtual void BeginExceptFilterBlock() { - // Begins a eception filter block. Emits a branch instruction to the end of the current exception block. + // Begins an exception filter block. Emits a branch instruction to the end of the current exception block. if (m_currExcStackCount == 0) throw new NotSupportedException(Environment.GetResourceString("Argument_NotInExceptionBlock")); diff --git a/src/pal/src/exception/machmessage.cpp b/src/pal/src/exception/machmessage.cpp index a6f7e57484f2..b78696078285 100644 --- a/src/pal/src/exception/machmessage.cpp +++ b/src/pal/src/exception/machmessage.cpp @@ -1069,7 +1069,7 @@ thread_act_t MachMessage::GetThreadFromState(thread_state_flavor_t eFlavor, thre NONPAL_RETAIL_ASSERT("Failed to locate thread from state."); } -// Transform a exception handler behavior type into the corresponding Mach message ID for the notification. +// Transform an exception handler behavior type into the corresponding Mach message ID for the notification. mach_msg_id_t MachMessage::MapBehaviorToNotificationType(exception_behavior_t eBehavior) { switch ((uint)eBehavior) diff --git a/src/pal/src/exception/machmessage.h b/src/pal/src/exception/machmessage.h index 244396cd35af..46c09b8f372f 100644 --- a/src/pal/src/exception/machmessage.h +++ b/src/pal/src/exception/machmessage.h @@ -395,7 +395,7 @@ class MachMessage // x86_THREAD_STATE and x86_THREAD_STATE32 state flavors are supported. thread_act_t GetThreadFromState(thread_state_flavor_t eFlavor, thread_state_t pState); - // Transform a exception handler behavior type into the corresponding Mach message ID for the + // Transform an exception handler behavior type into the corresponding Mach message ID for the // notification. mach_msg_id_t MapBehaviorToNotificationType(exception_behavior_t eBehavior); diff --git a/src/vm/clsload.hpp b/src/vm/clsload.hpp index e2705ae2e405..a3a0de3cf4aa 100644 --- a/src/vm/clsload.hpp +++ b/src/vm/clsload.hpp @@ -697,7 +697,7 @@ class ClassLoader // 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 5d63b1de87c4..a3f7f30d865b 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 cfac3cdb47d4..31949a6c58cf 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 b7c55d38a78d..e16b5813898e 100644 --- a/src/vm/excep.cpp +++ b/src/vm/excep.cpp @@ -12197,7 +12197,7 @@ void CEHelper::SetupCorruptionSeverityForActiveException(BOOL fIsRethrownExcepti // 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 7d01f8298362..a33010e1637c 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 80345623e79d..44a93bd10c59 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 114fbe3ccb5c..c44e561df384 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 e8e4e74ee8e0..28521f1839ce 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; }