summaryrefslogtreecommitdiff
path: root/src/vm
diff options
context:
space:
mode:
authorPascal Borreli <pascal@borreli.com>2015-02-04 00:50:32 +0000
committerPascal Borreli <pascal@borreli.com>2015-02-04 18:15:43 +0000
commitf4deb582eddb445b6afee1f497bf295e9c3d3cd8 (patch)
tree2ae0e45263f7fa5e83cacdc8445dcca3d86fc7f2 /src/vm
parent864d5c9f25ad3556b1dc294d148e7236ba93a2f4 (diff)
downloadcoreclr-f4deb582eddb445b6afee1f497bf295e9c3d3cd8.tar.gz
coreclr-f4deb582eddb445b6afee1f497bf295e9c3d3cd8.tar.bz2
coreclr-f4deb582eddb445b6afee1f497bf295e9c3d3cd8.zip
Fixed typos
Diffstat (limited to 'src/vm')
-rw-r--r--src/vm/ceeload.cpp2
-rw-r--r--src/vm/ceemain.cpp2
-rw-r--r--src/vm/classcompat.h2
-rw-r--r--src/vm/excep.cpp2
-rw-r--r--src/vm/fieldmarshaler.cpp2
-rw-r--r--src/vm/proftoeeinterfaceimpl.cpp6
6 files changed, 8 insertions, 8 deletions
diff --git a/src/vm/ceeload.cpp b/src/vm/ceeload.cpp
index 4fd1fdf009..4b8cc4276f 100644
--- a/src/vm/ceeload.cpp
+++ b/src/vm/ceeload.cpp
@@ -7413,7 +7413,7 @@ void Module::UpdateDynamicMetadataIfNeeded()
//
// Notes:
// This fetches PDBs from the host and caches them so that they are available for when the debugger attaches.
-// This lets Arrowhead tools run against Whidbey hosts in a compatability mode.
+// This lets Arrowhead tools run against Whidbey hosts in a compatibility mode.
// We expect to add a hosting knob that will allow a host to disable this eager fetching and not run in
// compat mode.
void Module::FetchPdbsFromHost()
diff --git a/src/vm/ceemain.cpp b/src/vm/ceemain.cpp
index cf4bc29840..3cab5b2ccc 100644
--- a/src/vm/ceemain.cpp
+++ b/src/vm/ceemain.cpp
@@ -3486,7 +3486,7 @@ HRESULT PrepareExecuteDLLForThunk(HINSTANCE hInst,
//*****************************************************************************
// This is the call point to make a DLL that is already loaded into our address
// space run. There will be other code to actually have us load a DLL due to a
-// class referance.
+// class reference.
//*****************************************************************************
BOOL STDMETHODCALLTYPE ExecuteDLL(HINSTANCE hInst,
DWORD dwReason,
diff --git a/src/vm/classcompat.h b/src/vm/classcompat.h
index 79815c286b..e1de0b169d 100644
--- a/src/vm/classcompat.h
+++ b/src/vm/classcompat.h
@@ -213,7 +213,7 @@ public:
}
public:
- // This method is purely for backward compatability of COM Interop, and its
+ // This method is purely for backward compatibility of COM Interop, and its
// implementation can be found in ClassCompat.cpp
InteropMethodTableData *BuildInteropVTable(AllocMemTracker *pamTracker);
InteropMethodTableData *BuildInteropVTableForArray(AllocMemTracker *pamTracker);
diff --git a/src/vm/excep.cpp b/src/vm/excep.cpp
index 0c0f66c280..c66d3a839b 100644
--- a/src/vm/excep.cpp
+++ b/src/vm/excep.cpp
@@ -13335,7 +13335,7 @@ VOID DECLSPEC_NORETURN RealCOMPlusThrowWin32(HRESULT hr)
}
CONTRACTL_END;
- // Force to ApplicationException for compatability with previous versions. We would
+ // Force to ApplicationException for compatibility with previous versions. We would
// prefer a "Win32Exception" here.
EX_THROW(EEMessageException, (kApplicationException, hr, 0 /* resid*/,
NULL /* szArg1 */, NULL /* szArg2 */, NULL /* szArg3 */, NULL /* szArg4 */,
diff --git a/src/vm/fieldmarshaler.cpp b/src/vm/fieldmarshaler.cpp
index 4bd9388b90..fab5ab4bd5 100644
--- a/src/vm/fieldmarshaler.cpp
+++ b/src/vm/fieldmarshaler.cpp
@@ -1349,7 +1349,7 @@ VOID EEClassLayoutInfo::CollectLayoutFieldMetadataThrowing(
// Treat base class as an initial member.
cbAdjustedParentLayoutNativeSize = pParentLayoutInfo->GetNativeSize();
// If the parent was originally a zero-sized explicit type but
- // got bumped up to a size of 1 for compatability reasons, then
+ // got bumped up to a size of 1 for compatibility reasons, then
// we need to remove the padding, but ONLY for inheritance situations.
if (pParentLayoutInfo->IsZeroSized()) {
CONSISTENCY_CHECK(cbAdjustedParentLayoutNativeSize == 1);
diff --git a/src/vm/proftoeeinterfaceimpl.cpp b/src/vm/proftoeeinterfaceimpl.cpp
index ea32a0dfa8..9d2469f236 100644
--- a/src/vm/proftoeeinterfaceimpl.cpp
+++ b/src/vm/proftoeeinterfaceimpl.cpp
@@ -5404,16 +5404,16 @@ HRESULT ProfToEEInterfaceImpl::GetClassFromTokenAndTypeArgs(ModuleID moduleID,
// try to load a type, so that type system will not try to test type
// loadability in the current AppDomain. However,
// ENABLE_FORBID_GC_LOADER_USE_IN_THIS_SCOPE does not prevent callers from
- // loading a type. It is profiler's responsiblity not to attempt to load
+ // loading a type. It is profiler's responsibility not to attempt to load
// a type in unsupported ways (e.g. from a non-EE thread). It doesn't
// impact retail builds, in which contracts are not available.
ENABLE_FORBID_GC_LOADER_USE_IN_THIS_SCOPE();
// ENABLE_FORBID_GC_LOADER_USE_IN_THIS_SCOPE also defines FAULT_FORBID, which
// causes Scanruntime to flag a fault violation in AssemblySpec::InitializeSpec,
- // which is defined as FAULTS. It only happneds in a type-loading path, which
+ // which is defined as FAULTS. It only happens in a type-loading path, which
// is not supported on a non-EE thread. Suppressing a contract violation in an
- // unsupported execution path is more preferable than casuing AV when calling
+ // unsupported execution path is more preferable than causing AV when calling
// GetClassFromTokenAndTypeArgs on a non-EE thread in a check build. See Dev10
// 682526 for more details.
FAULT_NOT_FATAL();