Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

Commit

Permalink
Adjust to IValueTaskSource namespace change
Browse files Browse the repository at this point in the history
  • Loading branch information
stephentoub committed Mar 1, 2018
1 parent f5980a7 commit ccfd967
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
using System.Threading.Tasks.Sources;

namespace System.Net.Sockets
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
using System.Diagnostics;
using System.Runtime.ExceptionServices;
using System.Threading.Tasks;
using System.Threading.Tasks.Sources;

namespace System.Threading.Channels
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ namespace System.Threading.Tasks
public override string ToString() { throw null; }
}
}
namespace System.Threading.Tasks.Extensions
namespace System.Threading.Tasks.Sources
{
[System.Flags]
public enum ValueTaskSourceOnCompletedFlags
Expand Down Expand Up @@ -154,4 +154,4 @@ public interface IValueTaskSource<out TResult>
void OnCompleted(System.Action<object> continuation, object state, short token, System.Threading.Tasks.Sources.ValueTaskSourceOnCompletedFlags flags);
TResult GetResult(short token);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// See the LICENSE file in the project root for more information.

using System.Runtime.ExceptionServices;
using System.Threading.Tasks.Sources;

namespace System.Threading.Tasks.Tests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Threading.Tasks.Sources;
using Xunit;

namespace System.Threading.Tasks.Tests
Expand Down

0 comments on commit ccfd967

Please sign in to comment.