aboutsummaryrefslogtreecommitdiffhomepage
path: root/csharp/src/Google.Protobuf/Reflection/ReflectionUtil.cs
diff options
context:
space:
mode:
authorGravatar Jon Skeet <jonskeet@google.com>2017-11-16 16:19:38 +0000
committerGravatar Jon Skeet <jonskeet@google.com>2018-03-27 08:42:27 +0100
commitaa59eaa77b8ede7b0ed120e9bda8a92348ede946 (patch)
tree45d8181860bfa618c81ba49f83e65d8b8c605592 /csharp/src/Google.Protobuf/Reflection/ReflectionUtil.cs
parent8ba420f040a2987aea55bb9c103606971427cb3d (diff)
Introduce a compatiblity shim to support .NET 3.5 delegate creation
Diffstat (limited to 'csharp/src/Google.Protobuf/Reflection/ReflectionUtil.cs')
-rw-r--r--csharp/src/Google.Protobuf/Reflection/ReflectionUtil.cs4
1 files changed, 4 insertions, 0 deletions
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
{
/// <summary>