Typos (#20271)
authorJohn Doe <github.john.doe@outlook.com>
Fri, 5 Oct 2018 01:56:04 +0000 (18:56 -0700)
committerJan Kotas <jkotas@microsoft.com>
Fri, 5 Oct 2018 01:56:04 +0000 (18:56 -0700)
* oportunistically -> opportunistically

* oppportunity -> opportunity

* Oppporunity -> Opportunity

* optinal -> optional

* optimisitic -> optimistic

* optionaly -> optionally

* origianl -> original

* orignally -> originally

* otheriwse -> otherwise

* otherrwise -> otherwise

src/debug/di/divalue.cpp
src/debug/ee/controller.cpp
src/debug/ildbsymlib/symread.cpp
src/gc/handletablecore.cpp
src/jit/flowgraph.cpp
src/jit/inlinepolicy.cpp
src/md/compiler/custattr_emit.cpp
src/md/winmd/adapter.cpp
src/pal/tests/palsuite/threading/DuplicateHandle/test7/test7.cpp
src/vm/codeversion.cpp

index 50ecd68..59cd382 100644 (file)
@@ -1592,7 +1592,7 @@ void * CordbReferenceValue::GetObjectAddress(MemoryRange localValue)
 void CordbReferenceValue::UpdateTypeInfo()
 {
     // If the object type that we got back is different than the one we sent, then it means that we
-    // orignally had a CLASS and now have something more specific, like a SDARRAY, MDARRAY, or STRING or
+    // originally had a CLASS and now have something more specific, like a SDARRAY, MDARRAY, or STRING or
     // a constructed type.
     // Update our signature accordingly, which is okay since we always have a copy of our sig. This
     // ensures that the reference's signature accurately reflects what the Runtime knows it's pointing
index d88eacd..9d45037 100644 (file)
@@ -2904,7 +2904,7 @@ DPOSS_ACTION DebuggerController::DispatchPatchOrSingleStep(Thread *thread, CONTE
                                                      thread,
                                                      TY_SHORT_CIRCUIT);
 
-        // We will only come back here on a RemapOppporunity that wasn't taken, or on a RemapComplete.
+        // We will only come back here on a RemapOpportunity that wasn't taken, or on a RemapComplete.
         // If we processed a RemapComplete (which returns TPR_IGNORE_AND_STOP), then don't want to handle
         // additional breakpoints on the current line because we've already effectively executed to that point
         // and would have hit them already. If they are new, we also don't want to hit them because eg. if are
index 3fe3c8c..4a3015a 100644 (file)
@@ -2324,7 +2324,7 @@ HRESULT
 SymScope::GetNamespaces(
     ULONG32 cNameSpaces,    // [optional] number of entries pNameSpaces
     ULONG32 *pcNameSpaces,  // [optional, out] Maximum number of Namespace
-    ISymUnmanagedNamespace *pNameSpaces[] // [optinal] array to store namespaces into
+    ISymUnmanagedNamespace *pNameSpaces[] // [optional] array to store namespaces into
     )
 {
     HRESULT hr = NOERROR;
index 0189438..9fadbc2 100644 (file)
@@ -1845,7 +1845,7 @@ void SegmentTrimExcessPages(TableSegment *pSegment)
             // compute the address for the new decommit line
             size_t dwDecommitAddr = dwLo - OS_PAGE_SIZE;
 
-            // assume a decommit line of zero until we know otheriwse
+            // assume a decommit line of zero until we know otherwise
             uDecommitLine = 0;
 
             // if the address is within the handle area then compute the line from the address
index 64fcc8c..f8fe15d 100644 (file)
@@ -23054,7 +23054,7 @@ GenTree* Compiler::fgInlinePrependStatements(InlineInfo* inlineInfo)
 
                 /* argBashTmpNode is non-NULL iff the argument's value was
                    referenced exactly once by the original IL. This offers an
-                   oppportunity to avoid an intermediate temp and just insert
+                   opportunity to avoid an intermediate temp and just insert
                    the original argument tree.
 
                    However, if the temp node has been cloned somewhere while
index 45dc96f..af727c3 100644 (file)
@@ -658,7 +658,7 @@ double DefaultPolicy::DetermineMultiplier()
         multiplier += 3.0;
         JITDUMP("\nInline candidate has const arg that feeds a conditional.  Multiplier increased to %g.", multiplier);
     }
-    // For prejit roots we do not see the call sites. To be suitably optimisitic
+    // For prejit roots we do not see the call sites. To be suitably optimistic
     // assume that call sites may pass constants.
     else if (m_IsPrejitRoot && ((m_ArgFeedsConstantTest > 0) || (m_ArgFeedsTest > 0)))
     {
index 3e23600..507945c 100644 (file)
@@ -1163,7 +1163,7 @@ HRESULT RegMeta::_HandleKnownCustomAttribute(    // S_OK or error.
                 dwFlags |= pmSupportsLastError;
         }
             
-        // If an entrypoint name was specified, use it, otherrwise grab the name from the member.
+        // If an entrypoint name was specified, use it, otherwise grab the name from the member.
         LPCWSTR wzEntry;
         if (qNamedArgs[DI_EntryPoint].val.type.tag)
         {
index 11db22d..7710878 100644 (file)
@@ -1101,7 +1101,7 @@ HRESULT WinMDAdapter::ModifyExportedTypeName(
 
 //------------------------------------------------------------------------------
 
-// We must optionaly add an assembly ref for System.Numerics.Vectors.dll since this assembly is not available
+// We must optionally add an assembly ref for System.Numerics.Vectors.dll since this assembly is not available
 // on downlevel platforms. 
 //
 // This function assumes that System.Numerics.Vectors.dll is the last assembly that
index bd09283..7074d37 100644 (file)
@@ -121,7 +121,7 @@ int __cdecl main(int argc, char* argv[])
         Fail("");
     }
 
-    /* Get the priority of the origianl thread, and
+    /* Get the priority of the original thread, and
      * compare it to what the duplicate was set to.*/
     finalPriority = GetThreadPriority(hThread);
     if (finalPriority != THREAD_PRIORITY_HIGHEST)
index 06451e9..e3425c3 100644 (file)
@@ -1522,7 +1522,7 @@ HRESULT MethodDescVersioningState::UndoJumpStampNativeCode(BOOL fEESuspended)
 //         (fContentionPossible == TRUE)
 //      This method will attempt to alter the jump-stamp even if the caller has not prevented
 //      contention, but there is no guarantee it will be succesful. When the caller has prevented
-//      contention, then success is assured. Callers may oportunistically try without
+//      contention, then success is assured. Callers may opportunistically try without
 //      EE suspension, and then upgrade to EE suspension if the first attempt fails. 
 //
 // Assumptions: