Initial Silverlight compatibility work
diff --git a/src/ProtocolBuffers/UnknownFieldSet.cs b/src/ProtocolBuffers/UnknownFieldSet.cs
index 9de0970..f065510 100644
--- a/src/ProtocolBuffers/UnknownFieldSet.cs
+++ b/src/ProtocolBuffers/UnknownFieldSet.cs
@@ -240,10 +240,10 @@
public sealed class Builder
{
/// <summary>
- /// Mapping from number to field. Note that by using a SortedList we ensure
+ /// Mapping from number to field. Note that by using a SortedDictionary we ensure
/// that the fields will be serialized in ascending order.
/// </summary>
- private IDictionary<int, UnknownField> fields = new SortedList<int, UnknownField>();
+ private IDictionary<int, UnknownField> fields = new SortedDictionary<int, UnknownField>();
// Optimization: We keep around a builder for the last field that was
// modified so that we can efficiently add to it multiple times in a