diff options
author | Jon Skeet <jonskeet@google.com> | 2015-04-29 15:27:14 +0100 |
---|---|---|
committer | Jon Skeet <jonskeet@google.com> | 2015-04-29 21:15:16 +0100 |
commit | ce97e686826147e2a071fd2321555f7d40ec5d93 (patch) | |
tree | 873c55c5013021255b279ae45034c5276d798838 /csharp/src/ProtocolBuffers/UnknownFieldSet.cs | |
parent | a449f66bdb50f3e898889705945fb1ac6b105469 (diff) | |
download | protobuf-ce97e686826147e2a071fd2321555f7d40ec5d93.tar.gz protobuf-ce97e686826147e2a071fd2321555f7d40ec5d93.tar.bz2 protobuf-ce97e686826147e2a071fd2321555f7d40ec5d93.zip |
Convert both the full and lite runtimes (and json/xml serialization assemblies) to be Portable Class Libraries.
All referring projects are now .NET 4 client rather than .NET 3.5.
This commit also fixes up the ProtoBench app, which I'd neglected in previous commits. (Disentangling the two sets of changes would be time-consuming.)
Diffstat (limited to 'csharp/src/ProtocolBuffers/UnknownFieldSet.cs')
-rw-r--r-- | csharp/src/ProtocolBuffers/UnknownFieldSet.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/csharp/src/ProtocolBuffers/UnknownFieldSet.cs b/csharp/src/ProtocolBuffers/UnknownFieldSet.cs index aee1b7c9..98aa04c7 100644 --- a/csharp/src/ProtocolBuffers/UnknownFieldSet.cs +++ b/csharp/src/ProtocolBuffers/UnknownFieldSet.cs @@ -330,12 +330,12 @@ namespace Google.ProtocolBuffers internal Builder()
{
- fields = new SortedList<int, UnknownField>();
+ fields = new SortedDictionary<int, UnknownField>();
}
internal Builder(IDictionary<int, UnknownField> dictionary)
{
- fields = new SortedList<int, UnknownField>(dictionary);
+ fields = new SortedDictionary<int, UnknownField>(dictionary);
}
/// <summary>
|