aboutsummaryrefslogtreecommitdiff
path: root/csharp/src/Google.Protobuf.Test/ByteStringTest.cs
Commit message (Collapse)AuthorAgeFilesLines
* Fixes for .NET 3.5 compatibilityJohn Brock2017-02-231-2/+2
| | | | | * Changing DOTNET35 framework symbols in preprocessor directives to the default built-in value of NET35. * Adding extension method StreamExtension.CopyTo for .NET 3.5 because it didn’t exist until .NET 4, and adding associated unit tests.
* Add ByteString.FromStream and ByteString.FromStreamAsync in C#Jon Skeet2017-01-101-1/+54
| | | | | | | | | | Fixes #2088. We now have separate tests for netcoreapp and net45 to test the two branches here. (netstandard10 doesn't have MemoryStream.GetBuffer) Although most of this library doesn't have any async functionality, this feels like a natural place to locally add it.
* Give C# ByteString a sensible GetHashCode implementation.Jon Skeet2016-12-161-0/+13
| | | | Fixes #2511.
* First pass at the big rename from ProtocolBuffers to Google.Protobuf.Jon Skeet2015-07-171-0/+171
We'll see what I've missed when CI fails...