aboutsummaryrefslogtreecommitdiff
path: root/src/ProtocolBuffers/FieldAccess/ReflectionUtil.cs
diff options
context:
space:
mode:
authorcsharptest <roger@csharptest.net>2012-10-14 18:10:11 -0500
committerrogerk <devnull@localhost>2012-10-14 18:10:11 -0500
commit0f56b842987dce4699be8a4e9e3cb353497a305a (patch)
treeb9bcc65760930917467faf8bd962c910c20d76d4 /src/ProtocolBuffers/FieldAccess/ReflectionUtil.cs
parent945bd1d516d94389a1f3d4b29e754fcd345ce955 (diff)
downloadprotobuf-0f56b842987dce4699be8a4e9e3cb353497a305a.tar.gz
protobuf-0f56b842987dce4699be8a4e9e3cb353497a305a.tar.bz2
protobuf-0f56b842987dce4699be8a4e9e3cb353497a305a.zip
Added NOEXTENSIONS and NOFILEVERSION. Internalized golden_message test dependencies
Diffstat (limited to 'src/ProtocolBuffers/FieldAccess/ReflectionUtil.cs')
-rw-r--r--src/ProtocolBuffers/FieldAccess/ReflectionUtil.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ProtocolBuffers/FieldAccess/ReflectionUtil.cs b/src/ProtocolBuffers/FieldAccess/ReflectionUtil.cs
index 24f7fba9..3c9504c4 100644
--- a/src/ProtocolBuffers/FieldAccess/ReflectionUtil.cs
+++ b/src/ProtocolBuffers/FieldAccess/ReflectionUtil.cs
@@ -137,7 +137,7 @@ namespace Google.ProtocolBuffers.FieldAccess
internal static Func<TResult> CreateDelegateFunc<TResult>(MethodInfo method)
{
#if !NOCREATEDELEGATE
- object tdelegate = Delegate.CreateDelegate(typeof(Func<TResult>), null, method, true);
+ object tdelegate = Delegate.CreateDelegate(typeof(Func<TResult>), null, method);
return (Func<TResult>)tdelegate;
#else
return delegate() { return (TResult)method.Invoke(null, null); };
@@ -147,7 +147,7 @@ namespace Google.ProtocolBuffers.FieldAccess
internal static Func<T, TResult> CreateDelegateFunc<T, TResult>(MethodInfo method)
{
#if !NOCREATEDELEGATE
- object tdelegate = Delegate.CreateDelegate(typeof(Func<T, TResult>), null, method, true);
+ object tdelegate = Delegate.CreateDelegate(typeof(Func<T, TResult>), null, method);
return (Func<T, TResult>)tdelegate;
#else
if (method.IsStatic)
@@ -161,7 +161,7 @@ namespace Google.ProtocolBuffers.FieldAccess
internal static Func<T1, T2, TResult> CreateDelegateFunc<T1, T2, TResult>(MethodInfo method)
{
#if !NOCREATEDELEGATE
- object tdelegate = Delegate.CreateDelegate(typeof(Func<T1, T2, TResult>), null, method, true);
+ object tdelegate = Delegate.CreateDelegate(typeof(Func<T1, T2, TResult>), null, method);
return (Func<T1, T2, TResult>)tdelegate;
#else
if (method.IsStatic)
@@ -175,7 +175,7 @@ namespace Google.ProtocolBuffers.FieldAccess
internal static Action<T1, T2> CreateDelegateAction<T1, T2>(MethodInfo method)
{
#if !NOCREATEDELEGATE
- object tdelegate = Delegate.CreateDelegate(typeof(Action<T1, T2>), null, method, true);
+ object tdelegate = Delegate.CreateDelegate(typeof(Action<T1, T2>), null, method);
return (Action<T1, T2>)tdelegate;
#else
if (method.IsStatic)