From 131b49067af1cc932d665623467918333ce3c62f Mon Sep 17 00:00:00 2001 From: Jason Malinowski Date: Wed, 15 Mar 2017 14:23:09 -0700 Subject: [PATCH] Delete some comments that no longer apply These comments should have been deleted in f43398f37. --- src/Workspaces/Core/Portable/Utilities/AsyncLazy`1.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Workspaces/Core/Portable/Utilities/AsyncLazy`1.cs b/src/Workspaces/Core/Portable/Utilities/AsyncLazy`1.cs index ff133af854f..947901bbe0d 100644 --- a/src/Workspaces/Core/Portable/Utilities/AsyncLazy`1.cs +++ b/src/Workspaces/Core/Portable/Utilities/AsyncLazy`1.cs @@ -529,7 +529,6 @@ private sealed class Request private CancellationToken _cancellationToken; private CancellationTokenRegistration _cancellationTokenRegistration; - // WARNING: this is a mutable struct, and thus cannot be made readonly private TaskCompletionSource _taskCompletionSource; public Request() @@ -557,10 +556,6 @@ private void CompleteFromTaskSynchronouslyStub(object task) public void CompleteFromTaskSynchronously(Task task) { - // AsyncTaskMethodBuilder doesn't give us Try* methods, and the Set methods may throw if the task - // is already completed. The belief is that the race is somewhere between rare to impossible, and - // so we'll do a quick check to see if the task is already completed or otherwise just give it a shot - // and catch it if it fails if (this.Task.IsCompleted) { return; -- GitLab