aboutsummaryrefslogtreecommitdiff
path: root/csharp/src/ProtocolBuffers/TextFormat.cs
diff options
context:
space:
mode:
Diffstat (limited to 'csharp/src/ProtocolBuffers/TextFormat.cs')
-rw-r--r--csharp/src/ProtocolBuffers/TextFormat.cs4
1 files changed, 0 insertions, 4 deletions
diff --git a/csharp/src/ProtocolBuffers/TextFormat.cs b/csharp/src/ProtocolBuffers/TextFormat.cs
index 951cdc0e..6a9180f3 100644
--- a/csharp/src/ProtocolBuffers/TextFormat.cs
+++ b/csharp/src/ProtocolBuffers/TextFormat.cs
@@ -732,11 +732,7 @@ namespace Google.ProtocolBuffers
{
// Explicitly specify the invariant culture so that this code does not break when
// executing in Turkey.
-#if PORTABLE_LIBRARY
String lowerName = name.ToLowerInvariant();
-#else
- String lowerName = name.ToLower(FrameworkPortability.InvariantCulture);
-#endif
field = type.FindDescriptor<FieldDescriptor>(lowerName);
// If the case-insensitive match worked but the field is NOT a group,
// TODO(jonskeet): What? Java comment ends here!