Skip to content

Commit

Permalink
Change visibility of MoveNextCore to protected
Browse files Browse the repository at this point in the history
  • Loading branch information
Oren Novotny committed Jul 20, 2016
1 parent 72dff91 commit dbeb991
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Ix.NET/Source/System.Interactive.Async/AsyncIterator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public async Task<bool> MoveNext(CancellationToken cancellationToken)
}
}

public abstract Task<bool> MoveNextCore(CancellationToken cancellationToken);
protected abstract Task<bool> MoveNextCore(CancellationToken cancellationToken);

public virtual IAsyncEnumerable<TResult> Select<TResult>(Func<TSource, TResult> selector)
{
Expand Down
2 changes: 1 addition & 1 deletion Ix.NET/Source/System.Interactive.Async/Select.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public override void Dispose()
base.Dispose();
}

public override async Task<bool> MoveNextCore(CancellationToken cancellationToken)
protected override async Task<bool> MoveNextCore(CancellationToken cancellationToken)
{
switch (state)
{
Expand Down
4 changes: 2 additions & 2 deletions Ix.NET/Source/System.Interactive.Async/Where.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public override void Dispose()
base.Dispose();
}

public override async Task<bool> MoveNextCore(CancellationToken cancellationToken)
protected override async Task<bool> MoveNextCore(CancellationToken cancellationToken)
{
switch (state)
{
Expand Down Expand Up @@ -180,7 +180,7 @@ public override void Dispose()
base.Dispose();
}

public override async Task<bool> MoveNextCore(CancellationToken cancellationToken)
protected override async Task<bool> MoveNextCore(CancellationToken cancellationToken)
{
switch (state)
{
Expand Down

0 comments on commit dbeb991

Please sign in to comment.