Fixed typo ‘defualt’ (dotnet/coreclr#19955)
authorJoseph Musser <me@jnm2.com>
Fri, 14 Sep 2018 11:35:26 +0000 (07:35 -0400)
committerJan Kotas <jkotas@microsoft.com>
Fri, 14 Sep 2018 11:35:26 +0000 (04:35 -0700)
Commit migrated from https://github.com/dotnet/coreclr/commit/2742d900bff9c706b02787792c119b88d1774530

src/coreclr/src/jit/flowgraph.cpp
src/libraries/System.Private.CoreLib/src/System/Globalization/DateTimeParse.cs
src/libraries/System.Private.CoreLib/src/System/Threading/ManualResetEventSlim.cs

index 63791d67c4f3d6aee32f7e532b0ffd7780d56e6f..d03c6e379ab6dcb266441513eadf24bea3236642 100644 (file)
@@ -5330,7 +5330,7 @@ unsigned Compiler::fgMakeBasicBlocks(const BYTE* codeAddr, IL_OFFSET codeSize, F
             case CEE_SWITCH:
             {
                 unsigned jmpBase;
-                unsigned jmpCnt; // # of switch cases (excluding defualt)
+                unsigned jmpCnt; // # of switch cases (excluding default)
 
                 BasicBlock** jmpTab;
                 BasicBlock** jmpPtr;
index b9da90078980e65a79e0d72b7ed6eda89a530552..8d703ea98945c3fe1ca7664492b46315997d7ca9 100644 (file)
@@ -5936,7 +5936,7 @@ new DS[] { DS.ERROR, DS.TX_NNN,  DS.TX_NNN,  DS.TX_NNN,  DS.ERROR,   DS.ERROR,
         internal int Month;
         internal int Day;
         //
-        // Set time defualt to 00:00:00.
+        // Set time default to 00:00:00.
         //
         internal int Hour;
         internal int Minute;
index 2f57aa750364bab1a9d56766d05e2d8c3e3739b2..dc65f6f168cfe94b1ec493a2cfaa209fecd1b4e5 100644 (file)
@@ -176,7 +176,7 @@ namespace System.Threading
         /// to nonsignaled.</param>
         public ManualResetEventSlim(bool initialState)
         {
-            // Specify the defualt spin count, and use default spin if we're
+            // Specify the default spin count, and use default spin if we're
             // on a multi-processor machine. Otherwise, we won't.
             Initialize(initialState, SpinWait.SpinCountforSpinBeforeWait);
         }