diff options
author | Stephen Toub <stoub@microsoft.com> | 2019-08-08 21:26:51 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2019-08-09 17:23:42 +0300 |
commit | 9c3037fc598e93fa41384a5714ac6bf4ee8fd7f0 (patch) | |
tree | 584477584287661dfa29f533547296281a83f5ac /netcore | |
parent | 1fcf7a1ab4b48fb5dcf3afaa561902fb0169ce18 (diff) |
Fix StyleCop warning SA1200 (cref prefixes)
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Diffstat (limited to 'netcore')
22 files changed, 1335 insertions, 1335 deletions
diff --git a/netcore/System.Private.CoreLib/shared/System/AggregateException.cs b/netcore/System.Private.CoreLib/shared/System/AggregateException.cs index dac9cfce240..49809b10481 100644 --- a/netcore/System.Private.CoreLib/shared/System/AggregateException.cs +++ b/netcore/System.Private.CoreLib/shared/System/AggregateException.cs @@ -53,7 +53,7 @@ namespace System /// </summary> /// <param name="message">The error message that explains the reason for the exception.</param> /// <param name="innerException">The exception that is the cause of the current exception.</param> - /// <exception cref="T:System.ArgumentNullException">The <paramref name="innerException"/> argument + /// <exception cref="System.ArgumentNullException">The <paramref name="innerException"/> argument /// is null.</exception> public AggregateException(string? message, Exception innerException) : base(message, innerException) @@ -71,9 +71,9 @@ namespace System /// references to the inner exceptions that are the cause of this exception. /// </summary> /// <param name="innerExceptions">The exceptions that are the cause of the current exception.</param> - /// <exception cref="T:System.ArgumentNullException">The <paramref name="innerExceptions"/> argument + /// <exception cref="System.ArgumentNullException">The <paramref name="innerExceptions"/> argument /// is null.</exception> - /// <exception cref="T:System.ArgumentException">An element of <paramref name="innerExceptions"/> is + /// <exception cref="System.ArgumentException">An element of <paramref name="innerExceptions"/> is /// null.</exception> public AggregateException(IEnumerable<Exception> innerExceptions) : this(SR.AggregateException_ctor_DefaultMessage, innerExceptions) @@ -85,9 +85,9 @@ namespace System /// references to the inner exceptions that are the cause of this exception. /// </summary> /// <param name="innerExceptions">The exceptions that are the cause of the current exception.</param> - /// <exception cref="T:System.ArgumentNullException">The <paramref name="innerExceptions"/> argument + /// <exception cref="System.ArgumentNullException">The <paramref name="innerExceptions"/> argument /// is null.</exception> - /// <exception cref="T:System.ArgumentException">An element of <paramref name="innerExceptions"/> is + /// <exception cref="System.ArgumentException">An element of <paramref name="innerExceptions"/> is /// null.</exception> public AggregateException(params Exception[] innerExceptions) : this(SR.AggregateException_ctor_DefaultMessage, innerExceptions) @@ -100,9 +100,9 @@ namespace System /// </summary> /// <param name="message">The error message that explains the reason for the exception.</param> /// <param name="innerExceptions">The exceptions that are the cause of the current exception.</param> - /// <exception cref="T:System.ArgumentNullException">The <paramref name="innerExceptions"/> argument + /// <exception cref="System.ArgumentNullException">The <paramref name="innerExceptions"/> argument /// is null.</exception> - /// <exception cref="T:System.ArgumentException">An element of <paramref name="innerExceptions"/> is + /// <exception cref="System.ArgumentException">An element of <paramref name="innerExceptions"/> is /// null.</exception> public AggregateException(string? message, IEnumerable<Exception> innerExceptions) // If it's already an IList, pass that along (a defensive copy will be made in the delegated ctor). If it's null, just pass along @@ -117,9 +117,9 @@ namespace System /// </summary> /// <param name="message">The error message that explains the reason for the exception.</param> /// <param name="innerExceptions">The exceptions that are the cause of the current exception.</param> - /// <exception cref="T:System.ArgumentNullException">The <paramref name="innerExceptions"/> argument + /// <exception cref="System.ArgumentNullException">The <paramref name="innerExceptions"/> argument /// is null.</exception> - /// <exception cref="T:System.ArgumentException">An element of <paramref name="innerExceptions"/> is + /// <exception cref="System.ArgumentException">An element of <paramref name="innerExceptions"/> is /// null.</exception> public AggregateException(string? message, params Exception[] innerExceptions) : this(message, (IList<Exception>)innerExceptions) @@ -131,9 +131,9 @@ namespace System /// </summary> /// <param name="message">The error message that explains the reason for the exception.</param> /// <param name="innerExceptions">The exceptions that are the cause of the current exception.</param> - /// <exception cref="T:System.ArgumentNullException">The <paramref name="innerExceptions"/> argument + /// <exception cref="System.ArgumentNullException">The <paramref name="innerExceptions"/> argument /// is null.</exception> - /// <exception cref="T:System.ArgumentException">An element of <paramref name="innerExceptions"/> is + /// <exception cref="System.ArgumentException">An element of <paramref name="innerExceptions"/> is /// null.</exception> private AggregateException(string? message, IList<Exception> innerExceptions) : base(message, innerExceptions != null && innerExceptions.Count > 0 ? innerExceptions[0] : null) @@ -168,9 +168,9 @@ namespace System /// <param name="innerExceptionInfos"> /// Information about the exceptions that are the cause of the current exception. /// </param> - /// <exception cref="T:System.ArgumentNullException">The <paramref name="innerExceptionInfos"/> argument + /// <exception cref="System.ArgumentNullException">The <paramref name="innerExceptionInfos"/> argument /// is null.</exception> - /// <exception cref="T:System.ArgumentException">An element of <paramref name="innerExceptionInfos"/> is + /// <exception cref="System.ArgumentException">An element of <paramref name="innerExceptionInfos"/> is /// null.</exception> internal AggregateException(IEnumerable<ExceptionDispatchInfo> innerExceptionInfos) : this(SR.AggregateException_ctor_DefaultMessage, innerExceptionInfos) @@ -186,9 +186,9 @@ namespace System /// <param name="innerExceptionInfos"> /// Information about the exceptions that are the cause of the current exception. /// </param> - /// <exception cref="T:System.ArgumentNullException">The <paramref name="innerExceptionInfos"/> argument + /// <exception cref="System.ArgumentNullException">The <paramref name="innerExceptionInfos"/> argument /// is null.</exception> - /// <exception cref="T:System.ArgumentException">An element of <paramref name="innerExceptionInfos"/> is + /// <exception cref="System.ArgumentException">An element of <paramref name="innerExceptionInfos"/> is /// null.</exception> internal AggregateException(string message, IEnumerable<ExceptionDispatchInfo> innerExceptionInfos) // If it's already an IList, pass that along (a defensive copy will be made in the delegated ctor). If it's null, just pass along @@ -208,9 +208,9 @@ namespace System /// <param name="innerExceptionInfos"> /// Information about the exceptions that are the cause of the current exception. /// </param> - /// <exception cref="T:System.ArgumentNullException">The <paramref name="innerExceptionInfos"/> argument + /// <exception cref="System.ArgumentNullException">The <paramref name="innerExceptionInfos"/> argument /// is null.</exception> - /// <exception cref="T:System.ArgumentException">An element of <paramref name="innerExceptionInfos"/> is + /// <exception cref="System.ArgumentException">An element of <paramref name="innerExceptionInfos"/> is /// null.</exception> private AggregateException(string message, IList<ExceptionDispatchInfo> innerExceptionInfos) : base(message, innerExceptionInfos != null && innerExceptionInfos.Count > 0 && innerExceptionInfos[0] != null ? @@ -243,12 +243,12 @@ namespace System /// <summary> /// Initializes a new instance of the <see cref="AggregateException"/> class with serialized data. /// </summary> - /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds + /// <param name="info">The <see cref="System.Runtime.Serialization.SerializationInfo"/> that holds /// the serialized object data about the exception being thrown.</param> - /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that + /// <param name="context">The <see cref="System.Runtime.Serialization.StreamingContext"/> that /// contains contextual information about the source or destination. </param> - /// <exception cref="T:System.ArgumentNullException">The <paramref name="info"/> argument is null.</exception> - /// <exception cref="T:System.Runtime.Serialization.SerializationException">The exception could not be deserialized correctly.</exception> + /// <exception cref="System.ArgumentNullException">The <paramref name="info"/> argument is null.</exception> + /// <exception cref="System.Runtime.Serialization.SerializationException">The exception could not be deserialized correctly.</exception> protected AggregateException(SerializationInfo info, StreamingContext context) : base(info, context) { @@ -267,14 +267,14 @@ namespace System } /// <summary> - /// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo"/> with information about + /// Sets the <see cref="System.Runtime.Serialization.SerializationInfo"/> with information about /// the exception. /// </summary> - /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds + /// <param name="info">The <see cref="System.Runtime.Serialization.SerializationInfo"/> that holds /// the serialized object data about the exception being thrown.</param> - /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that + /// <param name="context">The <see cref="System.Runtime.Serialization.StreamingContext"/> that /// contains contextual information about the source or destination. </param> - /// <exception cref="T:System.ArgumentNullException">The <paramref name="info"/> argument is null.</exception> + /// <exception cref="System.ArgumentNullException">The <paramref name="info"/> argument is null.</exception> public override void GetObjectData(SerializationInfo info, StreamingContext context) { base.GetObjectData(info, context); @@ -303,7 +303,7 @@ namespace System } /// <summary> - /// Gets a read-only collection of the <see cref="T:System.Exception"/> instances that caused the + /// Gets a read-only collection of the <see cref="System.Exception"/> instances that caused the /// current exception. /// </summary> public ReadOnlyCollection<Exception> InnerExceptions @@ -313,15 +313,15 @@ namespace System /// <summary> - /// Invokes a handler on each <see cref="T:System.Exception"/> contained by this <see + /// Invokes a handler on each <see cref="System.Exception"/> contained by this <see /// cref="AggregateException"/>. /// </summary> /// <param name="predicate">The predicate to execute for each exception. The predicate accepts as an - /// argument the <see cref="T:System.Exception"/> to be processed and returns a Boolean to indicate + /// argument the <see cref="System.Exception"/> to be processed and returns a Boolean to indicate /// whether the exception was handled.</param> /// <remarks> /// Each invocation of the <paramref name="predicate"/> returns true or false to indicate whether the - /// <see cref="T:System.Exception"/> was handled. After all invocations, if any exceptions went + /// <see cref="System.Exception"/> was handled. After all invocations, if any exceptions went /// unhandled, all unhandled exceptions will be put into a new <see cref="AggregateException"/> /// which will be thrown. Otherwise, the <see cref="Handle"/> method simply returns. If any /// invocations of the <paramref name="predicate"/> throws an exception, it will halt the processing @@ -329,7 +329,7 @@ namespace System /// </remarks> /// <exception cref="AggregateException">An exception contained by this <see /// cref="AggregateException"/> was not handled.</exception> - /// <exception cref="T:System.ArgumentNullException">The <paramref name="predicate"/> argument is + /// <exception cref="System.ArgumentNullException">The <paramref name="predicate"/> argument is /// null.</exception> public void Handle(Func<Exception, bool> predicate) { diff --git a/netcore/System.Private.CoreLib/shared/System/Buffers/ArrayPool.cs b/netcore/System.Private.CoreLib/shared/System/Buffers/ArrayPool.cs index 4c69474ab4f..0587f8fc1ab 100644 --- a/netcore/System.Private.CoreLib/shared/System/Buffers/ArrayPool.cs +++ b/netcore/System.Private.CoreLib/shared/System/Buffers/ArrayPool.cs @@ -5,7 +5,7 @@ namespace System.Buffers { /// <summary> - /// Provides a resource pool that enables reusing instances of type <see cref="T:T[]"/>. + /// Provides a resource pool that enables reusing instances of arrays. /// </summary> /// <remarks> /// <para> @@ -66,7 +66,7 @@ namespace System.Buffers /// </summary> /// <param name="minimumLength">The minimum length of the array needed.</param> /// <returns> - /// An <see cref="T:T[]"/> that is at least <paramref name="minimumLength"/> in length. + /// An array that is at least <paramref name="minimumLength"/> in length. /// </returns> /// <remarks> /// This buffer is loaned to the caller and should be returned to the same pool via diff --git a/netcore/System.Private.CoreLib/shared/System/Collections/Concurrent/IProducerConsumerCollection.cs b/netcore/System.Private.CoreLib/shared/System/Collections/Concurrent/IProducerConsumerCollection.cs index e33c840b460..6100e216247 100644 --- a/netcore/System.Private.CoreLib/shared/System/Collections/Concurrent/IProducerConsumerCollection.cs +++ b/netcore/System.Private.CoreLib/shared/System/Collections/Concurrent/IProducerConsumerCollection.cs @@ -21,9 +21,9 @@ namespace System.Collections.Concurrent /// <summary> /// Copies the elements of the <see cref="IProducerConsumerCollection{T}"/> to /// an - /// <see cref="T:System.Array"/>, starting at a specified index. + /// <see cref="System.Array"/>, starting at a specified index. /// </summary> - /// <param name="array">The one-dimensional <see cref="T:System.Array"/> that is the destination of + /// <param name="array">The one-dimensional <see cref="System.Array"/> that is the destination of /// the elements copied from the <see cref="IProducerConsumerCollection{T}"/>. /// The array must have zero-based indexing.</param> /// <param name="index">The zero-based index in <paramref name="array"/> at which copying @@ -47,7 +47,7 @@ namespace System.Collections.Concurrent /// <param name="item">The object to add to the <see /// cref="IProducerConsumerCollection{T}"/>.</param> /// <returns>true if the object was added successfully; otherwise, false.</returns> - /// <exception cref="T:System.ArgumentException">The <paramref name="item"/> was invalid for this collection.</exception> + /// <exception cref="System.ArgumentException">The <paramref name="item"/> was invalid for this collection.</exception> bool TryAdd(T item); /// <summary> diff --git a/netcore/System.Private.CoreLib/shared/System/Lazy.cs b/netcore/System.Private.CoreLib/shared/System/Lazy.cs index 37203ceaa4e..39165e938a4 100644 --- a/netcore/System.Private.CoreLib/shared/System/Lazy.cs +++ b/netcore/System.Private.CoreLib/shared/System/Lazy.cs @@ -197,7 +197,7 @@ namespace System private T _value = default!; /// <summary> - /// Initializes a new instance of the <see cref="T:System.Threading.Lazy{T}"/> class that + /// Initializes a new instance of the <see cref="System.Lazy{T}"/> class that /// uses <typeparamref name="T"/>'s default constructor for lazy initialization. /// </summary> /// <remarks> @@ -209,7 +209,7 @@ namespace System } /// <summary> - /// Initializes a new instance of the <see cref="T:System.Threading.Lazy{T}"/> class that + /// Initializes a new instance of the <see cref="System.Lazy{T}"/> class that /// uses a pre-initialized specified value. /// </summary> /// <remarks> @@ -222,11 +222,11 @@ namespace System } /// <summary> - /// Initializes a new instance of the <see cref="T:System.Threading.Lazy{T}"/> class that uses a + /// Initializes a new instance of the <see cref="System.Lazy{T}"/> class that uses a /// specified initialization function. /// </summary> /// <param name="valueFactory"> - /// The <see cref="T:System.Func{T}"/> invoked to produce the lazily-initialized value when it is + /// The <see cref="System.Func{T}"/> invoked to produce the lazily-initialized value when it is /// needed. /// </param> /// <exception cref="System.ArgumentNullException"><paramref name="valueFactory"/> is a null @@ -240,7 +240,7 @@ namespace System } /// <summary> - /// Initializes a new instance of the <see cref="T:System.Threading.Lazy{T}"/> + /// Initializes a new instance of the <see cref="System.Lazy{T}"/> /// class that uses <typeparamref name="T"/>'s default constructor and a specified thread-safety mode. /// </summary> /// <param name="isThreadSafe">true if this instance should be usable by multiple threads concurrently; false if the instance will only be used by one thread at a time. @@ -251,7 +251,7 @@ namespace System } /// <summary> - /// Initializes a new instance of the <see cref="T:System.Threading.Lazy{T}"/> + /// Initializes a new instance of the <see cref="System.Lazy{T}"/> /// class that uses <typeparamref name="T"/>'s default constructor and a specified thread-safety mode. /// </summary> /// <param name="mode">The lazy thread-safety mode</param> @@ -262,11 +262,11 @@ namespace System } /// <summary> - /// Initializes a new instance of the <see cref="T:System.Threading.Lazy{T}"/> class + /// Initializes a new instance of the <see cref="System.Lazy{T}"/> class /// that uses a specified initialization function and a specified thread-safety mode. /// </summary> /// <param name="valueFactory"> - /// The <see cref="T:System.Func{T}"/> invoked to produce the lazily-initialized value when it is needed. + /// The <see cref="System.Func{T}"/> invoked to produce the lazily-initialized value when it is needed. /// </param> /// <param name="isThreadSafe">true if this instance should be usable by multiple threads concurrently; false if the instance will only be used by one thread at a time. /// </param> @@ -278,11 +278,11 @@ namespace System } /// <summary> - /// Initializes a new instance of the <see cref="T:System.Threading.Lazy{T}"/> class + /// Initializes a new instance of the <see cref="System.Lazy{T}"/> class /// that uses a specified initialization function and a specified thread-safety mode. /// </summary> /// <param name="valueFactory"> - /// The <see cref="T:System.Func{T}"/> invoked to produce the lazily-initialized value when it is needed. + /// The <see cref="System.Func{T}"/> invoked to produce the lazily-initialized value when it is needed. /// </param> /// <param name="mode">The lazy thread-safety mode.</param> /// <exception cref="System.ArgumentNullException"><paramref name="valueFactory"/> is @@ -435,7 +435,7 @@ namespace System /// <summary>Creates and returns a string representation of this instance.</summary> /// <returns>The result of calling <see cref="System.Object.ToString"/> on the <see /// cref="Value"/>.</returns> - /// <exception cref="T:System.NullReferenceException"> + /// <exception cref="System.NullReferenceException"> /// The <see cref="Value"/> is null. /// </exception> public override string? ToString() @@ -469,36 +469,36 @@ namespace System /// </summary> internal bool IsValueFaulted => LazyHelper.GetIsValueFaulted(_state); - /// <summary>Gets a value indicating whether the <see cref="T:System.Lazy{T}"/> has been initialized. + /// <summary>Gets a value indicating whether the <see cref="System.Lazy{T}"/> has been initialized. /// </summary> - /// <value>true if the <see cref="T:System.Lazy{T}"/> instance has been initialized; + /// <value>true if the <see cref="System.Lazy{T}"/> instance has been initialized; /// otherwise, false.</value> /// <remarks> - /// The initialization of a <see cref="T:System.Lazy{T}"/> instance may result in either + /// The initialization of a <see cref="System.Lazy{T}"/> instance may result in either /// a value being produced or an exception being thrown. If an exception goes unhandled during initialization, /// <see cref="IsValueCreated"/> will return false. /// </remarks> public bool IsValueCreated => _state == null; /// <summary>Gets the lazily initialized value of the current <see - /// cref="T:System.Threading.Lazy{T}"/>.</summary> + /// cref="System.Lazy{T}"/>.</summary> /// <value>The lazily initialized value of the current <see - /// cref="T:System.Threading.Lazy{T}"/>.</value> - /// <exception cref="T:System.MissingMemberException"> - /// The <see cref="T:System.Threading.Lazy{T}"/> was initialized to use the default constructor + /// cref="System.Lazy{T}"/>.</value> + /// <exception cref="System.MissingMemberException"> + /// The <see cref="System.Lazy{T}"/> was initialized to use the default constructor /// of the type being lazily initialized, and that type does not have a public, parameterless constructor. /// </exception> - /// <exception cref="T:System.MemberAccessException"> - /// The <see cref="T:System.Threading.Lazy{T}"/> was initialized to use the default constructor + /// <exception cref="System.MemberAccessException"> + /// The <see cref="System.Lazy{T}"/> was initialized to use the default constructor /// of the type being lazily initialized, and permissions to access the constructor were missing. /// </exception> - /// <exception cref="T:System.InvalidOperationException"> - /// The <see cref="T:System.Threading.Lazy{T}"/> was constructed with the <see cref="T:System.Threading.LazyThreadSafetyMode.ExecutionAndPublication"/> or - /// <see cref="T:System.Threading.LazyThreadSafetyMode.None"/> and the initialization function attempted to access <see cref="Value"/> on this instance. + /// <exception cref="System.InvalidOperationException"> + /// The <see cref="System.Lazy{T}"/> was constructed with the <see cref="System.Threading.LazyThreadSafetyMode.ExecutionAndPublication"/> or + /// <see cref="System.Threading.LazyThreadSafetyMode.None"/> and the initialization function attempted to access <see cref="Value"/> on this instance. /// </exception> /// <remarks> /// If <see cref="IsValueCreated"/> is false, accessing <see cref="Value"/> will force initialization. - /// Please <see cref="System.Threading.LazyThreadSafetyMode"/> for more information on how <see cref="T:System.Threading.Lazy{T}"/> will behave if an exception is thrown + /// Please <see cref="System.Threading.LazyThreadSafetyMode"/> for more information on how <see cref="System.Lazy{T}"/> will behave if an exception is thrown /// from initialization delegate. /// </remarks> [DebuggerBrowsable(DebuggerBrowsableState.Never)] diff --git a/netcore/System.Private.CoreLib/shared/System/MemoryExtensions.cs b/netcore/System.Private.CoreLib/shared/System/MemoryExtensions.cs index ad036513dd3..c7f6d5f213e 100644 --- a/netcore/System.Private.CoreLib/shared/System/MemoryExtensions.cs +++ b/netcore/System.Private.CoreLib/shared/System/MemoryExtensions.cs @@ -1523,7 +1523,7 @@ namespace System /// of the index of the next element that is larger than <paramref name="comparable"/> or, if there is /// no larger element, the bitwise complement of <see cref="Span{T}.Length"/>. /// </returns> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// <paramref name = "comparable" /> is <see langword="null"/> . /// </exception> [MethodImpl(MethodImplOptions.AggressiveInlining)] @@ -1547,7 +1547,7 @@ namespace System /// of the index of the next element that is larger than <paramref name="comparable"/> or, if there is /// no larger element, the bitwise complement of <see cref="Span{T}.Length"/>. /// </returns> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// <paramref name = "comparable" /> is <see langword="null"/> . /// </exception> [MethodImpl(MethodImplOptions.AggressiveInlining)] @@ -1573,7 +1573,7 @@ namespace System /// of the index of the next element that is larger than <paramref name="value"/> or, if there is /// no larger element, the bitwise complement of <see cref="Span{T}.Length"/>. /// </returns> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// <paramref name = "comparer" /> is <see langword="null"/> . /// </exception> [MethodImpl(MethodImplOptions.AggressiveInlining)] @@ -1597,7 +1597,7 @@ namespace System /// of the index of the next element that is larger than <paramref name="comparable"/> or, if there is /// no larger element, the bitwise complement of <see cref="ReadOnlySpan{T}.Length"/>. /// </returns> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// <paramref name = "comparable" /> is <see langword="null"/> . /// </exception> [MethodImpl(MethodImplOptions.AggressiveInlining)] @@ -1621,7 +1621,7 @@ namespace System /// of the index of the next element that is larger than <paramref name="comparable"/> or, if there is /// no larger element, the bitwise complement of <see cref="ReadOnlySpan{T}.Length"/>. /// </returns> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// <paramref name = "comparable" /> is <see langword="null"/> . /// </exception> [MethodImpl(MethodImplOptions.AggressiveInlining)] @@ -1647,7 +1647,7 @@ namespace System /// of the index of the next element that is larger than <paramref name="value"/> or, if there is /// no larger element, the bitwise complement of <see cref="ReadOnlySpan{T}.Length"/>. /// </returns> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// <paramref name = "comparer" /> is <see langword="null"/> . /// </exception> [MethodImpl(MethodImplOptions.AggressiveInlining)] diff --git a/netcore/System.Private.CoreLib/shared/System/Threading/CancellationToken.cs b/netcore/System.Private.CoreLib/shared/System/Threading/CancellationToken.cs index dfc68f20e22..a9c4452ff14 100644 --- a/netcore/System.Private.CoreLib/shared/System/Threading/CancellationToken.cs +++ b/netcore/System.Private.CoreLib/shared/System/Threading/CancellationToken.cs @@ -82,15 +82,15 @@ namespace System.Threading public bool CanBeCanceled => _source != null; /// <summary> - /// Gets a <see cref="T:System.Threading.WaitHandle"/> that is signaled when the token is canceled.</summary> + /// Gets a <see cref="System.Threading.WaitHandle"/> that is signaled when the token is canceled.</summary> /// <remarks> - /// Accessing this property causes a <see cref="T:System.Threading.WaitHandle">WaitHandle</see> + /// Accessing this property causes a <see cref="System.Threading.WaitHandle">WaitHandle</see> /// to be instantiated. It is preferable to only use this property when necessary, and to then /// dispose the associated <see cref="CancellationTokenSource"/> instance at the earliest opportunity (disposing /// the source will dispose of this allocated handle). The handle should not be closed or disposed directly. /// </remarks> - /// <exception cref="T:System.ObjectDisposedException">The associated <see - /// cref="T:System.Threading.CancellationTokenSource">CancellationTokenSource</see> has been disposed.</exception> + /// <exception cref="System.ObjectDisposedException">The associated <see + /// cref="System.Threading.CancellationTokenSource">CancellationTokenSource</see> has been disposed.</exception> public WaitHandle WaitHandle => (_source ?? CancellationTokenSource.s_neverCanceledSource).WaitHandle; // public CancellationToken() @@ -103,7 +103,7 @@ namespace System.Threading internal CancellationToken(CancellationTokenSource? source) => _source = source; /// <summary> - /// Initializes the <see cref="T:System.Threading.CancellationToken">CancellationToken</see>. + /// Initializes the <see cref="System.Threading.CancellationToken">CancellationToken</see>. /// </summary> /// <param name="canceled"> /// The canceled state for the token. @@ -120,7 +120,7 @@ namespace System.Threading } /// <summary> - /// Registers a delegate that will be called when this <see cref="T:System.Threading.CancellationToken">CancellationToken</see> is canceled. + /// Registers a delegate that will be called when this <see cref="System.Threading.CancellationToken">CancellationToken</see> is canceled. /// </summary> /// <remarks> /// <para> @@ -133,10 +133,10 @@ namespace System.Threading /// along with the delegate and will be used when executing it. /// </para> /// </remarks> - /// <param name="callback">The delegate to be executed when the <see cref="T:System.Threading.CancellationToken">CancellationToken</see> is canceled.</param> - /// <returns>The <see cref="T:System.Threading.CancellationTokenRegistration"/> instance that can + /// <param name="callback">The delegate to be executed when the <see cref="System.Threading.CancellationToken">CancellationToken</see> is canceled.</param> + /// <returns>The <see cref="System.Threading.CancellationTokenRegistration"/> instance that can /// be used to unregister the callback.</returns> - /// <exception cref="T:System.ArgumentNullException"><paramref name="callback"/> is null.</exception> + /// <exception cref="System.ArgumentNullException"><paramref name="callback"/> is null.</exception> public CancellationTokenRegistration Register(Action callback) => Register( s_actionToActionObjShunt, @@ -146,7 +146,7 @@ namespace System.Threading /// <summary> /// Registers a delegate that will be called when this - /// <see cref="T:System.Threading.CancellationToken">CancellationToken</see> is canceled. + /// <see cref="System.Threading.CancellationToken">CancellationToken</see> is canceled. /// </summary> /// <remarks> /// <para> @@ -159,13 +159,13 @@ namespace System.Threading /// along with the delegate and will be used when executing it. /// </para> /// </remarks> - /// <param name="callback">The delegate to be executed when the <see cref="T:System.Threading.CancellationToken">CancellationToken</see> is canceled.</param> + /// <param name="callback">The delegate to be executed when the <see cref="System.Threading.CancellationToken">CancellationToken</see> is canceled.</param> /// <param name="useSynchronizationContext">A Boolean value that indicates whether to capture - /// the current <see cref="T:System.Threading.SynchronizationContext">SynchronizationContext</see> and use it + /// the current <see cref="System.Threading.SynchronizationContext">SynchronizationContext</see> and use it /// when invoking the <paramref name="callback"/>.</param> - /// <returns>The <see cref="T:System.Threading.CancellationTokenRegistration"/> instance that can + /// <returns>The <see cref="System.Threading.CancellationTokenRegistration"/> instance that can /// be used to unregister the callback.</returns> - /// <exception cref="T:System.ArgumentNullException"><paramref name="callback"/> is null.</exception> + /// <exception cref="System.ArgumentNullException"><paramref name="callback"/> is null.</exception> public CancellationTokenRegistration Register(Action callback, bool useSynchronizationContext) => Register( s_actionToActionObjShunt, @@ -175,7 +175,7 @@ namespace System.Threading /// <summary> /// Registers a delegate that will be called when this - /// <see cref="T:System.Threading.CancellationToken">CancellationToken</see> is canceled. + /// <see cref="System.Threading.CancellationToken">CancellationToken</see> is canceled. /// </summary> /// <remarks> /// <para> @@ -188,17 +188,17 @@ namespace System.Threading /// along with the delegate and will be used when executing it. /// </para> /// </remarks> - /// <param name="callback">The delegate to be executed when the <see cref="T:System.Threading.CancellationToken">CancellationToken</see> is canceled.</param> + /// <param name="callback">The delegate to be executed when the <see cref="System.Threading.CancellationToken">CancellationToken</see> is canceled.</param> /// <param name="state">The state to pass to the <paramref name="callback"/> when the delegate is invoked. This may be null.</param> - /// <returns>The <see cref="T:System.Threading.CancellationTokenRegistration"/> instance that can + /// <returns>The <see cref="System.Threading.CancellationTokenRegistration"/> instance that can /// be used to unregister the callback.</returns> - /// <exception cref="T:System.ArgumentNullException"><paramref name="callback"/> is null.</exception> + /// <exception cref="System.ArgumentNullException"><paramref name="callback"/> is null.</exception> public CancellationTokenRegistration Register(Action<object?> callback, object? state) => Register(callback, state, useSynchronizationContext: false, useExecutionContext: true); /// <summary> /// Registers a delegate that will be called when this - /// <see cref="T:System.Threading.CancellationToken">CancellationToken</see> is canceled. + /// <see cref="System.Threading.CancellationToken">CancellationToken</see> is canceled. /// </summary> /// <remarks> /// <para> @@ -211,22 +211,22 @@ namespace System.Threading /// will be captured along with the delegate and will be used when executing it. /// </para> /// </remarks> - /// <param name="callback">The delegate to be executed when the <see cref="T:System.Threading.CancellationToken">CancellationToken</see> is canceled.</param> + /// <param name="callback">The delegate to be executed when the <see cref="System.Threading.CancellationToken">CancellationToken</see> is canceled.</param> /// <param name="state">The state to pass to the <paramref name="callback"/> when the delegate is invoked. This may be null.</param> /// <param name="useSynchronizationContext">A Boolean value that indicates whether to capture - /// the current <see cref="T:System.Threading.SynchronizationContext">SynchronizationContext</see> and use it + /// the current <see cref="System.Threading.SynchronizationContext">SynchronizationContext</see> and use it /// when invoking the <paramref name="callback"/>.</param> - /// <returns>The <see cref="T:System.Threading.CancellationTokenRegistration"/> instance that can + /// <returns>The <see cref="System.Threading.CancellationTokenRegistration"/> instance that can /// be used to unregister the callback.</returns> - /// <exception cref="T:System.ArgumentNullException"><paramref name="callback"/> is null.</exception> - /// <exception cref="T:System.ObjectDisposedException">The associated <see - /// cref="T:System.Threading.CancellationTokenSource">CancellationTokenSource</see> has been disposed.</exception> + /// <exception cref="System.ArgumentNullException"><paramref name="callback"/> is null.</exception> + /// <exception cref="System.ObjectDisposedException">The associated <see + /// cref="System.Threading.CancellationTokenSource">CancellationTokenSource</see> has been disposed.</exception> public CancellationTokenRegistration Register(Action<object?> callback, object? state, bool useSynchronizationContext) => Register(callback, state, useSynchronizationContext, useExecutionContext: true); /// <summary> /// Registers a delegate that will be called when this - /// <see cref="T:System.Threading.CancellationToken">CancellationToken</see> is canceled. + /// <see cref="System.Threading.CancellationToken">CancellationToken</see> is canceled. /// </summary> /// <remarks> /// <para> @@ -238,17 +238,17 @@ namespace System.Threading /// to the callback's invocation. /// </para> /// </remarks> - /// <param name="callback">The delegate to be executed when the <see cref="T:System.Threading.CancellationToken">CancellationToken</see> is canceled.</param> + /// <param name="callback">The delegate to be executed when the <see cref="System.Threading.CancellationToken">CancellationToken</see> is canceled.</param> /// <param name="state">The state to pass to the <paramref name="callback"/> when the delegate is invoked. This may be null.</param> - /// <returns>The <see cref="T:System.Threading.CancellationTokenRegistration"/> instance that can + /// <returns>The <see cref="System.Threading.CancellationTokenRegistration"/> instance that can /// be used to unregister the callback.</returns> - /// <exception cref="T:System.ArgumentNullException"><paramref name="callback"/> is null.</exception> + /// <exception cref="System.ArgumentNullException"><paramref name="callback"/> is null.</exception> public CancellationTokenRegistration UnsafeRegister(Action<object?> callback, object? state) => Register(callback, state, useSynchronizationContext: false, useExecutionContext: false); /// <summary> /// Registers a delegate that will be called when this - /// <see cref="T:System.Threading.CancellationToken">CancellationToken</see> is canceled. + /// <see cref="System.Threading.CancellationToken">CancellationToken</see> is canceled. /// </summary> /// <remarks> /// <para> @@ -257,16 +257,16 @@ namespace System.Threading /// propagated out of this method call. /// </para> /// </remarks> - /// <param name="callback">The delegate to be executed when the <see cref="T:System.Threading.CancellationToken">CancellationToken</see> is canceled.</param> + /// <param name="callback">The delegate to be executed when the <see cref="System.Threading.CancellationToken">CancellationToken</see> is canceled.</param> /// <param name="state">The state to pass to the <paramref name="callback"/> when the delegate is invoked. This may be null.</param> /// <param name="useSynchronizationContext">A Boolean value that indicates whether to capture - /// the current <see cref="T:System.Threading.SynchronizationContext">SynchronizationContext</see> and use it + /// the current <see cref="System.Threading.SynchronizationContext">SynchronizationContext</see> and use it /// when invoking the <paramref name="callback"/>.</param> - /// <returns>The <see cref="T:System.Threading.CancellationTokenRegistration"/> instance that can + /// <returns>The <see cref="System.Threading.CancellationTokenRegistration"/> instance that can /// be used to unregister the callback.</returns> - /// <exception cref="T:System.ArgumentNullException"><paramref name="callback"/> is null.</exception> - /// <exception cref="T:System.ObjectDisposedException">The associated <see - /// cref="T:System.Threading.CancellationTokenSource">CancellationTokenSource</see> has been disposed.</exception> + /// <exception cref="System.ArgumentNullException"><paramref name="callback"/> is null.</exception> + /// <exception cref="System.ObjectDisposedException">The associated <see + /// cref="System.Threading.CancellationTokenSource">CancellationTokenSource</see> has been disposed.</exception> private CancellationTokenRegistration Register(Action<object?> callback, object? state, bool useSynchronizationContext, bool useExecutionContext) { if (callback == null) @@ -279,57 +279,57 @@ namespace System.Threading } /// <summary> - /// Determines whether the current <see cref="T:System.Threading.CancellationToken">CancellationToken</see> instance is equal to the + /// Determines whether the current <see cref="System.Threading.CancellationToken">CancellationToken</see> instance is equal to the /// specified token. /// </summary> - /// <param name="other">The other <see cref="T:System.Threading.CancellationToken">CancellationToken</see> to which to compare this + /// <param name="other">The other <see cref="System.Threading.CancellationToken">CancellationToken</see> to which to compare this /// instance.</param> /// <returns>True if the instances are equal; otherwise, false. Two tokens are equal if they are associated - /// with the same <see cref="T:System.Threading.CancellationTokenSource">CancellationTokenSource</see> or if they were both constructed + /// with the same <see cref="System.Threading.CancellationTokenSource">CancellationTokenSource</see> or if they were both constructed /// from public CancellationToken constructors and their <see cref="IsCancellationRequested"/> values are equal.</returns> public bool Equals(CancellationToken other) => _source == other._source; /// <summary> - /// Determines whether the current <see cref="T:System.Threading.CancellationToken">CancellationToken</see> instance is equal to the - /// specified <see cref="T:System.Object"/>. + /// Determines whether the current <see cref="System.Threading.CancellationToken">CancellationToken</see> instance is equal to the + /// specified <see cref="System.Object"/>. /// </summary> /// <param name="other">The other object to which to compare this instance.</param> - /// <returns>True if <paramref name="other"/> is a <see cref="T:System.Threading.CancellationToken">CancellationToken</see> + /// <returns>True if <paramref name="other"/> is a <see cref="System.Threading.CancellationToken">CancellationToken</see> /// and if the two instances are equal; otherwise, false. Two tokens are equal if they are associated - /// with the same <see cref="T:System.Threading.CancellationTokenSource">CancellationTokenSource</see> or if they were both constructed + /// with the same <see cref="System.Threading.CancellationTokenSource">CancellationTokenSource</see> or if they were both constructed /// from public CancellationToken constructors and their <see cref="IsCancellationRequested"/> values are equal.</returns> - /// <exception cref="T:System.ObjectDisposedException">An associated <see - /// cref="T:System.Threading.CancellationTokenSource">CancellationTokenSource</see> has been disposed.</exception> + /// <exception cref="System.ObjectDisposedException">An associated <see + /// cref="System.Threading.CancellationTokenSource">CancellationTokenSource</see> has been disposed.</exception> public override bool Equals(object? other) => other is CancellationToken && Equals((CancellationToken)other); /// <summary> - /// Serves as a hash function for a <see cref="T:System.Threading.CancellationToken">CancellationToken</see>. + /// Serves as a hash function for a <see cref="System.Threading.CancellationToken">CancellationToken</see>. /// </summary> - /// <returns>A hash code for the current <see cref="T:System.Threading.CancellationToken">CancellationToken</see> instance.</returns> + /// <returns>A hash code for the current <see cref="System.Threading.CancellationToken">CancellationToken</see> instance.</returns> public override int GetHashCode() => (_source ?? CancellationTokenSource.s_neverCanceledSource).GetHashCode(); /// <summary> - /// Determines whether two <see cref="T:System.Threading.CancellationToken">CancellationToken</see> instances are equal. + /// Determines whether two <see cref="System.Threading.CancellationToken">CancellationToken</see> instances are equal. /// </summary> /// <param name="left">The first instance.</param> /// <param name="right">The second instance.</param> /// <returns>True if the instances are equal; otherwise, false.</returns> - /// <exception cref="T:System.ObjectDisposedException">An associated <see - /// cref="T:System.Threading.CancellationTokenSource">CancellationTokenSource</see> has been disposed.</exception> + /// <exception cref="System.ObjectDisposedException">An associated <see + /// cref="System.Threading.CancellationTokenSource">CancellationTokenSource</see> has been disposed.</exception> public static bool operator ==(CancellationToken left, CancellationToken right) => left.Equals(right); /// <summary> - /// Determines whether two <see cref="T:System.Threading.CancellationToken">CancellationToken</see> instances are not equal. + /// Determines whether two <see cref="System.Threading.CancellationToken">CancellationToken</see> instances are not equal. /// </summary> /// <param name="left">The first instance.</param> /// <param name="right">The second instance.</param> /// <returns>True if the instances are not equal; otherwise, false.</returns> - /// <exception cref="T:System.ObjectDisposedException">An associated <see - /// cref="T:System.Threading.CancellationTokenSource">CancellationTokenSource</see> has been disposed.</exception> + /// <exception cref="System.ObjectDisposedException">An associated <see + /// cref="System.Threading.CancellationTokenSource">CancellationTokenSource</see> has been disposed.</exception> public static bool operator !=(CancellationToken left, CancellationToken right) => !left.Equals(right); /// <summary> - /// Throws a <see cref="T:System.OperationCanceledException">OperationCanceledException</see> if + /// Throws a <see cref="System.OperationCanceledException">OperationCanceledException</see> if /// this token has had cancellation requested. /// </summary> /// <remarks> @@ -340,8 +340,8 @@ namespace System.Threading /// </code> /// </remarks> /// <exception cref="System.OperationCanceledException">The token has had cancellation requested.</exception> - /// <exception cref="T:System.ObjectDisposedException">The associated <see - /// cref="T:System.Threading.CancellationTokenSource">CancellationTokenSource</see> has been disposed.</exception> + /// <exception cref="System.ObjectDisposedException">The associated <see + /// cref="System.Threading.CancellationTokenSource">CancellationTokenSource</see> has been disposed.</exception> public void ThrowIfCancellationRequested() { if (IsCancellationRequested) diff --git a/netcore/System.Private.CoreLib/shared/System/Threading/CancellationTokenRegistration.cs b/netcore/System.Private.CoreLib/shared/System/Threading/CancellationTokenRegistration.cs index 8b6f49fa7d5..0fbe176f676 100644 --- a/netcore/System.Private.CoreLib/shared/System/Threading/CancellationTokenRegistration.cs +++ b/netcore/System.Private.CoreLib/shared/System/Threading/CancellationTokenRegistration.cs @@ -7,7 +7,7 @@ using System.Threading.Tasks; namespace System.Threading { /// <summary> - /// Represents a callback delegate that has been registered with a <see cref="T:System.Threading.CancellationToken">CancellationToken</see>. + /// Represents a callback delegate that has been registered with a <see cref="System.Threading.CancellationToken">CancellationToken</see>. /// </summary> /// <remarks> /// To unregister a callback, dispose the corresponding Registration instance. @@ -25,7 +25,7 @@ namespace System.Threading /// <summary> /// Disposes of the registration and unregisters the target callback from the associated - /// <see cref="T:System.Threading.CancellationToken">CancellationToken</see>. + /// <see cref="System.Threading.CancellationToken">CancellationToken</see>. /// If the target callback is currently executing, this method will wait until it completes, except /// in the degenerate cases where a callback method unregisters itself. /// </summary> @@ -40,7 +40,7 @@ namespace System.Threading /// <summary> /// Disposes of the registration and unregisters the target callback from the associated - /// <see cref="T:System.Threading.CancellationToken">CancellationToken</see>. + /// <see cref="System.Threading.CancellationToken">CancellationToken</see>. /// The returned <see cref="ValueTask"/> will complete once the associated callback /// is unregistered without having executed or once it's finished executing, except /// in the degenerate case where the callback itself is unregistering itself. @@ -71,7 +71,7 @@ namespace System.Threading /// <summary> /// Disposes of the registration and unregisters the target callback from the associated - /// <see cref="T:System.Threading.CancellationToken">CancellationToken</see>. + /// <see cref="System.Threading.CancellationToken">CancellationToken</see>. /// </summary> public bool Unregister() { @@ -121,7 +121,7 @@ namespace System.Threading /// <summary> /// Determines whether two <see - /// cref="T:System.Threading.CancellationTokenRegistration">CancellationTokenRegistration</see> + /// cref="System.Threading.CancellationTokenRegistration">CancellationTokenRegistration</see> /// instances are equal. /// </summary> /// <param name="left">The first instance.</param> @@ -130,7 +130,7 @@ namespace System.Threading public static bool operator ==(CancellationTokenRegistration left, CancellationTokenRegistration right) => left.Equals(right); /// <summary> - /// Determines whether two <see cref="T:System.Threading.CancellationTokenRegistration">CancellationTokenRegistration</see> instances are not equal. + /// Determines whether two <see cref="System.Threading.CancellationTokenRegistration">CancellationTokenRegistration</see> instances are not equal. /// </summary> /// <param name="left">The first instance.</param> /// <param name="right">The second instance.</param> @@ -138,33 +138,33 @@ namespace System.Threading public static bool operator !=(CancellationTokenRegistration left, CancellationTokenRegistration right) => !left.Equals(right); /// <summary> - /// Determines whether the current <see cref="T:System.Threading.CancellationTokenRegistration">CancellationTokenRegistration</see> instance is equal to the - /// specified <see cref="T:System.Object"/>. + /// Determines whether the current <see cref="System.Threading.CancellationTokenRegistration">CancellationTokenRegistration</see> instance is equal to the + /// specified <see cref="System.Object"/>. /// </summary> /// <param name="obj">The other object to which to compare this instance.</param> /// <returns>True, if both this and <paramref name="obj"/> are equal. False, otherwise. - /// Two <see cref="T:System.Threading.CancellationTokenRegistration">CancellationTokenRegistration</see> instances are equal if + /// Two <see cref="System.Threading.CancellationTokenRegistration">CancellationTokenRegistration</see> instances are equal if /// they both refer to the output of a single call to the same Register method of a - /// <see cref="T:System.Threading.CancellationToken">CancellationToken</see>. + /// <see cref="System.Threading.CancellationToken">CancellationToken</see>. /// </returns> public override bool Equals(object? obj) => obj is CancellationTokenRegistration && Equals((CancellationTokenRegistration)obj); /// <summary> - /// Determines whether the current <see cref="T:System.Threading.CancellationToken">CancellationToken</see> instance is equal to the - /// specified <see cref="T:System.Object"/>. + /// Determines whether the current <see cref="System.Threading.CancellationToken">CancellationToken</see> instance is equal to the + /// specified <see cref="System.Object"/>. /// </summary> - /// <param name="other">The other <see cref="T:System.Threading.CancellationTokenRegistration">CancellationTokenRegistration</see> to which to compare this instance.</param> + /// <param name="other">The other <see cref="System.Threading.CancellationTokenRegistration">CancellationTokenRegistration</see> to which to compare this instance.</param> /// <returns>True, if both this and <paramref name="other"/> are equal. False, otherwise. - /// Two <see cref="T:System.Threading.CancellationTokenRegistration">CancellationTokenRegistration</see> instances are equal if + /// Two <see cref="System.Threading.CancellationTokenRegistration">CancellationTokenRegistration</see> instances are equal if /// they both refer to the output of a single call to the same Register method of a - /// <see cref="T:System.Threading.CancellationToken">CancellationToken</see>. + /// <see cref="System.Threading.CancellationToken">CancellationToken</see>. /// </returns> public bool Equals(CancellationTokenRegistration other) => _node == other._node && _id == other._id; /// <summary> - /// Serves as a hash function for a <see cref="T:System.Threading.CancellationTokenRegistration">CancellationTokenRegistration.</see>. + /// Serves as a hash function for a <see cref="System.Threading.CancellationTokenRegistration">CancellationTokenRegistration.</see>. /// </summary> - /// <returns>A hash code for the current <see cref="T:System.Threading.CancellationTokenRegistration">CancellationTokenRegistration</see> instance.</returns> + /// <returns>A hash code for the current <see cref="System.Threading.CancellationTokenRegistration">CancellationTokenRegistration</see> instance.</returns> public override int GetHashCode() => _node != null ? _node.GetHashCode() ^ _id.GetHashCode() : _id.GetHashCode(); } } diff --git a/netcore/System.Private.CoreLib/shared/System/Threading/LazyInitializer.cs b/netcore/System.Private.CoreLib/shared/System/Threading/LazyInitializer.cs index f699f9a07ef..b8b05a77473 100644 --- a/netcore/System.Private.CoreLib/shared/System/Threading/LazyInitializer.cs +++ b/netcore/System.Private.CoreLib/shared/System/Threading/LazyInitializer.cs @@ -30,9 +30,9 @@ namespace System.Threading /// <param name="target">A reference of type <typeparamref name="T"/> to initialize if it has not /// already been initialized.</param> /// <returns>The initialized reference of type <typeparamref name="T"/>.</returns> - /// <exception cref="T:System.MissingMemberException">Type <typeparamref name="T"/> does not have a default + /// <exception cref="System.MissingMemberException">Type <typeparamref name="T"/> does not have a default /// constructor.</exception> - /// <exception cref="T:System.MemberAccessException"> + /// <exception cref="System.MemberAccessException"> /// Permissions to access the constructor of type <typeparamref name="T"/> were missing. /// </exception> /// <remarks> @@ -79,12 +79,12 @@ namespace System.Threading /// <typeparam name="T">The reference type of the reference to be initialized.</typeparam> /// <param name="target">The reference of type <typeparamref name="T"/> to initialize if it has not /// already been initialized.</param> - /// <param name="valueFactory">The <see cref="T:System.Func{T}"/> invoked to initialize the + /// <param name="valueFactory">The <see cref="System.Func{T}"/> invoked to initialize the /// reference.</param> /// <returns>The initialized reference of type <typeparamref name="T"/>.</returns> - /// <exception cref="T:System.MissingMemberException">Type <typeparamref name="T"/> does not have a + /// <exception cref="System.MissingMemberException">Type <typeparamref name="T"/> does not have a /// default constructor.</exception> - /// <exception cref="T:System.InvalidOperationException"><paramref name="valueFactory"/> returned + /// <exception cref="System.InvalidOperationException"><paramref name="valueFactory"/> returned /// null.</exception> /// <remarks> /// <para> @@ -191,7 +191,7 @@ namespace System.Threading /// been initialized.</param> /// <param name="syncLock">A reference to an object used as the mutually exclusive lock for initializing /// <paramref name="target"/>. If <paramref name="syncLock"/> is null, a new object will be instantiated.</param> - /// <param name="valueFactory">The <see cref="T:System.Func{T}"/> invoked to initialize the + /// <param name="valueFactory">The <see cref="System.Func{T}"/> invoked to initialize the /// reference or value.</param> /// <returns>The initialized value of type <typeparamref name="T"/>.</returns> public static T EnsureInitialized<T>([AllowNull] ref T target, ref bool initialized, [NotNull] ref object? syncLock, Func<T> valueFactory) @@ -215,7 +215,7 @@ namespace System.Threading /// <param name="syncLock">A reference to a location containing a mutual exclusive lock. If <paramref name="syncLock"/> is null, /// a new object will be instantiated.</param> /// <param name="valueFactory"> - /// The <see cref="T:System.Func{T}"/> to invoke in order to produce the lazily-initialized value. + /// The <see cref="System.Func{T}"/> to invoke in order to produce the lazily-initialized value. /// </param> /// <returns>The initialized object.</returns> private static T EnsureInitializedCore<T>([AllowNull] ref T target, ref bool initialized, [NotNull] ref object? syncLock, Func<T> valueFactory) @@ -240,7 +240,7 @@ namespace System.Threading /// <param name="target">A reference of type <typeparamref name="T"/> to initialize if it has not already been initialized.</param> /// <param name="syncLock">A reference to an object used as the mutually exclusive lock for initializing /// <paramref name="target"/>. If <paramref name="syncLock"/> is null, a new object will be instantiated.</param> - /// <param name="valueFactory">The <see cref="T:System.Func{T}"/> invoked to initialize the reference.</param> + /// <param name="valueFactory">The <see cref="System.Func{T}"/> invoked to initialize the reference.</param> /// <returns>The initialized value of type <typeparamref name="T"/>.</returns> public static T EnsureInitialized<T>([NotNull] ref T? target, [NotNull] ref object? syncLock, Func<T> valueFactory) where T : class => Volatile.Read(ref target) ?? EnsureInitializedCore(ref target, ref syncLock, valueFactory); @@ -254,7 +254,7 @@ namespace System.Threading /// <param name="syncLock">A reference to a location containing a mutual exclusive lock. If <paramref name="syncLock"/> is null, /// a new object will be instantiated.</param> /// <param name="valueFactory"> - /// The <see cref="T:System.Func{T}"/> to invoke in order to produce the lazily-initialized value. + /// The <see cref="System.Func{T}"/> to invoke in order to produce the lazily-initialized value. /// </param> /// <returns>The initialized object.</returns> private static T EnsureInitializedCore<T>([NotNull] ref T? target, [NotNull] ref object? syncLock, Func<T> valueFactory) where T : class diff --git a/netcore/System.Private.CoreLib/shared/System/Threading/LazyThreadSafetyMode.cs b/netcore/System.Private.CoreLib/shared/System/Threading/LazyThreadSafetyMode.cs index 505e6e3de4f..d2cc50f51b0 100644 --- a/netcore/System.Private.CoreLib/shared/System/Threading/LazyThreadSafetyMode.cs +++ b/netcore/System.Private.CoreLib/shared/System/Threading/LazyThreadSafetyMode.cs @@ -11,33 +11,33 @@ namespace System.Threading { /// <summary> - /// Specifies how a <see cref="T:System.Threading.Lazy{T}"/> instance should synchronize access among multiple threads. + /// Specifies how a <see cref="System.Lazy{T}"/> instance should synchronize access among multiple threads. /// </summary> public enum LazyThreadSafetyMode { /// <summary> - /// This mode makes no guarantees around the thread-safety of the <see cref="T:System.Threading.Lazy{T}"/> instance. If used from multiple threads, the behavior of the <see cref="T:System.Threading.Lazy{T}"/> is undefined. - /// This mode should be used when a <see cref="T:System.Threading.Lazy{T}"/> is guaranteed to never be initialized from more than one thread simultaneously and high performance is crucial. - /// If valueFactory throws an exception when the <see cref="T:System.Threading.Lazy{T}"/> is initialized, the exception will be cached and returned on subsequent accesses to Value. Also, if valueFactory recursively - /// accesses Value on this <see cref="T:System.Threading.Lazy{T}"/> instance, a <see cref="T:System.InvalidOperationException"/> will be thrown. + /// This mode makes no guarantees around the thread-safety of the <see cref="System.Lazy{T}"/> instance. If used from multiple threads, the behavior of the <see cref="System.Lazy{T}"/> is undefined. + /// This mode should be used when a <see cref="System.Lazy{T}"/> is guaranteed to never be initialized from more than one thread simultaneously and high performance is crucial. + /// If valueFactory throws an exception when the <see cref="System.Lazy{T}"/> is initialized, the exception will be cached and returned on subsequent accesses to Value. Also, if valueFactory recursively + /// accesses Value on this <see cref="System.Lazy{T}"/> instance, a <see cref="System.InvalidOperationException"/> will be thrown. /// </summary> None, /// <summary> - /// When multiple threads attempt to simultaneously initialize a <see cref="T:System.Threading.Lazy{T}"/> instance, this mode allows each thread to execute the - /// valueFactory but only the first thread to complete initialization will be allowed to set the final value of the <see cref="T:System.Threading.Lazy{T}"/>. + /// When multiple threads attempt to simultaneously initialize a <see cref="System.Lazy{T}"/> instance, this mode allows each thread to execute the + /// valueFactory but only the first thread to complete initialization will be allowed to set the final value of the <see cref="System.Lazy{T}"/>. /// Once initialized successfully, any future calls to Value will return the cached result. If valueFactory throws an exception on any thread, that exception will be /// propagated out of Value. If any thread executes valueFactory without throwing an exception and, therefore, successfully sets the value, that value will be returned on /// subsequent accesses to Value from any thread. If no thread succeeds in setting the value, IsValueCreated will remain false and subsequent accesses to Value will result in - /// the valueFactory delegate re-executing. Also, if valueFactory recursively accesses Value on this <see cref="T:System.Threading.Lazy{T}"/> instance, an exception will NOT be thrown. + /// the valueFactory delegate re-executing. Also, if valueFactory recursively accesses Value on this <see cref="System.Lazy{T}"/> instance, an exception will NOT be thrown. /// </summary> PublicationOnly, /// <summary> - /// This mode uses locks to ensure that only a single thread can initialize a <see cref="T:System.Threading.Lazy{T}"/> instance in a thread-safe manner. In general, - /// taken if this mode is used in conjunction with a <see cref="T:System.Threading.Lazy{T}"/> valueFactory delegate that uses locks internally, a deadlock can occur if not - /// handled carefully. If valueFactory throws an exception when the<see cref="T:System.Threading.Lazy{T}"/> is initialized, the exception will be cached and returned on - /// subsequent accesses to Value. Also, if valueFactory recursively accesses Value on this <see cref="T:System.Threading.Lazy{T}"/> instance, a <see cref="T:System.InvalidOperationException"/> will be thrown. + /// This mode uses locks to ensure that only a single thread can initialize a <see cref="System.Lazy{T}"/> instance in a thread-safe manner. In general, + /// taken if this mode is used in conjunction with a <see cref="System.Lazy{T}"/> valueFactory delegate that uses locks internally, a deadlock can occur if not + /// handled carefully. If valueFactory throws an exception when the<see cref="System.Lazy{T}"/> is initialized, the exception will be cached and returned on + /// subsequent accesses to Value. Also, if valueFactory recursively accesses Value on this <see cref="System.Lazy{T}"/> instance, a <see cref="System.InvalidOperationException"/> will be thrown. /// </summary> ExecutionAndPublication } diff --git a/netcore/System.Private.CoreLib/shared/System/Threading/ManualResetEventSlim.cs b/netcore/System.Private.CoreLib/shared/System/Threading/ManualResetEventSlim.cs index af0e747ec1d..234107fec4b 100644 --- a/netcore/System.Private.CoreLib/shared/System/Threading/ManualResetEventSlim.cs +++ b/netcore/System.Private.CoreLib/shared/System/Threading/ManualResetEventSlim.cs @@ -20,7 +20,7 @@ namespace System.Threading // eagerly, instead of waiting for finalization. /// <summary> - /// Provides a slimmed down version of <see cref="T:System.Threading.ManualResetEvent"/>. + /// Provides a slimmed down version of <see cref="System.Threading.ManualResetEvent"/>. /// </summary> /// <remarks> /// All public and protected members of <see cref="ManualResetEventSlim"/> are thread-safe and may be used @@ -70,10 +70,10 @@ namespace System.Threading #endif /// <summary> - /// Gets the underlying <see cref="T:System.Threading.WaitHandle"/> object for this <see + /// Gets the underlying <see cref="System.Threading.WaitHandle"/> object for this <see /// cref="ManualResetEventSlim"/>. /// </summary> - /// <value>The underlying <see cref="T:System.Threading.WaitHandle"/> event object fore this <see + /// <value>The underlying <see cref="System.Threading.WaitHandle"/> event object fore this <see /// cref="ManualResetEventSlim"/>.</value> /// <remarks> /// Accessing this property forces initialization of an underlying event object if one hasn't @@ -191,7 +191,7 @@ namespace System.Threading /// to nonsignaled.</param> /// <param name="spinCount">The number of spin waits that will occur before falling back to a true /// wait.</param> - /// <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="spinCount"/> is less than + /// <exception cref="System.ArgumentOutOfRangeException"><paramref name="spinCount"/> is less than /// 0 or greater than the maximum allowed value.</exception> public ManualResetEventSlim(bool initialState, int spinCount) { @@ -301,7 +301,7 @@ namespace System.Threading /// Private helper to actually perform the Set. /// </summary> /// <param name="duringCancellation">Indicates whether we are calling Set() during cancellation.</param> - /// <exception cref="T:System.OperationCanceledException">The object has been canceled.</exception> + /// <exception cref="System.OperationCanceledException">The object has been canceled.</exception> private void Set(bool duringCancellation) { // We need to ensure that IsSet=true does not get reordered past the read of m_eventObj @@ -386,7 +386,7 @@ namespace System.Threading /// <summary> /// Blocks the current thread until the current <see cref="ManualResetEventSlim"/> is set. /// </summary> - /// <exception cref="T:System.InvalidOperationException"> + /// <exception cref="System.InvalidOperationException"> /// The maximum number of waiters has been exceeded. /// </exception> /// <remarks> @@ -400,14 +400,14 @@ namespace System.Threading /// <summary> /// Blocks the current thread until the current <see cref="ManualResetEventSlim"/> receives a signal, - /// while observing a <see cref="T:System.Threading.CancellationToken"/>. + /// while observing a <see cref="System.Threading.CancellationToken"/>. /// </summary> - /// <param name="cancellationToken">The <see cref="T:System.Threading.CancellationToken"/> to + /// <param name="cancellationToken">The <see cref="System.Threading.CancellationToken"/> to /// observe.</param> - /// <exception cref="T:System.InvalidOperationException"> + /// <exception cref="System.InvalidOperationException"> /// The maximum number of waiters has been exceeded. /// </exception> - /// <exception cref="T:System.OperationCanceledExcepton"><paramref name="cancellationToken"/> was + /// <exception cref="System.OperationCanceledException"><paramref name="cancellationToken"/> was /// canceled.</exception> /// <remarks> /// The caller of this method blocks indefinitely until the current instance is set. The caller will @@ -420,17 +420,17 @@ namespace System.Threading /// <summary> /// Blocks the current thread until the current <see cref="ManualResetEventSlim"/> is set, using a - /// <see cref="T:System.TimeSpan"/> to measure the time interval. + /// <see cref="System.TimeSpan"/> to measure the time interval. /// </summary> /// <param name="timeout">A <see cref="System.TimeSpan"/> that represents the number of milliseconds /// to wait, or a <see cref="System.TimeSpan"/> that represents -1 milliseconds to wait indefinitely. /// </param> /// <returns>true if the <see cref="System.Threading.ManualResetEventSlim"/> was set; otherwise, /// false.</returns> - /// <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="timeout"/> is a negative + /// <exception cref="System.ArgumentOutOfRangeException"><paramref name="timeout"/> is a negative /// number other than -1 milliseconds, which represents an infinite time-out -or- timeout is greater /// than <see cref="System.Int32.MaxValue"/>.</exception> - /// <exception cref="T:System.InvalidOperationException"> + /// <exception cref="System.InvalidOperationException"> /// The maximum number of waiters has been exceeded. /// </exception> public bool Wait(TimeSpan timeout) @@ -446,22 +446,22 @@ namespace System.Threading /// <summary> /// Blocks the current thread until the current <see cref="ManualResetEventSlim"/> is set, using a - /// <see cref="T:System.TimeSpan"/> to measure the time interval, while observing a <see - /// cref="T:System.Threading.CancellationToken"/>. + /// <see cref="System.TimeSpan"/> to measure the time interval, while observing a <see + /// cref="System.Threading.CancellationToken"/>. /// </summary> /// <param name="timeout">A <see cref="System.TimeSpan"/> that represents the number of milliseconds /// to wait, or a <see cref="System.TimeSpan"/> that represents -1 milliseconds to wait indefinitely. /// </param> - /// <param name="cancellationToken">The <see cref="T:System.Threading.CancellationToken"/> to + /// <param name="cancellationToken">The <see cref="System.Threading.CancellationToken"/> to /// observe.</param> /// <returns>true if the <see cref="System.Threading.ManualResetEventSlim"/> was set; otherwise, /// false.</returns> - /// <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="timeout"/> is a negative + /// <exception cref="System.ArgumentOutOfRangeException"><paramref name="timeout"/> is a negative /// number other than -1 milliseconds, which represents an infinite time-out -or- timeout is greater - /// than <see cref="System.Int32.MaxValue"/>.</exception> - /// <exception cref="T:System.Threading.OperationCanceledException"><paramref + /// than <see cref="int.MaxValue"/>.</exception> + /// <exception cref="System.OperationCanceledException"><paramref /// name="cancellationToken"/> was canceled.</exception> - /// <exception cref="T:System.InvalidOperationException"> + /// <exception cref="System.InvalidOperationException"> /// The maximum number of waiters has been exceeded. /// </exception> public bool Wait(TimeSpan timeout, CancellationToken cancellationToken) @@ -483,9 +483,9 @@ namespace System.Threading /// cref="Timeout.Infinite"/>(-1) to wait indefinitely.</param> /// <returns>true if the <see cref="System.Threading.ManualResetEventSlim"/> was set; otherwise, /// false.</returns> - /// <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="millisecondsTimeout"/> is a + /// <exception cref="System.ArgumentOutOfRangeException"><paramref name="millisecondsTimeout"/> is a /// negative number other than -1, which represents an infinite time-out.</exception> - /// <exception cref="T:System.InvalidOperationException"> + /// <exception cref="System.InvalidOperationException"> /// The maximum number of waiters has been exceeded. /// </exception> public bool Wait(int millisecondsTimeout) @@ -496,20 +496,20 @@ namespace System.Threading /// <summary> /// Blocks the current thread until the current <see cref="ManualResetEventSlim"/> is set, using a /// 32-bit signed integer to measure the time interval, while observing a <see - /// cref="T:System.Threading.CancellationToken"/>. + /// cref="System.Threading.CancellationToken"/>. /// </summary> /// <param name="millisecondsTimeout">The number of milliseconds to wait, or <see /// cref="Timeout.Infinite"/>(-1) to wait indefinitely.</param> - /// <param name="cancellationToken">The <see cref="T:System.Threading.CancellationToken"/> to + /// <param name="cancellationToken">The <see cref="System.Threading.CancellationToken"/> to /// observe.</param> /// <returns>true if the <see cref="System.Threading.ManualResetEventSlim"/> was set; otherwise, /// false.</returns> - /// <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="millisecondsTimeout"/> is a + /// <exception cref="System.ArgumentOutOfRangeException"><paramref name="millisecondsTimeout"/> is a /// negative number other than -1, which represents an infinite time-out.</exception> - /// <exception cref="T:System.InvalidOperationException"> + /// <exception cref="System.InvalidOperationException"> /// The maximum number of waiters has been exceeded. /// </exception> - /// <exception cref="T:System.Threading.OperationCanceledException"><paramref + /// <exception cref="System.OperationCanceledException"><paramref /// name="cancellationToken"/> was canceled.</exception> public bool Wait(int millisecondsTimeout, CancellationToken cancellationToken) { diff --git a/netcore/System.Private.CoreLib/shared/System/Threading/SemaphoreSlim.cs b/netcore/System.Private.CoreLib/shared/System/Threading/SemaphoreSlim.cs index 0dc787fc5a7..7edea9ab2f1 100644 --- a/netcore/System.Private.CoreLib/shared/System/Threading/SemaphoreSlim.cs +++ b/netcore/System.Private.CoreLib/shared/System/Threading/SemaphoreSlim.cs @@ -92,9 +92,9 @@ namespace System.Threading } /// <summary> - /// Returns a <see cref="T:System.Threading.WaitHandle"/> that can be used to wait on the semaphore. + /// Returns a <see cref="System.Threading.WaitHandle"/> that can be used to wait on the semaphore. /// </summary> - /// <value>A <see cref="T:System.Threading.WaitHandle"/> that can be used to wait on the + /// <value>A <see cref="System.Threading.WaitHandle"/> that can be used to wait on the /// semaphore.</value> /// <remarks> /// A successful wait on the <see cref="AvailableWaitHandle"/> does not imply a successful wait on @@ -102,7 +102,7 @@ namespace System.Threading /// count. <see cref="AvailableWaitHandle"/> exists to allow a thread to block waiting on multiple /// semaphores, but such a wait should be followed by a true wait on the target semaphore. /// </remarks> - /// <exception cref="T:System.ObjectDisposedException">The <see + /// <exception cref="System.ObjectDisposedException">The <see /// cref="SemaphoreSlim"/> has been disposed.</exception> public WaitHandle AvailableWaitHandle { @@ -137,7 +137,7 @@ namespace System.Threading /// </summary> /// <param name="initialCount">The initial number of requests for the semaphore that can be granted /// concurrently.</param> - /// <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="initialCount"/> + /// <exception cref="System.ArgumentOutOfRangeException"><paramref name="initialCount"/> /// is less than 0.</exception> public SemaphoreSlim(int initialCount) : this(initialCount, NO_MAXIMUM) @@ -152,7 +152,7 @@ namespace System.Threading /// concurrently.</param> /// <param name="maxCount">The maximum number of requests for the semaphore that can be granted /// concurrently.</param> - /// <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="initialCount"/> + /// <exception cref="System.ArgumentOutOfRangeException"> <paramref name="initialCount"/> /// is less than 0. -or- /// <paramref name="initialCount"/> is greater than <paramref name="maxCount"/>. -or- /// <paramref name="maxCount"/> is less than 0.</exception> @@ -181,7 +181,7 @@ namespace System.Threading /// <summary> /// Blocks the current thread until it can enter the <see cref="SemaphoreSlim"/>. /// </summary> - /// <exception cref="T:System.ObjectDisposedException">The current instance has already been + /// <exception cref="System.ObjectDisposedException">The current instance has already been /// disposed.</exception> public void Wait() { @@ -191,13 +191,13 @@ namespace System.Threading /// <summary> /// Blocks the current thread until it can enter the <see cref="SemaphoreSlim"/>, while observing a - /// <see cref="T:System.Threading.CancellationToken"/>. + /// <see cref="System.Threading.CancellationToken"/>. /// </summary> - /// <param name="cancellationToken">The <see cref="T:System.Threading.CancellationToken"/> token to + /// <param name="cancellationToken">The <see cref="System.Threading.CancellationToken"/> token to /// observe.</param> - /// <exception cref="T:System.OperationCanceledException"><paramref name="cancellationToken"/> was + /// <exception cref="System.OperationCanceledException"><paramref name="cancellationToken"/> was /// canceled.</exception> - /// <exception cref="T:System.ObjectDisposedException">The current instance has already been + /// <exception cref="System.ObjectDisposedException">The current instance has already been /// disposed.</exception> public void Wait(CancellationToken cancellationToken) { @@ -207,14 +207,14 @@ namespace System.Threading /// <summary> /// Blocks the current thread until it can enter the <see cref="SemaphoreSlim"/>, using a <see - /// cref="T:System.TimeSpan"/> to measure the time interval. + /// cref="System.TimeSpan"/> to measure the time interval. /// </summary> /// <param name="timeout">A <see cref="System.TimeSpan"/> that represents the number of milliseconds /// to wait, or a <see cref="System.TimeSpan"/> that represents -1 milliseconds to wait indefinitely. /// </param> /// <returns>true if the current thread successfully entered the <see cref="SemaphoreSlim"/>; /// otherwise, false.</returns> - /// <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="timeout"/> is a negative + /// <exception cref="System.ArgumentOutOfRangeException"><paramref name="timeout"/> is a negative /// number other than -1 milliseconds, which represents an infinite time-out -or- timeout is greater /// than <see cref="System.Int32.MaxValue"/>.</exception> public bool Wait(TimeSpan timeout) @@ -233,17 +233,17 @@ namespace System.Threading /// <summary> /// Blocks the current thread until it can enter the <see cref="SemaphoreSlim"/>, using a <see - /// cref="T:System.TimeSpan"/> to measure the time interval, while observing a <see - /// cref="T:System.Threading.CancellationToken"/>. + /// cref="System.TimeSpan"/> to measure the time interval, while observing a <see + /// cref="System.Threading.CancellationToken"/>. /// </summary> /// <param name="timeout">A <see cref="System.TimeSpan"/> that represents the number of milliseconds /// to wait, or a <see cref="System.TimeSpan"/> that represents -1 milliseconds to wait indefinitely. /// </param> - /// <param name="cancellationToken">The <see cref="T:System.Threading.CancellationToken"/> to + /// <param name="cancellationToken">The <see cref="System.Threading.CancellationToken"/> to /// observe.</param> /// <returns>true if the current thread successfully entered the <see cref="SemaphoreSlim"/>; /// otherwise, false.</returns> - /// <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="timeout"/> is a negative + /// <exception cref="System.ArgumentOutOfRangeException"><paramref name="timeout"/> is a negative /// number other than -1 milliseconds, which represents an infinite time-out -or- timeout is greater /// than <see cref="System.Int32.MaxValue"/>.</exception> /// <exception cref="System.OperationCanceledException"><paramref name="cancellationToken"/> was canceled.</exception> @@ -280,11 +280,11 @@ namespace System.Threading /// <summary> /// Blocks the current thread until it can enter the <see cref="SemaphoreSlim"/>, /// using a 32-bit signed integer to measure the time interval, - /// while observing a <see cref="T:System.Threading.CancellationToken"/>. + /// while observing a <see cref="System.Threading.CancellationToken"/>. /// </summary> /// <param name="millisecondsTimeout">The number of milliseconds to wait, or <see cref="Timeout.Infinite"/>(-1) to /// wait indefinitely.</param> - /// <param name="cancellationToken">The <see cref="T:System.Threading.CancellationToken"/> to observe.</param> + /// <param name="cancellationToken">The <see cref="System.Threading.CancellationToken"/> to observe.</param> /// <returns>true if the current thread successfully entered the <see cref="SemaphoreSlim"/>; otherwise, false.</returns> /// <exception cref="ArgumentOutOfRangeException"><paramref name="millisecondsTimeout"/> is a negative number other than -1, /// which represents an infinite time-out.</exception> @@ -497,13 +497,13 @@ namespace System.Threading /// <summary> /// Asynchronously waits to enter the <see cref="SemaphoreSlim"/>, while observing a - /// <see cref="T:System.Threading.CancellationToken"/>. + /// <see cref="System.Threading.CancellationToken"/>. /// </summary> /// <returns>A task that will complete when the semaphore has been entered.</returns> /// <param name="cancellationToken"> - /// The <see cref="T:System.Threading.CancellationToken"/> token to observe. + /// The <see cref="System.Threading.CancellationToken"/> token to observe. /// </param> - /// <exception cref="T:System.ObjectDisposedException"> + /// <exception cref="System.ObjectDisposedException"> /// The current instance has already been disposed. /// </exception> public Task WaitAsync(CancellationToken cancellationToken) @@ -522,7 +522,7 @@ namespace System.Threading /// A task that will complete with a result of true if the current thread successfully entered /// the <see cref="SemaphoreSlim"/>, otherwise with a result of false. /// </returns> - /// <exception cref="T:System.ObjectDisposedException">The current instance has already been + /// <exception cref="System.ObjectDisposedException">The current instance has already been /// disposed.</exception> /// <exception cref="ArgumentOutOfRangeException"><paramref name="millisecondsTimeout"/> is a negative number other than -1, /// which represents an infinite time-out. @@ -534,8 +534,8 @@ namespace System.Threading /// <summary> /// Asynchronously waits to enter the <see cref="SemaphoreSlim"/>, using a <see - /// cref="T:System.TimeSpan"/> to measure the time interval, while observing a - /// <see cref="T:System.Threading.CancellationToken"/>. + /// cref="System.TimeSpan"/> to measure the time interval, while observing a + /// <see cref="System.Threading.CancellationToken"/>. /// </summary> /// <param name="timeout"> /// A <see cref="System.TimeSpan"/> that represents the number of milliseconds @@ -545,10 +545,10 @@ namespace System.Threading /// A task that will complete with a result of true if the current thread successfully entered /// the <see cref="SemaphoreSlim"/>, otherwise with a result of false. /// </returns> - /// <exception cref="T:System.ObjectDisposedException"> + /// <exception cref="System.ObjectDisposedException"> /// The current instance has already been disposed. /// </exception> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <exception cref="System.ArgumentOutOfRangeException"> /// <paramref name="timeout"/> is a negative number other than -1 milliseconds, which represents /// an infinite time-out -or- timeout is greater than <see cref="System.Int32.MaxValue"/>. /// </exception> @@ -559,20 +559,20 @@ namespace System.Threading /// <summary> /// Asynchronously waits to enter the <see cref="SemaphoreSlim"/>, using a <see - /// cref="T:System.TimeSpan"/> to measure the time interval. + /// cref="System.TimeSpan"/> to measure the time interval. /// </summary> /// <param name="timeout"> /// A <see cref="System.TimeSpan"/> that represents the number of milliseconds /// to wait, or a <see cref="System.TimeSpan"/> that represents -1 milliseconds to wait indefinitely. /// </param> /// <param name="cancellationToken"> - /// The <see cref="T:System.Threading.CancellationToken"/> token to observe. + /// The <see cref="System.Threading.CancellationToken"/> token to observe. /// </param> /// <returns> /// A task that will complete with a result of true if the current thread successfully entered /// the <see cref="SemaphoreSlim"/>, otherwise with a result of false. /// </returns> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <exception cref="System.ArgumentOutOfRangeException"> /// <paramref name="timeout"/> is a negative number other than -1 milliseconds, which represents /// an infinite time-out -or- timeout is greater than <see cref="System.Int32.MaxValue"/>. /// </exception> @@ -593,17 +593,17 @@ namespace System.Threading /// <summary> /// Asynchronously waits to enter the <see cref="SemaphoreSlim"/>, /// using a 32-bit signed integer to measure the time interval, - /// while observing a <see cref="T:System.Threading.CancellationToken"/>. + /// while observing a <see cref="System.Threading.CancellationToken"/>. /// </summary> /// <param name="millisecondsTimeout"> /// The number of milliseconds to wait, or <see cref="Timeout.Infinite"/>(-1) to wait indefinitely. /// </param> - /// <param name="cancellationToken">The <see cref="T:System.Threading.CancellationToken"/> to observe.</param> + /// <param name="cancellationToken">The <see cref="System.Threading.CancellationToken"/> to observe.</param> /// <returns> /// A task that will complete with a result of true if the current thread successfully entered /// the <see cref="SemaphoreSlim"/>, otherwise with a result of false. /// </returns> - /// <exception cref="T:System.ObjectDisposedException">The current instance has already been + /// <exception cref="System.ObjectDisposedException">The current instance has already been /// disposed.</exception> /// <exception cref="ArgumentOutOfRangeException"><paramref name="millisecondsTimeout"/> is a negative number other than -1, /// which represents an infinite time-out. @@ -767,7 +767,7 @@ namespace System.Threading /// Exits the <see cref="SemaphoreSlim"/> once. /// </summary> /// <returns>The previous count of the <see cref="SemaphoreSlim"/>.</returns> - /// <exception cref="T:System.ObjectDisposedException">The current instance has already been + /// <exception cref="System.ObjectDisposedException">The current instance has already been /// disposed.</exception> public int Release() { @@ -779,11 +779,11 @@ namespace System.Threading /// </summary> /// <param name="releaseCount">The number of times to exit the semaphore.</param> /// <returns>The previous count of the <see cref="SemaphoreSlim"/>.</returns> - /// <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="releaseCount"/> is less + /// <exception cref="System.ArgumentOutOfRangeException"><paramref name="releaseCount"/> is less /// than 1.</exception> - /// <exception cref="T:System.Threading.SemaphoreFullException">The <see cref="SemaphoreSlim"/> has + /// <exception cref="System.Threading.SemaphoreFullException">The <see cref="SemaphoreSlim"/> has /// already reached its maximum size.</exception> - /// <exception cref="T:System.ObjectDisposedException">The current instance has already been + /// <exception cref="System.ObjectDisposedException">The current instance has already been /// disposed.</exception> public int Release(int releaseCount) { @@ -885,7 +885,7 @@ namespace System.Threading /// <summary> /// When overridden in a derived class, releases the unmanaged resources used by the - /// <see cref="T:System.Threading.ManualResetEventSlim"/>, and optionally releases the managed resources. + /// <see cref="System.Threading.ManualResetEventSlim"/>, and optionally releases the managed resources. /// </summary> /// <param name="disposing">true to release both managed and unmanaged resources; /// false to release only unmanaged resources.</param> diff --git a/netcore/System.Private.CoreLib/shared/System/Threading/SpinLock.cs b/netcore/System.Private.CoreLib/shared/System/Threading/SpinLock.cs index cc674dcac11..843635e7e8e 100644 --- a/netcore/System.Private.CoreLib/shared/System/Threading/SpinLock.cs +++ b/netcore/System.Private.CoreLib/shared/System/Threading/SpinLock.cs @@ -101,7 +101,7 @@ namespace System.Threading } /// <summary> - /// Initializes a new instance of the <see cref="T:System.Threading.SpinLock"/> + /// Initializes a new instance of the <see cref="System.Threading.SpinLock"/> /// structure with the option to track thread IDs to improve debugging. /// </summary> /// <remarks> @@ -120,7 +120,7 @@ namespace System.Threading } /// <summary> - /// Initializes a new instance of the <see cref="T:System.Threading.SpinLock"/> + /// Initializes a new instance of the <see cref="System.Threading.SpinLock"/> /// structure with the option to track thread IDs to improve debugging. /// </summary> /// <remarks> @@ -140,10 +140,10 @@ namespace System.Threading /// </remarks> /// <param name="lockTaken">True if the lock is acquired; otherwise, false. <paramref /// name="lockTaken"/> must be initialized to false prior to calling this method.</param> - /// <exception cref="T:System.Threading.LockRecursionException"> + /// <exception cref="System.Threading.LockRecursionException"> /// Thread ownership tracking is enabled, and the current thread has already acquired this lock. /// </exception> - /// <exception cref="T:System.ArgumentException"> + /// <exception cref="System.ArgumentException"> /// The <paramref name="lockTaken"/> argument must be initialized to false prior to calling Enter. /// </exception> public void Enter(ref bool lockTaken) @@ -168,10 +168,10 @@ namespace System.Threading /// </remarks> /// <param name="lockTaken">True if the lock is acquired; otherwise, false. <paramref /// name="lockTaken"/> must be initialized to false prior to calling this method.</param> - /// <exception cref="T:System.Threading.LockRecursionException"> + /// <exception cref="System.Threading.LockRecursionException"> /// Thread ownership tracking is enabled, and the current thread has already acquired this lock. /// </exception> - /// <exception cref="T:System.ArgumentException"> + /// <exception cref="System.ArgumentException"> /// The <paramref name="lockTaken"/> argument must be initialized to false prior to calling TryEnter. /// </exception> public void TryEnter(ref bool lockTaken) @@ -210,13 +210,13 @@ namespace System.Threading /// </param> /// <param name="lockTaken">True if the lock is acquired; otherwise, false. <paramref /// name="lockTaken"/> must be initialized to false prior to calling this method.</param> - /// <exception cref="T:System.Threading.LockRecursionException"> + /// <exception cref="System.Threading.LockRecursionException"> /// Thread ownership tracking is enabled, and the current thread has already acquired this lock. /// </exception> - /// <exception cref="T:System.ArgumentException"> + /// <exception cref="System.ArgumentException"> /// The <paramref name="lockTaken"/> argument must be initialized to false prior to calling TryEnter. /// </exception> - /// <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="timeout"/> is a negative + /// <exception cref="System.ArgumentOutOfRangeException"><paramref name="timeout"/> is a negative /// number other than -1 milliseconds, which represents an infinite time-out -or- timeout is greater /// than <see cref="System.Int32.MaxValue"/> milliseconds. /// </exception> @@ -248,13 +248,13 @@ namespace System.Threading /// cref="System.Threading.Timeout.Infinite"/> (-1) to wait indefinitely.</param> /// <param name="lockTaken">True if the lock is acquired; otherwise, false. <paramref /// name="lockTaken"/> must be initialized to false prior to calling this method.</param> - /// <exception cref="T:System.Threading.LockRecursionException"> + /// <exception cref="System.Threading.LockRecursionException"> /// Thread ownership tracking is enabled, and the current thread has already acquired this lock. /// </exception> - /// <exception cref="T:System.ArgumentException"> + /// <exception cref="System.ArgumentException"> /// The <paramref name="lockTaken"/> argument must be initialized to false prior to calling TryEnter. /// </exception> - /// <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="millisecondsTimeout"/> is + /// <exception cref="System.ArgumentOutOfRangeException"><paramref name="millisecondsTimeout"/> is /// a negative number other than -1, which represents an infinite time-out.</exception> public void TryEnter(int millisecondsTimeout, ref bool lockTaken) { @@ -564,7 +564,7 @@ namespace System.Threading /// by the current thread. It is invalid to use this property when the lock was initialized to not /// track thread ownership. /// </remarks> - /// <exception cref="T:System.InvalidOperationException"> + /// <exception cref="System.InvalidOperationException"> /// Thread ownership tracking is disabled. /// </exception> public bool IsHeldByCurrentThread diff --git a/netcore/System.Private.CoreLib/shared/System/Threading/SpinWait.cs b/netcore/System.Private.CoreLib/shared/System/Threading/SpinWait.cs index c62d1d545f7..acdad540e74 100644 --- a/netcore/System.Private.CoreLib/shared/System/Threading/SpinWait.cs +++ b/netcore/System.Private.CoreLib/shared/System/Threading/SpinWait.cs @@ -281,7 +281,7 @@ namespace System.Threading /// or a TimeSpan that represents -1 milliseconds to wait indefinitely.</param> /// <returns>True if the condition is satisfied within the timeout; otherwise, false</returns> /// <exception cref="ArgumentNullException">The <paramref name="condition"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="timeout"/> is a negative number + /// <exception cref="System.ArgumentOutOfRangeException"><paramref name="timeout"/> is a negative number /// other than -1 milliseconds, which represents an infinite time-out -or- timeout is greater than /// <see cref="System.Int32.MaxValue"/>.</exception> public static bool SpinUntil(Func<bool> condition, TimeSpan timeout) @@ -306,7 +306,7 @@ namespace System.Threading /// cref="System.Threading.Timeout.Infinite"/> (-1) to wait indefinitely.</param> /// <returns>True if the condition is satisfied within the timeout; otherwise, false</returns> /// <exception cref="ArgumentNullException">The <paramref name="condition"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="millisecondsTimeout"/> is a + /// <exception cref="System.ArgumentOutOfRangeException"><paramref name="millisecondsTimeout"/> is a /// negative number other than -1, which represents an infinite time-out.</exception> public static bool SpinUntil(Func<bool> condition, int millisecondsTimeout) { diff --git a/netcore/System.Private.CoreLib/shared/System/Threading/Tasks/Future.cs b/netcore/System.Private.CoreLib/shared/System/Threading/Tasks/Future.cs index 4a8cc64ebe5..0a981a382ac 100644 --- a/netcore/System.Private.CoreLib/shared/System/Threading/Tasks/Future.cs +++ b/netcore/System.Private.CoreLib/shared/System/Threading/Tasks/Future.cs @@ -120,7 +120,7 @@ namespace System.Threading.Tasks /// The delegate that represents the code to execute in the task. When the function has completed, /// the task's <see cref="Result"/> property will be set to return the result value of the function. /// </param> - /// <exception cref="T:System.ArgumentException"> + /// <exception cref="System.ArgumentException"> /// The <paramref name="function"/> argument is null. /// </exception> public Task(Func<TResult> function) @@ -138,10 +138,10 @@ namespace System.Threading.Tasks /// the task's <see cref="Result"/> property will be set to return the result value of the function. /// </param> /// <param name="cancellationToken">The <see cref="CancellationToken"/> to be assigned to this task.</param> - /// <exception cref="T:System.ArgumentException"> + /// <exception cref="System.ArgumentException"> /// The <paramref name="function"/> argument is null. /// </exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> public Task(Func<TResult> function, CancellationToken cancellationToken) @@ -161,12 +161,12 @@ namespace System.Threading.Tasks /// The <see cref="System.Threading.Tasks.TaskCreationOptions">TaskCreationOptions</see> used to /// customize the task's behavior. /// </param> - /// <exception cref="T:System.ArgumentException"> + /// <exception cref="System.ArgumentException"> /// The <paramref name="function"/> argument is null. /// </exception> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <exception cref="System.ArgumentOutOfRangeException"> /// The <paramref name="creationOptions"/> argument specifies an invalid value for <see - /// cref="T:System.Threading.Tasks.TaskCreationOptions"/>. + /// cref="System.Threading.Tasks.TaskCreationOptions"/>. /// </exception> public Task(Func<TResult> function, TaskCreationOptions creationOptions) : this(function, Task.InternalCurrentIfAttached(creationOptions), default, creationOptions, InternalTaskOptions.None, null) @@ -185,14 +185,14 @@ namespace System.Threading.Tasks /// The <see cref="System.Threading.Tasks.TaskCreationOptions">TaskCreationOptions</see> used to /// customize the task's behavior. /// </param> - /// <exception cref="T:System.ArgumentException"> + /// <exception cref="System.ArgumentException"> /// The <paramref name="function"/> argument is null. /// </exception> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <exception cref="System.ArgumentOutOfRangeException"> /// The <paramref name="creationOptions"/> argument specifies an invalid value for <see - /// cref="T:System.Threading.Tasks.TaskCreationOptions"/>. + /// cref="System.Threading.Tasks.TaskCreationOptions"/>. /// </exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> public Task(Func<TResult> function, CancellationToken cancellationToken, TaskCreationOptions creationOptions) @@ -208,7 +208,7 @@ namespace System.Threading.Tasks /// the task's <see cref="Result"/> property will be set to return the result value of the function. /// </param> /// <param name="state">An object representing data to be used by the action.</param> - /// <exception cref="T:System.ArgumentException"> + /// <exception cref="System.ArgumentException"> /// The <paramref name="function"/> argument is null. /// </exception> public Task(Func<object?, TResult> function, object? state) @@ -226,10 +226,10 @@ namespace System.Threading.Tasks /// </param> /// <param name="state">An object representing data to be used by the function.</param> /// <param name="cancellationToken">The <see cref="CancellationToken"/> to be assigned to the new task.</param> - /// <exception cref="T:System.ArgumentException"> + /// <exception cref="System.ArgumentException"> /// The <paramref name="function"/> argument is null. /// </exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> public Task(Func<object?, TResult> function, object? state, CancellationToken cancellationToken) @@ -250,12 +250,12 @@ namespace System.Threading.Tasks /// The <see cref="System.Threading.Tasks.TaskCreationOptions">TaskCreationOptions</see> used to /// customize the task's behavior. /// </param> - /// <exception cref="T:System.ArgumentException"> + /// <exception cref="System.ArgumentException"> /// The <paramref name="function"/> argument is null. /// </exception> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <exception cref="System.ArgumentOutOfRangeException"> /// The <paramref name="creationOptions"/> argument specifies an invalid value for <see - /// cref="T:System.Threading.Tasks.TaskCreationOptions"/>. + /// cref="System.Threading.Tasks.TaskCreationOptions"/>. /// </exception> public Task(Func<object?, TResult> function, object? state, TaskCreationOptions creationOptions) : this(function, state, Task.InternalCurrentIfAttached(creationOptions), default, @@ -277,14 +277,14 @@ namespace System.Threading.Tasks /// The <see cref="System.Threading.Tasks.TaskCreationOptions">TaskCreationOptions</see> used to /// customize the task's behavior. /// </param> - /// <exception cref="T:System.ArgumentException"> + /// <exception cref="System.ArgumentException"> /// The <paramref name="function"/> argument is null. /// </exception> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <exception cref="System.ArgumentOutOfRangeException"> /// The <paramref name="creationOptions"/> argument specifies an invalid value for <see - /// cref="T:System.Threading.Tasks.TaskCreationOptions"/>. + /// cref="System.Threading.Tasks.TaskCreationOptions"/>. /// </exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> public Task(Func<object?, TResult> function, object? state, CancellationToken cancellationToken, TaskCreationOptions creationOptions) @@ -566,7 +566,7 @@ namespace System.Threading.Tasks /// completed, whether it completes due to running to completion successfully, faulting due to an /// unhandled exception, or exiting out early due to being canceled. /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="continuationAction"/> argument is null. /// </exception> public Task ContinueWith(Action<Task<TResult>> continuationAction) @@ -589,10 +589,10 @@ namespace System.Threading.Tasks /// completed, whether it completes due to running to completion successfully, faulting due to an /// unhandled exception, or exiting out early due to being canceled. /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="continuationAction"/> argument is null. /// </exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> public Task ContinueWith(Action<Task<TResult>> continuationAction, CancellationToken cancellationToken) @@ -617,10 +617,10 @@ namespace System.Threading.Tasks /// completed, whether it completes due to running to completion successfully, faulting due to an /// unhandled exception, or exiting out early due to being canceled. /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="continuationAction"/> argument is null. /// </exception> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="scheduler"/> argument is null. /// </exception> public Task ContinueWith(Action<Task<TResult>> continuationAction, TaskScheduler scheduler) @@ -649,12 +649,12 @@ namespace System.Threading.Tasks /// name="continuationOptions"/> parameter are not met, the continuation task will be canceled /// instead of scheduled. /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="continuationAction"/> argument is null. /// </exception> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <exception cref="System.ArgumentOutOfRangeException"> /// The <paramref name="continuationOptions"/> argument specifies an invalid value for <see - /// cref="T:System.Threading.Tasks.TaskContinuationOptions">TaskContinuationOptions</see>. + /// cref="System.Threading.Tasks.TaskContinuationOptions">TaskContinuationOptions</see>. /// </exception> public Task ContinueWith(Action<Task<TResult>> continuationAction, TaskContinuationOptions continuationOptions) { @@ -686,17 +686,17 @@ namespace System.Threading.Tasks /// completed. If the criteria specified through the <paramref name="continuationOptions"/> parameter /// are not met, the continuation task will be canceled instead of scheduled. /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="continuationAction"/> argument is null. /// </exception> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <exception cref="System.ArgumentOutOfRangeException"> /// The <paramref name="continuationOptions"/> argument specifies an invalid value for <see - /// cref="T:System.Threading.Tasks.TaskContinuationOptions">TaskContinuationOptions</see>. + /// cref="System.Threading.Tasks.TaskContinuationOptions">TaskContinuationOptions</see>. /// </exception> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="scheduler"/> argument is null. /// </exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> public Task ContinueWith(Action<Task<TResult>> continuationAction, CancellationToken cancellationToken, @@ -755,7 +755,7 @@ namespace System.Threading.Tasks /// completed, whether it completes due to running to completion successfully, faulting due to an /// unhandled exception, or exiting out early due to being canceled. /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="continuationAction"/> argument is null. /// </exception> public Task ContinueWith(Action<Task<TResult>, object?> continuationAction, object? state) @@ -779,10 +779,10 @@ namespace System.Threading.Tasks /// completed, whether it completes due to running to completion successfully, faulting due to an /// unhandled exception, or exiting out early due to being canceled. /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="continuationAction"/> argument is null. /// </exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> public Task ContinueWith(Action<Task<TResult>, object?> continuationAction, object? state, CancellationToken cancellationToken) @@ -808,10 +808,10 @@ namespace System.Threading.Tasks /// completed, whether it completes due to running to completion successfully, faulting due to an /// unhandled exception, or exiting out early due to being canceled. /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="continuationAction"/> argument is null. /// </exception> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="scheduler"/> argument is null. /// </exception> public Task ContinueWith(Action<Task<TResult>, object?> continuationAction, object? state, TaskScheduler scheduler) @@ -841,12 +841,12 @@ namespace System.Threading.Tasks /// name="continuationOptions"/> parameter are not met, the continuation task will be canceled /// instead of scheduled. /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="continuationAction"/> argument is null. /// </exception> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <exception cref="System.ArgumentOutOfRangeException"> /// The <paramref name="continuationOptions"/> argument specifies an invalid value for <see - /// cref="T:System.Threading.Tasks.TaskContinuationOptions">TaskContinuationOptions</see>. + /// cref="System.Threading.Tasks.TaskContinuationOptions">TaskContinuationOptions</see>. /// </exception> public Task ContinueWith(Action<Task<TResult>, object?> continuationAction, object? state, TaskContinuationOptions continuationOptions) { @@ -879,17 +879,17 @@ namespace System.Threading.Tasks /// completed. If the criteria specified through the <paramref name="continuationOptions"/> parameter /// are not met, the continuation task will be canceled instead of scheduled. /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="continuationAction"/> argument is null. /// </exception> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <exception cref="System.ArgumentOutOfRangeException"> /// The <paramref name="continuationOptions"/> argument specifies an invalid value for <see - /// cref="T:System.Threading.Tasks.TaskContinuationOptions">TaskContinuationOptions</see>. + /// cref="System.Threading.Tasks.TaskContinuationOptions">TaskContinuationOptions</see>. /// </exception> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="scheduler"/> argument is null. /// </exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> public Task ContinueWith(Action<Task<TResult>, object?> continuationAction, object? state, CancellationToken cancellationToken, @@ -951,7 +951,7 @@ namespace System.Threading.Tasks /// task has completed, whether it completes due to running to completion successfully, faulting due /// to an unhandled exception, or exiting out early due to being canceled. /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="continuationFunction"/> argument is null. /// </exception> public Task<TNewResult> ContinueWith<TNewResult>(Func<Task<TResult>, TNewResult> continuationFunction) @@ -977,10 +977,10 @@ namespace System.Threading.Tasks /// task has completed, whether it completes due to running to completion successfully, faulting due /// to an unhandled exception, or exiting out early due to being canceled. /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="continuationFunction"/> argument is null. /// </exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> public Task<TNewResult> ContinueWith<TNewResult>(Func<Task<TResult>, TNewResult> continuationFunction, CancellationToken cancellationToken) @@ -1007,10 +1007,10 @@ namespace System.Threading.Tasks /// completed, whether it completes due to running to completion successfully, faulting due to an /// unhandled exception, or exiting out early due to being canceled. /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="continuationFunction"/> argument is null. /// </exception> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="scheduler"/> argument is null. /// </exception> public Task<TNewResult> ContinueWith<TNewResult>(Func<Task<TResult>, TNewResult> continuationFunction, TaskScheduler scheduler) @@ -1048,12 +1048,12 @@ namespace System.Threading.Tasks /// from the ContinueWith call. /// </para> /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="continuationFunction"/> argument is null. /// </exception> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <exception cref="System.ArgumentOutOfRangeException"> /// The <paramref name="continuationOptions"/> argument specifies an invalid value for <see - /// cref="T:System.Threading.Tasks.TaskContinuationOptions">TaskContinuationOptions</see>. + /// cref="System.Threading.Tasks.TaskContinuationOptions">TaskContinuationOptions</see>. /// </exception> public Task<TNewResult> ContinueWith<TNewResult>(Func<Task<TResult>, TNewResult> continuationFunction, TaskContinuationOptions continuationOptions) { @@ -1095,17 +1095,17 @@ namespace System.Threading.Tasks /// ContinueWith call. /// </para> /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="continuationFunction"/> argument is null. /// </exception> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <exception cref="System.ArgumentOutOfRangeException"> /// The <paramref name="continuationOptions"/> argument specifies an invalid value for <see - /// cref="T:System.Threading.Tasks.TaskContinuationOptions">TaskContinuationOptions</see>. + /// cref="System.Threading.Tasks.TaskContinuationOptions">TaskContinuationOptions</see>. /// </exception> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="scheduler"/> argument is null. /// </exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> public Task<TNewResult> ContinueWith<TNewResult>(Func<Task<TResult>, TNewResult> continuationFunction, CancellationToken cancellationToken, @@ -1167,7 +1167,7 @@ namespace System.Threading.Tasks /// task has completed, whether it completes due to running to completion successfully, faulting due /// to an unhandled exception, or exiting out early due to being canceled. /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="continuationFunction"/> argument is null. /// </exception> public Task<TNewResult> ContinueWith<TNewResult>(Func<Task<TResult>, object?, TNewResult> continuationFunction, object? state) @@ -1194,10 +1194,10 @@ namespace System.Threading.Tasks /// task has completed, whether it completes due to running to completion successfully, faulting due /// to an unhandled exception, or exiting out early due to being canceled. /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="continuationFunction"/> argument is null. /// </exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> public Task<TNewResult> ContinueWith<TNewResult>(Func<Task<TResult>, object?, TNewResult> continuationFunction, object? state, @@ -1226,10 +1226,10 @@ namespace System.Threading.Tasks /// completed, whether it completes due to running to completion successfully, faulting due to an /// unhandled exception, or exiting out early due to being canceled. /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="continuationFunction"/> argument is null. /// </exception> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="scheduler"/> argument is null. /// </exception> public Task<TNewResult> ContinueWith<TNewResult>(Func<Task<TResult>, object?, TNewResult> continuationFunction, object? state, @@ -1269,12 +1269,12 @@ namespace System.Threading.Tasks /// from the ContinueWith call. /// </para> /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="continuationFunction"/> argument is null. /// </exception> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <exception cref="System.ArgumentOutOfRangeException"> /// The <paramref name="continuationOptions"/> argument specifies an invalid value for <see - /// cref="T:System.Threading.Tasks.TaskContinuationOptions">TaskContinuationOptions</see>. + /// cref="System.Threading.Tasks.TaskContinuationOptions">TaskContinuationOptions</see>. /// </exception> public Task<TNewResult> ContinueWith<TNewResult>(Func<Task<TResult>, object?, TNewResult> continuationFunction, object? state, TaskContinuationOptions continuationOptions) @@ -1318,17 +1318,17 @@ namespace System.Threading.Tasks /// ContinueWith call. /// </para> /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="continuationFunction"/> argument is null. /// </exception> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <exception cref="System.ArgumentOutOfRangeException"> /// The <paramref name="continuationOptions"/> argument specifies an invalid value for <see - /// cref="T:System.Threading.Tasks.TaskContinuationOptions">TaskContinuationOptions</see>. + /// cref="System.Threading.Tasks.TaskContinuationOptions">TaskContinuationOptions</see>. /// </exception> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="scheduler"/> argument is null. /// </exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> public Task<TNewResult> ContinueWith<TNewResult>(Func<Task<TResult>, object?, TNewResult> continuationFunction, object? state, diff --git a/netcore/System.Private.CoreLib/shared/System/Threading/Tasks/FutureFactory.cs b/netcore/System.Private.CoreLib/shared/System/Threading/Tasks/FutureFactory.cs index b89c549eea2..c9819ed4247 100644 --- a/netcore/System.Private.CoreLib/shared/System/Threading/Tasks/FutureFactory.cs +++ b/netcore/System.Private.CoreLib/shared/System/Threading/Tasks/FutureFactory.cs @@ -9,10 +9,10 @@ namespace System.Threading.Tasks { /// <summary> /// Provides support for creating and scheduling - /// <see cref="T:System.Threading.Tasks.Task{TResult}">Task{TResult}</see> objects. + /// <see cref="System.Threading.Tasks.Task{TResult}">Task{TResult}</see> objects. /// </summary> /// <typeparam name="TResult">The type of the results that are available though - /// the <see cref="T:System.Threading.Tasks.Task{TResult}">Task{TResult}</see> objects that are associated with + /// the <see cref="System.Threading.Tasks.Task{TResult}">Task{TResult}</see> objects that are associated with /// the methods in this class.</typeparam> /// <remarks> /// <para> @@ -126,7 +126,7 @@ namespace System.Threading.Tasks /// The default <see cref="System.Threading.Tasks.TaskContinuationOptions"> /// TaskContinuationOptions</see> to use when creating continuation tasks with this TaskFactory{TResult}. /// </param> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <exception cref="System.ArgumentOutOfRangeException"> /// The exception that is thrown when the /// <paramref name="creationOptions"/> argument or the <paramref name="continuationOptions"/> /// argument specifies an invalid value. @@ -165,7 +165,7 @@ namespace System.Threading.Tasks /// TaskScheduler</see> to use to schedule any Tasks created with this TaskFactory{TResult}. A null value /// indicates that TaskScheduler.Current should be used. /// </param> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <exception cref="System.ArgumentOutOfRangeException"> /// The exception that is thrown when the /// <paramref name="creationOptions"/> argument or the <paramref name="continuationOptions"/> /// argumentspecifies an invalid value. @@ -241,12 +241,12 @@ namespace System.Threading.Tasks /* StartNew */ /// <summary> - /// Creates and starts a <see cref="T:System.Threading.Tasks.Task{TResult}"/>. + /// Creates and starts a <see cref="System.Threading.Tasks.Task{TResult}"/>. /// </summary> /// <param name="function">A function delegate that returns the future result to be available through - /// the <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</param> - /// <returns>The started <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the <paramref + /// the <see cref="System.Threading.Tasks.Task{TResult}"/>.</param> + /// <returns>The started <see cref="System.Threading.Tasks.Task{TResult}"/>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref /// name="function"/> /// argument is null.</exception> /// <remarks> @@ -264,16 +264,16 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates and starts a <see cref="T:System.Threading.Tasks.Task{TResult}"/>. + /// Creates and starts a <see cref="System.Threading.Tasks.Task{TResult}"/>. /// </summary> /// <param name="function">A function delegate that returns the future result to be available through - /// the <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</param> + /// the <see cref="System.Threading.Tasks.Task{TResult}"/>.</param> /// <param name="cancellationToken">The <see cref="CancellationToken"/> that will be assigned to the new task.</param> - /// <returns>The started <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the <paramref + /// <returns>The started <see cref="System.Threading.Tasks.Task{TResult}"/>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref /// name="function"/> /// argument is null.</exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> /// <remarks> @@ -291,18 +291,18 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates and starts a <see cref="T:System.Threading.Tasks.Task{TResult}"/>. + /// Creates and starts a <see cref="System.Threading.Tasks.Task{TResult}"/>. /// </summary> /// <param name="function">A function delegate that returns the future result to be available through - /// the <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</param> + /// the <see cref="System.Threading.Tasks.Task{TResult}"/>.</param> /// <param name="creationOptions">A TaskCreationOptions value that controls the behavior of the /// created - /// <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</param> - /// <returns>The started <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the <paramref + /// <see cref="System.Threading.Tasks.Task{TResult}"/>.</param> + /// <returns>The started <see cref="System.Threading.Tasks.Task{TResult}"/>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref /// name="function"/> /// argument is null.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="creationOptions"/> argument specifies an invalid TaskCreationOptions /// value.</exception> /// <remarks> @@ -320,29 +320,29 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates and starts a <see cref="T:System.Threading.Tasks.Task{TResult}"/>. + /// Creates and starts a <see cref="System.Threading.Tasks.Task{TResult}"/>. /// </summary> /// <param name="function">A function delegate that returns the future result to be available through - /// the <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</param> + /// the <see cref="System.Threading.Tasks.Task{TResult}"/>.</param> /// <param name="creationOptions">A TaskCreationOptions value that controls the behavior of the /// created - /// <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</param> + /// <see cref="System.Threading.Tasks.Task{TResult}"/>.</param> /// <param name="cancellationToken">The <see cref="CancellationToken"/> that will be assigned to the new task.</param> /// <param name="scheduler">The <see - /// cref="T:System.Threading.Tasks.TaskScheduler">TaskScheduler</see> - /// that is used to schedule the created <see cref="T:System.Threading.Tasks.Task{TResult}"> + /// cref="System.Threading.Tasks.TaskScheduler">TaskScheduler</see> + /// that is used to schedule the created <see cref="System.Threading.Tasks.Task{TResult}"> /// Task{TResult}</see>.</param> - /// <returns>The started <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the <paramref + /// <returns>The started <see cref="System.Threading.Tasks.Task{TResult}"/>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref /// name="function"/> /// argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the <paramref + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref /// name="scheduler"/> /// argument is null.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="creationOptions"/> argument specifies an invalid TaskCreationOptions /// value.</exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> /// <remarks> @@ -360,14 +360,14 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates and starts a <see cref="T:System.Threading.Tasks.Task{TResult}"/>. + /// Creates and starts a <see cref="System.Threading.Tasks.Task{TResult}"/>. /// </summary> /// <param name="function">A function delegate that returns the future result to be available through - /// the <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</param> + /// the <see cref="System.Threading.Tasks.Task{TResult}"/>.</param> /// <param name="state">An object containing data to be used by the <paramref name="function"/> /// delegate.</param> - /// <returns>The started <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the <paramref + /// <returns>The started <see cref="System.Threading.Tasks.Task{TResult}"/>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref /// name="function"/> /// argument is null.</exception> /// <remarks> @@ -385,18 +385,18 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates and starts a <see cref="T:System.Threading.Tasks.Task{TResult}"/>. + /// Creates and starts a <see cref="System.Threading.Tasks.Task{TResult}"/>. /// </summary> /// <param name="function">A function delegate that returns the future result to be available through - /// the <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</param> + /// the <see cref="System.Threading.Tasks.Task{TResult}"/>.</param> /// <param name="state">An object containing data to be used by the <paramref name="function"/> /// delegate.</param> /// <param name="cancellationToken">The <see cref="CancellationToken"/> that will be assigned to the new task.</param> - /// <returns>The started <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the <paramref + /// <returns>The started <see cref="System.Threading.Tasks.Task{TResult}"/>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref /// name="function"/> /// argument is null.</exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> /// <remarks> @@ -414,20 +414,20 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates and starts a <see cref="T:System.Threading.Tasks.Task{TResult}"/>. + /// Creates and starts a <see cref="System.Threading.Tasks.Task{TResult}"/>. /// </summary> /// <param name="function">A function delegate that returns the future result to be available through - /// the <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</param> + /// the <see cref="System.Threading.Tasks.Task{TResult}"/>.</param> /// <param name="state">An object containing data to be used by the <paramref name="function"/> /// delegate.</param> /// <param name="creationOptions">A TaskCreationOptions value that controls the behavior of the /// created - /// <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</param> - /// <returns>The started <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the <paramref + /// <see cref="System.Threading.Tasks.Task{TResult}"/>.</param> + /// <returns>The started <see cref="System.Threading.Tasks.Task{TResult}"/>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref /// name="function"/> /// argument is null.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="creationOptions"/> argument specifies an invalid TaskCreationOptions /// value.</exception> /// <remarks> @@ -445,31 +445,31 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates and starts a <see cref="T:System.Threading.Tasks.Task{TResult}"/>. + /// Creates and starts a <see cref="System.Threading.Tasks.Task{TResult}"/>. /// </summary> /// <param name="function">A function delegate that returns the future result to be available through - /// the <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</param> + /// the <see cref="System.Threading.Tasks.Task{TResult}"/>.</param> /// <param name="state">An object containing data to be used by the <paramref name="function"/> /// delegate.</param> /// <param name="cancellationToken">The <see cref="CancellationToken"/> that will be assigned to the new task.</param> /// <param name="creationOptions">A TaskCreationOptions value that controls the behavior of the /// created - /// <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</param> + /// <see cref="System.Threading.Tasks.Task{TResult}"/>.</param> /// <param name="scheduler">The <see - /// cref="T:System.Threading.Tasks.TaskScheduler">TaskScheduler</see> - /// that is used to schedule the created <see cref="T:System.Threading.Tasks.Task{TResult}"> + /// cref="System.Threading.Tasks.TaskScheduler">TaskScheduler</see> + /// that is used to schedule the created <see cref="System.Threading.Tasks.Task{TResult}"> /// Task{TResult}</see>.</param> - /// <returns>The started <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the <paramref + /// <returns>The started <see cref="System.Threading.Tasks.Task{TResult}"/>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref /// name="function"/> /// argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the <paramref + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref /// name="scheduler"/> /// argument is null.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="creationOptions"/> argument specifies an invalid TaskCreationOptions /// value.</exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> /// <remarks> @@ -547,18 +547,18 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> that executes an end - /// method function when a specified <see cref="T:System.IAsyncResult">IAsyncResult</see> completes. + /// Creates a <see cref="System.Threading.Tasks.Task{TResult}">Task</see> that executes an end + /// method function when a specified <see cref="System.IAsyncResult">IAsyncResult</see> completes. /// </summary> /// <param name="asyncResult">The IAsyncResult whose completion should trigger the processing of the /// <paramref name="endMethod"/>.</param> /// <param name="endMethod">The function delegate that processes the completed <paramref /// name="asyncResult"/>.</param> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="asyncResult"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="endMethod"/> argument is null.</exception> - /// <returns>A <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> that represents the + /// <returns>A <see cref="System.Threading.Tasks.Task{TResult}">Task</see> that represents the /// asynchronous operation.</returns> public Task<TResult> FromAsync(IAsyncResult asyncResult, Func<IAsyncResult, TResult> endMethod) { @@ -566,23 +566,23 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> that executes an end - /// method function when a specified <see cref="T:System.IAsyncResult">IAsyncResult</see> completes. + /// Creates a <see cref="System.Threading.Tasks.Task{TResult}">Task</see> that executes an end + /// method function when a specified <see cref="System.IAsyncResult">IAsyncResult</see> completes. /// </summary> /// <param name="asyncResult">The IAsyncResult whose completion should trigger the processing of the /// <paramref name="endMethod"/>.</param> /// <param name="endMethod">The function delegate that processes the completed <paramref /// name="asyncResult"/>.</param> /// <param name="creationOptions">The TaskCreationOptions value that controls the behavior of the - /// created <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>.</param> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// created <see cref="System.Threading.Tasks.Task{TResult}">Task</see>.</param> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="asyncResult"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="endMethod"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="creationOptions"/> argument specifies an invalid TaskCreationOptions /// value.</exception> - /// <returns>A <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> that represents the + /// <returns>A <see cref="System.Threading.Tasks.Task{TResult}">Task</see> that represents the /// asynchronous operation.</returns> public Task<TResult> FromAsync( IAsyncResult asyncResult, @@ -595,8 +595,8 @@ namespace System.Threading.Tasks /// <summary> - /// Creates a <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> that executes an end - /// method function when a specified <see cref="T:System.IAsyncResult">IAsyncResult</see> completes. + /// Creates a <see cref="System.Threading.Tasks.Task{TResult}">Task</see> that executes an end + /// method function when a specified <see cref="System.IAsyncResult">IAsyncResult</see> completes. /// </summary> /// <param name="asyncResult">The IAsyncResult whose completion should trigger the processing of the /// <paramref name="endMethod"/>.</param> @@ -605,17 +605,17 @@ namespace System.Threading.Tasks /// <param name="scheduler">The <see cref="System.Threading.Tasks.TaskScheduler">TaskScheduler</see> /// that is used to schedule the task that executes the end method.</param> /// <param name="creationOptions">The TaskCreationOptions value that controls the behavior of the - /// created <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>.</param> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// created <see cref="System.Threading.Tasks.Task{TResult}">Task</see>.</param> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="asyncResult"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="endMethod"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="scheduler"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="creationOptions"/> argument specifies an invalid TaskCreationOptions /// value.</exception> - /// <returns>A <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> that represents the + /// <returns>A <see cref="System.Threading.Tasks.Task{TResult}">Task</see> that represents the /// asynchronous operation.</returns> public Task<TResult> FromAsync( IAsyncResult asyncResult, @@ -695,18 +695,18 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> that represents a pair of + /// Creates a <see cref="System.Threading.Tasks.Task{TResult}">Task</see> that represents a pair of /// begin and end methods that conform to the Asynchronous Programming Model pattern. /// </summary> /// <param name="beginMethod">The delegate that begins the asynchronous operation.</param> /// <param name="endMethod">The delegate that ends the asynchronous operation.</param> /// <param name="state">An object containing data to be used by the <paramref name="beginMethod"/> /// delegate.</param> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="beginMethod"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="endMethod"/> argument is null.</exception> - /// <returns>The created <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> that + /// <returns>The created <see cref="System.Threading.Tasks.Task{TResult}">Task</see> that /// represents the asynchronous operation.</returns> /// <remarks> /// This method throws any exceptions thrown by the <paramref name="beginMethod"/>. @@ -719,23 +719,23 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> that represents a pair of + /// Creates a <see cref="System.Threading.Tasks.Task{TResult}">Task</see> that represents a pair of /// begin and end methods that conform to the Asynchronous Programming Model pattern. /// </summary> /// <param name="beginMethod">The delegate that begins the asynchronous operation.</param> /// <param name="endMethod">The delegate that ends the asynchronous operation.</param> /// <param name="creationOptions">The TaskCreationOptions value that controls the behavior of the - /// created <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>.</param> + /// created <see cref="System.Threading.Tasks.Task{TResult}">Task</see>.</param> /// <param name="state">An object containing data to be used by the <paramref name="beginMethod"/> /// delegate.</param> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="beginMethod"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="endMethod"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="creationOptions"/> argument specifies an invalid TaskCreationOptions /// value.</exception> - /// <returns>The created <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> that + /// <returns>The created <see cref="System.Threading.Tasks.Task{TResult}">Task</see> that /// represents the asynchronous operation.</returns> /// <remarks> /// This method throws any exceptions thrown by the <paramref name="beginMethod"/>. @@ -802,7 +802,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> that represents a pair of + /// Creates a <see cref="System.Threading.Tasks.Task{TResult}">Task</see> that represents a pair of /// begin and end methods that conform to the Asynchronous Programming Model pattern. /// </summary> /// <typeparam name="TArg1">The type of the first argument passed to the <paramref @@ -813,11 +813,11 @@ namespace System.Threading.Tasks /// delegate.</param> /// <param name="state">An object containing data to be used by the <paramref name="beginMethod"/> /// delegate.</param> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="beginMethod"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="endMethod"/> argument is null.</exception> - /// <returns>The created <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> that + /// <returns>The created <see cref="System.Threading.Tasks.Task{TResult}">Task</see> that /// represents the asynchronous operation.</returns> /// <remarks> /// This method throws any exceptions thrown by the <paramref name="beginMethod"/>. @@ -831,7 +831,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> that represents a pair of + /// Creates a <see cref="System.Threading.Tasks.Task{TResult}">Task</see> that represents a pair of /// begin and end methods that conform to the Asynchronous Programming Model pattern. /// </summary> /// <typeparam name="TArg1">The type of the first argument passed to the <paramref @@ -841,17 +841,17 @@ namespace System.Threading.Tasks /// <param name="arg1">The first argument passed to the <paramref name="beginMethod"/> /// delegate.</param> /// <param name="creationOptions">The TaskCreationOptions value that controls the behavior of the - /// created <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>.</param> + /// created <see cref="System.Threading.Tasks.Task{TResult}">Task</see>.</param> /// <param name="state">An object containing data to be used by the <paramref name="beginMethod"/> /// delegate.</param> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="beginMethod"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="endMethod"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="creationOptions"/> argument specifies an invalid TaskCreationOptions /// value.</exception> - /// <returns>The created <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> that + /// <returns>The created <see cref="System.Threading.Tasks.Task{TResult}">Task</see> that /// represents the asynchronous operation.</returns> /// <remarks> /// This method throws any exceptions thrown by the <paramref name="beginMethod"/>. @@ -919,7 +919,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> that represents a pair of + /// Creates a <see cref="System.Threading.Tasks.Task{TResult}">Task</see> that represents a pair of /// begin and end methods that conform to the Asynchronous Programming Model pattern. /// </summary> /// <typeparam name="TArg1">The type of the first argument passed to the <paramref @@ -934,11 +934,11 @@ namespace System.Threading.Tasks /// delegate.</param> /// <param name="state">An object containing data to be used by the <paramref name="beginMethod"/> /// delegate.</param> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="beginMethod"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="endMethod"/> argument is null.</exception> - /// <returns>The created <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> that + /// <returns>The created <see cref="System.Threading.Tasks.Task{TResult}">Task</see> that /// represents the asynchronous operation.</returns> /// <remarks> /// This method throws any exceptions thrown by the <paramref name="beginMethod"/>. @@ -952,7 +952,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> that represents a pair of + /// Creates a <see cref="System.Threading.Tasks.Task{TResult}">Task</see> that represents a pair of /// begin and end methods that conform to the Asynchronous Programming Model pattern. /// </summary> /// <typeparam name="TArg1">The type of the first argument passed to the <paramref @@ -966,17 +966,17 @@ namespace System.Threading.Tasks /// <param name="arg2">The second argument passed to the <paramref name="beginMethod"/> /// delegate.</param> /// <param name="creationOptions">The TaskCreationOptions value that controls the behavior of the - /// created <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>.</param> + /// created <see cref="System.Threading.Tasks.Task{TResult}">Task</see>.</param> /// <param name="state">An object containing data to be used by the <paramref name="beginMethod"/> /// delegate.</param> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="beginMethod"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="endMethod"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="creationOptions"/> argument specifies an invalid TaskCreationOptions /// value.</exception> - /// <returns>The created <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> that + /// <returns>The created <see cref="System.Threading.Tasks.Task{TResult}">Task</see> that /// represents the asynchronous operation.</returns> /// <remarks> /// This method throws any exceptions thrown by the <paramref name="beginMethod"/>. @@ -1044,7 +1044,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> that represents a pair of + /// Creates a <see cref="System.Threading.Tasks.Task{TResult}">Task</see> that represents a pair of /// begin and end methods that conform to the Asynchronous Programming Model pattern. /// </summary> /// <typeparam name="TArg1">The type of the first argument passed to the <paramref @@ -1063,11 +1063,11 @@ namespace System.Threading.Tasks /// delegate.</param> /// <param name="state">An object containing data to be used by the <paramref name="beginMethod"/> /// delegate.</param> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="beginMethod"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="endMethod"/> argument is null.</exception> - /// <returns>The created <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> that + /// <returns>The created <see cref="System.Threading.Tasks.Task{TResult}">Task</see> that /// represents the asynchronous operation.</returns> /// <remarks> /// This method throws any exceptions thrown by the <paramref name="beginMethod"/>. @@ -1081,7 +1081,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> that represents a pair of + /// Creates a <see cref="System.Threading.Tasks.Task{TResult}">Task</see> that represents a pair of /// begin and end methods that conform to the Asynchronous Programming Model pattern. /// </summary> /// <typeparam name="TArg1">The type of the first argument passed to the <paramref @@ -1099,17 +1099,17 @@ namespace System.Threading.Tasks /// <param name="arg3">The third argument passed to the <paramref name="beginMethod"/> /// delegate.</param> /// <param name="creationOptions">The TaskCreationOptions value that controls the behavior of the - /// created <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>.</param> + /// created <see cref="System.Threading.Tasks.Task{TResult}">Task</see>.</param> /// <param name="state">An object containing data to be used by the <paramref name="beginMethod"/> /// delegate.</param> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="beginMethod"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="endMethod"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="creationOptions"/> argument specifies an invalid TaskCreationOptions /// value.</exception> - /// <returns>The created <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> that + /// <returns>The created <see cref="System.Threading.Tasks.Task{TResult}">Task</see> that /// represents the asynchronous operation.</returns> /// <remarks> /// This method throws any exceptions thrown by the <paramref name="beginMethod"/>. @@ -1332,20 +1332,20 @@ namespace System.Threading.Tasks // /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see> /// that will be started upon the completion of a set of provided Tasks. /// </summary> /// <param name="tasks">The array of tasks from which to continue.</param> /// <param name="continuationFunction">The function delegate to execute when all tasks in /// the <paramref name="tasks"/> array have completed.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationFunction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> public Task<TResult> ContinueWhenAll(Task[] tasks, Func<Task[], TResult> continuationFunction) { @@ -1355,7 +1355,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see> /// that will be started upon the completion of a set of provided Tasks. /// </summary> /// <param name="tasks">The array of tasks from which to continue.</param> @@ -1363,16 +1363,16 @@ namespace System.Threading.Tasks /// the <paramref name="tasks"/> array have completed.</param> /// <param name="cancellationToken">The <see cref="System.Threading.CancellationToken">CancellationToken</see> /// that will be assigned to the new continuation task.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationFunction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> public Task<TResult> ContinueWhenAll(Task[] tasks, Func<Task[], TResult> continuationFunction, CancellationToken cancellationToken) @@ -1383,7 +1383,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see> /// that will be started upon the completion of a set of provided Tasks. /// </summary> /// <param name="tasks">The array of tasks from which to continue.</param> @@ -1391,17 +1391,17 @@ namespace System.Threading.Tasks /// name="tasks"/> array have completed.</param> /// <param name="continuationOptions">The <see cref="System.Threading.Tasks.TaskContinuationOptions"> /// TaskContinuationOptions</see> value that controls the behavior of - /// the created continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// the created continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see>.</param> + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationFunction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="continuationOptions"/> argument specifies an invalid TaskContinuationOptions /// value.</exception> /// <remarks> @@ -1417,7 +1417,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see> /// that will be started upon the completion of a set of provided Tasks. /// </summary> /// <param name="tasks">The array of tasks from which to continue.</param> @@ -1427,25 +1427,25 @@ namespace System.Threading.Tasks /// that will be assigned to the new continuation task.</param> /// <param name="continuationOptions">The <see cref="System.Threading.Tasks.TaskContinuationOptions"> /// TaskContinuationOptions</see> value that controls the behavior of - /// the created continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>.</param> + /// the created continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see>.</param> /// <param name="scheduler">The <see cref="System.Threading.Tasks.TaskScheduler">TaskScheduler</see> /// that is used to schedule the created continuation <see - /// cref="T:System.Threading.Tasks.Task">Task</see>.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// cref="System.Threading.Tasks.Task">Task</see>.</param> + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationFunction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="scheduler"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="continuationOptions"/> argument specifies an invalid TaskContinuationOptions /// value.</exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> /// <remarks> @@ -1462,21 +1462,21 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see> /// that will be started upon the completion of a set of provided Tasks. /// </summary> /// <typeparam name="TAntecedentResult">The type of the result of the antecedent <paramref name="tasks"/>.</typeparam> /// <param name="tasks">The array of tasks from which to continue.</param> /// <param name="continuationFunction">The function delegate to execute when all tasks in the /// <paramref name="tasks"/> array have completed.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task{TResult}"/>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationFunction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> public Task<TResult> ContinueWhenAll<TAntecedentResult>(Task<TAntecedentResult>[] tasks, Func<Task<TAntecedentResult>[], TResult> continuationFunction) { @@ -1486,7 +1486,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see> /// that will be started upon the completion of a set of provided Tasks. /// </summary> /// <typeparam name="TAntecedentResult">The type of the result of the antecedent <paramref name="tasks"/>.</typeparam> @@ -1495,16 +1495,16 @@ namespace System.Threading.Tasks /// <paramref name="tasks"/> array have completed.</param> /// <param name="cancellationToken">The <see cref="System.Threading.CancellationToken">CancellationToken</see> /// that will be assigned to the new continuation task.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task{TResult}"/>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationFunction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> public Task<TResult> ContinueWhenAll<TAntecedentResult>(Task<TAntecedentResult>[] tasks, Func<Task<TAntecedentResult>[], TResult> continuationFunction, @@ -1516,7 +1516,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see> /// that will be started upon the completion of a set of provided Tasks. /// </summary> /// <typeparam name="TAntecedentResult">The type of the result of the antecedent <paramref name="tasks"/>.</typeparam> @@ -1525,17 +1525,17 @@ namespace System.Threading.Tasks /// <paramref name="tasks"/> array have completed.</param> /// <param name="continuationOptions">The <see cref="System.Threading.Tasks.TaskContinuationOptions"> /// TaskContinuationOptions</see> value that controls the behavior of - /// the created continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// the created continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see>.</param> + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task{TResult}"/>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationFunction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="continuationOptions"/> argument specifies an invalid TaskContinuationOptions /// value.</exception> /// <remarks> @@ -1552,7 +1552,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see> /// that will be started upon the completion of a set of provided Tasks. /// </summary> /// <typeparam name="TAntecedentResult">The type of the result of the antecedent <paramref name="tasks"/>.</typeparam> @@ -1563,25 +1563,25 @@ namespace System.Threading.Tasks /// that will be assigned to the new continuation task.</param> /// <param name="continuationOptions">The <see cref="System.Threading.Tasks.TaskContinuationOptions"> /// TaskContinuationOptions</see> value that controls the behavior of - /// the created continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>.</param> + /// the created continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see>.</param> /// <param name="scheduler">The <see cref="System.Threading.Tasks.TaskScheduler">TaskScheduler</see> /// that is used to schedule the created continuation <see - /// cref="T:System.Threading.Tasks.Task{TResult}"/>.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// cref="System.Threading.Tasks.Task{TResult}"/>.</param> + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task{TResult}"/>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationFunction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="scheduler"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="continuationOptions"/> argument specifies an invalid TaskContinuationOptions /// value.</exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> /// <remarks> @@ -1708,20 +1708,20 @@ namespace System.Threading.Tasks // /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see> /// that will be started upon the completion of any Task in the provided set. /// </summary> /// <param name="tasks">The array of tasks from which to continue when one task completes.</param> /// <param name="continuationFunction">The function delegate to execute when one task in the <paramref /// name="tasks"/> array completes.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationFunction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> public Task<TResult> ContinueWhenAny(Task[] tasks, Func<Task, TResult> continuationFunction) { @@ -1731,7 +1731,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see> /// that will be started upon the completion of any Task in the provided set. /// </summary> /// <param name="tasks">The array of tasks from which to continue when one task completes.</param> @@ -1739,16 +1739,16 @@ namespace System.Threading.Tasks /// name="tasks"/> array completes.</param> /// <param name="cancellationToken">The <see cref="System.Threading.CancellationToken">CancellationToken</see> /// that will be assigned to the new continuation task.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationFunction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> public Task<TResult> ContinueWhenAny(Task[] tasks, Func<Task, TResult> continuationFunction, CancellationToken cancellationToken) @@ -1759,7 +1759,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see> /// that will be started upon the completion of any Task in the provided set. /// </summary> /// <param name="tasks">The array of tasks from which to continue when one task completes.</param> @@ -1767,17 +1767,17 @@ namespace System.Threading.Tasks /// name="tasks"/> array completes.</param> /// <param name="continuationOptions">The <see cref="System.Threading.Tasks.TaskContinuationOptions"> /// TaskContinuationOptions</see> value that controls the behavior of - /// the created continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// the created continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see>.</param> + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationFunction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="continuationOptions"/> argument specifies an invalid TaskContinuationOptions /// value.</exception> /// <remarks> @@ -1793,7 +1793,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see> /// that will be started upon the completion of any Task in the provided set. /// </summary> /// <param name="tasks">The array of tasks from which to continue when one task completes.</param> @@ -1803,25 +1803,25 @@ namespace System.Threading.Tasks /// that will be assigned to the new continuation task.</param> /// <param name="continuationOptions">The <see cref="System.Threading.Tasks.TaskContinuationOptions"> /// TaskContinuationOptions</see> value that controls the behavior of - /// the created continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>.</param> + /// the created continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see>.</param> /// <param name="scheduler">The <see cref="System.Threading.Tasks.TaskScheduler">TaskScheduler</see> /// that is used to schedule the created continuation <see - /// cref="T:System.Threading.Tasks.Task">Task</see>.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// cref="System.Threading.Tasks.Task">Task</see>.</param> + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationFunction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="scheduler"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="continuationOptions"/> argument specifies an invalid TaskContinuationOptions /// value.</exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> /// <remarks> @@ -1838,21 +1838,21 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see> /// that will be started upon the completion of any Task in the provided set. /// </summary> /// <typeparam name="TAntecedentResult">The type of the result of the antecedent <paramref name="tasks"/>.</typeparam> /// <param name="tasks">The array of tasks from which to continue when one task completes.</param> /// <param name="continuationFunction">The function delegate to execute when one task in the /// <paramref name="tasks"/> array completes.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task{TResult}"/>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationFunction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> public Task<TResult> ContinueWhenAny<TAntecedentResult>(Task<TAntecedentResult>[] tasks, Func<Task<TAntecedentResult>, TResult> continuationFunction) { @@ -1862,7 +1862,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see> /// that will be started upon the completion of any Task in the provided set. /// </summary> /// <typeparam name="TAntecedentResult">The type of the result of the antecedent <paramref name="tasks"/>.</typeparam> @@ -1871,16 +1871,16 @@ namespace System.Threading.Tasks /// <paramref name="tasks"/> array completes.</param> /// <param name="cancellationToken">The <see cref="System.Threading.CancellationToken">CancellationToken</see> /// that will be assigned to the new continuation task.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task{TResult}"/>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationFunction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> public Task<TResult> ContinueWhenAny<TAntecedentResult>(Task<TAntecedentResult>[] tasks, Func<Task<TAntecedentResult>, TResult> continuationFunction, @@ -1892,7 +1892,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see> /// that will be started upon the completion of any Task in the provided set. /// </summary> /// <typeparam name="TAntecedentResult">The type of the result of the antecedent <paramref name="tasks"/>.</typeparam> @@ -1901,17 +1901,17 @@ namespace System.Threading.Tasks /// <paramref name="tasks"/> array completes.</param> /// <param name="continuationOptions">The <see cref="System.Threading.Tasks.TaskContinuationOptions"> /// TaskContinuationOptions</see> value that controls the behavior of - /// the created continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// the created continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see>.</param> + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task{TResult}"/>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationFunction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="continuationOptions"/> argument specifies an invalid TaskContinuationOptions /// value.</exception> /// <remarks> @@ -1928,7 +1928,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see> /// that will be started upon the completion of any Task in the provided set. /// </summary> /// <typeparam name="TAntecedentResult">The type of the result of the antecedent <paramref name="tasks"/>.</typeparam> @@ -1939,25 +1939,25 @@ namespace System.Threading.Tasks /// that will be assigned to the new continuation task.</param> /// <param name="continuationOptions">The <see cref="System.Threading.Tasks.TaskContinuationOptions"> /// TaskContinuationOptions</see> value that controls the behavior of - /// the created continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>.</param> + /// the created continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see>.</param> /// <param name="scheduler">The <see cref="System.Threading.Tasks.TaskScheduler">TaskScheduler</see> /// that is used to schedule the created continuation <see - /// cref="T:System.Threading.Tasks.Task{TResult}"/>.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// cref="System.Threading.Tasks.Task{TResult}"/>.</param> + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task{TResult}"/>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationFunction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="scheduler"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="continuationOptions"/> argument specifies an invalid TaskContinuationOptions /// value.</exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> /// <remarks> diff --git a/netcore/System.Private.CoreLib/shared/System/Threading/Tasks/Task.cs b/netcore/System.Private.CoreLib/shared/System/Threading/Tasks/Task.cs index 3fe4e15b6ba..17e964d85f5 100644 --- a/netcore/System.Private.CoreLib/shared/System/Threading/Tasks/Task.cs +++ b/netcore/System.Private.CoreLib/shared/System/Threading/Tasks/Task.cs @@ -340,7 +340,7 @@ namespace System.Threading.Tasks /// Initializes a new <see cref="Task"/> with the specified action. /// </summary> /// <param name="action">The delegate that represents the code to execute in the Task.</param> - /// <exception cref="T:System.ArgumentNullException">The <paramref name="action"/> argument is null.</exception> + /// <exception cref="System.ArgumentNullException">The <paramref name="action"/> argument is null.</exception> public Task(Action action) : this(action, null, null, default, TaskCreationOptions.None, InternalTaskOptions.None, null) { @@ -352,8 +352,8 @@ namespace System.Threading.Tasks /// <param name="action">The delegate that represents the code to execute in the Task.</param> /// <param name="cancellationToken">The <see cref="System.Threading.CancellationToken">CancellationToken</see> /// that will be assigned to the new Task.</param> - /// <exception cref="T:System.ArgumentNullException">The <paramref name="action"/> argument is null.</exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ArgumentNullException">The <paramref name="action"/> argument is null.</exception> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> public Task(Action action, CancellationToken cancellationToken) @@ -369,12 +369,12 @@ namespace System.Threading.Tasks /// The <see cref="System.Threading.Tasks.TaskCreationOptions">TaskCreationOptions</see> used to /// customize the Task's behavior. /// </param> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="action"/> argument is null. /// </exception> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <exception cref="System.ArgumentOutOfRangeException"> /// The <paramref name="creationOptions"/> argument specifies an invalid value for <see - /// cref="T:System.Threading.Tasks.TaskCreationOptions"/>. + /// cref="System.Threading.Tasks.TaskCreationOptions"/>. /// </exception> public Task(Action action, TaskCreationOptions creationOptions) : this(action, null, Task.InternalCurrentIfAttached(creationOptions), default, creationOptions, InternalTaskOptions.None, null) @@ -390,14 +390,14 @@ namespace System.Threading.Tasks /// The <see cref="System.Threading.Tasks.TaskCreationOptions">TaskCreationOptions</see> used to /// customize the Task's behavior. /// </param> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="action"/> argument is null. /// </exception> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <exception cref="System.ArgumentOutOfRangeException"> /// The <paramref name="creationOptions"/> argument specifies an invalid value for <see - /// cref="T:System.Threading.Tasks.TaskCreationOptions"/>. + /// cref="System.Threading.Tasks.TaskCreationOptions"/>. /// </exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> public Task(Action action, CancellationToken cancellationToken, TaskCreationOptions creationOptions) @@ -411,7 +411,7 @@ namespace System.Threading.Tasks /// </summary> /// <param name="action">The delegate that represents the code to execute in the task.</param> /// <param name="state">An object representing data to be used by the action.</param> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="action"/> argument is null. /// </exception> public Task(Action<object?> action, object? state) @@ -425,10 +425,10 @@ namespace System.Threading.Tasks /// <param name="action">The delegate that represents the code to execute in the task.</param> /// <param name="state">An object representing data to be used by the action.</param> /// <param name="cancellationToken">The <see cref="CancellationToken"/> that will be assigned to the new task.</param> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="action"/> argument is null. /// </exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> public Task(Action<object?> action, object? state, CancellationToken cancellationToken) @@ -445,12 +445,12 @@ namespace System.Threading.Tasks /// The <see cref="System.Threading.Tasks.TaskCreationOptions">TaskCreationOptions</see> used to /// customize the Task's behavior. /// </param> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="action"/> argument is null. /// </exception> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <exception cref="System.ArgumentOutOfRangeException"> /// The <paramref name="creationOptions"/> argument specifies an invalid value for <see - /// cref="T:System.Threading.Tasks.TaskCreationOptions"/>. + /// cref="System.Threading.Tasks.TaskCreationOptions"/>. /// </exception> public Task(Action<object?> action, object? state, TaskCreationOptions creationOptions) : this(action, state, Task.InternalCurrentIfAttached(creationOptions), default, creationOptions, InternalTaskOptions.None, null) @@ -467,14 +467,14 @@ namespace System.Threading.Tasks /// The <see cref="System.Threading.Tasks.TaskCreationOptions">TaskCreationOptions</see> used to /// customize the Task's behavior. /// </param> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="action"/> argument is null. /// </exception> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <exception cref="System.ArgumentOutOfRangeException"> /// The <paramref name="creationOptions"/> argument specifies an invalid value for <see - /// cref="T:System.Threading.Tasks.TaskCreationOptions"/>. + /// cref="System.Threading.Tasks.TaskCreationOptions"/>. /// </exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> public Task(Action<object?> action, object? state, CancellationToken cancellationToken, TaskCreationOptions creationOptions) @@ -1244,7 +1244,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Gets the <see cref="T:System.AggregateException">Exception</see> that caused the <see + /// Gets the <see cref="System.AggregateException">Exception</see> that caused the <see /// cref="Task">Task</see> to end prematurely. If the <see /// cref="Task">Task</see> completed successfully or has not yet thrown any /// exceptions, this will return null. @@ -1274,7 +1274,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Gets the <see cref="T:System.Threading.Tasks.TaskStatus">TaskStatus</see> of this Task. + /// Gets the <see cref="System.Threading.Tasks.TaskStatus">TaskStatus</see> of this Task. /// </summary> public TaskStatus Status { @@ -1409,7 +1409,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Gets the <see cref="T:System.Threading.Tasks.TaskCreationOptions">TaskCreationOptions</see> used + /// Gets the <see cref="System.Threading.Tasks.TaskCreationOptions">TaskCreationOptions</see> used /// to create this task. /// </summary> public TaskCreationOptions CreationOptions @@ -1418,7 +1418,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Gets a <see cref="T:System.Threading.WaitHandle"/> that can be used to wait for the task to + /// Gets a <see cref="System.Threading.WaitHandle"/> that can be used to wait for the task to /// complete. /// </summary> /// <remarks> @@ -1426,7 +1426,7 @@ namespace System.Threading.Tasks /// should be preferred over using <see cref="IAsyncResult.AsyncWaitHandle"/> for similar /// functionality. /// </remarks> - /// <exception cref="T:System.ObjectDisposedException"> + /// <exception cref="System.ObjectDisposedException"> /// The <see cref="Task"/> has been disposed. /// </exception> WaitHandle IAsyncResult.AsyncWaitHandle @@ -1593,7 +1593,7 @@ namespace System.Threading.Tasks /// <see cref="System.Threading.Tasks.TaskStatus.Faulted">Faulted</see>, or /// <see cref="System.Threading.Tasks.TaskStatus.Canceled">Canceled</see>. /// </remarks> - /// <exception cref="T:System.InvalidOperationException"> + /// <exception cref="System.InvalidOperationException"> /// The exception that is thrown if the <see cref="Task"/> is not in /// one of the final states: <see cref="System.Threading.Tasks.TaskStatus.RanToCompletion">RanToCompletion</see>, /// <see cref="System.Threading.Tasks.TaskStatus.Faulted">Faulted</see>, or @@ -2643,7 +2643,7 @@ namespace System.Threading.Tasks /// <summary> /// Waits for the <see cref="Task"/> to complete execution. /// </summary> - /// <exception cref="T:System.AggregateException"> + /// <exception cref="System.AggregateException"> /// The <see cref="Task"/> was canceled -or- an exception was thrown during /// the execution of the <see cref="Task"/>. /// </exception> @@ -2669,11 +2669,11 @@ namespace System.Threading.Tasks /// <returns> /// true if the <see cref="Task"/> completed execution within the allotted time; otherwise, false. /// </returns> - /// <exception cref="T:System.AggregateException"> + /// <exception cref="System.AggregateException"> /// The <see cref="Task"/> was canceled -or- an exception was thrown during the execution of the <see /// cref="Task"/>. /// </exception> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <exception cref="System.ArgumentOutOfRangeException"> /// <paramref name="timeout"/> is a negative number other than -1 milliseconds, which represents an /// infinite time-out -or- timeout is greater than /// <see cref="System.Int32.MaxValue"/>. @@ -2696,10 +2696,10 @@ namespace System.Threading.Tasks /// <param name="cancellationToken"> /// A <see cref="CancellationToken"/> to observe while waiting for the task to complete. /// </param> - /// <exception cref="T:System.OperationCanceledException"> + /// <exception cref="System.OperationCanceledException"> /// The <paramref name="cancellationToken"/> was canceled. /// </exception> - /// <exception cref="T:System.AggregateException"> + /// <exception cref="System.AggregateException"> /// The <see cref="Task"/> was canceled -or- an exception was thrown during the execution of the <see /// cref="Task"/>. /// </exception> @@ -2718,11 +2718,11 @@ namespace System.Threading.Tasks /// <returns>true if the <see cref="Task"/> completed execution within the allotted time; otherwise, /// false. /// </returns> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <exception cref="System.ArgumentOutOfRangeException"> /// <paramref name="millisecondsTimeout"/> is a negative number other than -1, which represents an /// infinite time-out. /// </exception> - /// <exception cref="T:System.AggregateException"> + /// <exception cref="System.AggregateException"> /// The <see cref="Task"/> was canceled -or- an exception was thrown during the execution of the <see /// cref="Task"/>. /// </exception> @@ -2745,15 +2745,15 @@ namespace System.Threading.Tasks /// <returns> /// true if the <see cref="Task"/> completed execution within the allotted time; otherwise, false. /// </returns> - /// <exception cref="T:System.AggregateException"> + /// <exception cref="System.AggregateException"> /// The <see cref="Task"/> was canceled -or- an exception was thrown during the execution of the <see /// cref="Task"/>. /// </exception> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <exception cref="System.ArgumentOutOfRangeException"> /// <paramref name="millisecondsTimeout"/> is a negative number other than -1, which represents an /// infinite time-out. /// </exception> - /// <exception cref="T:System.OperationCanceledException"> + /// <exception cref="System.OperationCanceledException"> /// The <paramref name="cancellationToken"/> was canceled. /// </exception> public bool Wait(int millisecondsTimeout, CancellationToken cancellationToken) @@ -3476,7 +3476,7 @@ namespace System.Threading.Tasks /// completed, whether it completes due to running to completion successfully, faulting due to an /// unhandled exception, or exiting out early due to being canceled. /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="continuationAction"/> argument is null. /// </exception> public Task ContinueWith(Action<Task> continuationAction) @@ -3498,10 +3498,10 @@ namespace System.Threading.Tasks /// completed, whether it completes due to running to completion successfully, faulting due to an /// unhandled exception, or exiting out early due to being canceled. /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="continuationAction"/> argument is null. /// </exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> public Task ContinueWith(Action<Task> continuationAction, CancellationToken cancellationToken) @@ -3525,10 +3525,10 @@ namespace System.Threading.Tasks /// completed, whether it completes due to running to completion successfully, faulting due to an /// unhandled exception, or exiting out early due to being canceled. /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="continuationAction"/> argument is null. /// </exception> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="scheduler"/> argument is null. /// </exception> public Task ContinueWith(Action<Task> continuationAction, TaskScheduler scheduler) @@ -3557,12 +3557,12 @@ namespace System.Threading.Tasks /// name="continuationOptions"/> parameter are not met, the continuation task will be canceled /// instead of scheduled. /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="continuationAction"/> argument is null. /// </exception> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <exception cref="System.ArgumentOutOfRangeException"> /// The <paramref name="continuationOptions"/> argument specifies an invalid value for <see - /// cref="T:System.Threading.Tasks.TaskContinuationOptions">TaskContinuationOptions</see>. + /// cref="System.Threading.Tasks.TaskContinuationOptions">TaskContinuationOptions</see>. /// </exception> public Task ContinueWith(Action<Task> continuationAction, TaskContinuationOptions continuationOptions) { @@ -3594,17 +3594,17 @@ namespace System.Threading.Tasks /// completed. If the criteria specified through the <paramref name="continuationOptions"/> parameter /// are not met, the continuation task will be canceled instead of scheduled. /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="continuationAction"/> argument is null. /// </exception> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <exception cref="System.ArgumentOutOfRangeException"> /// The <paramref name="continuationOptions"/> argument specifies an invalid value for <see - /// cref="T:System.Threading.Tasks.TaskContinuationOptions">TaskContinuationOptions</see>. + /// cref="System.Threading.Tasks.TaskContinuationOptions">TaskContinuationOptions</see>. /// </exception> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="scheduler"/> argument is null. /// </exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> public Task ContinueWith(Action<Task> continuationAction, CancellationToken cancellationToken, @@ -3662,7 +3662,7 @@ namespace System.Threading.Tasks /// completed, whether it completes due to running to completion successfully, faulting due to an /// unhandled exception, or exiting out early due to being canceled. /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="continuationAction"/> argument is null. /// </exception> public Task ContinueWith(Action<Task, object?> continuationAction, object? state) @@ -3685,10 +3685,10 @@ namespace System.Threading.Tasks /// completed, whether it completes due to running to completion successfully, faulting due to an /// unhandled exception, or exiting out early due to being canceled. /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="continuationAction"/> argument is null. /// </exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> public Task ContinueWith(Action<Task, object?> continuationAction, object? state, CancellationToken cancellationToken) @@ -3713,10 +3713,10 @@ namespace System.Threading.Tasks /// completed, whether it completes due to running to completion successfully, faulting due to an /// unhandled exception, or exiting out early due to being canceled. /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="continuationAction"/> argument is null. /// </exception> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="scheduler"/> argument is null. /// </exception> public Task ContinueWith(Action<Task, object?> continuationAction, object? state, TaskScheduler scheduler) @@ -3746,12 +3746,12 @@ namespace System.Threading.Tasks /// name="continuationOptions"/> parameter are not met, the continuation task will be canceled /// instead of scheduled. /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="continuationAction"/> argument is null. /// </exception> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <exception cref="System.ArgumentOutOfRangeException"> /// The <paramref name="continuationOptions"/> argument specifies an invalid value for <see - /// cref="T:System.Threading.Tasks.TaskContinuationOptions">TaskContinuationOptions</see>. + /// cref="System.Threading.Tasks.TaskContinuationOptions">TaskContinuationOptions</see>. /// </exception> public Task ContinueWith(Action<Task, object?> continuationAction, object? state, TaskContinuationOptions continuationOptions) { @@ -3784,17 +3784,17 @@ namespace System.Threading.Tasks /// completed. If the criteria specified through the <paramref name="continuationOptions"/> parameter /// are not met, the continuation task will be canceled instead of scheduled. /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="continuationAction"/> argument is null. /// </exception> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <exception cref="System.ArgumentOutOfRangeException"> /// The <paramref name="continuationOptions"/> argument specifies an invalid value for <see - /// cref="T:System.Threading.Tasks.TaskContinuationOptions">TaskContinuationOptions</see>. + /// cref="System.Threading.Tasks.TaskContinuationOptions">TaskContinuationOptions</see>. /// </exception> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="scheduler"/> argument is null. /// </exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> public Task ContinueWith(Action<Task, object?> continuationAction, object? state, CancellationToken cancellationToken, @@ -3855,7 +3855,7 @@ namespace System.Threading.Tasks /// completed, whether it completes due to running to completion successfully, faulting due to an /// unhandled exception, or exiting out early due to being canceled. /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="continuationFunction"/> argument is null. /// </exception> public Task<TResult> ContinueWith<TResult>(Func<Task, TResult> continuationFunction) @@ -3882,10 +3882,10 @@ namespace System.Threading.Tasks /// completed, whether it completes due to running to completion successfully, faulting due to an /// unhandled exception, or exiting out early due to being canceled. /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="continuationFunction"/> argument is null. /// </exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> public Task<TResult> ContinueWith<TResult>(Func<Task, TResult> continuationFunction, CancellationToken cancellationToken) @@ -3912,10 +3912,10 @@ namespace System.Threading.Tasks /// completed, whether it completes due to running to completion successfully, faulting due to an /// unhandled exception, or exiting out early due to being canceled. /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="continuationFunction"/> argument is null. /// </exception> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="scheduler"/> argument is null. /// </exception> public Task<TResult> ContinueWith<TResult>(Func<Task, TResult> continuationFunction, TaskScheduler scheduler) @@ -3947,12 +3947,12 @@ namespace System.Threading.Tasks /// name="continuationOptions"/> parameter are not met, the continuation task will be canceled /// instead of scheduled. /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="continuationFunction"/> argument is null. /// </exception> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <exception cref="System.ArgumentOutOfRangeException"> /// The <paramref name="continuationOptions"/> argument specifies an invalid value for <see - /// cref="T:System.Threading.Tasks.TaskContinuationOptions">TaskContinuationOptions</see>. + /// cref="System.Threading.Tasks.TaskContinuationOptions">TaskContinuationOptions</see>. /// </exception> public Task<TResult> ContinueWith<TResult>(Func<Task, TResult> continuationFunction, TaskContinuationOptions continuationOptions) { @@ -3987,17 +3987,17 @@ namespace System.Threading.Tasks /// completed. If the criteria specified through the <paramref name="continuationOptions"/> parameter /// are not met, the continuation task will be canceled instead of scheduled. /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="continuationFunction"/> argument is null. /// </exception> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <exception cref="System.ArgumentOutOfRangeException"> /// The <paramref name="continuationOptions"/> argument specifies an invalid value for <see - /// cref="T:System.Threading.Tasks.TaskContinuationOptions">TaskContinuationOptions</see>. + /// cref="System.Threading.Tasks.TaskContinuationOptions">TaskContinuationOptions</see>. /// </exception> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="scheduler"/> argument is null. /// </exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> public Task<TResult> ContinueWith<TResult>(Func<Task, TResult> continuationFunction, CancellationToken cancellationToken, @@ -4058,7 +4058,7 @@ namespace System.Threading.Tasks /// completed, whether it completes due to running to completion successfully, faulting due to an /// unhandled exception, or exiting out early due to being canceled. /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="continuationFunction"/> argument is null. /// </exception> public Task<TResult> ContinueWith<TResult>(Func<Task, object?, TResult> continuationFunction, object? state) @@ -4086,10 +4086,10 @@ namespace System.Threading.Tasks /// completed, whether it completes due to running to completion successfully, faulting due to an /// unhandled exception, or exiting out early due to being canceled. /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="continuationFunction"/> argument is null. /// </exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> public Task<TResult> ContinueWith<TResult>(Func<Task, object?, TResult> continuationFunction, object? state, CancellationToken cancellationToken) @@ -4117,10 +4117,10 @@ namespace System.Threading.Tasks /// completed, whether it completes due to running to completion successfully, faulting due to an /// unhandled exception, or exiting out early due to being canceled. /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="continuationFunction"/> argument is null. /// </exception> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="scheduler"/> argument is null. /// </exception> public Task<TResult> ContinueWith<TResult>(Func<Task, object?, TResult> continuationFunction, object? state, TaskScheduler scheduler) @@ -4153,12 +4153,12 @@ namespace System.Threading.Tasks /// name="continuationOptions"/> parameter are not met, the continuation task will be canceled /// instead of scheduled. /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="continuationFunction"/> argument is null. /// </exception> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <exception cref="System.ArgumentOutOfRangeException"> /// The <paramref name="continuationOptions"/> argument specifies an invalid value for <see - /// cref="T:System.Threading.Tasks.TaskContinuationOptions">TaskContinuationOptions</see>. + /// cref="System.Threading.Tasks.TaskContinuationOptions">TaskContinuationOptions</see>. /// </exception> public Task<TResult> ContinueWith<TResult>(Func<Task, object?, TResult> continuationFunction, object? state, TaskContinuationOptions continuationOptions) { @@ -4194,17 +4194,17 @@ namespace System.Threading.Tasks /// completed. If the criteria specified through the <paramref name="continuationOptions"/> parameter /// are not met, the continuation task will be canceled instead of scheduled. /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="continuationFunction"/> argument is null. /// </exception> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <exception cref="System.ArgumentOutOfRangeException"> /// The <paramref name="continuationOptions"/> argument specifies an invalid value for <see - /// cref="T:System.Threading.Tasks.TaskContinuationOptions">TaskContinuationOptions</see>. + /// cref="System.Threading.Tasks.TaskContinuationOptions">TaskContinuationOptions</see>. /// </exception> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="scheduler"/> argument is null. /// </exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> public Task<TResult> ContinueWith<TResult>(Func<Task, object?, TResult> continuationFunction, object? state, CancellationToken cancellationToken, @@ -4548,13 +4548,13 @@ namespace System.Threading.Tasks /// <param name="tasks"> /// An array of <see cref="Task"/> instances on which to wait. /// </param> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="tasks"/> argument is null. /// </exception> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="tasks"/> argument contains a null element. /// </exception> - /// <exception cref="T:System.AggregateException"> + /// <exception cref="System.AggregateException"> /// At least one of the <see cref="Task"/> instances was canceled -or- an exception was thrown during /// the execution of at least one of the <see cref="Task"/> instances. /// </exception> @@ -4585,17 +4585,17 @@ namespace System.Threading.Tasks /// A <see cref="System.TimeSpan"/> that represents the number of milliseconds to wait, or a <see /// cref="System.TimeSpan"/> that represents -1 milliseconds to wait indefinitely. /// </param> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="tasks"/> argument is null. /// </exception> - /// <exception cref="T:System.ArgumentException"> + /// <exception cref="System.ArgumentException"> /// The <paramref name="tasks"/> argument contains a null element. /// </exception> - /// <exception cref="T:System.AggregateException"> + /// <exception cref="System.AggregateException"> /// At least one of the <see cref="Task"/> instances was canceled -or- an exception was thrown during /// the execution of at least one of the <see cref="Task"/> instances. /// </exception> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <exception cref="System.ArgumentOutOfRangeException"> /// <paramref name="timeout"/> is a negative number other than -1 milliseconds, which represents an /// infinite time-out -or- timeout is greater than /// <see cref="System.Int32.MaxValue"/>. @@ -4624,17 +4624,17 @@ namespace System.Threading.Tasks /// wait indefinitely.</param> /// <param name="tasks">An array of <see cref="Task"/> instances on which to wait. /// </param> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="tasks"/> argument is null. /// </exception> - /// <exception cref="T:System.ArgumentException"> + /// <exception cref="System.ArgumentException"> /// The <paramref name="tasks"/> argument contains a null element. /// </exception> - /// <exception cref="T:System.AggregateException"> + /// <exception cref="System.AggregateException"> /// At least one of the <see cref="Task"/> instances was canceled -or- an exception was thrown during /// the execution of at least one of the <see cref="Task"/> instances. /// </exception> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <exception cref="System.ArgumentOutOfRangeException"> /// <paramref name="millisecondsTimeout"/> is a negative number other than -1, which represents an /// infinite time-out. /// </exception> @@ -4657,17 +4657,17 @@ namespace System.Threading.Tasks /// <param name="cancellationToken"> /// A <see cref="CancellationToken"/> to observe while waiting for the tasks to complete. /// </param> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="tasks"/> argument is null. /// </exception> - /// <exception cref="T:System.ArgumentException"> + /// <exception cref="System.ArgumentException"> /// The <paramref name="tasks"/> argument contains a null element. /// </exception> - /// <exception cref="T:System.AggregateException"> + /// <exception cref="System.AggregateException"> /// At least one of the <see cref="Task"/> instances was canceled -or- an exception was thrown during /// the execution of at least one of the <see cref="Task"/> instances. /// </exception> - /// <exception cref="T:System.OperationCanceledException"> + /// <exception cref="System.OperationCanceledException"> /// The <paramref name="cancellationToken"/> was canceled. /// </exception> [MethodImpl(MethodImplOptions.NoOptimization)] // this is needed for the parallel debugger @@ -4693,21 +4693,21 @@ namespace System.Threading.Tasks /// <param name="cancellationToken"> /// A <see cref="CancellationToken"/> to observe while waiting for the tasks to complete. /// </param> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="tasks"/> argument is null. /// </exception> - /// <exception cref="T:System.ArgumentException"> + /// <exception cref="System.ArgumentException"> /// The <paramref name="tasks"/> argument contains a null element. /// </exception> - /// <exception cref="T:System.AggregateException"> + /// <exception cref="System.AggregateException"> /// At least one of the <see cref="Task"/> instances was canceled -or- an exception was thrown during /// the execution of at least one of the <see cref="Task"/> instances. /// </exception> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <exception cref="System.ArgumentOutOfRangeException"> /// <paramref name="millisecondsTimeout"/> is a negative number other than -1, which represents an /// infinite time-out. /// </exception> - /// <exception cref="T:System.OperationCanceledException"> + /// <exception cref="System.OperationCanceledException"> /// The <paramref name="cancellationToken"/> was canceled. /// </exception> [MethodImpl(MethodImplOptions.NoOptimization)] // this is needed for the parallel debugger @@ -4948,10 +4948,10 @@ namespace System.Threading.Tasks /// An array of <see cref="Task"/> instances on which to wait. /// </param> /// <returns>The index of the completed task in the <paramref name="tasks"/> array argument.</returns> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="tasks"/> argument is null. /// </exception> - /// <exception cref="T:System.ArgumentException"> + /// <exception cref="System.ArgumentException"> /// The <paramref name="tasks"/> argument contains a null element. /// </exception> [MethodImpl(MethodImplOptions.NoOptimization)] // this is needed for the parallel debugger @@ -4976,13 +4976,13 @@ namespace System.Threading.Tasks /// The index of the completed task in the <paramref name="tasks"/> array argument, or -1 if the /// timeout occurred. /// </returns> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="tasks"/> argument is null. /// </exception> - /// <exception cref="T:System.ArgumentException"> + /// <exception cref="System.ArgumentException"> /// The <paramref name="tasks"/> argument contains a null element. /// </exception> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <exception cref="System.ArgumentOutOfRangeException"> /// <paramref name="timeout"/> is a negative number other than -1 milliseconds, which represents an /// infinite time-out -or- timeout is greater than /// <see cref="System.Int32.MaxValue"/>. @@ -5011,13 +5011,13 @@ namespace System.Threading.Tasks /// <returns> /// The index of the completed task in the <paramref name="tasks"/> array argument. /// </returns> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="tasks"/> argument is null. /// </exception> - /// <exception cref="T:System.ArgumentException"> + /// <exception cref="System.ArgumentException"> /// The <paramref name="tasks"/> argument contains a null element. /// </exception> - /// <exception cref="T:System.OperationCanceledException"> + /// <exception cref="System.OperationCanceledException"> /// The <paramref name="cancellationToken"/> was canceled. /// </exception> [MethodImpl(MethodImplOptions.NoOptimization)] // this is needed for the parallel debugger @@ -5040,13 +5040,13 @@ namespace System.Threading.Tasks /// The index of the completed task in the <paramref name="tasks"/> array argument, or -1 if the /// timeout occurred. /// </returns> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="tasks"/> argument is null. /// </exception> - /// <exception cref="T:System.ArgumentException"> + /// <exception cref="System.ArgumentException"> /// The <paramref name="tasks"/> argument contains a null element. /// </exception> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <exception cref="System.ArgumentOutOfRangeException"> /// <paramref name="millisecondsTimeout"/> is a negative number other than -1, which represents an /// infinite time-out. /// </exception> @@ -5073,17 +5073,17 @@ namespace System.Threading.Tasks /// The index of the completed task in the <paramref name="tasks"/> array argument, or -1 if the /// timeout occurred. /// </returns> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="tasks"/> argument is null. /// </exception> - /// <exception cref="T:System.ArgumentException"> + /// <exception cref="System.ArgumentException"> /// The <paramref name="tasks"/> argument contains a null element. /// </exception> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <exception cref="System.ArgumentOutOfRangeException"> /// <paramref name="millisecondsTimeout"/> is a negative number other than -1, which represents an /// infinite time-out. /// </exception> - /// <exception cref="T:System.OperationCanceledException"> + /// <exception cref="System.OperationCanceledException"> /// The <paramref name="cancellationToken"/> was canceled. /// </exception> [MethodImpl(MethodImplOptions.NoOptimization)] // this is needed for the parallel debugger @@ -5248,7 +5248,7 @@ namespace System.Threading.Tasks /// </summary> /// <param name="action">The work to execute asynchronously</param> /// <returns>A Task that represents the work queued to execute in the ThreadPool.</returns> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="action"/> parameter was null. /// </exception> public static Task Run(Action action) @@ -5263,11 +5263,11 @@ namespace System.Threading.Tasks /// <param name="action">The work to execute asynchronously</param> /// <param name="cancellationToken">A cancellation token that should be used to cancel the work</param> /// <returns>A Task that represents the work queued to execute in the ThreadPool.</returns> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="action"/> parameter was null. /// </exception> - /// <exception cref="T:System.ObjectDisposedException"> - /// The <see cref="T:System.CancellationTokenSource"/> associated with <paramref name="cancellationToken"/> was disposed. + /// <exception cref="System.ObjectDisposedException"> + /// The CancellationTokenSource associated with <paramref name="cancellationToken"/> was disposed. /// </exception> public static Task Run(Action action, CancellationToken cancellationToken) { @@ -5280,7 +5280,7 @@ namespace System.Threading.Tasks /// </summary> /// <param name="function">The work to execute asynchronously</param> /// <returns>A Task(TResult) that represents the work queued to execute in the ThreadPool.</returns> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="function"/> parameter was null. /// </exception> public static Task<TResult> Run<TResult>(Func<TResult> function) @@ -5295,11 +5295,11 @@ namespace System.Threading.Tasks /// <param name="function">The work to execute asynchronously</param> /// <param name="cancellationToken">A cancellation token that should be used to cancel the work</param> /// <returns>A Task(TResult) that represents the work queued to execute in the ThreadPool.</returns> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="function"/> parameter was null. /// </exception> - /// <exception cref="T:System.ObjectDisposedException"> - /// The <see cref="T:System.CancellationTokenSource"/> associated with <paramref name="cancellationToken"/> was disposed. + /// <exception cref="System.ObjectDisposedException"> + /// The CancellationTokenSource associated with <paramref name="cancellationToken"/> was disposed. /// </exception> public static Task<TResult> Run<TResult>(Func<TResult> function, CancellationToken cancellationToken) { @@ -5313,7 +5313,7 @@ namespace System.Threading.Tasks /// </summary> /// <param name="function">The work to execute asynchronously</param> /// <returns>A Task that represents a proxy for the Task returned by <paramref name="function"/>.</returns> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="function"/> parameter was null. /// </exception> public static Task Run(Func<Task?> function) @@ -5329,11 +5329,11 @@ namespace System.Threading.Tasks /// <param name="function">The work to execute asynchronously</param> /// <param name="cancellationToken">A cancellation token that should be used to cancel the work</param> /// <returns>A Task that represents a proxy for the Task returned by <paramref name="function"/>.</returns> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="function"/> parameter was null. /// </exception> - /// <exception cref="T:System.ObjectDisposedException"> - /// The <see cref="T:System.CancellationTokenSource"/> associated with <paramref name="cancellationToken"/> was disposed. + /// <exception cref="System.ObjectDisposedException"> + /// The CancellationTokenSource associated with <paramref name="cancellationToken"/> was disposed. /// </exception> public static Task Run(Func<Task?> function, CancellationToken cancellationToken) { @@ -5361,7 +5361,7 @@ namespace System.Threading.Tasks /// <typeparam name="TResult">The type of the result returned by the proxy Task.</typeparam> /// <param name="function">The work to execute asynchronously</param> /// <returns>A Task(TResult) that represents a proxy for the Task(TResult) returned by <paramref name="function"/>.</returns> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="function"/> parameter was null. /// </exception> public static Task<TResult> Run<TResult>(Func<Task<TResult>?> function) @@ -5377,7 +5377,7 @@ namespace System.Threading.Tasks /// <param name="function">The work to execute asynchronously</param> /// <param name="cancellationToken">A cancellation token that should be used to cancel the work</param> /// <returns>A Task(TResult) that represents a proxy for the Task(TResult) returned by <paramref name="function"/>.</returns> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="function"/> parameter was null. /// </exception> public static Task<TResult> Run<TResult>(Func<Task<TResult>?> function, CancellationToken cancellationToken) @@ -5409,7 +5409,7 @@ namespace System.Threading.Tasks /// </summary> /// <param name="delay">The time span to wait before completing the returned Task</param> /// <returns>A Task that represents the time delay</returns> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <exception cref="System.ArgumentOutOfRangeException"> /// The <paramref name="delay"/> is less than -1 or greater than int.MaxValue. /// </exception> /// <remarks> @@ -5426,10 +5426,10 @@ namespace System.Threading.Tasks /// <param name="delay">The time span to wait before completing the returned Task</param> /// <param name="cancellationToken">The cancellation token that will be checked prior to completing the returned Task</param> /// <returns>A Task that represents the time delay</returns> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <exception cref="System.ArgumentOutOfRangeException"> /// The <paramref name="delay"/> is less than -1 or greater than int.MaxValue. /// </exception> - /// <exception cref="T:System.ObjectDisposedException"> + /// <exception cref="System.ObjectDisposedException"> /// The provided <paramref name="cancellationToken"/> has already been disposed. /// </exception> /// <remarks> @@ -5453,7 +5453,7 @@ namespace System.Threading.Tasks /// </summary> /// <param name="millisecondsDelay">The number of milliseconds to wait before completing the returned Task</param> /// <returns>A Task that represents the time delay</returns> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <exception cref="System.ArgumentOutOfRangeException"> /// The <paramref name="millisecondsDelay"/> is less than -1. /// </exception> /// <remarks> @@ -5470,10 +5470,10 @@ namespace System.Threading.Tasks /// <param name="millisecondsDelay">The number of milliseconds to wait before completing the returned Task</param> /// <param name="cancellationToken">The cancellation token that will be checked prior to completing the returned Task</param> /// <returns>A Task that represents the time delay</returns> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <exception cref="System.ArgumentOutOfRangeException"> /// The <paramref name="millisecondsDelay"/> is less than -1. /// </exception> - /// <exception cref="T:System.ObjectDisposedException"> + /// <exception cref="System.ObjectDisposedException"> /// The provided <paramref name="cancellationToken"/> has already been disposed. /// </exception> /// <remarks> @@ -5595,10 +5595,10 @@ namespace System.Threading.Tasks /// state before it's returned to the caller. /// </para> /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="tasks"/> argument was null. /// </exception> - /// <exception cref="T:System.ArgumentException"> + /// <exception cref="System.ArgumentException"> /// The <paramref name="tasks"/> collection contained a null task. /// </exception> public static Task WhenAll(IEnumerable<Task> tasks) @@ -5656,10 +5656,10 @@ namespace System.Threading.Tasks /// state before it's returned to the caller. /// </para> /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="tasks"/> argument was null. /// </exception> - /// <exception cref="T:System.ArgumentException"> + /// <exception cref="System.ArgumentException"> /// The <paramref name="tasks"/> array contained a null task. /// </exception> public static Task WhenAll(params Task[] tasks) @@ -5839,10 +5839,10 @@ namespace System.Threading.Tasks /// state before it's returned to the caller. The returned TResult[] will be an array of 0 elements. /// </para> /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="tasks"/> argument was null. /// </exception> - /// <exception cref="T:System.ArgumentException"> + /// <exception cref="System.ArgumentException"> /// The <paramref name="tasks"/> collection contained a null task. /// </exception> public static Task<TResult[]> WhenAll<TResult>(IEnumerable<Task<TResult>> tasks) @@ -5903,10 +5903,10 @@ namespace System.Threading.Tasks /// state before it's returned to the caller. The returned TResult[] will be an array of 0 elements. /// </para> /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="tasks"/> argument was null. /// </exception> - /// <exception cref="T:System.ArgumentException"> + /// <exception cref="System.ArgumentException"> /// The <paramref name="tasks"/> array contained a null task. /// </exception> public static Task<TResult[]> WhenAll<TResult>(params Task<TResult>[] tasks) @@ -6072,10 +6072,10 @@ namespace System.Threading.Tasks /// The returned task will complete when any of the supplied tasks has completed. The returned task will always end in the RanToCompletion state /// with its Result set to the first task to complete. This is true even if the first task to complete ended in the Canceled or Faulted state. /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="tasks"/> argument was null. /// </exception> - /// <exception cref="T:System.ArgumentException"> + /// <exception cref="System.ArgumentException"> /// The <paramref name="tasks"/> array contained a null task, or was empty. /// </exception> public static Task<Task> WhenAny(params Task[] tasks) @@ -6110,10 +6110,10 @@ namespace System.Threading.Tasks /// The returned task will complete when any of the supplied tasks has completed. The returned task will always end in the RanToCompletion state /// with its Result set to the first task to complete. This is true even if the first task to complete ended in the Canceled or Faulted state. /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="tasks"/> argument was null. /// </exception> - /// <exception cref="T:System.ArgumentException"> + /// <exception cref="System.ArgumentException"> /// The <paramref name="tasks"/> collection contained a null task, or was empty. /// </exception> public static Task<Task> WhenAny(IEnumerable<Task> tasks) @@ -6147,10 +6147,10 @@ namespace System.Threading.Tasks /// The returned task will complete when any of the supplied tasks has completed. The returned task will always end in the RanToCompletion state /// with its Result set to the first task to complete. This is true even if the first task to complete ended in the Canceled or Faulted state. /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="tasks"/> argument was null. /// </exception> - /// <exception cref="T:System.ArgumentException"> + /// <exception cref="System.ArgumentException"> /// The <paramref name="tasks"/> array contained a null task, or was empty. /// </exception> public static Task<Task<TResult>> WhenAny<TResult>(params Task<TResult>[] tasks) @@ -6176,10 +6176,10 @@ namespace System.Threading.Tasks /// The returned task will complete when any of the supplied tasks has completed. The returned task will always end in the RanToCompletion state /// with its Result set to the first task to complete. This is true even if the first task to complete ended in the Canceled or Faulted state. /// </remarks> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// The <paramref name="tasks"/> argument was null. /// </exception> - /// <exception cref="T:System.ArgumentException"> + /// <exception cref="System.ArgumentException"> /// The <paramref name="tasks"/> collection contained a null task, or was empty. /// </exception> public static Task<Task<TResult>> WhenAny<TResult>(IEnumerable<Task<TResult>> tasks) diff --git a/netcore/System.Private.CoreLib/shared/System/Threading/Tasks/TaskCanceledException.cs b/netcore/System.Private.CoreLib/shared/System/Threading/Tasks/TaskCanceledException.cs index 3a49277fe7c..dab75abe25e 100644 --- a/netcore/System.Private.CoreLib/shared/System/Threading/Tasks/TaskCanceledException.cs +++ b/netcore/System.Private.CoreLib/shared/System/Threading/Tasks/TaskCanceledException.cs @@ -25,14 +25,14 @@ namespace System.Threading.Tasks private readonly Task? _canceledTask; // The task which has been canceled. /// <summary> - /// Initializes a new instance of the <see cref="T:System.Threading.Tasks.TaskCanceledException"/> class. + /// Initializes a new instance of the <see cref="System.Threading.Tasks.TaskCanceledException"/> class. /// </summary> public TaskCanceledException() : base(SR.TaskCanceledException_ctor_DefaultMessage) { } /// <summary> - /// Initializes a new instance of the <see cref="T:System.Threading.Tasks.TaskCanceledException"/> + /// Initializes a new instance of the <see cref="System.Threading.Tasks.TaskCanceledException"/> /// class with a specified error message. /// </summary> /// <param name="message">The error message that explains the reason for the exception.</param> @@ -41,7 +41,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Initializes a new instance of the <see cref="T:System.Threading.Tasks.TaskCanceledException"/> + /// Initializes a new instance of the <see cref="System.Threading.Tasks.TaskCanceledException"/> /// class with a specified error message and a reference to the inner exception that is the cause of /// this exception. /// </summary> @@ -52,7 +52,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Initializes a new instance of the <see cref="T:System.Threading.Tasks.TaskCanceledException"/> + /// Initializes a new instance of the <see cref="System.Threading.Tasks.TaskCanceledException"/> /// class with a specified error message, a reference to the inner exception that is the cause of /// this exception, and the <see cref="CancellationToken"/> that triggered the cancellation. /// </summary> @@ -64,8 +64,8 @@ namespace System.Threading.Tasks } /// <summary> - /// Initializes a new instance of the <see cref="T:System.Threading.Tasks.TaskCanceledException"/> class - /// with a reference to the <see cref="T:System.Threading.Tasks.Task"/> that has been canceled. + /// Initializes a new instance of the <see cref="System.Threading.Tasks.TaskCanceledException"/> class + /// with a reference to the <see cref="System.Threading.Tasks.Task"/> that has been canceled. /// </summary> /// <param name="task">A task that has been canceled.</param> public TaskCanceledException(Task? task) : @@ -75,11 +75,11 @@ namespace System.Threading.Tasks } /// <summary> - /// Initializes a new instance of the <see cref="T:System.Threading.Tasks.TaskCanceledException"/> + /// Initializes a new instance of the <see cref="System.Threading.Tasks.TaskCanceledException"/> /// class with serialized data. /// </summary> - /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data about the exception being thrown.</param> - /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination. </param> + /// <param name="info">The <see cref="System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data about the exception being thrown.</param> + /// <param name="context">The <see cref="System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination. </param> protected TaskCanceledException(SerializationInfo info, StreamingContext context) : base(info, context) { } @@ -89,7 +89,7 @@ namespace System.Threading.Tasks /// </summary> /// <remarks> /// It is permissible for no Task to be associated with a - /// <see cref="T:System.Threading.Tasks.TaskCanceledException"/>, in which case + /// <see cref="System.Threading.Tasks.TaskCanceledException"/>, in which case /// this property will return null. /// </remarks> public Task? Task => _canceledTask; diff --git a/netcore/System.Private.CoreLib/shared/System/Threading/Tasks/TaskCompletionSource.cs b/netcore/System.Private.CoreLib/shared/System/Threading/Tasks/TaskCompletionSource.cs index 653e46796a2..b312feff6a3 100644 --- a/netcore/System.Private.CoreLib/shared/System/Threading/Tasks/TaskCompletionSource.cs +++ b/netcore/System.Private.CoreLib/shared/System/Threading/Tasks/TaskCompletionSource.cs @@ -21,12 +21,12 @@ using System.Threading; namespace System.Threading.Tasks { /// <summary> - /// Represents the producer side of a <see cref="T:System.Threading.Tasks.Task{TResult}"/> unbound to a + /// Represents the producer side of a <see cref="System.Threading.Tasks.Task{TResult}"/> unbound to a /// delegate, providing access to the consumer side through the <see cref="Task"/> property. /// </summary> /// <remarks> /// <para> - /// It is often the case that a <see cref="T:System.Threading.Tasks.Task{TResult}"/> is desired to + /// It is often the case that a <see cref="System.Threading.Tasks.Task{TResult}"/> is desired to /// represent another asynchronous operation. /// <see cref="TaskCompletionSource{TResult}">TaskCompletionSource</see> is provided for this purpose. It enables /// the creation of a task that can be handed out to consumers, and those consumers can use the members @@ -60,13 +60,13 @@ namespace System.Threading.Tasks /// with the specified options. /// </summary> /// <remarks> - /// The <see cref="T:System.Threading.Tasks.Task{TResult}"/> created + /// The <see cref="System.Threading.Tasks.Task{TResult}"/> created /// by this instance and accessible through its <see cref="Task"/> property /// will be instantiated using the specified <paramref name="creationOptions"/>. /// </remarks> /// <param name="creationOptions">The options to use when creating the underlying - /// <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</param> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <see cref="System.Threading.Tasks.Task{TResult}"/>.</param> + /// <exception cref="System.ArgumentOutOfRangeException"> /// The <paramref name="creationOptions"/> represent options invalid for use /// with a <see cref="TaskCompletionSource{TResult}"/>. /// </exception> @@ -80,7 +80,7 @@ namespace System.Threading.Tasks /// with the specified state. /// </summary> /// <param name="state">The state to use as the underlying - /// <see cref="T:System.Threading.Tasks.Task{TResult}"/>'s AsyncState.</param> + /// <see cref="System.Threading.Tasks.Task{TResult}"/>'s AsyncState.</param> public TaskCompletionSource(object? state) : this(state, TaskCreationOptions.None) { @@ -91,10 +91,10 @@ namespace System.Threading.Tasks /// the specified state and options. /// </summary> /// <param name="creationOptions">The options to use when creating the underlying - /// <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</param> + /// <see cref="System.Threading.Tasks.Task{TResult}"/>.</param> /// <param name="state">The state to use as the underlying - /// <see cref="T:System.Threading.Tasks.Task{TResult}"/>'s AsyncState.</param> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <see cref="System.Threading.Tasks.Task{TResult}"/>'s AsyncState.</param> + /// <exception cref="System.ArgumentOutOfRangeException"> /// The <paramref name="creationOptions"/> represent options invalid for use /// with a <see cref="TaskCompletionSource{TResult}"/>. /// </exception> @@ -105,12 +105,12 @@ namespace System.Threading.Tasks /// <summary> - /// Gets the <see cref="T:System.Threading.Tasks.Task{TResult}"/> created + /// Gets the <see cref="System.Threading.Tasks.Task{TResult}"/> created /// by this <see cref="TaskCompletionSource{TResult}"/>. /// </summary> /// <remarks> /// This property enables a consumer access to the <see - /// cref="T:System.Threading.Tasks.Task{TResult}"/> that is controlled by this instance. + /// cref="System.Threading.Tasks.Task{TResult}"/> that is controlled by this instance. /// The <see cref="SetResult"/>, <see cref="SetException(System.Exception)"/>, /// <see cref="SetException(System.Collections.Generic.IEnumerable{System.Exception})"/>, and <see cref="SetCanceled"/> /// methods (and their "Try" variants) on this instance all result in the relevant state @@ -130,22 +130,22 @@ namespace System.Threading.Tasks /// <summary> /// Attempts to transition the underlying - /// <see cref="T:System.Threading.Tasks.Task{TResult}"/> into the + /// <see cref="System.Threading.Tasks.Task{TResult}"/> into the /// <see cref="System.Threading.Tasks.TaskStatus.Faulted">Faulted</see> /// state. /// </summary> /// <param name="exception">The exception to bind to this <see - /// cref="T:System.Threading.Tasks.Task{TResult}"/>.</param> + /// cref="System.Threading.Tasks.Task{TResult}"/>.</param> /// <returns>True if the operation was successful; otherwise, false.</returns> /// <remarks>This operation will return false if the - /// <see cref="T:System.Threading.Tasks.Task{TResult}"/> is already in one + /// <see cref="System.Threading.Tasks.Task{TResult}"/> is already in one /// of the three final states: /// <see cref="System.Threading.Tasks.TaskStatus.RanToCompletion">RanToCompletion</see>, /// <see cref="System.Threading.Tasks.TaskStatus.Faulted">Faulted</see>, or /// <see cref="System.Threading.Tasks.TaskStatus.Canceled">Canceled</see>. /// </remarks> - /// <exception cref="T:System.ArgumentNullException">The <paramref name="exception"/> argument is null.</exception> - /// <exception cref="T:System.ObjectDisposedException">The <see cref="Task"/> was disposed.</exception> + /// <exception cref="System.ArgumentNullException">The <paramref name="exception"/> argument is null.</exception> + /// <exception cref="System.ObjectDisposedException">The <see cref="Task"/> was disposed.</exception> public bool TrySetException(Exception exception) { if (exception == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.exception); @@ -157,24 +157,24 @@ namespace System.Threading.Tasks /// <summary> /// Attempts to transition the underlying - /// <see cref="T:System.Threading.Tasks.Task{TResult}"/> into the + /// <see cref="System.Threading.Tasks.Task{TResult}"/> into the /// <see cref="System.Threading.Tasks.TaskStatus.Faulted">Faulted</see> /// state. /// </summary> /// <param name="exceptions">The collection of exceptions to bind to this <see - /// cref="T:System.Threading.Tasks.Task{TResult}"/>.</param> + /// cref="System.Threading.Tasks.Task{TResult}"/>.</param> /// <returns>True if the operation was successful; otherwise, false.</returns> /// <remarks>This operation will return false if the - /// <see cref="T:System.Threading.Tasks.Task{TResult}"/> is already in one + /// <see cref="System.Threading.Tasks.Task{TResult}"/> is already in one /// of the three final states: /// <see cref="System.Threading.Tasks.TaskStatus.RanToCompletion">RanToCompletion</see>, /// <see cref="System.Threading.Tasks.TaskStatus.Faulted">Faulted</see>, or /// <see cref="System.Threading.Tasks.TaskStatus.Canceled">Canceled</see>. /// </remarks> - /// <exception cref="T:System.ArgumentNullException">The <paramref name="exceptions"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">There are one or more null elements in <paramref name="exceptions"/>.</exception> - /// <exception cref="T:System.ArgumentException">The <paramref name="exceptions"/> collection is empty.</exception> - /// <exception cref="T:System.ObjectDisposedException">The <see cref="Task"/> was disposed.</exception> + /// <exception cref="System.ArgumentNullException">The <paramref name="exceptions"/> argument is null.</exception> + /// <exception cref="System.ArgumentException">There are one or more null elements in <paramref name="exceptions"/>.</exception> + /// <exception cref="System.ArgumentException">The <paramref name="exceptions"/> collection is empty.</exception> + /// <exception cref="System.ObjectDisposedException">The <see cref="Task"/> was disposed.</exception> public bool TrySetException(IEnumerable<Exception> exceptions) { if (exceptions == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.exceptions); @@ -197,21 +197,21 @@ namespace System.Threading.Tasks /// <summary> /// Transitions the underlying - /// <see cref="T:System.Threading.Tasks.Task{TResult}"/> into the + /// <see cref="System.Threading.Tasks.Task{TResult}"/> into the /// <see cref="System.Threading.Tasks.TaskStatus.Faulted">Faulted</see> /// state. /// </summary> /// <param name="exception">The exception to bind to this <see - /// cref="T:System.Threading.Tasks.Task{TResult}"/>.</param> - /// <exception cref="T:System.ArgumentNullException">The <paramref name="exception"/> argument is null.</exception> - /// <exception cref="T:System.InvalidOperationException"> - /// The underlying <see cref="T:System.Threading.Tasks.Task{TResult}"/> is already in one + /// cref="System.Threading.Tasks.Task{TResult}"/>.</param> + /// <exception cref="System.ArgumentNullException">The <paramref name="exception"/> argument is null.</exception> + /// <exception cref="System.InvalidOperationException"> + /// The underlying <see cref="System.Threading.Tasks.Task{TResult}"/> is already in one /// of the three final states: /// <see cref="System.Threading.Tasks.TaskStatus.RanToCompletion">RanToCompletion</see>, /// <see cref="System.Threading.Tasks.TaskStatus.Faulted">Faulted</see>, or /// <see cref="System.Threading.Tasks.TaskStatus.Canceled">Canceled</see>. /// </exception> - /// <exception cref="T:System.ObjectDisposedException">The <see cref="Task"/> was disposed.</exception> + /// <exception cref="System.ObjectDisposedException">The <see cref="Task"/> was disposed.</exception> public void SetException(Exception exception) { if (exception == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.exception); @@ -224,22 +224,22 @@ namespace System.Threading.Tasks /// <summary> /// Transitions the underlying - /// <see cref="T:System.Threading.Tasks.Task{TResult}"/> into the + /// <see cref="System.Threading.Tasks.Task{TResult}"/> into the /// <see cref="System.Threading.Tasks.TaskStatus.Faulted">Faulted</see> /// state. /// </summary> /// <param name="exceptions">The collection of exceptions to bind to this <see - /// cref="T:System.Threading.Tasks.Task{TResult}"/>.</param> - /// <exception cref="T:System.ArgumentNullException">The <paramref name="exceptions"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">There are one or more null elements in <paramref name="exceptions"/>.</exception> - /// <exception cref="T:System.InvalidOperationException"> - /// The underlying <see cref="T:System.Threading.Tasks.Task{TResult}"/> is already in one + /// cref="System.Threading.Tasks.Task{TResult}"/>.</param> + /// <exception cref="System.ArgumentNullException">The <paramref name="exceptions"/> argument is null.</exception> + /// <exception cref="System.ArgumentException">There are one or more null elements in <paramref name="exceptions"/>.</exception> + /// <exception cref="System.InvalidOperationException"> + /// The underlying <see cref="System.Threading.Tasks.Task{TResult}"/> is already in one /// of the three final states: /// <see cref="System.Threading.Tasks.TaskStatus.RanToCompletion">RanToCompletion</see>, /// <see cref="System.Threading.Tasks.TaskStatus.Faulted">Faulted</see>, or /// <see cref="System.Threading.Tasks.TaskStatus.Canceled">Canceled</see>. /// </exception> - /// <exception cref="T:System.ObjectDisposedException">The <see cref="Task"/> was disposed.</exception> + /// <exception cref="System.ObjectDisposedException">The <see cref="Task"/> was disposed.</exception> public void SetException(IEnumerable<Exception> exceptions) { if (!TrySetException(exceptions)) @@ -251,21 +251,21 @@ namespace System.Threading.Tasks /// <summary> /// Attempts to transition the underlying - /// <see cref="T:System.Threading.Tasks.Task{TResult}"/> into the + /// <see cref="System.Threading.Tasks.Task{TResult}"/> into the /// <see cref="System.Threading.Tasks.TaskStatus.RanToCompletion">RanToCompletion</see> /// state. /// </summary> /// <param name="result">The result value to bind to this <see - /// cref="T:System.Threading.Tasks.Task{TResult}"/>.</param> + /// cref="System.Threading.Tasks.Task{TResult}"/>.</param> /// <returns>True if the operation was successful; otherwise, false.</returns> /// <remarks>This operation will return false if the - /// <see cref="T:System.Threading.Tasks.Task{TResult}"/> is already in one + /// <see cref="System.Threading.Tasks.Task{TResult}"/> is already in one /// of the three final states: /// <see cref="System.Threading.Tasks.TaskStatus.RanToCompletion">RanToCompletion</see>, /// <see cref="System.Threading.Tasks.TaskStatus.Faulted">Faulted</see>, or /// <see cref="System.Threading.Tasks.TaskStatus.Canceled">Canceled</see>. /// </remarks> - /// <exception cref="T:System.ObjectDisposedException">The <see cref="Task"/> was disposed.</exception> + /// <exception cref="System.ObjectDisposedException">The <see cref="Task"/> was disposed.</exception> public bool TrySetResult(TResult result) { bool rval = _task.TrySetResult(result); @@ -275,20 +275,20 @@ namespace System.Threading.Tasks /// <summary> /// Transitions the underlying - /// <see cref="T:System.Threading.Tasks.Task{TResult}"/> into the + /// <see cref="System.Threading.Tasks.Task{TResult}"/> into the /// <see cref="System.Threading.Tasks.TaskStatus.RanToCompletion">RanToCompletion</see> /// state. /// </summary> /// <param name="result">The result value to bind to this <see - /// cref="T:System.Threading.Tasks.Task{TResult}"/>.</param> - /// <exception cref="T:System.InvalidOperationException"> - /// The underlying <see cref="T:System.Threading.Tasks.Task{TResult}"/> is already in one + /// cref="System.Threading.Tasks.Task{TResult}"/>.</param> + /// <exception cref="System.InvalidOperationException"> + /// The underlying <see cref="System.Threading.Tasks.Task{TResult}"/> is already in one /// of the three final states: /// <see cref="System.Threading.Tasks.TaskStatus.RanToCompletion">RanToCompletion</see>, /// <see cref="System.Threading.Tasks.TaskStatus.Faulted">Faulted</see>, or /// <see cref="System.Threading.Tasks.TaskStatus.Canceled">Canceled</see>. /// </exception> - /// <exception cref="T:System.ObjectDisposedException">The <see cref="Task"/> was disposed.</exception> + /// <exception cref="System.ObjectDisposedException">The <see cref="Task"/> was disposed.</exception> public void SetResult(TResult result) { if (!TrySetResult(result)) @@ -297,19 +297,19 @@ namespace System.Threading.Tasks /// <summary> /// Attempts to transition the underlying - /// <see cref="T:System.Threading.Tasks.Task{TResult}"/> into the + /// <see cref="System.Threading.Tasks.Task{TResult}"/> into the /// <see cref="System.Threading.Tasks.TaskStatus.Canceled">Canceled</see> /// state. /// </summary> /// <returns>True if the operation was successful; otherwise, false.</returns> /// <remarks>This operation will return false if the - /// <see cref="T:System.Threading.Tasks.Task{TResult}"/> is already in one + /// <see cref="System.Threading.Tasks.Task{TResult}"/> is already in one /// of the three final states: /// <see cref="System.Threading.Tasks.TaskStatus.RanToCompletion">RanToCompletion</see>, /// <see cref="System.Threading.Tasks.TaskStatus.Faulted">Faulted</see>, or /// <see cref="System.Threading.Tasks.TaskStatus.Canceled">Canceled</see>. /// </remarks> - /// <exception cref="T:System.ObjectDisposedException">The <see cref="Task"/> was disposed.</exception> + /// <exception cref="System.ObjectDisposedException">The <see cref="Task"/> was disposed.</exception> public bool TrySetCanceled() { return TrySetCanceled(default); @@ -325,18 +325,18 @@ namespace System.Threading.Tasks /// <summary> /// Transitions the underlying - /// <see cref="T:System.Threading.Tasks.Task{TResult}"/> into the + /// <see cref="System.Threading.Tasks.Task{TResult}"/> into the /// <see cref="System.Threading.Tasks.TaskStatus.Canceled">Canceled</see> /// state. /// </summary> - /// <exception cref="T:System.InvalidOperationException"> - /// The underlying <see cref="T:System.Threading.Tasks.Task{TResult}"/> is already in one + /// <exception cref="System.InvalidOperationException"> + /// The underlying <see cref="System.Threading.Tasks.Task{TResult}"/> is already in one /// of the three final states: /// <see cref="System.Threading.Tasks.TaskStatus.RanToCompletion">RanToCompletion</see>, /// <see cref="System.Threading.Tasks.TaskStatus.Faulted">Faulted</see>, or /// <see cref="System.Threading.Tasks.TaskStatus.Canceled">Canceled</see>. /// </exception> - /// <exception cref="T:System.ObjectDisposedException">The <see cref="Task"/> was disposed.</exception> + /// <exception cref="System.ObjectDisposedException">The <see cref="Task"/> was disposed.</exception> public void SetCanceled() { if (!TrySetCanceled()) diff --git a/netcore/System.Private.CoreLib/shared/System/Threading/Tasks/TaskFactory.cs b/netcore/System.Private.CoreLib/shared/System/Threading/Tasks/TaskFactory.cs index 365b04b0f56..3988d9844c9 100644 --- a/netcore/System.Private.CoreLib/shared/System/Threading/Tasks/TaskFactory.cs +++ b/netcore/System.Private.CoreLib/shared/System/Threading/Tasks/TaskFactory.cs @@ -23,7 +23,7 @@ namespace System.Threading.Tasks { /// <summary> /// Provides support for creating and scheduling - /// <see cref="T:System.Threading.Tasks.Task">Tasks</see>. + /// <see cref="System.Threading.Tasks.Task">Tasks</see>. /// </summary> /// <remarks> /// <para> @@ -135,7 +135,7 @@ namespace System.Threading.Tasks /// The default <see cref="System.Threading.Tasks.TaskContinuationOptions"> /// TaskContinuationOptions</see> to use when creating continuation tasks with this TaskFactory. /// </param> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <exception cref="System.ArgumentOutOfRangeException"> /// The exception that is thrown when the /// <paramref name="creationOptions"/> argument or the <paramref name="continuationOptions"/> /// argument specifies an invalid value. @@ -174,7 +174,7 @@ namespace System.Threading.Tasks /// TaskScheduler</see> to use to schedule any Tasks created with this TaskFactory. A null value /// indicates that TaskScheduler.Current should be used. /// </param> - /// <exception cref="T:System.ArgumentOutOfRangeException"> + /// <exception cref="System.ArgumentOutOfRangeException"> /// The exception that is thrown when the /// <paramref name="creationOptions"/> argument or the <paramref name="continuationOptions"/> /// argumentspecifies an invalid value. @@ -266,11 +266,11 @@ namespace System.Threading.Tasks // /// <summary> - /// Creates and starts a <see cref="T:System.Threading.Tasks.Task">Task</see>. + /// Creates and starts a <see cref="System.Threading.Tasks.Task">Task</see>. /// </summary> /// <param name="action">The action delegate to execute asynchronously.</param> - /// <returns>The started <see cref="T:System.Threading.Tasks.Task">Task</see>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the <paramref name="action"/> + /// <returns>The started <see cref="System.Threading.Tasks.Task">Task</see>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="action"/> /// argument is null.</exception> /// <remarks> /// Calling StartNew is functionally equivalent to creating a Task using one of its constructors @@ -287,14 +287,14 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates and starts a <see cref="T:System.Threading.Tasks.Task">Task</see>. + /// Creates and starts a <see cref="System.Threading.Tasks.Task">Task</see>. /// </summary> /// <param name="action">The action delegate to execute asynchronously.</param> /// <param name="cancellationToken">The <see cref="CancellationToken"/> that will be assigned to the new task.</param> - /// <returns>The started <see cref="T:System.Threading.Tasks.Task">Task</see>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the <paramref name="action"/> + /// <returns>The started <see cref="System.Threading.Tasks.Task">Task</see>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref name="action"/> /// argument is null.</exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> /// <remarks> @@ -312,17 +312,17 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates and starts a <see cref="T:System.Threading.Tasks.Task">Task</see>. + /// Creates and starts a <see cref="System.Threading.Tasks.Task">Task</see>. /// </summary> /// <param name="action">The action delegate to execute asynchronously.</param> /// <param name="creationOptions">A TaskCreationOptions value that controls the behavior of the /// created - /// <see cref="T:System.Threading.Tasks.Task">Task.</see></param> - /// <returns>The started <see cref="T:System.Threading.Tasks.Task">Task</see>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the <paramref + /// <see cref="System.Threading.Tasks.Task">Task.</see></param> + /// <returns>The started <see cref="System.Threading.Tasks.Task">Task</see>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref /// name="action"/> /// argument is null.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="creationOptions"/> argument specifies an invalid TaskCreationOptions /// value.</exception> /// <remarks> @@ -340,28 +340,28 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates and starts a <see cref="T:System.Threading.Tasks.Task">Task</see>. + /// Creates and starts a <see cref="System.Threading.Tasks.Task">Task</see>. /// </summary> /// <param name="action">The action delegate to execute asynchronously.</param> /// <param name="cancellationToken">The <see cref="CancellationToken"/> that will be assigned to the new <see cref="Task"/></param> /// <param name="creationOptions">A TaskCreationOptions value that controls the behavior of the /// created - /// <see cref="T:System.Threading.Tasks.Task">Task.</see></param> + /// <see cref="System.Threading.Tasks.Task">Task.</see></param> /// <param name="scheduler">The <see - /// cref="T:System.Threading.Tasks.TaskScheduler">TaskScheduler</see> + /// cref="System.Threading.Tasks.TaskScheduler">TaskScheduler</see> /// that is used to schedule the created <see - /// cref="T:System.Threading.Tasks.Task">Task</see>.</param> - /// <returns>The started <see cref="T:System.Threading.Tasks.Task">Task</see>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the <paramref + /// cref="System.Threading.Tasks.Task">Task</see>.</param> + /// <returns>The started <see cref="System.Threading.Tasks.Task">Task</see>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref /// name="action"/> /// argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the <paramref + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref /// name="scheduler"/> /// argument is null.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="creationOptions"/> argument specifies an invalid TaskCreationOptions /// value.</exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> /// <remarks> @@ -380,13 +380,13 @@ namespace System.Threading.Tasks /// <summary> - /// Creates and starts a <see cref="T:System.Threading.Tasks.Task">Task</see>. + /// Creates and starts a <see cref="System.Threading.Tasks.Task">Task</see>. /// </summary> /// <param name="action">The action delegate to execute asynchronously.</param> /// <param name="state">An object containing data to be used by the <paramref name="action"/> /// delegate.</param> - /// <returns>The started <see cref="T:System.Threading.Tasks.Task">Task</see>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the <paramref + /// <returns>The started <see cref="System.Threading.Tasks.Task">Task</see>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref /// name="action"/> /// argument is null.</exception> /// <remarks> @@ -405,17 +405,17 @@ namespace System.Threading.Tasks /// <summary> - /// Creates and starts a <see cref="T:System.Threading.Tasks.Task">Task</see>. + /// Creates and starts a <see cref="System.Threading.Tasks.Task">Task</see>. /// </summary> /// <param name="action">The action delegate to execute asynchronously.</param> /// <param name="state">An object containing data to be used by the <paramref name="action"/> /// delegate.</param> /// <param name="cancellationToken">The <see cref="CancellationToken"/> that will be assigned to the new <see cref="Task"/></param> - /// <returns>The started <see cref="T:System.Threading.Tasks.Task">Task</see>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the <paramref + /// <returns>The started <see cref="System.Threading.Tasks.Task">Task</see>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref /// name="action"/> /// argument is null.</exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> /// <remarks> @@ -433,19 +433,19 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates and starts a <see cref="T:System.Threading.Tasks.Task">Task</see>. + /// Creates and starts a <see cref="System.Threading.Tasks.Task">Task</see>. /// </summary> /// <param name="action">The action delegate to execute asynchronously.</param> /// <param name="state">An object containing data to be used by the <paramref name="action"/> /// delegate.</param> /// <param name="creationOptions">A TaskCreationOptions value that controls the behavior of the /// created - /// <see cref="T:System.Threading.Tasks.Task">Task.</see></param> - /// <returns>The started <see cref="T:System.Threading.Tasks.Task">Task</see>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the <paramref + /// <see cref="System.Threading.Tasks.Task">Task.</see></param> + /// <returns>The started <see cref="System.Threading.Tasks.Task">Task</see>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref /// name="action"/> /// argument is null.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="creationOptions"/> argument specifies an invalid TaskCreationOptions /// value.</exception> /// <remarks> @@ -463,7 +463,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates and starts a <see cref="T:System.Threading.Tasks.Task">Task</see>. + /// Creates and starts a <see cref="System.Threading.Tasks.Task">Task</see>. /// </summary> /// <param name="action">The action delegate to execute asynchronously.</param> /// <param name="state">An object containing data to be used by the <paramref name="action"/> @@ -471,22 +471,22 @@ namespace System.Threading.Tasks /// <param name="cancellationToken">The <see cref="CancellationToken"/> that will be assigned to the new task.</param> /// <param name="creationOptions">A TaskCreationOptions value that controls the behavior of the /// created - /// <see cref="T:System.Threading.Tasks.Task">Task.</see></param> + /// <see cref="System.Threading.Tasks.Task">Task.</see></param> /// <param name="scheduler">The <see - /// cref="T:System.Threading.Tasks.TaskScheduler">TaskScheduler</see> + /// cref="System.Threading.Tasks.TaskScheduler">TaskScheduler</see> /// that is used to schedule the created <see - /// cref="T:System.Threading.Tasks.Task">Task</see>.</param> - /// <returns>The started <see cref="T:System.Threading.Tasks.Task">Task</see>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the <paramref + /// cref="System.Threading.Tasks.Task">Task</see>.</param> + /// <returns>The started <see cref="System.Threading.Tasks.Task">Task</see>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref /// name="action"/> /// argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the <paramref + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref /// name="scheduler"/> /// argument is null.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="creationOptions"/> argument specifies an invalid TaskCreationOptions /// value.</exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> /// <remarks> @@ -505,15 +505,15 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates and starts a <see cref="T:System.Threading.Tasks.Task{TResult}"/>. + /// Creates and starts a <see cref="System.Threading.Tasks.Task{TResult}"/>. /// </summary> /// <typeparam name="TResult">The type of the result available through the - /// <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>. + /// <see cref="System.Threading.Tasks.Task{TResult}">Task</see>. /// </typeparam> /// <param name="function">A function delegate that returns the future result to be available through - /// the <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</param> - /// <returns>The started <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the <paramref + /// the <see cref="System.Threading.Tasks.Task{TResult}"/>.</param> + /// <returns>The started <see cref="System.Threading.Tasks.Task{TResult}"/>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref /// name="function"/> /// argument is null.</exception> /// <remarks> @@ -532,19 +532,19 @@ namespace System.Threading.Tasks /// <summary> - /// Creates and starts a <see cref="T:System.Threading.Tasks.Task{TResult}"/>. + /// Creates and starts a <see cref="System.Threading.Tasks.Task{TResult}"/>. /// </summary> /// <typeparam name="TResult">The type of the result available through the - /// <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>. + /// <see cref="System.Threading.Tasks.Task{TResult}">Task</see>. /// </typeparam> /// <param name="function">A function delegate that returns the future result to be available through - /// the <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</param> + /// the <see cref="System.Threading.Tasks.Task{TResult}"/>.</param> /// <param name="cancellationToken">The <see cref="CancellationToken"/> that will be assigned to the new <see cref="Task"/></param> - /// <returns>The started <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the <paramref + /// <returns>The started <see cref="System.Threading.Tasks.Task{TResult}"/>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref /// name="function"/> /// argument is null.</exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> /// <remarks> @@ -562,21 +562,21 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates and starts a <see cref="T:System.Threading.Tasks.Task{TResult}"/>. + /// Creates and starts a <see cref="System.Threading.Tasks.Task{TResult}"/>. /// </summary> /// <typeparam name="TResult">The type of the result available through the - /// <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>. + /// <see cref="System.Threading.Tasks.Task{TResult}">Task</see>. /// </typeparam> /// <param name="function">A function delegate that returns the future result to be available through - /// the <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</param> + /// the <see cref="System.Threading.Tasks.Task{TResult}"/>.</param> /// <param name="creationOptions">A TaskCreationOptions value that controls the behavior of the /// created - /// <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</param> - /// <returns>The started <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the <paramref + /// <see cref="System.Threading.Tasks.Task{TResult}"/>.</param> + /// <returns>The started <see cref="System.Threading.Tasks.Task{TResult}"/>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref /// name="function"/> /// argument is null.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="creationOptions"/> argument specifies an invalid TaskCreationOptions /// value.</exception> /// <remarks> @@ -594,32 +594,32 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates and starts a <see cref="T:System.Threading.Tasks.Task{TResult}"/>. + /// Creates and starts a <see cref="System.Threading.Tasks.Task{TResult}"/>. /// </summary> /// <typeparam name="TResult">The type of the result available through the - /// <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>. + /// <see cref="System.Threading.Tasks.Task{TResult}">Task</see>. /// </typeparam> /// <param name="function">A function delegate that returns the future result to be available through - /// the <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</param> + /// the <see cref="System.Threading.Tasks.Task{TResult}"/>.</param> /// <param name="cancellationToken">The <see cref="CancellationToken"/> that will be assigned to the new task.</param> /// <param name="creationOptions">A TaskCreationOptions value that controls the behavior of the /// created - /// <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</param> + /// <see cref="System.Threading.Tasks.Task{TResult}"/>.</param> /// <param name="scheduler">The <see - /// cref="T:System.Threading.Tasks.TaskScheduler">TaskScheduler</see> - /// that is used to schedule the created <see cref="T:System.Threading.Tasks.Task{TResult}"> + /// cref="System.Threading.Tasks.TaskScheduler">TaskScheduler</see> + /// that is used to schedule the created <see cref="System.Threading.Tasks.Task{TResult}"> /// Task{TResult}</see>.</param> - /// <returns>The started <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the <paramref + /// <returns>The started <see cref="System.Threading.Tasks.Task{TResult}"/>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref /// name="function"/> /// argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the <paramref + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref /// name="scheduler"/> /// argument is null.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="creationOptions"/> argument specifies an invalid TaskCreationOptions /// value.</exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> /// <remarks> @@ -637,17 +637,17 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates and starts a <see cref="T:System.Threading.Tasks.Task{TResult}"/>. + /// Creates and starts a <see cref="System.Threading.Tasks.Task{TResult}"/>. /// </summary> /// <typeparam name="TResult">The type of the result available through the - /// <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>. + /// <see cref="System.Threading.Tasks.Task{TResult}">Task</see>. /// </typeparam> /// <param name="function">A function delegate that returns the future result to be available through - /// the <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</param> + /// the <see cref="System.Threading.Tasks.Task{TResult}"/>.</param> /// <param name="state">An object containing data to be used by the <paramref name="function"/> /// delegate.</param> - /// <returns>The started <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the <paramref + /// <returns>The started <see cref="System.Threading.Tasks.Task{TResult}"/>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref /// name="function"/> /// argument is null.</exception> /// <remarks> @@ -666,21 +666,21 @@ namespace System.Threading.Tasks /// <summary> - /// Creates and starts a <see cref="T:System.Threading.Tasks.Task{TResult}"/>. + /// Creates and starts a <see cref="System.Threading.Tasks.Task{TResult}"/>. /// </summary> /// <typeparam name="TResult">The type of the result available through the - /// <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>. + /// <see cref="System.Threading.Tasks.Task{TResult}">Task</see>. /// </typeparam> /// <param name="function">A function delegate that returns the future result to be available through - /// the <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</param> + /// the <see cref="System.Threading.Tasks.Task{TResult}"/>.</param> /// <param name="state">An object containing data to be used by the <paramref name="function"/> /// delegate.</param> /// <param name="cancellationToken">The <see cref="CancellationToken"/> that will be assigned to the new <see cref="Task"/></param> - /// <returns>The started <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the <paramref + /// <returns>The started <see cref="System.Threading.Tasks.Task{TResult}"/>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref /// name="function"/> /// argument is null.</exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> /// <remarks> @@ -698,23 +698,23 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates and starts a <see cref="T:System.Threading.Tasks.Task{TResult}"/>. + /// Creates and starts a <see cref="System.Threading.Tasks.Task{TResult}"/>. /// </summary> /// <typeparam name="TResult">The type of the result available through the - /// <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>. + /// <see cref="System.Threading.Tasks.Task{TResult}">Task</see>. /// </typeparam> /// <param name="function">A function delegate that returns the future result to be available through - /// the <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</param> + /// the <see cref="System.Threading.Tasks.Task{TResult}"/>.</param> /// <param name="state">An object containing data to be used by the <paramref name="function"/> /// delegate.</param> /// <param name="creationOptions">A TaskCreationOptions value that controls the behavior of the /// created - /// <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</param> - /// <returns>The started <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the <paramref + /// <see cref="System.Threading.Tasks.Task{TResult}"/>.</param> + /// <returns>The started <see cref="System.Threading.Tasks.Task{TResult}"/>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref /// name="function"/> /// argument is null.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="creationOptions"/> argument specifies an invalid TaskCreationOptions /// value.</exception> /// <remarks> @@ -732,34 +732,34 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates and starts a <see cref="T:System.Threading.Tasks.Task{TResult}"/>. + /// Creates and starts a <see cref="System.Threading.Tasks.Task{TResult}"/>. /// </summary> /// <typeparam name="TResult">The type of the result available through the - /// <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>. + /// <see cref="System.Threading.Tasks.Task{TResult}">Task</see>. /// </typeparam> /// <param name="function">A function delegate that returns the future result to be available through - /// the <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</param> + /// the <see cref="System.Threading.Tasks.Task{TResult}"/>.</param> /// <param name="state">An object containing data to be used by the <paramref name="function"/> /// delegate.</param> /// <param name="cancellationToken">The <see cref="CancellationToken"/> that will be assigned to the new task.</param> /// <param name="creationOptions">A TaskCreationOptions value that controls the behavior of the /// created - /// <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</param> + /// <see cref="System.Threading.Tasks.Task{TResult}"/>.</param> /// <param name="scheduler">The <see - /// cref="T:System.Threading.Tasks.TaskScheduler">TaskScheduler</see> - /// that is used to schedule the created <see cref="T:System.Threading.Tasks.Task{TResult}"> + /// cref="System.Threading.Tasks.TaskScheduler">TaskScheduler</see> + /// that is used to schedule the created <see cref="System.Threading.Tasks.Task{TResult}"> /// Task{TResult}</see>.</param> - /// <returns>The started <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the <paramref + /// <returns>The started <see cref="System.Threading.Tasks.Task{TResult}"/>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref /// name="function"/> /// argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the <paramref + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the <paramref /// name="scheduler"/> /// argument is null.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="creationOptions"/> argument specifies an invalid TaskCreationOptions /// value.</exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> /// <remarks> @@ -782,18 +782,18 @@ namespace System.Threading.Tasks // /// <summary> - /// Creates a <see cref="T:System.Threading.Tasks.Task">Task</see> that executes an end method action - /// when a specified <see cref="T:System.IAsyncResult">IAsyncResult</see> completes. + /// Creates a <see cref="System.Threading.Tasks.Task">Task</see> that executes an end method action + /// when a specified <see cref="System.IAsyncResult">IAsyncResult</see> completes. /// </summary> /// <param name="asyncResult">The IAsyncResult whose completion should trigger the processing of the /// <paramref name="endMethod"/>.</param> /// <param name="endMethod">The action delegate that processes the completed <paramref /// name="asyncResult"/>.</param> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="asyncResult"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="endMethod"/> argument is null.</exception> - /// <returns>A <see cref="T:System.Threading.Tasks.Task">Task</see> that represents the asynchronous + /// <returns>A <see cref="System.Threading.Tasks.Task">Task</see> that represents the asynchronous /// operation.</returns> public Task FromAsync( IAsyncResult asyncResult, @@ -803,23 +803,23 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a <see cref="T:System.Threading.Tasks.Task">Task</see> that executes an end method action - /// when a specified <see cref="T:System.IAsyncResult">IAsyncResult</see> completes. + /// Creates a <see cref="System.Threading.Tasks.Task">Task</see> that executes an end method action + /// when a specified <see cref="System.IAsyncResult">IAsyncResult</see> completes. /// </summary> /// <param name="asyncResult">The IAsyncResult whose completion should trigger the processing of the /// <paramref name="endMethod"/>.</param> /// <param name="endMethod">The action delegate that processes the completed <paramref /// name="asyncResult"/>.</param> /// <param name="creationOptions">The TaskCreationOptions value that controls the behavior of the - /// created <see cref="T:System.Threading.Tasks.Task">Task</see>.</param> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// created <see cref="System.Threading.Tasks.Task">Task</see>.</param> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="asyncResult"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="endMethod"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="creationOptions"/> argument specifies an invalid TaskCreationOptions /// value.</exception> - /// <returns>A <see cref="T:System.Threading.Tasks.Task">Task</see> that represents the asynchronous + /// <returns>A <see cref="System.Threading.Tasks.Task">Task</see> that represents the asynchronous /// operation.</returns> public Task FromAsync( IAsyncResult asyncResult, @@ -830,8 +830,8 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a <see cref="T:System.Threading.Tasks.Task">Task</see> that executes an end method action - /// when a specified <see cref="T:System.IAsyncResult">IAsyncResult</see> completes. + /// Creates a <see cref="System.Threading.Tasks.Task">Task</see> that executes an end method action + /// when a specified <see cref="System.IAsyncResult">IAsyncResult</see> completes. /// </summary> /// <param name="asyncResult">The IAsyncResult whose completion should trigger the processing of the /// <paramref name="endMethod"/>.</param> @@ -840,17 +840,17 @@ namespace System.Threading.Tasks /// <param name="scheduler">The <see cref="System.Threading.Tasks.TaskScheduler">TaskScheduler</see> /// that is used to schedule the task that executes the end method.</param> /// <param name="creationOptions">The TaskCreationOptions value that controls the behavior of the - /// created <see cref="T:System.Threading.Tasks.Task">Task</see>.</param> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// created <see cref="System.Threading.Tasks.Task">Task</see>.</param> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="asyncResult"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="endMethod"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="scheduler"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="creationOptions"/> argument specifies an invalid TaskCreationOptions /// value.</exception> - /// <returns>A <see cref="T:System.Threading.Tasks.Task">Task</see> that represents the asynchronous + /// <returns>A <see cref="System.Threading.Tasks.Task">Task</see> that represents the asynchronous /// operation.</returns> public Task FromAsync( IAsyncResult asyncResult, @@ -862,18 +862,18 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a <see cref="T:System.Threading.Tasks.Task">Task</see> that represents a pair of begin + /// Creates a <see cref="System.Threading.Tasks.Task">Task</see> that represents a pair of begin /// and end methods that conform to the Asynchronous Programming Model pattern. /// </summary> /// <param name="beginMethod">The delegate that begins the asynchronous operation.</param> /// <param name="endMethod">The delegate that ends the asynchronous operation.</param> /// <param name="state">An object containing data to be used by the <paramref name="beginMethod"/> /// delegate.</param> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="beginMethod"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="endMethod"/> argument is null.</exception> - /// <returns>The created <see cref="T:System.Threading.Tasks.Task">Task</see> that represents the + /// <returns>The created <see cref="System.Threading.Tasks.Task">Task</see> that represents the /// asynchronous operation.</returns> /// <remarks> /// This method throws any exceptions thrown by the <paramref name="beginMethod"/>. @@ -887,23 +887,23 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a <see cref="T:System.Threading.Tasks.Task">Task</see> that represents a pair of begin + /// Creates a <see cref="System.Threading.Tasks.Task">Task</see> that represents a pair of begin /// and end methods that conform to the Asynchronous Programming Model pattern. /// </summary> /// <param name="beginMethod">The delegate that begins the asynchronous operation.</param> /// <param name="endMethod">The delegate that ends the asynchronous operation.</param> /// <param name="creationOptions">The TaskCreationOptions value that controls the behavior of the - /// created <see cref="T:System.Threading.Tasks.Task">Task</see>.</param> + /// created <see cref="System.Threading.Tasks.Task">Task</see>.</param> /// <param name="state">An object containing data to be used by the <paramref name="beginMethod"/> /// delegate.</param> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="beginMethod"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="endMethod"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="creationOptions"/> argument specifies an invalid TaskCreationOptions /// value.</exception> - /// <returns>The created <see cref="T:System.Threading.Tasks.Task">Task</see> that represents the + /// <returns>The created <see cref="System.Threading.Tasks.Task">Task</see> that represents the /// asynchronous operation.</returns> /// <remarks> /// This method throws any exceptions thrown by the <paramref name="beginMethod"/>. @@ -916,7 +916,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a <see cref="T:System.Threading.Tasks.Task">Task</see> that represents a pair of begin + /// Creates a <see cref="System.Threading.Tasks.Task">Task</see> that represents a pair of begin /// and end methods that conform to the Asynchronous Programming Model pattern. /// </summary> /// <typeparam name="TArg1">The type of the first argument passed to the <paramref @@ -928,11 +928,11 @@ namespace System.Threading.Tasks /// delegate.</param> /// <param name="state">An object containing data to be used by the <paramref name="beginMethod"/> /// delegate.</param> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="beginMethod"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="endMethod"/> argument is null.</exception> - /// <returns>The created <see cref="T:System.Threading.Tasks.Task">Task</see> that represents the + /// <returns>The created <see cref="System.Threading.Tasks.Task">Task</see> that represents the /// asynchronous operation.</returns> /// <remarks> /// This method throws any exceptions thrown by the <paramref name="beginMethod"/>. @@ -947,7 +947,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a <see cref="T:System.Threading.Tasks.Task">Task</see> that represents a pair of begin + /// Creates a <see cref="System.Threading.Tasks.Task">Task</see> that represents a pair of begin /// and end methods that conform to the Asynchronous Programming Model pattern. /// </summary> /// <typeparam name="TArg1">The type of the first argument passed to the <paramref @@ -958,17 +958,17 @@ namespace System.Threading.Tasks /// <param name="arg1">The first argument passed to the <paramref name="beginMethod"/> /// delegate.</param> /// <param name="creationOptions">The TaskCreationOptions value that controls the behavior of the - /// created <see cref="T:System.Threading.Tasks.Task">Task</see>.</param> + /// created <see cref="System.Threading.Tasks.Task">Task</see>.</param> /// <param name="state">An object containing data to be used by the <paramref name="beginMethod"/> /// delegate.</param> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="beginMethod"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="endMethod"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="creationOptions"/> argument specifies an invalid TaskCreationOptions /// value.</exception> - /// <returns>The created <see cref="T:System.Threading.Tasks.Task">Task</see> that represents the + /// <returns>The created <see cref="System.Threading.Tasks.Task">Task</see> that represents the /// asynchronous operation.</returns> /// <remarks> /// This method throws any exceptions thrown by the <paramref name="beginMethod"/>. @@ -982,7 +982,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a <see cref="T:System.Threading.Tasks.Task">Task</see> that represents a pair of begin + /// Creates a <see cref="System.Threading.Tasks.Task">Task</see> that represents a pair of begin /// and end methods that conform to the Asynchronous Programming Model pattern. /// </summary> /// <typeparam name="TArg1">The type of the first argument passed to the <paramref @@ -998,11 +998,11 @@ namespace System.Threading.Tasks /// delegate.</param> /// <param name="state">An object containing data to be used by the <paramref name="beginMethod"/> /// delegate.</param> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="beginMethod"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="endMethod"/> argument is null.</exception> - /// <returns>The created <see cref="T:System.Threading.Tasks.Task">Task</see> that represents the + /// <returns>The created <see cref="System.Threading.Tasks.Task">Task</see> that represents the /// asynchronous operation.</returns> /// <remarks> /// This method throws any exceptions thrown by the <paramref name="beginMethod"/>. @@ -1016,7 +1016,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a <see cref="T:System.Threading.Tasks.Task">Task</see> that represents a pair of begin + /// Creates a <see cref="System.Threading.Tasks.Task">Task</see> that represents a pair of begin /// and end methods that conform to the Asynchronous Programming Model pattern. /// </summary> /// <typeparam name="TArg1">The type of the first argument passed to the <paramref @@ -1031,17 +1031,17 @@ namespace System.Threading.Tasks /// <param name="arg2">The second argument passed to the <paramref name="beginMethod"/> /// delegate.</param> /// <param name="creationOptions">The TaskCreationOptions value that controls the behavior of the - /// created <see cref="T:System.Threading.Tasks.Task">Task</see>.</param> + /// created <see cref="System.Threading.Tasks.Task">Task</see>.</param> /// <param name="state">An object containing data to be used by the <paramref name="beginMethod"/> /// delegate.</param> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="beginMethod"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="endMethod"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="creationOptions"/> argument specifies an invalid TaskCreationOptions /// value.</exception> - /// <returns>The created <see cref="T:System.Threading.Tasks.Task">Task</see> that represents the + /// <returns>The created <see cref="System.Threading.Tasks.Task">Task</see> that represents the /// asynchronous operation.</returns> /// <remarks> /// This method throws any exceptions thrown by the <paramref name="beginMethod"/>. @@ -1055,7 +1055,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a <see cref="T:System.Threading.Tasks.Task">Task</see> that represents a pair of begin + /// Creates a <see cref="System.Threading.Tasks.Task">Task</see> that represents a pair of begin /// and end methods that conform to the Asynchronous Programming Model pattern. /// </summary> /// <typeparam name="TArg1">The type of the first argument passed to the <paramref @@ -1075,11 +1075,11 @@ namespace System.Threading.Tasks /// delegate.</param> /// <param name="state">An object containing data to be used by the <paramref name="beginMethod"/> /// delegate.</param> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="beginMethod"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="endMethod"/> argument is null.</exception> - /// <returns>The created <see cref="T:System.Threading.Tasks.Task">Task</see> that represents the + /// <returns>The created <see cref="System.Threading.Tasks.Task">Task</see> that represents the /// asynchronous operation.</returns> /// <remarks> /// This method throws any exceptions thrown by the <paramref name="beginMethod"/>. @@ -1093,7 +1093,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a <see cref="T:System.Threading.Tasks.Task">Task</see> that represents a pair of begin + /// Creates a <see cref="System.Threading.Tasks.Task">Task</see> that represents a pair of begin /// and end methods that conform to the Asynchronous Programming Model pattern. /// </summary> /// <typeparam name="TArg1">The type of the first argument passed to the <paramref @@ -1112,17 +1112,17 @@ namespace System.Threading.Tasks /// <param name="arg3">The third argument passed to the <paramref name="beginMethod"/> /// delegate.</param> /// <param name="creationOptions">The TaskCreationOptions value that controls the behavior of the - /// created <see cref="T:System.Threading.Tasks.Task">Task</see>.</param> + /// created <see cref="System.Threading.Tasks.Task">Task</see>.</param> /// <param name="state">An object containing data to be used by the <paramref name="beginMethod"/> /// delegate.</param> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="beginMethod"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="endMethod"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="creationOptions"/> argument specifies an invalid TaskCreationOptions /// value.</exception> - /// <returns>The created <see cref="T:System.Threading.Tasks.Task">Task</see> that represents the + /// <returns>The created <see cref="System.Threading.Tasks.Task">Task</see> that represents the /// asynchronous operation.</returns> /// <remarks> /// This method throws any exceptions thrown by the <paramref name="beginMethod"/>. @@ -1140,21 +1140,21 @@ namespace System.Threading.Tasks // /// <summary> - /// Creates a <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> that executes an end - /// method function when a specified <see cref="T:System.IAsyncResult">IAsyncResult</see> completes. + /// Creates a <see cref="System.Threading.Tasks.Task{TResult}">Task</see> that executes an end + /// method function when a specified <see cref="System.IAsyncResult">IAsyncResult</see> completes. /// </summary> /// <typeparam name="TResult">The type of the result available through the - /// <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>. + /// <see cref="System.Threading.Tasks.Task{TResult}">Task</see>. /// </typeparam> /// <param name="asyncResult">The IAsyncResult whose completion should trigger the processing of the /// <paramref name="endMethod"/>.</param> /// <param name="endMethod">The function delegate that processes the completed <paramref /// name="asyncResult"/>.</param> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="asyncResult"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="endMethod"/> argument is null.</exception> - /// <returns>A <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> that represents the + /// <returns>A <see cref="System.Threading.Tasks.Task{TResult}">Task</see> that represents the /// asynchronous operation.</returns> public Task<TResult> FromAsync<TResult>( IAsyncResult asyncResult, Func<IAsyncResult, TResult> endMethod) @@ -1163,26 +1163,26 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> that executes an end - /// method function when a specified <see cref="T:System.IAsyncResult">IAsyncResult</see> completes. + /// Creates a <see cref="System.Threading.Tasks.Task{TResult}">Task</see> that executes an end + /// method function when a specified <see cref="System.IAsyncResult">IAsyncResult</see> completes. /// </summary> /// <typeparam name="TResult">The type of the result available through the - /// <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>. + /// <see cref="System.Threading.Tasks.Task{TResult}">Task</see>. /// </typeparam> /// <param name="asyncResult">The IAsyncResult whose completion should trigger the processing of the /// <paramref name="endMethod"/>.</param> /// <param name="endMethod">The function delegate that processes the completed <paramref /// name="asyncResult"/>.</param> /// <param name="creationOptions">The TaskCreationOptions value that controls the behavior of the - /// created <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>.</param> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// created <see cref="System.Threading.Tasks.Task{TResult}">Task</see>.</param> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="asyncResult"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="endMethod"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="creationOptions"/> argument specifies an invalid TaskCreationOptions /// value.</exception> - /// <returns>A <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> that represents the + /// <returns>A <see cref="System.Threading.Tasks.Task{TResult}">Task</see> that represents the /// asynchronous operation.</returns> public Task<TResult> FromAsync<TResult>( IAsyncResult asyncResult, Func<IAsyncResult, TResult> endMethod, TaskCreationOptions creationOptions) @@ -1191,11 +1191,11 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> that executes an end - /// method function when a specified <see cref="T:System.IAsyncResult">IAsyncResult</see> completes. + /// Creates a <see cref="System.Threading.Tasks.Task{TResult}">Task</see> that executes an end + /// method function when a specified <see cref="System.IAsyncResult">IAsyncResult</see> completes. /// </summary> /// <typeparam name="TResult">The type of the result available through the - /// <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>. + /// <see cref="System.Threading.Tasks.Task{TResult}">Task</see>. /// </typeparam> /// <param name="asyncResult">The IAsyncResult whose completion should trigger the processing of the /// <paramref name="endMethod"/>.</param> @@ -1204,17 +1204,17 @@ namespace System.Threading.Tasks /// <param name="scheduler">The <see cref="System.Threading.Tasks.TaskScheduler">TaskScheduler</see> /// that is used to schedule the task that executes the end method.</param> /// <param name="creationOptions">The TaskCreationOptions value that controls the behavior of the - /// created <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>.</param> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// created <see cref="System.Threading.Tasks.Task{TResult}">Task</see>.</param> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="asyncResult"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="endMethod"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="scheduler"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="creationOptions"/> argument specifies an invalid TaskCreationOptions /// value.</exception> - /// <returns>A <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> that represents the + /// <returns>A <see cref="System.Threading.Tasks.Task{TResult}">Task</see> that represents the /// asynchronous operation.</returns> public Task<TResult> FromAsync<TResult>( IAsyncResult asyncResult, Func<IAsyncResult, TResult> endMethod, TaskCreationOptions creationOptions, TaskScheduler scheduler) @@ -1223,21 +1223,21 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> that represents a pair of + /// Creates a <see cref="System.Threading.Tasks.Task{TResult}">Task</see> that represents a pair of /// begin and end methods that conform to the Asynchronous Programming Model pattern. /// </summary> /// <typeparam name="TResult">The type of the result available through the - /// <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>. + /// <see cref="System.Threading.Tasks.Task{TResult}">Task</see>. /// </typeparam> /// <param name="beginMethod">The delegate that begins the asynchronous operation.</param> /// <param name="endMethod">The delegate that ends the asynchronous operation.</param> /// <param name="state">An object containing data to be used by the <paramref name="beginMethod"/> /// delegate.</param> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="beginMethod"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="endMethod"/> argument is null.</exception> - /// <returns>The created <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> that + /// <returns>The created <see cref="System.Threading.Tasks.Task{TResult}">Task</see> that /// represents the asynchronous operation.</returns> /// <remarks> /// This method throws any exceptions thrown by the <paramref name="beginMethod"/>. @@ -1250,26 +1250,26 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> that represents a pair of + /// Creates a <see cref="System.Threading.Tasks.Task{TResult}">Task</see> that represents a pair of /// begin and end methods that conform to the Asynchronous Programming Model pattern. /// </summary> /// <typeparam name="TResult">The type of the result available through the - /// <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>. + /// <see cref="System.Threading.Tasks.Task{TResult}">Task</see>. /// </typeparam> /// <param name="beginMethod">The delegate that begins the asynchronous operation.</param> /// <param name="endMethod">The delegate that ends the asynchronous operation.</param> /// <param name="creationOptions">The TaskCreationOptions value that controls the behavior of the - /// created <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>.</param> + /// created <see cref="System.Threading.Tasks.Task{TResult}">Task</see>.</param> /// <param name="state">An object containing data to be used by the <paramref name="beginMethod"/> /// delegate.</param> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="beginMethod"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="endMethod"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="creationOptions"/> argument specifies an invalid TaskCreationOptions /// value.</exception> - /// <returns>The created <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> that + /// <returns>The created <see cref="System.Threading.Tasks.Task{TResult}">Task</see> that /// represents the asynchronous operation.</returns> /// <remarks> /// This method throws any exceptions thrown by the <paramref name="beginMethod"/>. @@ -1282,13 +1282,13 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> that represents a pair of + /// Creates a <see cref="System.Threading.Tasks.Task{TResult}">Task</see> that represents a pair of /// begin and end methods that conform to the Asynchronous Programming Model pattern. /// </summary> /// <typeparam name="TArg1">The type of the first argument passed to the <paramref /// name="beginMethod"/> delegate.</typeparam> /// <typeparam name="TResult">The type of the result available through the - /// <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>. + /// <see cref="System.Threading.Tasks.Task{TResult}">Task</see>. /// </typeparam> /// <param name="beginMethod">The delegate that begins the asynchronous operation.</param> /// <param name="endMethod">The delegate that ends the asynchronous operation.</param> @@ -1296,11 +1296,11 @@ namespace System.Threading.Tasks /// delegate.</param> /// <param name="state">An object containing data to be used by the <paramref name="beginMethod"/> /// delegate.</param> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="beginMethod"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="endMethod"/> argument is null.</exception> - /// <returns>The created <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> that + /// <returns>The created <see cref="System.Threading.Tasks.Task{TResult}">Task</see> that /// represents the asynchronous operation.</returns> /// <remarks> /// This method throws any exceptions thrown by the <paramref name="beginMethod"/>. @@ -1313,30 +1313,30 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> that represents a pair of + /// Creates a <see cref="System.Threading.Tasks.Task{TResult}">Task</see> that represents a pair of /// begin and end methods that conform to the Asynchronous Programming Model pattern. /// </summary> /// <typeparam name="TArg1">The type of the first argument passed to the <paramref /// name="beginMethod"/> delegate.</typeparam> /// <typeparam name="TResult">The type of the result available through the - /// <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>. + /// <see cref="System.Threading.Tasks.Task{TResult}">Task</see>. /// </typeparam> /// <param name="beginMethod">The delegate that begins the asynchronous operation.</param> /// <param name="endMethod">The delegate that ends the asynchronous operation.</param> /// <param name="arg1">The first argument passed to the <paramref name="beginMethod"/> /// delegate.</param> /// <param name="creationOptions">The TaskCreationOptions value that controls the behavior of the - /// created <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>.</param> + /// created <see cref="System.Threading.Tasks.Task{TResult}">Task</see>.</param> /// <param name="state">An object containing data to be used by the <paramref name="beginMethod"/> /// delegate.</param> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="beginMethod"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="endMethod"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="creationOptions"/> argument specifies an invalid TaskCreationOptions /// value.</exception> - /// <returns>The created <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> that + /// <returns>The created <see cref="System.Threading.Tasks.Task{TResult}">Task</see> that /// represents the asynchronous operation.</returns> /// <remarks> /// This method throws any exceptions thrown by the <paramref name="beginMethod"/>. @@ -1348,7 +1348,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> that represents a pair of + /// Creates a <see cref="System.Threading.Tasks.Task{TResult}">Task</see> that represents a pair of /// begin and end methods that conform to the Asynchronous Programming Model pattern. /// </summary> /// <typeparam name="TArg1">The type of the first argument passed to the <paramref @@ -1356,7 +1356,7 @@ namespace System.Threading.Tasks /// <typeparam name="TArg2">The type of the second argument passed to <paramref name="beginMethod"/> /// delegate.</typeparam> /// <typeparam name="TResult">The type of the result available through the - /// <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>. + /// <see cref="System.Threading.Tasks.Task{TResult}">Task</see>. /// </typeparam> /// <param name="beginMethod">The delegate that begins the asynchronous operation.</param> /// <param name="endMethod">The delegate that ends the asynchronous operation.</param> @@ -1366,11 +1366,11 @@ namespace System.Threading.Tasks /// delegate.</param> /// <param name="state">An object containing data to be used by the <paramref name="beginMethod"/> /// delegate.</param> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="beginMethod"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="endMethod"/> argument is null.</exception> - /// <returns>The created <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> that + /// <returns>The created <see cref="System.Threading.Tasks.Task{TResult}">Task</see> that /// represents the asynchronous operation.</returns> /// <remarks> /// This method throws any exceptions thrown by the <paramref name="beginMethod"/>. @@ -1382,7 +1382,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> that represents a pair of + /// Creates a <see cref="System.Threading.Tasks.Task{TResult}">Task</see> that represents a pair of /// begin and end methods that conform to the Asynchronous Programming Model pattern. /// </summary> /// <typeparam name="TArg1">The type of the first argument passed to the <paramref @@ -1390,7 +1390,7 @@ namespace System.Threading.Tasks /// <typeparam name="TArg2">The type of the second argument passed to <paramref name="beginMethod"/> /// delegate.</typeparam> /// <typeparam name="TResult">The type of the result available through the - /// <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>. + /// <see cref="System.Threading.Tasks.Task{TResult}">Task</see>. /// </typeparam> /// <param name="beginMethod">The delegate that begins the asynchronous operation.</param> /// <param name="endMethod">The delegate that ends the asynchronous operation.</param> @@ -1399,17 +1399,17 @@ namespace System.Threading.Tasks /// <param name="arg2">The second argument passed to the <paramref name="beginMethod"/> /// delegate.</param> /// <param name="creationOptions">The TaskCreationOptions value that controls the behavior of the - /// created <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>.</param> + /// created <see cref="System.Threading.Tasks.Task{TResult}">Task</see>.</param> /// <param name="state">An object containing data to be used by the <paramref name="beginMethod"/> /// delegate.</param> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="beginMethod"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="endMethod"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="creationOptions"/> argument specifies an invalid TaskCreationOptions /// value.</exception> - /// <returns>The created <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> that + /// <returns>The created <see cref="System.Threading.Tasks.Task{TResult}">Task</see> that /// represents the asynchronous operation.</returns> /// <remarks> /// This method throws any exceptions thrown by the <paramref name="beginMethod"/>. @@ -1422,7 +1422,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> that represents a pair of + /// Creates a <see cref="System.Threading.Tasks.Task{TResult}">Task</see> that represents a pair of /// begin and end methods that conform to the Asynchronous Programming Model pattern. /// </summary> /// <typeparam name="TArg1">The type of the first argument passed to the <paramref @@ -1432,7 +1432,7 @@ namespace System.Threading.Tasks /// <typeparam name="TArg3">The type of the third argument passed to <paramref name="beginMethod"/> /// delegate.</typeparam> /// <typeparam name="TResult">The type of the result available through the - /// <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>. + /// <see cref="System.Threading.Tasks.Task{TResult}">Task</see>. /// </typeparam> /// <param name="beginMethod">The delegate that begins the asynchronous operation.</param> /// <param name="endMethod">The delegate that ends the asynchronous operation.</param> @@ -1444,11 +1444,11 @@ namespace System.Threading.Tasks /// delegate.</param> /// <param name="state">An object containing data to be used by the <paramref name="beginMethod"/> /// delegate.</param> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="beginMethod"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="endMethod"/> argument is null.</exception> - /// <returns>The created <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> that + /// <returns>The created <see cref="System.Threading.Tasks.Task{TResult}">Task</see> that /// represents the asynchronous operation.</returns> /// <remarks> /// This method throws any exceptions thrown by the <paramref name="beginMethod"/>. @@ -1461,7 +1461,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> that represents a pair of + /// Creates a <see cref="System.Threading.Tasks.Task{TResult}">Task</see> that represents a pair of /// begin and end methods that conform to the Asynchronous Programming Model pattern. /// </summary> /// <typeparam name="TArg1">The type of the first argument passed to the <paramref @@ -1471,7 +1471,7 @@ namespace System.Threading.Tasks /// <typeparam name="TArg3">The type of the third argument passed to <paramref name="beginMethod"/> /// delegate.</typeparam> /// <typeparam name="TResult">The type of the result available through the - /// <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>. + /// <see cref="System.Threading.Tasks.Task{TResult}">Task</see>. /// </typeparam> /// <param name="beginMethod">The delegate that begins the asynchronous operation.</param> /// <param name="endMethod">The delegate that ends the asynchronous operation.</param> @@ -1482,17 +1482,17 @@ namespace System.Threading.Tasks /// <param name="arg3">The third argument passed to the <paramref name="beginMethod"/> /// delegate.</param> /// <param name="creationOptions">The TaskCreationOptions value that controls the behavior of the - /// created <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>.</param> + /// created <see cref="System.Threading.Tasks.Task{TResult}">Task</see>.</param> /// <param name="state">An object containing data to be used by the <paramref name="beginMethod"/> /// delegate.</param> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="beginMethod"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="endMethod"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="creationOptions"/> argument specifies an invalid TaskCreationOptions /// value.</exception> - /// <returns>The created <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> that + /// <returns>The created <see cref="System.Threading.Tasks.Task{TResult}">Task</see> that /// represents the asynchronous operation.</returns> /// <remarks> /// This method throws any exceptions thrown by the <paramref name="beginMethod"/>. @@ -1697,20 +1697,20 @@ namespace System.Threading.Tasks return promise; } /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task">Task</see> /// that will be started upon the completion of a set of provided Tasks. /// </summary> /// <param name="tasks">The array of tasks from which to continue.</param> /// <param name="continuationAction">The action delegate to execute when all tasks in /// the <paramref name="tasks"/> array have completed.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task">Task</see>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task">Task</see>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationAction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> public Task ContinueWhenAll(Task[] tasks, Action<Task[]> continuationAction) { @@ -1721,7 +1721,7 @@ namespace System.Threading.Tasks /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task">Task</see> /// that will be started upon the completion of a set of provided Tasks. /// </summary> /// <param name="tasks">The array of tasks from which to continue.</param> @@ -1729,16 +1729,16 @@ namespace System.Threading.Tasks /// the <paramref name="tasks"/> array have completed.</param> /// <param name="cancellationToken">The <see cref="System.Threading.CancellationToken">CancellationToken</see> /// that will be assigned to the new continuation task.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task">Task</see>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task">Task</see>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationAction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> public Task ContinueWhenAll(Task[] tasks, Action<Task[]> continuationAction, CancellationToken cancellationToken) @@ -1749,7 +1749,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task">Task</see> /// that will be started upon the completion of a set of provided Tasks. /// </summary> /// <param name="tasks">The array of tasks from which to continue.</param> @@ -1757,17 +1757,17 @@ namespace System.Threading.Tasks /// name="tasks"/> array have completed.</param> /// <param name="continuationOptions">The <see cref="System.Threading.Tasks.TaskContinuationOptions"> /// TaskContinuationOptions</see> value that controls the behavior of - /// the created continuation <see cref="T:System.Threading.Tasks.Task">Task</see>.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task">Task</see>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// the created continuation <see cref="System.Threading.Tasks.Task">Task</see>.</param> + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task">Task</see>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationAction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="continuationOptions"/> argument specifies an invalid TaskContinuationOptions /// value.</exception> /// <remarks> @@ -1783,7 +1783,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task">Task</see> /// that will be started upon the completion of a set of provided Tasks. /// </summary> /// <param name="tasks">The array of tasks from which to continue.</param> @@ -1793,25 +1793,25 @@ namespace System.Threading.Tasks /// that will be assigned to the new continuation task.</param> /// <param name="continuationOptions">The <see cref="System.Threading.Tasks.TaskContinuationOptions"> /// TaskContinuationOptions</see> value that controls the behavior of - /// the created continuation <see cref="T:System.Threading.Tasks.Task">Task</see>.</param> + /// the created continuation <see cref="System.Threading.Tasks.Task">Task</see>.</param> /// <param name="scheduler">The <see cref="System.Threading.Tasks.TaskScheduler">TaskScheduler</see> /// that is used to schedule the created continuation <see - /// cref="T:System.Threading.Tasks.Task">Task</see>.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task">Task</see>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// cref="System.Threading.Tasks.Task">Task</see>.</param> + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task">Task</see>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationAction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="scheduler"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="continuationOptions"/> argument specifies an invalid TaskContinuationOptions /// value.</exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> /// <remarks> @@ -1828,21 +1828,21 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task">Task</see> /// that will be started upon the completion of a set of provided Tasks. /// </summary> /// <typeparam name="TAntecedentResult">The type of the result of the antecedent <paramref name="tasks"/>.</typeparam> /// <param name="tasks">The array of tasks from which to continue.</param> /// <param name="continuationAction">The action delegate to execute when all tasks in /// the <paramref name="tasks"/> array have completed.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task">Task</see>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task">Task</see>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationAction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> public Task ContinueWhenAll<TAntecedentResult>(Task<TAntecedentResult>[] tasks, Action<Task<TAntecedentResult>[]> continuationAction) { @@ -1853,7 +1853,7 @@ namespace System.Threading.Tasks /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task">Task</see> /// that will be started upon the completion of a set of provided Tasks. /// </summary> /// <typeparam name="TAntecedentResult">The type of the result of the antecedent <paramref name="tasks"/>.</typeparam> @@ -1862,16 +1862,16 @@ namespace System.Threading.Tasks /// the <paramref name="tasks"/> array have completed.</param> /// <param name="cancellationToken">The <see cref="System.Threading.CancellationToken">CancellationToken</see> /// that will be assigned to the new continuation task.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task">Task</see>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task">Task</see>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationAction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> public Task ContinueWhenAll<TAntecedentResult>(Task<TAntecedentResult>[] tasks, Action<Task<TAntecedentResult>[]> continuationAction, @@ -1883,7 +1883,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task">Task</see> /// that will be started upon the completion of a set of provided Tasks. /// </summary> /// <typeparam name="TAntecedentResult">The type of the result of the antecedent <paramref name="tasks"/>.</typeparam> @@ -1892,17 +1892,17 @@ namespace System.Threading.Tasks /// name="tasks"/> array have completed.</param> /// <param name="continuationOptions">The <see cref="System.Threading.Tasks.TaskContinuationOptions"> /// TaskContinuationOptions</see> value that controls the behavior of - /// the created continuation <see cref="T:System.Threading.Tasks.Task">Task</see>.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task">Task</see>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// the created continuation <see cref="System.Threading.Tasks.Task">Task</see>.</param> + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task">Task</see>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationAction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="continuationOptions"/> argument specifies an invalid TaskContinuationOptions /// value.</exception> /// <remarks> @@ -1919,7 +1919,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task">Task</see> /// that will be started upon the completion of a set of provided Tasks. /// </summary> /// <typeparam name="TAntecedentResult">The type of the result of the antecedent <paramref name="tasks"/>.</typeparam> @@ -1930,25 +1930,25 @@ namespace System.Threading.Tasks /// that will be assigned to the new continuation task.</param> /// <param name="continuationOptions">The <see cref="System.Threading.Tasks.TaskContinuationOptions"> /// TaskContinuationOptions</see> value that controls the behavior of - /// the created continuation <see cref="T:System.Threading.Tasks.Task">Task</see>.</param> + /// the created continuation <see cref="System.Threading.Tasks.Task">Task</see>.</param> /// <param name="scheduler">The <see cref="System.Threading.Tasks.TaskScheduler">TaskScheduler</see> /// that is used to schedule the created continuation <see - /// cref="T:System.Threading.Tasks.Task">Task</see>.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task">Task</see>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// cref="System.Threading.Tasks.Task">Task</see>.</param> + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task">Task</see>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationAction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="scheduler"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="continuationOptions"/> argument specifies an invalid TaskContinuationOptions /// value.</exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> /// <remarks> @@ -1965,24 +1965,24 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task">Task</see> /// that will be started upon the completion of a set of provided Tasks. /// </summary> /// <typeparam name="TResult">The type of the result that is returned by the <paramref /// name="continuationFunction"/> /// delegate and associated with the created <see - /// cref="T:System.Threading.Tasks.Task{TResult}"/>.</typeparam> + /// cref="System.Threading.Tasks.Task{TResult}"/>.</typeparam> /// <param name="tasks">The array of tasks from which to continue.</param> /// <param name="continuationFunction">The function delegate to execute when all tasks in the /// <paramref name="tasks"/> array have completed.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task{TResult}"/>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationFunction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> public Task<TResult> ContinueWhenAll<TResult>(Task[] tasks, Func<Task[], TResult> continuationFunction) { @@ -1993,28 +1993,28 @@ namespace System.Threading.Tasks /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task">Task</see> /// that will be started upon the completion of a set of provided Tasks. /// </summary> /// <typeparam name="TResult">The type of the result that is returned by the <paramref /// name="continuationFunction"/> /// delegate and associated with the created <see - /// cref="T:System.Threading.Tasks.Task{TResult}"/>.</typeparam> + /// cref="System.Threading.Tasks.Task{TResult}"/>.</typeparam> /// <param name="tasks">The array of tasks from which to continue.</param> /// <param name="continuationFunction">The function delegate to execute when all tasks in the /// <paramref name="tasks"/> array have completed.</param> /// <param name="cancellationToken">The <see cref="System.Threading.CancellationToken">CancellationToken</see> /// that will be assigned to the new continuation task.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task{TResult}"/>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationFunction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> public Task<TResult> ContinueWhenAll<TResult>(Task[] tasks, Func<Task[], TResult> continuationFunction, CancellationToken cancellationToken) @@ -2025,29 +2025,29 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see> /// that will be started upon the completion of a set of provided Tasks. /// </summary> /// <typeparam name="TResult">The type of the result that is returned by the <paramref /// name="continuationFunction"/> /// delegate and associated with the created <see - /// cref="T:System.Threading.Tasks.Task{TResult}"/>.</typeparam> + /// cref="System.Threading.Tasks.Task{TResult}"/>.</typeparam> /// <param name="tasks">The array of tasks from which to continue.</param> /// <param name="continuationFunction">The function delegate to execute when all tasks in the /// <paramref name="tasks"/> array have completed.</param> /// <param name="continuationOptions">The <see cref="System.Threading.Tasks.TaskContinuationOptions"> /// TaskContinuationOptions</see> value that controls the behavior of - /// the created continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// the created continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see>.</param> + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task{TResult}"/>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationFunction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="continuationOptions"/> argument specifies an invalid TaskContinuationOptions /// value.</exception> /// <remarks> @@ -2063,13 +2063,13 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see> /// that will be started upon the completion of a set of provided Tasks. /// </summary> /// <typeparam name="TResult">The type of the result that is returned by the <paramref /// name="continuationFunction"/> /// delegate and associated with the created <see - /// cref="T:System.Threading.Tasks.Task{TResult}"/>.</typeparam> + /// cref="System.Threading.Tasks.Task{TResult}"/>.</typeparam> /// <param name="tasks">The array of tasks from which to continue.</param> /// <param name="continuationFunction">The function delegate to execute when all tasks in the /// <paramref name="tasks"/> array have completed.</param> @@ -2077,25 +2077,25 @@ namespace System.Threading.Tasks /// that will be assigned to the new continuation task.</param> /// <param name="continuationOptions">The <see cref="System.Threading.Tasks.TaskContinuationOptions"> /// TaskContinuationOptions</see> value that controls the behavior of - /// the created continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>.</param> + /// the created continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see>.</param> /// <param name="scheduler">The <see cref="System.Threading.Tasks.TaskScheduler">TaskScheduler</see> /// that is used to schedule the created continuation <see - /// cref="T:System.Threading.Tasks.Task{TResult}"/>.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// cref="System.Threading.Tasks.Task{TResult}"/>.</param> + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task{TResult}"/>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationFunction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="scheduler"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="continuationOptions"/> argument specifies an invalid TaskContinuationOptions /// value.</exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> /// <remarks> @@ -2113,25 +2113,25 @@ namespace System.Threading.Tasks /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see> /// that will be started upon the completion of a set of provided Tasks. /// </summary> /// <typeparam name="TResult">The type of the result that is returned by the <paramref /// name="continuationFunction"/> /// delegate and associated with the created <see - /// cref="T:System.Threading.Tasks.Task{TResult}"/>.</typeparam> + /// cref="System.Threading.Tasks.Task{TResult}"/>.</typeparam> /// <typeparam name="TAntecedentResult">The type of the result of the antecedent <paramref name="tasks"/>.</typeparam> /// <param name="tasks">The array of tasks from which to continue.</param> /// <param name="continuationFunction">The function delegate to execute when all tasks in the /// <paramref name="tasks"/> array have completed.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task{TResult}"/>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationFunction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> public Task<TResult> ContinueWhenAll<TAntecedentResult, TResult>(Task<TAntecedentResult>[] tasks, Func<Task<TAntecedentResult>[], TResult> continuationFunction) { @@ -2141,29 +2141,29 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see> /// that will be started upon the completion of a set of provided Tasks. /// </summary> /// <typeparam name="TResult">The type of the result that is returned by the <paramref /// name="continuationFunction"/> /// delegate and associated with the created <see - /// cref="T:System.Threading.Tasks.Task{TResult}"/>.</typeparam> + /// cref="System.Threading.Tasks.Task{TResult}"/>.</typeparam> /// <typeparam name="TAntecedentResult">The type of the result of the antecedent <paramref name="tasks"/>.</typeparam> /// <param name="tasks">The array of tasks from which to continue.</param> /// <param name="continuationFunction">The function delegate to execute when all tasks in the /// <paramref name="tasks"/> array have completed.</param> /// <param name="cancellationToken">The <see cref="System.Threading.CancellationToken">CancellationToken</see> /// that will be assigned to the new continuation task.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task{TResult}"/>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationFunction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> public Task<TResult> ContinueWhenAll<TAntecedentResult, TResult>(Task<TAntecedentResult>[] tasks, Func<Task<TAntecedentResult>[], TResult> continuationFunction, @@ -2175,30 +2175,30 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see> /// that will be started upon the completion of a set of provided Tasks. /// </summary> /// <typeparam name="TResult">The type of the result that is returned by the <paramref /// name="continuationFunction"/> /// delegate and associated with the created <see - /// cref="T:System.Threading.Tasks.Task{TResult}"/>.</typeparam> + /// cref="System.Threading.Tasks.Task{TResult}"/>.</typeparam> /// <typeparam name="TAntecedentResult">The type of the result of the antecedent <paramref name="tasks"/>.</typeparam> /// <param name="tasks">The array of tasks from which to continue.</param> /// <param name="continuationFunction">The function delegate to execute when all tasks in the /// <paramref name="tasks"/> array have completed.</param> /// <param name="continuationOptions">The <see cref="System.Threading.Tasks.TaskContinuationOptions"> /// TaskContinuationOptions</see> value that controls the behavior of - /// the created continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// the created continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see>.</param> + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task{TResult}"/>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationFunction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="continuationOptions"/> argument specifies an invalid TaskContinuationOptions /// value.</exception> /// <remarks> @@ -2215,13 +2215,13 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see> /// that will be started upon the completion of a set of provided Tasks. /// </summary> /// <typeparam name="TResult">The type of the result that is returned by the <paramref /// name="continuationFunction"/> /// delegate and associated with the created <see - /// cref="T:System.Threading.Tasks.Task{TResult}"/>.</typeparam> + /// cref="System.Threading.Tasks.Task{TResult}"/>.</typeparam> /// <typeparam name="TAntecedentResult">The type of the result of the antecedent <paramref name="tasks"/>.</typeparam> /// <param name="tasks">The array of tasks from which to continue.</param> /// <param name="continuationFunction">The function delegate to execute when all tasks in the @@ -2230,25 +2230,25 @@ namespace System.Threading.Tasks /// that will be assigned to the new continuation task.</param> /// <param name="continuationOptions">The <see cref="System.Threading.Tasks.TaskContinuationOptions"> /// TaskContinuationOptions</see> value that controls the behavior of - /// the created continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>.</param> + /// the created continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see>.</param> /// <param name="scheduler">The <see cref="System.Threading.Tasks.TaskScheduler">TaskScheduler</see> /// that is used to schedule the created continuation <see - /// cref="T:System.Threading.Tasks.Task{TResult}"/>.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// cref="System.Threading.Tasks.Task{TResult}"/>.</param> + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task{TResult}"/>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationFunction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="scheduler"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="continuationOptions"/> argument specifies an invalid TaskContinuationOptions /// value.</exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> /// <remarks> @@ -2417,20 +2417,20 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task">Task</see> /// that will be started upon the completion of any Task in the provided set. /// </summary> /// <param name="tasks">The array of tasks from which to continue when one task completes.</param> /// <param name="continuationAction">The action delegate to execute when one task in the <paramref /// name="tasks"/> array completes.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task">Task</see>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task">Task</see>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationAction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> public Task ContinueWhenAny(Task[] tasks, Action<Task> continuationAction) { @@ -2440,7 +2440,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task">Task</see> /// that will be started upon the completion of any Task in the provided set. /// </summary> /// <param name="tasks">The array of tasks from which to continue when one task completes.</param> @@ -2448,16 +2448,16 @@ namespace System.Threading.Tasks /// name="tasks"/> array completes.</param> /// <param name="cancellationToken">The <see cref="System.Threading.CancellationToken">CancellationToken</see> /// that will be assigned to the new continuation task.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task">Task</see>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task">Task</see>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationAction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> public Task ContinueWhenAny(Task[] tasks, Action<Task> continuationAction, CancellationToken cancellationToken) @@ -2468,7 +2468,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task">Task</see> /// that will be started upon the completion of any Task in the provided set. /// </summary> /// <param name="tasks">The array of tasks from which to continue when one task completes.</param> @@ -2476,17 +2476,17 @@ namespace System.Threading.Tasks /// name="tasks"/> array completes.</param> /// <param name="continuationOptions">The <see cref="System.Threading.Tasks.TaskContinuationOptions"> /// TaskContinuationOptions</see> value that controls the behavior of - /// the created continuation <see cref="T:System.Threading.Tasks.Task">Task</see>.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task">Task</see>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// the created continuation <see cref="System.Threading.Tasks.Task">Task</see>.</param> + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task">Task</see>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationAction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="continuationOptions"/> argument specifies an invalid TaskContinuationOptions /// value.</exception> /// <remarks> @@ -2502,7 +2502,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task">Task</see> /// that will be started upon the completion of any Task in the provided set. /// </summary> /// <param name="tasks">The array of tasks from which to continue when one task completes.</param> @@ -2512,25 +2512,25 @@ namespace System.Threading.Tasks /// that will be assigned to the new continuation task.</param> /// <param name="continuationOptions">The <see cref="System.Threading.Tasks.TaskContinuationOptions"> /// TaskContinuationOptions</see> value that controls the behavior of - /// the created continuation <see cref="T:System.Threading.Tasks.Task">Task</see>.</param> + /// the created continuation <see cref="System.Threading.Tasks.Task">Task</see>.</param> /// <param name="scheduler">The <see cref="System.Threading.Tasks.TaskScheduler">TaskScheduler</see> /// that is used to schedule the created continuation <see - /// cref="T:System.Threading.Tasks.Task">Task</see>.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task">Task</see>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// cref="System.Threading.Tasks.Task">Task</see>.</param> + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task">Task</see>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationAction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="scheduler"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="continuationOptions"/> argument specifies an invalid TaskContinuationOptions /// value.</exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> /// <remarks> @@ -2548,24 +2548,24 @@ namespace System.Threading.Tasks /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see> /// that will be started upon the completion of any Task in the provided set. /// </summary> /// <typeparam name="TResult">The type of the result that is returned by the <paramref /// name="continuationFunction"/> /// delegate and associated with the created <see - /// cref="T:System.Threading.Tasks.Task{TResult}"/>.</typeparam> + /// cref="System.Threading.Tasks.Task{TResult}"/>.</typeparam> /// <param name="tasks">The array of tasks from which to continue when one task completes.</param> /// <param name="continuationFunction">The function delegate to execute when one task in the /// <paramref name="tasks"/> array completes.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task{TResult}"/>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationFunction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> public Task<TResult> ContinueWhenAny<TResult>(Task[] tasks, Func<Task, TResult> continuationFunction) { @@ -2575,28 +2575,28 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see> /// that will be started upon the completion of any Task in the provided set. /// </summary> /// <typeparam name="TResult">The type of the result that is returned by the <paramref /// name="continuationFunction"/> /// delegate and associated with the created <see - /// cref="T:System.Threading.Tasks.Task{TResult}"/>.</typeparam> + /// cref="System.Threading.Tasks.Task{TResult}"/>.</typeparam> /// <param name="tasks">The array of tasks from which to continue when one task completes.</param> /// <param name="continuationFunction">The function delegate to execute when one task in the /// <paramref name="tasks"/> array completes.</param> /// <param name="cancellationToken">The <see cref="System.Threading.CancellationToken">CancellationToken</see> /// that will be assigned to the new continuation task.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task{TResult}"/>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationFunction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> public Task<TResult> ContinueWhenAny<TResult>(Task[] tasks, Func<Task, TResult> continuationFunction, CancellationToken cancellationToken) @@ -2607,29 +2607,29 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see> /// that will be started upon the completion of any Task in the provided set. /// </summary> /// <typeparam name="TResult">The type of the result that is returned by the <paramref /// name="continuationFunction"/> /// delegate and associated with the created <see - /// cref="T:System.Threading.Tasks.Task{TResult}"/>.</typeparam> + /// cref="System.Threading.Tasks.Task{TResult}"/>.</typeparam> /// <param name="tasks">The array of tasks from which to continue when one task completes.</param> /// <param name="continuationFunction">The function delegate to execute when one task in the /// <paramref name="tasks"/> array completes.</param> /// <param name="continuationOptions">The <see cref="System.Threading.Tasks.TaskContinuationOptions"> /// TaskContinuationOptions</see> value that controls the behavior of - /// the created continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// the created continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see>.</param> + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task{TResult}"/>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationFunction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="continuationOptions"/> argument specifies an invalid TaskContinuationOptions /// value.</exception> /// <remarks> @@ -2645,13 +2645,13 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see> /// that will be started upon the completion of any Task in the provided set. /// </summary> /// <typeparam name="TResult">The type of the result that is returned by the <paramref /// name="continuationFunction"/> /// delegate and associated with the created <see - /// cref="T:System.Threading.Tasks.Task{TResult}"/>.</typeparam> + /// cref="System.Threading.Tasks.Task{TResult}"/>.</typeparam> /// <param name="tasks">The array of tasks from which to continue when one task completes.</param> /// <param name="continuationFunction">The function delegate to execute when one task in the /// <paramref name="tasks"/> array completes.</param> @@ -2659,25 +2659,25 @@ namespace System.Threading.Tasks /// that will be assigned to the new continuation task.</param> /// <param name="continuationOptions">The <see cref="System.Threading.Tasks.TaskContinuationOptions"> /// TaskContinuationOptions</see> value that controls the behavior of - /// the created continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>.</param> + /// the created continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see>.</param> /// <param name="scheduler">The <see cref="System.Threading.Tasks.TaskScheduler">TaskScheduler</see> /// that is used to schedule the created continuation <see - /// cref="T:System.Threading.Tasks.Task{TResult}"/>.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// cref="System.Threading.Tasks.Task{TResult}"/>.</param> + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task{TResult}"/>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationFunction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="scheduler"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="continuationOptions"/> argument specifies an invalid TaskContinuationOptions /// value.</exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> /// <remarks> @@ -2694,25 +2694,25 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see> /// that will be started upon the completion of any Task in the provided set. /// </summary> /// <typeparam name="TResult">The type of the result that is returned by the <paramref /// name="continuationFunction"/> /// delegate and associated with the created <see - /// cref="T:System.Threading.Tasks.Task{TResult}"/>.</typeparam> + /// cref="System.Threading.Tasks.Task{TResult}"/>.</typeparam> /// <typeparam name="TAntecedentResult">The type of the result of the antecedent <paramref name="tasks"/>.</typeparam> /// <param name="tasks">The array of tasks from which to continue when one task completes.</param> /// <param name="continuationFunction">The function delegate to execute when one task in the /// <paramref name="tasks"/> array completes.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task{TResult}"/>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationFunction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> public Task<TResult> ContinueWhenAny<TAntecedentResult, TResult>(Task<TAntecedentResult>[] tasks, Func<Task<TAntecedentResult>, TResult> continuationFunction) { @@ -2721,29 +2721,29 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see> /// that will be started upon the completion of any Task in the provided set. /// </summary> /// <typeparam name="TResult">The type of the result that is returned by the <paramref /// name="continuationFunction"/> /// delegate and associated with the created <see - /// cref="T:System.Threading.Tasks.Task{TResult}"/>.</typeparam> + /// cref="System.Threading.Tasks.Task{TResult}"/>.</typeparam> /// <typeparam name="TAntecedentResult">The type of the result of the antecedent <paramref name="tasks"/>.</typeparam> /// <param name="tasks">The array of tasks from which to continue when one task completes.</param> /// <param name="continuationFunction">The function delegate to execute when one task in the /// <paramref name="tasks"/> array completes.</param> /// <param name="cancellationToken">The <see cref="System.Threading.CancellationToken">CancellationToken</see> /// that will be assigned to the new continuation task.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task{TResult}"/>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationFunction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> public Task<TResult> ContinueWhenAny<TAntecedentResult, TResult>(Task<TAntecedentResult>[] tasks, Func<Task<TAntecedentResult>, TResult> continuationFunction, @@ -2755,30 +2755,30 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see> /// that will be started upon the completion of any Task in the provided set. /// </summary> /// <typeparam name="TResult">The type of the result that is returned by the <paramref /// name="continuationFunction"/> /// delegate and associated with the created <see - /// cref="T:System.Threading.Tasks.Task{TResult}"/>.</typeparam> + /// cref="System.Threading.Tasks.Task{TResult}"/>.</typeparam> /// <typeparam name="TAntecedentResult">The type of the result of the antecedent <paramref name="tasks"/>.</typeparam> /// <param name="tasks">The array of tasks from which to continue when one task completes.</param> /// <param name="continuationFunction">The function delegate to execute when one task in the /// <paramref name="tasks"/> array completes.</param> /// <param name="continuationOptions">The <see cref="System.Threading.Tasks.TaskContinuationOptions"> /// TaskContinuationOptions</see> value that controls the behavior of - /// the created continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// the created continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see>.</param> + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task{TResult}"/>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationFunction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="continuationOptions"/> argument specifies an invalid TaskContinuationOptions /// value.</exception> /// <remarks> @@ -2795,13 +2795,13 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see> /// that will be started upon the completion of any Task in the provided set. /// </summary> /// <typeparam name="TResult">The type of the result that is returned by the <paramref /// name="continuationFunction"/> /// delegate and associated with the created <see - /// cref="T:System.Threading.Tasks.Task{TResult}"/>.</typeparam> + /// cref="System.Threading.Tasks.Task{TResult}"/>.</typeparam> /// <typeparam name="TAntecedentResult">The type of the result of the antecedent <paramref name="tasks"/>.</typeparam> /// <param name="tasks">The array of tasks from which to continue when one task completes.</param> /// <param name="continuationFunction">The function delegate to execute when one task in the @@ -2810,25 +2810,25 @@ namespace System.Threading.Tasks /// that will be assigned to the new continuation task.</param> /// <param name="continuationOptions">The <see cref="System.Threading.Tasks.TaskContinuationOptions"> /// TaskContinuationOptions</see> value that controls the behavior of - /// the created continuation <see cref="T:System.Threading.Tasks.Task{TResult}">Task</see>.</param> + /// the created continuation <see cref="System.Threading.Tasks.Task{TResult}">Task</see>.</param> /// <param name="scheduler">The <see cref="System.Threading.Tasks.TaskScheduler">TaskScheduler</see> /// that is used to schedule the created continuation <see - /// cref="T:System.Threading.Tasks.Task{TResult}"/>.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task{TResult}"/>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// cref="System.Threading.Tasks.Task{TResult}"/>.</param> + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task{TResult}"/>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationFunction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="scheduler"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="continuationOptions"/> argument specifies an invalid TaskContinuationOptions /// value.</exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> /// <remarks> @@ -2846,21 +2846,21 @@ namespace System.Threading.Tasks /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task">Task</see> /// that will be started upon the completion of any Task in the provided set. /// </summary> /// <typeparam name="TAntecedentResult">The type of the result of the antecedent <paramref name="tasks"/>.</typeparam> /// <param name="tasks">The array of tasks from which to continue when one task completes.</param> /// <param name="continuationAction">The action delegate to execute when one task in the /// <paramref name="tasks"/> array completes.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task"/>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task"/>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationAction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> public Task ContinueWhenAny<TAntecedentResult>(Task<TAntecedentResult>[] tasks, Action<Task<TAntecedentResult>> continuationAction) { @@ -2870,7 +2870,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task">Task</see> /// that will be started upon the completion of any Task in the provided set. /// </summary> /// <typeparam name="TAntecedentResult">The type of the result of the antecedent <paramref name="tasks"/>.</typeparam> @@ -2879,16 +2879,16 @@ namespace System.Threading.Tasks /// <paramref name="tasks"/> array completes.</param> /// <param name="cancellationToken">The <see cref="System.Threading.CancellationToken">CancellationToken</see> /// that will be assigned to the new continuation task.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task"/>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task"/>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationAction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> public Task ContinueWhenAny<TAntecedentResult>(Task<TAntecedentResult>[] tasks, Action<Task<TAntecedentResult>> continuationAction, @@ -2900,7 +2900,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task">Task</see> /// that will be started upon the completion of any Task in the provided set. /// </summary> /// <typeparam name="TAntecedentResult">The type of the result of the antecedent <paramref name="tasks"/>.</typeparam> @@ -2909,17 +2909,17 @@ namespace System.Threading.Tasks /// <paramref name="tasks"/> array completes.</param> /// <param name="continuationOptions">The <see cref="System.Threading.Tasks.TaskContinuationOptions"> /// TaskContinuationOptions</see> value that controls the behavior of - /// the created continuation <see cref="T:System.Threading.Tasks.Task">Task</see>.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task"/>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// the created continuation <see cref="System.Threading.Tasks.Task">Task</see>.</param> + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task"/>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationAction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="continuationOptions"/> argument specifies an invalid TaskContinuationOptions /// value.</exception> /// <remarks> @@ -2936,7 +2936,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Creates a continuation <see cref="T:System.Threading.Tasks.Task">Task</see> + /// Creates a continuation <see cref="System.Threading.Tasks.Task">Task</see> /// that will be started upon the completion of any Task in the provided set. /// </summary> /// <typeparam name="TAntecedentResult">The type of the result of the antecedent <paramref name="tasks"/>.</typeparam> @@ -2947,25 +2947,25 @@ namespace System.Threading.Tasks /// that will be assigned to the new continuation task.</param> /// <param name="continuationOptions">The <see cref="System.Threading.Tasks.TaskContinuationOptions"> /// TaskContinuationOptions</see> value that controls the behavior of - /// the created continuation <see cref="T:System.Threading.Tasks.Task">Task</see>.</param> + /// the created continuation <see cref="System.Threading.Tasks.Task">Task</see>.</param> /// <param name="scheduler">The <see cref="System.Threading.Tasks.TaskScheduler">TaskScheduler</see> /// that is used to schedule the created continuation <see - /// cref="T:System.Threading.Tasks.Task{TResult}"/>.</param> - /// <returns>The new continuation <see cref="T:System.Threading.Tasks.Task"/>.</returns> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// cref="System.Threading.Tasks.Task{TResult}"/>.</param> + /// <returns>The new continuation <see cref="System.Threading.Tasks.Task"/>.</returns> + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="tasks"/> array is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="continuationAction"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the + /// <exception cref="System.ArgumentNullException">The exception that is thrown when the /// <paramref name="scheduler"/> argument is null.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array contains a null value.</exception> - /// <exception cref="T:System.ArgumentException">The exception that is thrown when the + /// <exception cref="System.ArgumentException">The exception that is thrown when the /// <paramref name="tasks"/> array is empty.</exception> - /// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the + /// <exception cref="System.ArgumentOutOfRangeException">The exception that is thrown when the /// <paramref name="continuationOptions"/> argument specifies an invalid TaskContinuationOptions /// value.</exception> - /// <exception cref="T:System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> + /// <exception cref="System.ObjectDisposedException">The provided <see cref="System.Threading.CancellationToken">CancellationToken</see> /// has already been disposed. /// </exception> /// <remarks> diff --git a/netcore/System.Private.CoreLib/shared/System/Threading/Tasks/TaskScheduler.cs b/netcore/System.Private.CoreLib/shared/System/Threading/Tasks/TaskScheduler.cs index f89be1de2b1..f9db0675b2b 100644 --- a/netcore/System.Private.CoreLib/shared/System/Threading/Tasks/TaskScheduler.cs +++ b/netcore/System.Private.CoreLib/shared/System/Threading/Tasks/TaskScheduler.cs @@ -40,11 +40,11 @@ namespace System.Threading.Tasks // /// <summary> - /// Queues a <see cref="T:System.Threading.Tasks.Task">Task</see> to the scheduler. + /// Queues a <see cref="System.Threading.Tasks.Task">Task</see> to the scheduler. /// </summary> /// <remarks> /// <para> - /// A class derived from <see cref="T:System.Threading.Tasks.TaskScheduler">TaskScheduler</see> + /// A class derived from <see cref="System.Threading.Tasks.TaskScheduler">TaskScheduler</see> /// implements this method to accept tasks being scheduled on the scheduler. /// A typical implementation would store the task in an internal data structure, which would /// be serviced by threads that would execute those tasks at some time in the future. @@ -55,12 +55,12 @@ namespace System.Threading.Tasks /// for maintaining the consistency of the system. /// </para> /// </remarks> - /// <param name="task">The <see cref="T:System.Threading.Tasks.Task">Task</see> to be queued.</param> - /// <exception cref="T:System.ArgumentNullException">The <paramref name="task"/> argument is null.</exception> + /// <param name="task">The <see cref="System.Threading.Tasks.Task">Task</see> to be queued.</param> + /// <exception cref="System.ArgumentNullException">The <paramref name="task"/> argument is null.</exception> protected internal abstract void QueueTask(Task task); /// <summary> - /// Determines whether the provided <see cref="T:System.Threading.Tasks.Task">Task</see> + /// Determines whether the provided <see cref="System.Threading.Tasks.Task">Task</see> /// can be executed synchronously in this call, and if it can, executes it. /// </summary> /// <remarks> @@ -88,21 +88,21 @@ namespace System.Threading.Tasks /// executing the given task as far as its own scheduling and execution policies are concerned. /// </para> /// </remarks> - /// <param name="task">The <see cref="T:System.Threading.Tasks.Task">Task</see> to be + /// <param name="task">The <see cref="System.Threading.Tasks.Task">Task</see> to be /// executed.</param> /// <param name="taskWasPreviouslyQueued">A Boolean denoting whether or not task has previously been /// queued. If this parameter is True, then the task may have been previously queued (scheduled); if /// False, then the task is known not to have been queued, and this call is being made in order to /// execute the task inline without queueing it.</param> /// <returns>A Boolean value indicating whether the task was executed inline.</returns> - /// <exception cref="T:System.ArgumentNullException">The <paramref name="task"/> argument is + /// <exception cref="System.ArgumentNullException">The <paramref name="task"/> argument is /// null.</exception> - /// <exception cref="T:System.InvalidOperationException">The <paramref name="task"/> was already + /// <exception cref="System.InvalidOperationException">The <paramref name="task"/> was already /// executed.</exception> protected abstract bool TryExecuteTaskInline(Task task, bool taskWasPreviouslyQueued); /// <summary> - /// Generates an enumerable of <see cref="T:System.Threading.Tasks.Task">Task</see> instances + /// Generates an enumerable of <see cref="System.Threading.Tasks.Task">Task</see> instances /// currently queued to the scheduler waiting to be executed. /// </summary> /// <remarks> @@ -139,7 +139,7 @@ namespace System.Threading.Tasks /// </remarks> /// <returns>An enumerable that allows traversal of tasks currently queued to this scheduler. /// </returns> - /// <exception cref="T:System.NotSupportedException"> + /// <exception cref="System.NotSupportedException"> /// This scheduler is unable to generate a list of queued tasks at this time. /// </exception> protected abstract IEnumerable<Task>? GetScheduledTasks(); @@ -207,12 +207,12 @@ namespace System.Threading.Tasks } /// <summary> - /// Attempts to dequeue a <see cref="T:System.Threading.Tasks.Task">Task</see> that was previously queued to + /// Attempts to dequeue a <see cref="System.Threading.Tasks.Task">Task</see> that was previously queued to /// this scheduler. /// </summary> - /// <param name="task">The <see cref="T:System.Threading.Tasks.Task">Task</see> to be dequeued.</param> + /// <param name="task">The <see cref="System.Threading.Tasks.Task">Task</see> to be dequeued.</param> /// <returns>A Boolean denoting whether the <paramref name="task"/> argument was successfully dequeued.</returns> - /// <exception cref="T:System.ArgumentNullException">The <paramref name="task"/> argument is null.</exception> + /// <exception cref="System.ArgumentNullException">The <paramref name="task"/> argument is null.</exception> protected internal virtual bool TryDequeue(Task task) { return false; @@ -347,7 +347,7 @@ namespace System.Threading.Tasks /// <summary> /// Creates a <see cref="TaskScheduler"/> - /// associated with the current <see cref="T:System.Threading.SynchronizationContext"/>. + /// associated with the current <see cref="System.Threading.SynchronizationContext"/>. /// </summary> /// <remarks> /// All <see cref="System.Threading.Tasks.Task">Task</see> instances queued to @@ -357,10 +357,10 @@ namespace System.Threading.Tasks /// </remarks> /// <returns> /// A <see cref="TaskScheduler"/> associated with - /// the current <see cref="T:System.Threading.SynchronizationContext">SynchronizationContext</see>, as + /// the current <see cref="System.Threading.SynchronizationContext">SynchronizationContext</see>, as /// determined by <see cref="System.Threading.SynchronizationContext.Current">SynchronizationContext.Current</see>. /// </returns> - /// <exception cref="T:System.InvalidOperationException"> + /// <exception cref="System.InvalidOperationException"> /// The current SynchronizationContext may not be used as a TaskScheduler. /// </exception> public static TaskScheduler FromCurrentSynchronizationContext() @@ -394,12 +394,12 @@ namespace System.Threading.Tasks } /// <summary> - /// Attempts to execute the provided <see cref="T:System.Threading.Tasks.Task">Task</see> + /// Attempts to execute the provided <see cref="System.Threading.Tasks.Task">Task</see> /// on this scheduler. /// </summary> /// <remarks> /// <para> - /// Scheduler implementations are provided with <see cref="T:System.Threading.Tasks.Task">Task</see> + /// Scheduler implementations are provided with <see cref="System.Threading.Tasks.Task">Task</see> /// instances to be executed through either the <see cref="QueueTask"/> method or the /// <see cref="TryExecuteTaskInline"/> method. When the scheduler deems it appropriate to run the /// provided task, <see cref="TryExecuteTask"/> should be used to do so. TryExecuteTask handles all @@ -413,8 +413,8 @@ namespace System.Threading.Tasks /// </para> /// </remarks> /// <param name="task"> - /// A <see cref="T:System.Threading.Tasks.Task">Task</see> object to be executed.</param> - /// <exception cref="T:System.InvalidOperationException"> + /// A <see cref="System.Threading.Tasks.Task">Task</see> object to be executed.</param> + /// <exception cref="System.InvalidOperationException"> /// The <paramref name="task"/> is not associated with this scheduler. /// </exception> /// <returns>A Boolean that is true if <paramref name="task"/> was successfully executed, false if it @@ -442,7 +442,7 @@ namespace System.Threading.Tasks /// <remarks> /// This AppDomain-wide event provides a mechanism to prevent exception /// escalation policy (which, by default, terminates the process) from triggering. - /// Each handler is passed a <see cref="T:System.Threading.Tasks.UnobservedTaskExceptionEventArgs"/> + /// Each handler is passed a <see cref="System.Threading.Tasks.UnobservedTaskExceptionEventArgs"/> /// instance, which may be used to examine the exception and to mark it as observed. /// </remarks> public static event EventHandler<UnobservedTaskExceptionEventArgs>? UnobservedTaskException; @@ -468,7 +468,7 @@ namespace System.Threading.Tasks /// It should not be called by any other codepaths. /// </remarks> /// <returns>An array of <see cref="System.Threading.Tasks.Task">Task</see> instances.</returns> - /// <exception cref="T:System.NotSupportedException"> + /// <exception cref="System.NotSupportedException"> /// This scheduler is unable to generate a list of queued tasks at this time. /// </exception> internal Task[]? GetScheduledTasksForDebugger() @@ -564,17 +564,17 @@ namespace System.Threading.Tasks /// <summary> /// A TaskScheduler implementation that executes all tasks queued to it through a call to - /// <see cref="System.Threading.SynchronizationContext.Post"/> on the <see cref="T:System.Threading.SynchronizationContext"/> - /// that its associated with. The default constructor for this class binds to the current <see cref="T:System.Threading.SynchronizationContext"/> + /// <see cref="System.Threading.SynchronizationContext.Post"/> on the <see cref="System.Threading.SynchronizationContext"/> + /// that its associated with. The default constructor for this class binds to the current <see cref="System.Threading.SynchronizationContext"/> /// </summary> internal sealed class SynchronizationContextTaskScheduler : TaskScheduler { private SynchronizationContext m_synchronizationContext; /// <summary> - /// Constructs a SynchronizationContextTaskScheduler associated with <see cref="T:System.Threading.SynchronizationContext.Current"/> + /// Constructs a SynchronizationContextTaskScheduler associated with <see cref="System.Threading.SynchronizationContext.Current"/> /// </summary> - /// <exception cref="T:System.InvalidOperationException">This constructor expects <see cref="T:System.Threading.SynchronizationContext.Current"/> to be set.</exception> + /// <exception cref="System.InvalidOperationException">This constructor expects <see cref="System.Threading.SynchronizationContext.Current"/> to be set.</exception> internal SynchronizationContextTaskScheduler() { m_synchronizationContext = SynchronizationContext.Current ?? @@ -583,9 +583,9 @@ namespace System.Threading.Tasks } /// <summary> - /// Implementation of <see cref="T:System.Threading.Tasks.TaskScheduler.QueueTask"/> for this scheduler class. + /// Implementation of <see cref="System.Threading.Tasks.TaskScheduler.QueueTask"/> for this scheduler class. /// - /// Simply posts the tasks to be executed on the associated <see cref="T:System.Threading.SynchronizationContext"/>. + /// Simply posts the tasks to be executed on the associated <see cref="System.Threading.SynchronizationContext"/>. /// </summary> /// <param name="task"></param> protected internal override void QueueTask(Task task) @@ -594,10 +594,10 @@ namespace System.Threading.Tasks } /// <summary> - /// Implementation of <see cref="T:System.Threading.Tasks.TaskScheduler.TryExecuteTaskInline"/> for this scheduler class. + /// Implementation of <see cref="System.Threading.Tasks.TaskScheduler.TryExecuteTaskInline"/> for this scheduler class. /// /// The task will be executed inline only if the call happens within - /// the associated <see cref="T:System.Threading.SynchronizationContext"/>. + /// the associated <see cref="System.Threading.SynchronizationContext"/>. /// </summary> /// <param name="task"></param> /// <param name="taskWasPreviouslyQueued"></param> @@ -619,10 +619,10 @@ namespace System.Threading.Tasks } /// <summary> - /// Implements the <see cref="T:System.Threading.Tasks.TaskScheduler.MaximumConcurrencyLevel"/> property for + /// Implements the <see cref="System.Threading.Tasks.TaskScheduler.MaximumConcurrencyLevel"/> property for /// this scheduler class. /// - /// By default it returns 1, because a <see cref="T:System.Threading.SynchronizationContext"/> based + /// By default it returns 1, because a <see cref="System.Threading.SynchronizationContext"/> based /// scheduler only supports execution on a single thread. /// </summary> public override int MaximumConcurrencyLevel diff --git a/netcore/System.Private.CoreLib/shared/System/Threading/Tasks/TaskSchedulerException.cs b/netcore/System.Private.CoreLib/shared/System/Threading/Tasks/TaskSchedulerException.cs index f46abf273bf..ee1bbacecbd 100644 --- a/netcore/System.Private.CoreLib/shared/System/Threading/Tasks/TaskSchedulerException.cs +++ b/netcore/System.Private.CoreLib/shared/System/Threading/Tasks/TaskSchedulerException.cs @@ -16,21 +16,21 @@ namespace System.Threading.Tasks { /// <summary> /// Represents an exception used to communicate an invalid operation by a - /// <see cref="T:System.Threading.Tasks.TaskScheduler"/>. + /// <see cref="System.Threading.Tasks.TaskScheduler"/>. /// </summary> [Serializable] [System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")] public class TaskSchedulerException : Exception { /// <summary> - /// Initializes a new instance of the <see cref="T:System.Threading.Tasks.TaskSchedulerException"/> class. + /// Initializes a new instance of the <see cref="System.Threading.Tasks.TaskSchedulerException"/> class. /// </summary> public TaskSchedulerException() : base(SR.TaskSchedulerException_ctor_DefaultMessage) // { } /// <summary> - /// Initializes a new instance of the <see cref="T:System.Threading.Tasks.TaskSchedulerException"/> + /// Initializes a new instance of the <see cref="System.Threading.Tasks.TaskSchedulerException"/> /// class with a specified error message. /// </summary> /// <param name="message">The error message that explains the reason for the exception.</param> @@ -39,7 +39,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Initializes a new instance of the <see cref="T:System.Threading.Tasks.TaskSchedulerException"/> + /// Initializes a new instance of the <see cref="System.Threading.Tasks.TaskSchedulerException"/> /// class using the default error message and a reference to the inner exception that is the cause of /// this exception. /// </summary> @@ -50,7 +50,7 @@ namespace System.Threading.Tasks } /// <summary> - /// Initializes a new instance of the <see cref="T:System.Threading.Tasks.TaskSchedulerException"/> + /// Initializes a new instance of the <see cref="System.Threading.Tasks.TaskSchedulerException"/> /// class with a specified error message and a reference to the inner exception that is the cause of /// this exception. /// </summary> @@ -61,12 +61,12 @@ namespace System.Threading.Tasks } /// <summary> - /// Initializes a new instance of the <see cref="T:System.Threading.Tasks.TaskSchedulerException"/> + /// Initializes a new instance of the <see cref="System.Threading.Tasks.TaskSchedulerException"/> /// class with serialized data. /// </summary> - /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds + /// <param name="info">The <see cref="System.Runtime.Serialization.SerializationInfo"/> that holds /// the serialized object data about the exception being thrown.</param> - /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that + /// <param name="context">The <see cref="System.Runtime.Serialization.StreamingContext"/> that /// contains contextual information about the source or destination. </param> protected TaskSchedulerException(SerializationInfo info, StreamingContext context) : base(info, context) diff --git a/netcore/System.Private.CoreLib/shared/System/Threading/ThreadLocal.cs b/netcore/System.Private.CoreLib/shared/System/Threading/ThreadLocal.cs index 2aff11715c5..3bffba18d41 100644 --- a/netcore/System.Private.CoreLib/shared/System/Threading/ThreadLocal.cs +++ b/netcore/System.Private.CoreLib/shared/System/Threading/ThreadLocal.cs @@ -84,10 +84,10 @@ namespace System.Threading /// specified <paramref name="valueFactory"/> function. /// </summary> /// <param name="valueFactory"> - /// The <see cref="T:System.Func{T}"/> invoked to produce a lazily-initialized value when + /// The <see cref="System.Func{T}"/> invoked to produce a lazily-initialized value when /// an attempt is made to retrieve <see cref="Value"/> without it having been previously initialized. /// </param> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// <paramref name="valueFactory"/> is a null reference (Nothing in Visual Basic). /// </exception> public ThreadLocal(Func<T> valueFactory) @@ -103,11 +103,11 @@ namespace System.Threading /// specified <paramref name="valueFactory"/> function. /// </summary> /// <param name="valueFactory"> - /// The <see cref="T:System.Func{T}"/> invoked to produce a lazily-initialized value when + /// The <see cref="System.Func{T}"/> invoked to produce a lazily-initialized value when /// an attempt is made to retrieve <see cref="Value"/> without it having been previously initialized. /// </param> /// <param name="trackAllValues">Whether to track all values set on the instance and expose them via the Values property.</param> - /// <exception cref="T:System.ArgumentNullException"> + /// <exception cref="System.ArgumentNullException"> /// <paramref name="valueFactory"/> is a null reference (Nothing in Visual Basic). /// </exception> public ThreadLocal(Func<T> valueFactory, bool trackAllValues) @@ -137,7 +137,7 @@ namespace System.Threading } /// <summary> - /// Releases the resources used by this <see cref="T:System.Threading.ThreadLocal{T}" /> instance. + /// Releases the resources used by this <see cref="System.Threading.ThreadLocal{T}" /> instance. /// </summary> ~ThreadLocal() { @@ -148,10 +148,10 @@ namespace System.Threading #region IDisposable Members /// <summary> - /// Releases the resources used by this <see cref="T:System.Threading.ThreadLocal{T}" /> instance. + /// Releases the resources used by this <see cref="System.Threading.ThreadLocal{T}" /> instance. /// </summary> /// <remarks> - /// Unlike most of the members of <see cref="T:System.Threading.ThreadLocal{T}"/>, this method is not thread-safe. + /// Unlike most of the members of <see cref="System.Threading.ThreadLocal{T}"/>, this method is not thread-safe. /// </remarks> public void Dispose() { @@ -160,13 +160,13 @@ namespace System.Threading } /// <summary> - /// Releases the resources used by this <see cref="T:System.Threading.ThreadLocal{T}" /> instance. + /// Releases the resources used by this <see cref="System.Threading.ThreadLocal{T}" /> instance. /// </summary> /// <param name="disposing"> /// A Boolean value that indicates whether this method is being called due to a call to <see cref="Dispose()"/>. /// </param> /// <remarks> - /// Unlike most of the members of <see cref="T:System.Threading.ThreadLocal{T}"/>, this method is not thread-safe. + /// Unlike most of the members of <see cref="System.Threading.ThreadLocal{T}"/>, this method is not thread-safe. /// </remarks> protected virtual void Dispose(bool disposing) { @@ -214,13 +214,13 @@ namespace System.Threading /// <summary>Creates and returns a string representation of this instance for the current thread.</summary> /// <returns>The result of calling <see cref="System.Object.ToString"/> on the <see cref="Value"/>.</returns> - /// <exception cref="T:System.NullReferenceException"> + /// <exception cref="System.NullReferenceException"> /// The <see cref="Value"/> for the current thread is a null reference (Nothing in Visual Basic). /// </exception> - /// <exception cref="T:System.InvalidOperationException"> + /// <exception cref="System.InvalidOperationException"> /// The initialization function referenced <see cref="Value"/> in an improper manner. /// </exception> - /// <exception cref="T:System.ObjectDisposedException"> + /// <exception cref="System.ObjectDisposedException"> /// The <see cref="ThreadLocal{T}"/> instance has been disposed. /// </exception> /// <remarks> @@ -235,10 +235,10 @@ namespace System.Threading /// <summary> /// Gets or sets the value of this instance for the current thread. /// </summary> - /// <exception cref="T:System.InvalidOperationException"> + /// <exception cref="System.InvalidOperationException"> /// The initialization function referenced <see cref="Value"/> in an improper manner. /// </exception> - /// <exception cref="T:System.ObjectDisposedException"> + /// <exception cref="System.ObjectDisposedException"> /// The <see cref="ThreadLocal{T}"/> instance has been disposed. /// </exception> /// <remarks> @@ -435,7 +435,7 @@ namespace System.Threading /// <summary> /// Gets a list for all of the values currently stored by all of the threads that have accessed this instance. /// </summary> - /// <exception cref="T:System.ObjectDisposedException"> + /// <exception cref="System.ObjectDisposedException"> /// The <see cref="ThreadLocal{T}"/> instance has been disposed. /// </exception> public IList<T> Values @@ -518,7 +518,7 @@ namespace System.Threading /// <summary> /// Gets whether <see cref="Value"/> is initialized on the current thread. /// </summary> - /// <exception cref="T:System.ObjectDisposedException"> + /// <exception cref="System.ObjectDisposedException"> /// The <see cref="ThreadLocal{T}"/> instance has been disposed. /// </exception> public bool IsValueCreated |