Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit ac45c0b

Browse files
committed
update per review feedback
1 parent fe936f7 commit ac45c0b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/mscorlib/shared/System/Runtime/CompilerServices/ValueTaskAwaiter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ public void UnsafeOnCompleted(Action continuation) =>
4040
internal Task<TResult> AsTask() => _value.AsTask();
4141

4242
/// <summary>Gets the task underlying <see cref="_value"/>.</summary>
43-
public Task GetTask() => _value.AsTask();
43+
Task IValueTaskAwaiter.GetTask() => _value.AsTask();
4444
}
4545
}

src/mscorlib/src/System/Runtime/CompilerServices/TaskAwaiter.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,8 @@ internal interface IConfiguredTaskAwaiter { }
394394
/// <summary>
395395
/// Internal interface used to enable extract the Task from arbitrary ValueTask awaiters.
396396
/// </summary>>
397-
internal interface IValueTaskAwaiter {
397+
internal interface IValueTaskAwaiter
398+
{
398399
Task GetTask();
399400
}
400401

0 commit comments

Comments
 (0)