diff options
author | Jon Skeet <skeet@pobox.com> | 2015-04-30 10:35:27 +0100 |
---|---|---|
committer | Jon Skeet <skeet@pobox.com> | 2015-04-30 10:35:27 +0100 |
commit | 151018e888927f4e89e325af013613cc1b08196c (patch) | |
tree | 873c55c5013021255b279ae45034c5276d798838 /csharp/src/ProtocolBuffers/TextFormat.cs | |
parent | a449f66bdb50f3e898889705945fb1ac6b105469 (diff) | |
parent | ce97e686826147e2a071fd2321555f7d40ec5d93 (diff) | |
download | protobuf-151018e888927f4e89e325af013613cc1b08196c.tar.gz protobuf-151018e888927f4e89e325af013613cc1b08196c.tar.bz2 protobuf-151018e888927f4e89e325af013613cc1b08196c.zip |
Merge pull request #319 from jskeet/csharp_pcl
Convert C# projects to Portable Class Libraries
Diffstat (limited to 'csharp/src/ProtocolBuffers/TextFormat.cs')
-rw-r--r-- | csharp/src/ProtocolBuffers/TextFormat.cs | 4 |
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!
|