Skip to content

Commit

Permalink
4.x: Fix XML document spelling errors (#543)
Browse files Browse the repository at this point in the history
  • Loading branch information
akarnokd authored and danielcweber committed May 28, 2018
1 parent dfbe904 commit ceee7a7
Show file tree
Hide file tree
Showing 23 changed files with 73 additions and 73 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public static IStopwatch StartStopwatch(this IScheduler scheduler)
// stopwatch facility, or go with a stopwatch based on "scheduler.Now", which has
// the drawback of potentially going back in time:
//
// - Using the CAL's stopwatch facility causes us to abondon the scheduler's
// - Using the CAL's stopwatch facility causes us to abandon the scheduler's
// potentially virtualized notion of time, always going for the local system
// time instead.
//
Expand All @@ -129,7 +129,7 @@ public static IStopwatch StartStopwatch(this IScheduler scheduler)
// non-monotonic points somehow), so we pick the latter option as the lesser of
// two evils (also because it should occur rarely).
//
// Users of the stopwatch retrieved by this method could detect non-sensical data
// Users of the stopwatch retrieved by this method could detect nonsensical data
// revealing a jump back in time, or implement custom fallback logic like the one
// shown below.
//
Expand Down Expand Up @@ -439,7 +439,7 @@ private void Suspending(object sender, HostSuspendingEventArgs args)
//
// The host is telling us we're about to be suspended. At this point, time
// computations will still be in a valid range (next <= _period), but after
// we're woken up again, Tick would start to go on a crucade to catch up.
// we're woken up again, Tick would start to go on a crusade to catch up.
//
// This has caused problems in the past, where the flood of events caused
// batteries to drain etc (see design rationale discussion higher up).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ public void OnCompleted(Action continuation)
// contexts objects at the scheduler level. It's possible to start
// async operations by calling Schedule, without a way to observe
// their completion. Not interacting with SynchronizationContext
// is a concious design decision as the performance impact was non
// negligable and our schedulers abstract over more constructs.
// is a conscious design decision as the performance impact was non
// negligible and our schedulers abstract over more constructs.
//
ctx.Post(a => ((Action)a)(), original);
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public SchedulerQueue()
}

/// <summary>
/// Creats a new scheduler queue with the specified initial capacity.
/// Creates a new scheduler queue with the specified initial capacity.
/// </summary>
/// <param name="capacity">Initial capacity of the scheduler queue.</param>
/// <exception cref="ArgumentOutOfRangeException"><paramref name="capacity"/> is less than zero.</exception>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public IDisposable ScheduleLongRunning<TState>(TState state, Action<TState, ICan
}

