diff options
author | Jon Skeet <jonskeet@google.com> | 2015-04-29 15:27:14 +0100 |
---|---|---|
committer | Jon Skeet <jonskeet@google.com> | 2015-04-29 21:15:16 +0100 |
commit | ce97e686826147e2a071fd2321555f7d40ec5d93 (patch) | |
tree | 873c55c5013021255b279ae45034c5276d798838 /csharp/src/ProtocolBuffers/TextFormat.cs | |
parent | a449f66bdb50f3e898889705945fb1ac6b105469 (diff) | |
download | protobuf-ce97e686826147e2a071fd2321555f7d40ec5d93.tar.gz protobuf-ce97e686826147e2a071fd2321555f7d40ec5d93.tar.bz2 protobuf-ce97e686826147e2a071fd2321555f7d40ec5d93.zip |
Convert both the full and lite runtimes (and json/xml serialization assemblies) to be Portable Class Libraries.
All referring projects are now .NET 4 client rather than .NET 3.5.
This commit also fixes up the ProtoBench app, which I'd neglected in previous commits. (Disentangling the two sets of changes would be time-consuming.)
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!
|