From aa59eaa77b8ede7b0ed120e9bda8a92348ede946 Mon Sep 17 00:00:00 2001 From: Jon Skeet Date: Thu, 16 Nov 2017 16:19:38 +0000 Subject: Introduce a compatiblity shim to support .NET 3.5 delegate creation --- csharp/src/Google.Protobuf/Reflection/ReflectionUtil.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'csharp/src/Google.Protobuf/Reflection/ReflectionUtil.cs') diff --git a/csharp/src/Google.Protobuf/Reflection/ReflectionUtil.cs b/csharp/src/Google.Protobuf/Reflection/ReflectionUtil.cs index 0d5ab7cd..c2771d72 100644 --- a/csharp/src/Google.Protobuf/Reflection/ReflectionUtil.cs +++ b/csharp/src/Google.Protobuf/Reflection/ReflectionUtil.cs @@ -33,6 +33,10 @@ using System; using System.Reflection; +#if NET35 +using Google.Protobuf.Compatibility; +#endif + namespace Google.Protobuf.Reflection { /// -- cgit v1.2.3