Index: third_party/protobuf/csharp/src/Google.Protobuf/Reflection/MessageDescriptor.cs |
diff --git a/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/MessageDescriptor.cs b/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/MessageDescriptor.cs |
index f5a835e5ccb50126e3cdb25d12e0a4892ff9b0ca..7a1cb9d58744b2d318633a70ef12094c69669e75 100644 |
--- a/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/MessageDescriptor.cs |
+++ b/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/MessageDescriptor.cs |
@@ -34,6 +34,10 @@ using System; |
using System.Collections.Generic; |
using System.Collections.ObjectModel; |
using System.Linq; |
+#if DOTNET35 |
+// Needed for ReadOnlyDictionary, which does not exist in .NET 3.5 |
+using Google.Protobuf.Collections; |
+#endif |
namespace Google.Protobuf.Reflection |
{ |