Skip to content

Commit

Permalink
Removing comments so won't overwrite doc changes (#69089)
Browse files Browse the repository at this point in the history
* Removing comments so won't overwrite doc changes

* removing comments from two more places as directed
  • Loading branch information
JimDaly authored May 11, 2022
1 parent 10a4986 commit 72f9cb2
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
namespace System.Runtime.CompilerServices
{
/// <summary>Provides an awaiter for awaiting a <see cref="System.Threading.Tasks.Task"/>.</summary>
/// <remarks>This type is intended for compiler use only.</remarks>
public readonly struct TaskAwaiter : ICriticalNotifyCompletion, ITaskAwaiter
{
// WARNING: Unsafe.As is used to access the generic TaskAwaiter<> as TaskAwaiter.
Expand Down Expand Up @@ -310,7 +309,6 @@ private static Action OutputWaitEtwEvents(Task task, Action continuation)
}

/// <summary>Provides an awaiter for awaiting a <see cref="System.Threading.Tasks.Task{TResult}"/>.</summary>
/// <remarks>This type is intended for compiler use only.</remarks>
public readonly struct TaskAwaiter<TResult> : ICriticalNotifyCompletion, ITaskAwaiter
{
// WARNING: Unsafe.As is used to access TaskAwaiter<> as the non-generic TaskAwaiter.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,6 @@ internal override void InnerInvoke()

/// <summary>Gets an awaiter used to await this <see cref="System.Threading.Tasks.Task{TResult}"/>.</summary>
/// <returns>An awaiter instance.</returns>
/// <remarks>This method is intended for compiler use rather than use directly in code.</remarks>
public new TaskAwaiter<TResult> GetAwaiter()
{
return new TaskAwaiter<TResult>(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2440,7 +2440,6 @@ private void HandleException(Exception unhandledException)
#region Await Support
/// <summary>Gets an awaiter used to await this <see cref="System.Threading.Tasks.Task"/>.</summary>
/// <returns>An awaiter instance.</returns>
/// <remarks>This method is intended for compiler use rather than use directly in code.</remarks>
public TaskAwaiter GetAwaiter()
{
return new TaskAwaiter(this);
Expand Down

0 comments on commit 72f9cb2

Please sign in to comment.