Skip to content
This repository was archived by the owner on Nov 22, 2018. It is now read-only.

Migration #121

Merged
merged 1 commit into from
May 5, 2017
Merged

Migration #121

merged 1 commit into from
May 5, 2017

Conversation

JunTaoLuo
Copy link
Contributor

No description provided.

Copy link

@analogrelay analogrelay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need clarification on #if branch choice.

@@ -183,19 +183,12 @@ public override void WriteByte(byte value)
}
}

#if NETSTANDARD1_3
public IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this right? Wouldn't you want this code and not the other one? This branch was the one used by the netstandard build (which was actually the only build anyway)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, we need to override Begin/End stream methods. These were not in early standards.

@mikeharder mikeharder merged commit 1be9dc1 into rel/2.0.0-preview1 May 5, 2017
@mikeharder
Copy link
Contributor

Merged to dev: f536c02

@mikeharder
Copy link
Contributor

@JunTaoLuo: Please delete branch

@JunTaoLuo JunTaoLuo deleted the johluo/migration branch May 5, 2017 17:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants