aboutsummaryrefslogtreecommitdiff
path: root/src/ProtocolBuffers/ThrowHelper.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ProtocolBuffers/ThrowHelper.cs')
-rw-r--r--src/ProtocolBuffers/ThrowHelper.cs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/ProtocolBuffers/ThrowHelper.cs b/src/ProtocolBuffers/ThrowHelper.cs
index 22584dd0..34b3f653 100644
--- a/src/ProtocolBuffers/ThrowHelper.cs
+++ b/src/ProtocolBuffers/ThrowHelper.cs
@@ -82,11 +82,7 @@ namespace Google.ProtocolBuffers
public static Exception CreateMissingMethod(Type type, string methodName)
{
-#if SILVERLIGHT || COMPACT_FRAMEWORK
return new MissingMethodException(String.Format("The method '{0}' was not found on type {1}", methodName, type));
-#else
- return new MissingMethodException(String.Format("{0}", type), methodName);
-#endif
}
}
} \ No newline at end of file