Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Fix several misspellings of exception and "a exception". (#8442)
Browse files Browse the repository at this point in the history
  • Loading branch information
JonHanna authored and jkotas committed Dec 5, 2016
1 parent 6ed21c5 commit e5946c9
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/debug/daccess/daccess.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/debug/ee/debugger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion src/mscorlib/src/System/Reflection/Emit/ILGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
Expand Down
2 changes: 1 addition & 1 deletion src/pal/src/exception/machmessage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/pal/src/exception/machmessage.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion src/vm/clsload.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/vm/dllimport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
2 changes: 1 addition & 1 deletion src/vm/dllimportcallback.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/vm/excep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
2 changes: 1 addition & 1 deletion src/vm/frameworkexceptionloader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/vm/i386/RedirectedHandledJITCase.asm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/vm/ilmarshalers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/vm/typeparse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit e5946c9

Please sign in to comment.