From 72f9cb2d3ca03fa84b1aaf2150f7b6a50a24e2be Mon Sep 17 00:00:00 2001 From: Jim Daly Date: Tue, 10 May 2022 20:53:15 -0700 Subject: [PATCH] Removing comments so won't overwrite doc changes (#69089) * Removing comments so won't overwrite doc changes * removing comments from two more places as directed --- .../src/System/Runtime/CompilerServices/TaskAwaiter.cs | 2 -- .../System.Private.CoreLib/src/System/Threading/Tasks/Future.cs | 1 - .../System.Private.CoreLib/src/System/Threading/Tasks/Task.cs | 1 - 3 files changed, 4 deletions(-) diff --git a/src/libraries/System.Private.CoreLib/src/System/Runtime/CompilerServices/TaskAwaiter.cs b/src/libraries/System.Private.CoreLib/src/System/Runtime/CompilerServices/TaskAwaiter.cs index fba39644d6667..d17078df3999a 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Runtime/CompilerServices/TaskAwaiter.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Runtime/CompilerServices/TaskAwaiter.cs @@ -52,7 +52,6 @@ namespace System.Runtime.CompilerServices { /// Provides an awaiter for awaiting a . - /// This type is intended for compiler use only. public readonly struct TaskAwaiter : ICriticalNotifyCompletion, ITaskAwaiter { // WARNING: Unsafe.As is used to access the generic TaskAwaiter<> as TaskAwaiter. @@ -310,7 +309,6 @@ private static Action OutputWaitEtwEvents(Task task, Action continuation) } /// Provides an awaiter for awaiting a . - /// This type is intended for compiler use only. public readonly struct TaskAwaiter : ICriticalNotifyCompletion, ITaskAwaiter { // WARNING: Unsafe.As is used to access TaskAwaiter<> as the non-generic TaskAwaiter. diff --git a/src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/Future.cs b/src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/Future.cs index 735a3d61e1ac9..a23260dfe9844 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/Future.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/Future.cs @@ -516,7 +516,6 @@ internal override void InnerInvoke() /// Gets an awaiter used to await this . /// An awaiter instance. - /// This method is intended for compiler use rather than use directly in code. public new TaskAwaiter GetAwaiter() { return new TaskAwaiter(this); diff --git a/src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs b/src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs index 72352e3b5615d..62b5f17c26f14 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs @@ -2440,7 +2440,6 @@ private void HandleException(Exception unhandledException) #region Await Support /// Gets an awaiter used to await this . /// An awaiter instance. - /// This method is intended for compiler use rather than use directly in code. public TaskAwaiter GetAwaiter() { return new TaskAwaiter(this);