summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Doe <github.john.doe@outlook.com>2018-05-27 07:34:51 -0700
committerJan Kotas <jkotas@microsoft.com>2018-05-27 07:34:51 -0700
commit6bf04a47badd74646e21e70f4e9267c71b7bfd08 (patch)
tree23a2076752983ee68192bd8bcae97fdfbc85ae3f /src
parent59f07a0c2d30bb7da1308a061d197afb8691e229 (diff)
downloadcoreclr-6bf04a47badd74646e21e70f4e9267c71b7bfd08.tar.gz
coreclr-6bf04a47badd74646e21e70f4e9267c71b7bfd08.tar.bz2
coreclr-6bf04a47badd74646e21e70f4e9267c71b7bfd08.zip
Typo (#18141)
* Ajusted -> Adjusted * alot -> a lot * Ambigous -> Ambiguous * amoun -> amount * amoung -> among * Amperstand -> Ampersand * Anbody -> Anybody * anddoens't -> and doesn't * anme -> name * annoations -> annotations * annother -> another * anothr -> another * ansynchronous -> asynchronous * anticpation -> anticipation * anway -> anyway * aother -> another * Apparant -> Apparent * appartment -> apartment * appdmomain -> appdomain * Appdomian -> Appdomain * appdomin -> appdomain * approproiate -> appropriate * approprate -> appropriate * approp -> appropriate * appened -> appended * appropiately -> appropriately * appropraitely -> appropriately * Apperantly -> Apparently * approp. -> appropriate * Approriate -> Appropriate
Diffstat (limited to 'src')
-rw-r--r--src/debug/daccess/dacfn.cpp10
-rw-r--r--src/debug/di/process.cpp4
-rw-r--r--src/debug/di/rsmain.cpp2
-rw-r--r--src/debug/di/rstype.cpp4
-rw-r--r--src/debug/ee/debugger.cpp8
-rw-r--r--src/debug/ee/rcthread.cpp4
-rw-r--r--src/inc/testhook.h2
-rw-r--r--src/jit/emitxarch.cpp2
-rw-r--r--src/jit/flowgraph.cpp2
-rw-r--r--src/jit/morph.cpp2
-rw-r--r--src/md/compiler/mdutil.cpp2
-rw-r--r--src/pal/src/shmemory/shmemory.cpp2
-rw-r--r--src/pal/src/sync/cs.cpp2
-rw-r--r--src/utilcode/clrhost.cpp2
-rw-r--r--src/utilcode/utsem.cpp2
-rw-r--r--src/vm/appdomain.cpp2
-rw-r--r--src/vm/ceeload.cpp2
-rw-r--r--src/vm/codeman.cpp4
-rw-r--r--src/vm/comcallablewrapper.cpp4
-rw-r--r--src/vm/dllimport.cpp2
-rw-r--r--src/vm/jithelpers.cpp2
-rw-r--r--src/vm/jitinterface.cpp2
-rw-r--r--src/vm/prestub.cpp2
-rw-r--r--src/vm/runtimecallablewrapper.cpp2
-rw-r--r--src/vm/testhookmgr.cpp2
-rw-r--r--src/vm/testhookmgr.h2
-rw-r--r--src/vm/typeparse.cpp4
-rw-r--r--src/vm/typeparse.h4
-rw-r--r--src/vm/virtualcallstub.cpp2
29 files changed, 43 insertions, 43 deletions
diff --git a/src/debug/daccess/dacfn.cpp b/src/debug/daccess/dacfn.cpp
index 64d07c90ba..bdad740aba 100644
--- a/src/debug/daccess/dacfn.cpp
+++ b/src/debug/daccess/dacfn.cpp
@@ -500,7 +500,7 @@ DacInstantiateClassByVTable(TADDR addr, ULONG32 minSize, bool throwEx)
{
#ifdef _PREFIX_
- // Dac accesses are not interesting for PREfix and cause alot of PREfix noise
+ // Dac accesses are not interesting for PREfix and cause a lot of PREfix noise
// so we just return the unmodified pointer for our PREFIX builds
return (PVOID)addr;
@@ -670,7 +670,7 @@ DacInstantiateStringA(TADDR addr, ULONG32 maxChars, bool throwEx)
{
#ifdef _PREFIX_
- // Dac accesses are not interesting for PREfix and cause alot of PREfix noise
+ // Dac accesses are not interesting for PREfix and cause a lot of PREfix noise
// so we just return the unmodified pointer for our PREFIX builds
return (PSTR)addr;
@@ -802,7 +802,7 @@ DacInstantiateStringW(TADDR addr, ULONG32 maxChars, bool throwEx)
{
#ifdef _PREFIX_
- // Dac accesses are not interesting for PREfix and cause alot of PREfix noise
+ // Dac accesses are not interesting for PREfix and cause a lot of PREfix noise
// so we just return the unmodified pointer for our PREFIX builds
return (PWSTR)addr;
@@ -934,7 +934,7 @@ DacGetTargetAddrForHostAddr(LPCVOID ptr, bool throwEx)
{
#ifdef _PREFIX_
- // Dac accesses are not interesting for PREfix and cause alot of PREfix noise
+ // Dac accesses are not interesting for PREfix and cause a lot of PREfix noise
// so we just return the unmodified pointer for our PREFIX builds
return (TADDR) ptr;
@@ -1008,7 +1008,7 @@ DacGetTargetAddrForHostInteriorAddr(LPCVOID ptr, bool throwEx)
#ifdef _PREFIX_
- // Dac accesses are not interesting for PREfix and cause alot of PREfix noise
+ // Dac accesses are not interesting for PREfix and cause a lot of PREfix noise
// so we just return the unmodified pointer for our PREFIX builds
return (TADDR) ptr;
diff --git a/src/debug/di/process.cpp b/src/debug/di/process.cpp
index 25b3eea2f1..9cf52c87ec 100644
--- a/src/debug/di/process.cpp
+++ b/src/debug/di/process.cpp
@@ -4316,7 +4316,7 @@ protected:
// Shim Helper to enumerate the assemblies in the load-order
//
// Arguments:
-// pAppdomain - non-null appdmomain to enumerate assemblies.
+// pAppdomain - non-null appdomain to enumerate assemblies.
// pAssemblies - caller pre-allocated array to hold assemblies
// countAssemblies - size of the array.
//
@@ -4451,7 +4451,7 @@ protected:
// Shim Helper to enumerate the Modules in the load-order
//
// Arguments:
-// pAppdomain - non-null appdmomain to enumerate Modules.
+// pAppdomain - non-null appdomain to enumerate Modules.
// pModules - caller pre-allocated array to hold Modules
// countModules - size of the array.
//
diff --git a/src/debug/di/rsmain.cpp b/src/debug/di/rsmain.cpp
index 7b1b84f5b6..75a6ad00db 100644
--- a/src/debug/di/rsmain.cpp
+++ b/src/debug/di/rsmain.cpp
@@ -2180,7 +2180,7 @@ HRESULT CordbEnumFilter::Clone(ICorDebugEnum **ppEnum)
CordbEnumFilter * pClone = new CordbEnumFilter(this);
- // Ambigous conversion from CordbEnumFilter to ICorDebugEnum, so
+ // Ambiguous conversion from CordbEnumFilter to ICorDebugEnum, so
// we explicitly convert it through ICorDebugThreadEnum.
pClone->ExternalAddRef();
(*ppEnum) = static_cast<ICorDebugThreadEnum *> (pClone);
diff --git a/src/debug/di/rstype.cpp b/src/debug/di/rstype.cpp
index e537613412..d0a245186a 100644
--- a/src/debug/di/rstype.cpp
+++ b/src/debug/di/rstype.cpp
@@ -338,7 +338,7 @@ HRESULT CordbType::MkType(CordbAppDomain * pAppDomain,
{
// this one is included because we need a "seed" type to uniquely hash FNPTR types,
// i.e. the nullary FNPTR type is used as the type constructor for all function pointer types,
- // when combined with an approproiate instantiation.
+ // when combined with an appropriate instantiation.
case ELEMENT_TYPE_FNPTR:
// fall through ...
@@ -636,7 +636,7 @@ LReallyObject:
// Make a CordbType for a function pointer type (ELEMENT_TYPE_FNPTR).
//
// Arguments:
-// pAppDomain - the Appdomian the type lives in.
+// pAppDomain - the Appdomain the type lives in.
// elementType - must be ELEMENT_TYPE_FNPTR.
// pInst - instantiation information.
// ppResultType - OUT: out-parameter to hold resulting CordbType
diff --git a/src/debug/ee/debugger.cpp b/src/debug/ee/debugger.cpp
index 6b738048e1..e5f4917c9d 100644
--- a/src/debug/ee/debugger.cpp
+++ b/src/debug/ee/debugger.cpp
@@ -1306,7 +1306,7 @@ ULONG DebuggerMethodInfoTable::CheckDmiTable(void)
{
LIMITED_METHOD_CONTRACT;
- ULONG cApparant = 0;
+ ULONG cApparent = 0;
ULONG cOfficial = 0;
if (NULL != m_pcEntries)
@@ -1320,7 +1320,7 @@ ULONG DebuggerMethodInfoTable::CheckDmiTable(void)
dcp->pFD != (MethodDesc*)0xcdcdcdcd &&
dcp->mi != NULL)
{
- cApparant++;
+ cApparent++;
_ASSERTE( dcp->pFD == dcp->mi->m_fd );
LOG((LF_CORDB, LL_INFO1000, "DMIT::CDT:Entry:0x%p mi:0x%p\nPrevs:\n",
@@ -3447,10 +3447,10 @@ void Debugger::getBoundaries(MethodDesc * md,
{
// We don't look up PDBs for mscorlib. This is not quite right, but avoids
// a bootstrapping problem. When an EXE loads, it has the option of setting
- // the COM appartment model to STA if we need to. It is important that no
+ // the COM apartment model to STA if we need to. It is important that no
// other Coinitialize happens before this. Since loading the PDB reader uses
// com we can not come first. However managed code IS run before the COM
- // appartment model is set, and thus we have a problem since this code is
+ // apartment model is set, and thus we have a problem since this code is
// called for when JITTing managed code. We avoid the problem by just
// bailing for mscorlib.
return;
diff --git a/src/debug/ee/rcthread.cpp b/src/debug/ee/rcthread.cpp
index f74093b17f..11dd542460 100644
--- a/src/debug/ee/rcthread.cpp
+++ b/src/debug/ee/rcthread.cpp
@@ -1173,7 +1173,7 @@ void DebuggerRCThread::MainLoop()
LOG((LF_CORDB, LL_INFO1000, "DRCT::ML:: running main loop\n"));
- // Anbody doing helper duty is in a can't-stop range, period.
+ // Anybody doing helper duty is in a can't-stop range, period.
// Our helper thread is already in a can't-stop range, so this is particularly useful for
// threads doing helper duty.
CantStopHolder cantStopHolder;
@@ -1419,7 +1419,7 @@ void DebuggerRCThread::TemporaryHelperThreadMainLoop()
CONTRACTL_END;
STRESS_LOG0(LF_CORDB, LL_INFO1000, "DRCT::THTML:: Doing helper thread duty, running main loop.\n");
- // Anbody doing helper duty is in a can't-stop range, period.
+ // Anybody doing helper duty is in a can't-stop range, period.
// Our helper thread is already in a can't-stop range, so this is particularly useful for
// threads doing helper duty.
CantStopHolder cantStopHolder;
diff --git a/src/inc/testhook.h b/src/inc/testhook.h
index ba2435d3e7..90977a1e62 100644
--- a/src/inc/testhook.h
+++ b/src/inc/testhook.h
@@ -78,7 +78,7 @@ public:
STDMETHOD(AddTestHook)(ICLRTestHook* hook)=0;
STDMETHOD(EnableSlowPath) (BOOL bEnable) =0;
STDMETHOD(UnloadAppDomain)(DWORD adid,DWORD flags)=0;
- STDMETHOD_(VOID,DoApproriateWait)( int cObjs, HANDLE *pObjs, INT32 iTimeout, BOOL bWaitAll, int* res)=0;
+ STDMETHOD_(VOID,DoAppropriateWait)( int cObjs, HANDLE *pObjs, INT32 iTimeout, BOOL bWaitAll, int* res)=0;
STDMETHOD(GC)(int generation)=0;
STDMETHOD(GetSimpleName)(LPVOID domainfile,LPCUTF8* name)=0;
STDMETHOD_(INT_PTR,GetCurrentThreadType)(VOID)=0; //see clrhost.h
diff --git a/src/jit/emitxarch.cpp b/src/jit/emitxarch.cpp
index 706ce5203d..da25cf70a9 100644
--- a/src/jit/emitxarch.cpp
+++ b/src/jit/emitxarch.cpp
@@ -959,7 +959,7 @@ unsigned emitter::emitGetVexPrefixAdjustedSize(instruction ins, emitAttr attr, c
// opcodeSize + VexPrefixAdjustedSize - ExtraEscapePrefixSize + ModR\MSize
//=opcodeSize + VexPrefixAdjustedSize -1 + 1
//=opcodeSize + VexPrefixAdjustedSize
- // So although we may have second byte escape prefix, we won't decrease vexPrefixAjustedSize.
+ // So although we may have second byte escape prefix, we won't decrease vexPrefixAdjustedSize.
}
return vexPrefixAdjustedSize;
diff --git a/src/jit/flowgraph.cpp b/src/jit/flowgraph.cpp
index b8f68f9666..3e751b8afb 100644
--- a/src/jit/flowgraph.cpp
+++ b/src/jit/flowgraph.cpp
@@ -24548,7 +24548,7 @@ void Compiler::fgCloneFinally()
if (block == firstBlock)
{
- // Put first cloned finally block into the approprate
+ // Put first cloned finally block into the appropriate
// region, somewhere within or after the range of
// callfinallys, depending on the EH implementation.
const unsigned hndIndex = 0;
diff --git a/src/jit/morph.cpp b/src/jit/morph.cpp
index c1541fa0d5..6f6a5f30f4 100644
--- a/src/jit/morph.cpp
+++ b/src/jit/morph.cpp
@@ -7078,7 +7078,7 @@ GenTree* Compiler::fgMorphField(GenTree* tree, MorphAddrContext* mac)
// If successful, callee's IR is inserted in place of the call, and
// is marked with an InlineContext.
//
-// If unsuccessful, the transformations done in anticpation of a
+// If unsuccessful, the transformations done in anticipation of a
// possible inline are undone, and the candidate flag on the call
// is cleared.
diff --git a/src/md/compiler/mdutil.cpp b/src/md/compiler/mdutil.cpp
index 0de5ad45ea..ad09040add 100644
--- a/src/md/compiler/mdutil.cpp
+++ b/src/md/compiler/mdutil.cpp
@@ -656,7 +656,7 @@ HRESULT CORPATHService::GetClassFromDir(
//*************************************************************
//
-// Open the file with anme wzModule and check to see if there is a type
+// Open the file with name wzModule and check to see if there is a type
// with namespace/class of wzNamespace/wzType. If so, return the RegMeta
// corresponding to the file and the mdTypeDef of the typedef
//
diff --git a/src/pal/src/shmemory/shmemory.cpp b/src/pal/src/shmemory/shmemory.cpp
index a12bd29c84..10730fe005 100644
--- a/src/pal/src/shmemory/shmemory.cpp
+++ b/src/pal/src/shmemory/shmemory.cpp
@@ -201,7 +201,7 @@ int SHMLock(void)
/* another process is holding the lock... we want to yield and
give the holder a chance to release the lock
The function sched_yield() only yields to a thread in the
- current process; this doesn't help us much, anddoens't help
+ current process; this doesn't help us much, and doesn't help
at all if there's only 1 thread. There doesn't seem to be
any clean way to force a yield to another process, but the
FreeBSD syscall "yield" does the job. We alternate between
diff --git a/src/pal/src/sync/cs.cpp b/src/pal/src/sync/cs.cpp
index 530e467301..af5dddcdf6 100644
--- a/src/pal/src/sync/cs.cpp
+++ b/src/pal/src/sync/cs.cpp
@@ -1141,7 +1141,7 @@ namespace CorUnix
Function:
CorUnix::PALCS_WaitOnCS
- Waits on a CS owned by anothr thread. It returns PalCsReturnWaiterAwakened
+ Waits on a CS owned by another thread. It returns PalCsReturnWaiterAwakened
if the thread actually waited on the CS and it has been awakened on CS
release. It returns PalCsWaiterDidntWait if another thread is currently
fully-initializing the CS and therefore the current thread couldn't wait
diff --git a/src/utilcode/clrhost.cpp b/src/utilcode/clrhost.cpp
index e573175190..e48a19386c 100644
--- a/src/utilcode/clrhost.cpp
+++ b/src/utilcode/clrhost.cpp
@@ -313,7 +313,7 @@ BOOL CLRFreeLibrary(HMODULE hModule)
// The holder withholds the assert if a LoadsTypeViolation suppress is in effect (but
// still sets up the new limit.)
//
-// As with other contract annoations, however, the violation suppression is *lifted*
+// As with other contract annotations, however, the violation suppression is *lifted*
// within the scope guarded by the holder itself.
//-----------------------------------------------------------------------------------------------
LoadsTypeHolder::LoadsTypeHolder(BOOL fConditional,
diff --git a/src/utilcode/utsem.cpp b/src/utilcode/utsem.cpp
index 5c88936541..a8b7729734 100644
--- a/src/utilcode/utsem.cpp
+++ b/src/utilcode/utsem.cpp
@@ -51,7 +51,7 @@ const ULONG READWAITERS_MASK = 0x003FF000; // field that counts number of th
const ULONG READWAITERS_INCR = 0x00001000; // amount to add to increment number of read waiters
const ULONG WRITEWAITERS_MASK = 0xFFC00000; // field that counts number of threads waiting to write
-const ULONG WRITEWAITERS_INCR = 0x00400000; // amoun to add to increment number of write waiters
+const ULONG WRITEWAITERS_INCR = 0x00400000; // amount to add to increment number of write waiters
// ======================================================================================
// Spinning support
diff --git a/src/vm/appdomain.cpp b/src/vm/appdomain.cpp
index 292ac13d71..8a69a997a7 100644
--- a/src/vm/appdomain.cpp
+++ b/src/vm/appdomain.cpp
@@ -4107,7 +4107,7 @@ void AppDomain::Init()
m_LoaderAllocator.Init(this);
#ifndef CROSSGEN_COMPILE
- //Allocate the threadpool entry before the appdomin id list. Otherwise,
+ //Allocate the threadpool entry before the appdomain id list. Otherwise,
//the thread pool list will be out of sync if insertion of id in
//the appdomain fails.
m_tpIndex = PerAppDomainTPCountList::AddNewTPIndex();
diff --git a/src/vm/ceeload.cpp b/src/vm/ceeload.cpp
index f28dbcb545..e79d4ef073 100644
--- a/src/vm/ceeload.cpp
+++ b/src/vm/ceeload.cpp
@@ -13436,7 +13436,7 @@ VASigCookie *Module::GetVASigCookie(Signature vaSignature)
pCookie->sizeOfArgs = sizeOfArgs;
pCookie->signature = vaSignature;
- // Finally, now that it's safe for ansynchronous readers to see it,
+ // Finally, now that it's safe for asynchronous readers to see it,
// update the count.
m_pVASigCookieBlock->m_numcookies++;
}
diff --git a/src/vm/codeman.cpp b/src/vm/codeman.cpp
index 55b63223d2..8529c3f03c 100644
--- a/src/vm/codeman.cpp
+++ b/src/vm/codeman.cpp
@@ -452,7 +452,7 @@ extern CrstStatic g_StubUnwindInfoHeapSegmentsCrst;
EEJitManager::CodeHeapIterator heapIterator(NULL, NULL);
// Currently m_CodeHeapCritSec is given the CRST_UNSAFE_ANYMODE flag which allows it to be taken in a GC_NOTRIGGER
- // region but also disallows GC_TRIGGERS. We need GC_TRIGGERS because we take annother lock. Ideally we would
+ // region but also disallows GC_TRIGGERS. We need GC_TRIGGERS because we take another lock. Ideally we would
// fix m_CodeHeapCritSec to not have the CRST_UNSAFE_ANYMODE flag, but I currently reached my threshold for fixing
// contracts.
CONTRACT_VIOLATION(GCViolation);
@@ -3124,7 +3124,7 @@ TypeHandle EEJitManager::ResolveEHClause(EE_ILEXCEPTION_CLAUSE* pEHClause,
}
else
{
- // If we raced in here with aother thread and got held up on the lock, then we just need to return the
+ // If we raced in here with another thread and got held up on the lock, then we just need to return the
// type handle that the other thread put into the clause.
// The typeHnd we found and the typeHnd the racing thread found should always be the same
_ASSERTE(typeHnd.AsPtr() == pEHClause->TypeHandle);
diff --git a/src/vm/comcallablewrapper.cpp b/src/vm/comcallablewrapper.cpp
index ad6240580b..e2ba05fb37 100644
--- a/src/vm/comcallablewrapper.cpp
+++ b/src/vm/comcallablewrapper.cpp
@@ -2133,9 +2133,9 @@ void SimpleComCallWrapper::EnumConnectionPoints(IEnumConnectionPoints **ppEnumCP
// VTable and Stubs: can share stub code, we need to have different vtables
// for different interfaces, so the stub can jump to different
// marshalling code.
-// Stubs : adjust this pointer and jump to the approp. address,
+// Stubs : adjust this pointer and jump to the appropriate address,
// Marshalling params and results, based on the method signature the stub jumps to
-// approp. code to handle marshalling and unmarshalling.
+// appropriate code to handle marshalling and unmarshalling.
//
//--------------------------------------------------------------------------
diff --git a/src/vm/dllimport.cpp b/src/vm/dllimport.cpp
index dc5ae06bf2..0f39841300 100644
--- a/src/vm/dllimport.cpp
+++ b/src/vm/dllimport.cpp
@@ -6684,7 +6684,7 @@ PCODE GetILStubForCalli(VASigCookie *pVASigCookie, MethodDesc *pMD)
//
// Truncates a SString by first converting it to unicode and truncate it
-// if it is larger than size. "..." will be appened if it is truncated.
+// if it is larger than size. "..." will be appended if it is truncated.
//
void TruncateUnicodeString(SString &string, COUNT_T bufSize)
{
diff --git a/src/vm/jithelpers.cpp b/src/vm/jithelpers.cpp
index d4db61c357..6d31a18729 100644
--- a/src/vm/jithelpers.cpp
+++ b/src/vm/jithelpers.cpp
@@ -2944,7 +2944,7 @@ OBJECTHANDLE ConstructStringLiteral(CORINFO_MODULE_HANDLE scopeHnd, mdToken meta
// b) The ngen image isn't complete (it's missing classes), therefore we're jitting methods.
//
// If we went ahead and called ResolveStringRef directly, we would be breaking the per module
- // interning we're guaranteeing, so we will have to detect the case and handle it appropiately.
+ // interning we're guaranteeing, so we will have to detect the case and handle it appropriately.
#ifdef FEATURE_PREJIT
if (module->HasNativeImage() && module->IsNoStringInterning())
{
diff --git a/src/vm/jitinterface.cpp b/src/vm/jitinterface.cpp
index e8e1ea7a63..650a784255 100644
--- a/src/vm/jitinterface.cpp
+++ b/src/vm/jitinterface.cpp
@@ -10627,7 +10627,7 @@ bool CEEInfo::runWithErrorTrap(void (*function)(void*), void* param)
// NOTE: the lack of JIT/EE transition markers in this method is intentional. Any
// transitions into the EE proper should occur either via the call to
- // `EEFilterException` (which is appropraitely marked) or via JIT/EE
+ // `EEFilterException` (which is appropriately marked) or via JIT/EE
// interface calls made by `function`.
bool success = true;
diff --git a/src/vm/prestub.cpp b/src/vm/prestub.cpp
index 532f04ffc1..721de3c4ad 100644
--- a/src/vm/prestub.cpp
+++ b/src/vm/prestub.cpp
@@ -1549,7 +1549,7 @@ extern "C" PCODE STDCALL PreStubWorker(TransitionBlock * pTransitionBlock, Metho
INDEBUG(curobj = NULL); // curobj is unprotected and CanCastTo() can trigger GC
if (!objectType.CanCastTo(methodType))
{
- // Apperantly ICastable magic was involved when we chose this method to be called
+ // Apparently ICastable magic was involved when we chose this method to be called
// that's why we better stick to the MethodTable it belongs to, otherwise
// DoPrestub() will fail not being able to find implementation for pMD in pDispatchingMT.
diff --git a/src/vm/runtimecallablewrapper.cpp b/src/vm/runtimecallablewrapper.cpp
index 11881bb322..e43e0d3e90 100644
--- a/src/vm/runtimecallablewrapper.cpp
+++ b/src/vm/runtimecallablewrapper.cpp
@@ -188,7 +188,7 @@ IUnknown *ComClassFactory::CreateInstanceFromClassFactory(IClassFactory *pClassF
{
// It's illegal for our helper to return a non-null bstrKey
// when the context is design-time. But we'll try to do the
- // right thing anway.
+ // right thing anyway.
_ASSERTE(!"We're not supposed to get here, but we'll try to cope anyway.");
SysFreeString(bstrKey);
bstrKey = NULL;
diff --git a/src/vm/testhookmgr.cpp b/src/vm/testhookmgr.cpp
index f9338745b7..991b6c64cd 100644
--- a/src/vm/testhookmgr.cpp
+++ b/src/vm/testhookmgr.cpp
@@ -621,7 +621,7 @@ HRESULT CLRTestHookManager::UnloadAppDomain(DWORD adid,DWORD flags)
return hr;
}
-VOID CLRTestHookManager::DoApproriateWait( int cObjs, HANDLE *pObjs, INT32 iTimeout, BOOL bWaitAll, int* res)
+VOID CLRTestHookManager::DoAppropriateWait( int cObjs, HANDLE *pObjs, INT32 iTimeout, BOOL bWaitAll, int* res)
{
CONTRACTL
{
diff --git a/src/vm/testhookmgr.h b/src/vm/testhookmgr.h
index 6ba3cdbee3..fc21501874 100644
--- a/src/vm/testhookmgr.h
+++ b/src/vm/testhookmgr.h
@@ -82,7 +82,7 @@ public:
STDMETHOD(StartingNativeImageBind)(LPCWSTR wszAsmName, BOOL bIsCompilationProcess);
STDMETHOD(CompletedNativeImageBind)(LPVOID pFile,LPCUTF8 simpleName, BOOL hasNativeImage);
STDMETHOD(AboutToLockImage)(LPCWSTR wszPath, BOOL bIsCompilationProcess);
- STDMETHOD_(VOID,DoApproriateWait)( int cObjs, HANDLE *pObjs, INT32 iTimeout, BOOL bWaitAll, int* res);
+ STDMETHOD_(VOID,DoAppropriateWait)( int cObjs, HANDLE *pObjs, INT32 iTimeout, BOOL bWaitAll, int* res);
STDMETHOD(GC)(int generation);
STDMETHOD(GetSimpleName)(LPVOID domainfile,LPCUTF8* name);
STDMETHOD(RuntimeStarted)(DWORD code);
diff --git a/src/vm/typeparse.cpp b/src/vm/typeparse.cpp
index 9a7dcd08e9..af3fd65876 100644
--- a/src/vm/typeparse.cpp
+++ b/src/vm/typeparse.cpp
@@ -633,7 +633,7 @@ TypeName::TypeNameParser::TypeNameTokens TypeName::TypeNameParser::LexAToken(BOO
case W(','): return TypeNameComma;
case W('['): return TypeNameOpenSqBracket;
case W(']'): return TypeNameCloseSqBracket;
- case W('&'): return TypeNameAmperstand;
+ case W('&'): return TypeNameAmpersand;
case W('*'): return TypeNameAstrix;
case W('+'): if (!ignorePlus) return TypeNamePlus;
case W('\\'):
@@ -942,7 +942,7 @@ BOOL TypeName::TypeNameParser::QUALIFIER()
if (!TokenIs(TypeNameQUALIFIER))
return TRUE;
- if (TokenIs(TypeNameAmperstand))
+ if (TokenIs(TypeNameAmpersand))
{
m_pTypeName->SetByRef();
diff --git a/src/vm/typeparse.h b/src/vm/typeparse.h
index 66cbd86282..0665f906a4 100644
--- a/src/vm/typeparse.h
+++ b/src/vm/typeparse.h
@@ -165,7 +165,7 @@ private:
TypeNameComma = 0x0010,
TypeNamePlus = 0x0020,
TypeNameAstrix = 0x0040,
- TypeNameAmperstand = 0x0080,
+ TypeNameAmpersand = 0x0080,
TypeNameBackSlash = 0x0100,
TypeNameEnd = 0x4000,
@@ -184,7 +184,7 @@ private:
TypeNameEAQN = TypeNameIdentifier,
TypeNameEASSEMSPEC = TypeNameIdentifier,
TypeNameARRAY = TypeNameOpenSqBracket,
- TypeNameQUALIFIER = TypeNameAmperstand | TypeNameAstrix | TypeNameARRAY | TypeNameEmpty,
+ TypeNameQUALIFIER = TypeNameAmpersand | TypeNameAstrix | TypeNameARRAY | TypeNameEmpty,
TypeNameRANK = TypeNameComma | TypeNameEmpty,
} TypeNameTokens;
diff --git a/src/vm/virtualcallstub.cpp b/src/vm/virtualcallstub.cpp
index cbffe925a8..de9a43b32b 100644
--- a/src/vm/virtualcallstub.cpp
+++ b/src/vm/virtualcallstub.cpp
@@ -2564,7 +2564,7 @@ void VirtualCallStubManager::BackPatchWorker(StubCallSite* pCallSite)
DBG_ADDR(pCallSite->GetReturnAddress()), DBG_ADDR(dispatchHolder->stub())));
//Add back the default miss count to the counter being used by this resolve stub
- //Since resolve stub are shared amoung many dispatch stubs each dispatch stub
+ //Since resolve stub are shared among many dispatch stubs each dispatch stub
//that fails decrements the shared counter and the dispatch stub that trips the
//counter gets converted into a polymorphic site
INT32* counter = resolveStub->pCounter();