diff --git a/src/libraries/System.Private.CoreLib/src/System/AggregateException.cs b/src/libraries/System.Private.CoreLib/src/System/AggregateException.cs index 7ca84ac21e1ac..0fc24781a1677 100644 --- a/src/libraries/System.Private.CoreLib/src/System/AggregateException.cs +++ b/src/libraries/System.Private.CoreLib/src/System/AggregateException.cs @@ -401,6 +401,6 @@ public override string ToString() /// internal int InnerExceptionCount => _innerExceptions.Length; - internal Exception[] IntenalInnerExceptions => _innerExceptions; + internal Exception[] InternalInnerExceptions => _innerExceptions; } } diff --git a/src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/ConcurrentExclusiveSchedulerPair.cs b/src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/ConcurrentExclusiveSchedulerPair.cs index 475ab163ddc72..a8d80715ed3fe 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/ConcurrentExclusiveSchedulerPair.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/ConcurrentExclusiveSchedulerPair.cs @@ -234,7 +234,7 @@ private void FaultWithTask(Task faultedTask) // Store the faulted task's exceptions CompletionState cs = EnsureCompletionStateInitialized(); cs.m_exceptions ??= new List(faultedException.InnerExceptionCount); - cs.m_exceptions.AddRange(faultedException.IntenalInnerExceptions); + cs.m_exceptions.AddRange(faultedException.InternalInnerExceptions); // Now that we're doomed, request completion RequestCompletion(); diff --git a/src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs b/src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs index e14aee93041fc..ac29941ab069d 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs @@ -4817,7 +4817,7 @@ internal static void AddExceptionsForCompletedTask(ref List? exceptio t.UpdateExceptionObservedStatus(); exceptions ??= new List(ex.InnerExceptionCount); - exceptions.AddRange(ex.IntenalInnerExceptions); + exceptions.AddRange(ex.InternalInnerExceptions); } }