/// <summary>
/// Gets a new stopwatch ob ject.
/// Gets a new stopwatch object.
/// </summary>
/// <returns>New stopwatch object; started at the time of the request.</returns>
public override IStopwatch StartStopwatch()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ public void CopyTo(IDisposable[] array, int arrayIndex)
if (arrayIndex + _count > array.Length)
{
// there is not enough space beyond arrayIndex
// to accomodate all _count disposables in this composite
// to accommodate all _count disposables in this composite
throw new ArgumentOutOfRangeException(nameof(arrayIndex));
}
var i = arrayIndex;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ public abstract class StableCompositeDisposable : ICancelable
/// <summary>
/// Creates a new group containing two disposable resources that are disposed together.
/// </summary>
/// <param name="disposable1">The first disposable resoruce to add to the group.</param>
/// <param name="disposable2">The second disposable resoruce to add to the group.</param>
/// <param name="disposable1">The first disposable resource to add to the group.</param>
/// <param name="disposable2">The second disposable resource to add to the group.</param>
/// <returns>Group of disposable resources that are disposed together.</returns>
public static ICancelable Create(IDisposable disposable1, IDisposable disposable2)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace System.Reactive.PlatformServices
public class CurrentPlatformEnlightenmentProvider : IPlatformEnlightenmentProvider
{
/// <summary>
/// (Infastructure) Tries to gets the specified service.
/// (Infrastructure) Tries to gets the specified service.
/// </summary>
/// <typeparam name="T">Service type.</typeparam>
/// <param name="args">Optional set of arguments.</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespace System.Reactive.PlatformServices
public interface IPlatformEnlightenmentProvider
{
/// <summary>
/// (Infastructure) Tries to gets the specified service.
/// (Infrastructure) Tries to gets the specified service.
/// </summary>
/// <typeparam name="T">Service type.</typeparam>
/// <param name="args">Optional set of arguments.</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ IDisposable DrainShortRunning(IScheduler recursiveScheduler)
/// <summary>
/// Executes a drain step by checking the disposed state,
/// checking for the terminated state and for an
/// empty queue, issuing the approrpiate signals to the
/// empty queue, issuing the appropriate signals to the
/// given downstream.
/// </summary>
/// <param name="q">The queue to use.</param>
Expand Down
6 changes: 3 additions & 3 deletions Rx.NET/Source/src/System.Reactive/Joins/QueryablePattern.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Licensed to the .NET Foundation under one or more agreements.
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.

Expand All @@ -15,7 +15,7 @@ namespace System.Reactive.Joins
public abstract class QueryablePattern
{
/// <summary>
/// Creates a new join pattern object using the specified expression tree represention.
/// Creates a new join pattern object using the specified expression tree representation.
/// </summary>
/// <param name="expression">Expression tree representing the join pattern.</param>
protected QueryablePattern(Expression expression)
Expand Down Expand Up @@ -1047,4 +1047,4 @@ public QueryablePlan<TResult> Then<TResult>(Expression<Func<TSource1, TSource2,
#endregion
}

#pragma warning restore 1591
#pragma warning restore 1591
12 changes: 6 additions & 6 deletions Rx.NET/Source/src/System.Reactive/Linq/Observable.Aggregates.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1051,7 +1051,7 @@ public static IObservable<long> Max(this IObservable<long> source)
/// </summary>
/// <typeparam name="TSource">The type of the elements in the source sequence.</typeparam>
/// <typeparam name="TResult">The type of the objects derived from the elements in the source sequence to determine the maximum of.</typeparam>
/// <param name="source">An observable sequence to determine the mimimum element of.</param>
/// <param name="source">An observable sequence to determine the minimum element of.</param>
/// <param name="selector">A transform function to apply to each element.</param>
/// <returns>An observable sequence containing a single element with the value that corresponds to the maximum element in the source sequence.</returns>
/// <exception cref="ArgumentNullException"><paramref name="source"/> or <paramref name="selector"/> is null.</exception>
Expand All @@ -1071,7 +1071,7 @@ public static IObservable<TResult> Max<TSource, TResult>(this IObservable<TSourc
/// </summary>
/// <typeparam name="TSource">The type of the elements in the source sequence.</typeparam>
/// <typeparam name="TResult">The type of the objects derived from the elements in the source sequence to determine the maximum of.</typeparam>
/// <param name="source">An observable sequence to determine the mimimum element of.</param>
/// <param name="source">An observable sequence to determine the minimum element of.</param>
/// <param name="selector">A transform function to apply to each element.</param>
/// <param name="comparer">Comparer used to compare elements.</param>
/// <returns>An observable sequence containing a single element with the value that corresponds to the maximum element in the source sequence.</returns>
Expand Down Expand Up @@ -1334,7 +1334,7 @@ public static IObservable<IList<TSource>> MaxBy<TSource, TKey>(this IObservable<
/// Returns the minimum element in an observable sequence.
/// </summary>
/// <typeparam name="TSource">The type of the elements in the source sequence.</typeparam>
/// <param name="source">An observable sequence to determine the mimimum element of.</param>
/// <param name="source">An observable sequence to determine the minimum element of.</param>
/// <returns>An observable sequence containing a single element with the minimum element in the source sequence.</returns>
/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception>
/// <remarks>The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior.</remarks>
Expand All @@ -1350,7 +1350,7 @@ public static IObservable<TSource> Min<TSource>(this IObservable<TSource> source
/// Returns the minimum element in an observable sequence according to the specified comparer.
/// </summary>
/// <typeparam name="TSource">The type of the elements in the source sequence.</typeparam>
/// <param name="source">An observable sequence to determine the mimimum element of.</param>
/// <param name="source">An observable sequence to determine the minimum element of.</param>
/// <param name="comparer">Comparer used to compare elements.</param>
/// <returns>An observable sequence containing a single element with the minimum element in the source sequence.</returns>
/// <exception cref="ArgumentNullException"><paramref name="source"/> or <paramref name="comparer"/> is null.</exception>
Expand Down Expand Up @@ -1520,7 +1520,7 @@ public static IObservable<long> Min(this IObservable<long> source)
/// </summary>
/// <typeparam name="TSource">The type of the elements in the source sequence.</typeparam>
/// <typeparam name="TResult">The type of the objects derived from the elements in the source sequence to determine the minimum of.</typeparam>
/// <param name="source">An observable sequence to determine the mimimum element of.</param>
/// <param name="source">An observable sequence to determine the minimum element of.</param>
/// <param name="selector">A transform function to apply to each element.</param>
/// <returns>An observable sequence containing a single element with the value that corresponds to the minimum element in the source sequence.</returns>
/// <exception cref="ArgumentNullException"><paramref name="source"/> or <paramref name="selector"/> is null.</exception>
Expand All @@ -1540,7 +1540,7 @@ public static IObservable<TResult> Min<TSource, TResult>(this IObservable<TSourc
/// </summary>
/// <typeparam name="TSource">The type of the elements in the source sequence.</typeparam>
/// <typeparam name="TResult">The type of the objects derived from the elements in the source sequence to determine the minimum of.</typeparam>
/// <param name="source">An observable sequence to determine the mimimum element of.</param>
/// <param name="source">An observable sequence to determine the minimum element of.</param>
/// <param name="selector">A transform function to apply to each element.</param>
/// <param name="comparer">Comparer used to compare elements.</param>
/// <returns>An observable sequence containing a single element with the value that corresponds to the minimum element in the source sequence.</returns>
Expand Down
Loading

0 comments on commit ceee7a7

Please sign in to comment.