summaryrefslogtreecommitdiff
path: root/src/vm
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/vm
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/vm')
-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
14 files changed, 18 insertions, 18 deletions
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();