From ce97e686826147e2a071fd2321555f7d40ec5d93 Mon Sep 17 00:00:00 2001 From: Jon Skeet Date: Wed, 29 Apr 2015 15:27:14 +0100 Subject: 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.) --- csharp/src/ProtocolBuffers/TextFormat.cs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'csharp/src/ProtocolBuffers/TextFormat.cs') 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(lowerName); // If the case-insensitive match worked but the field is NOT a group, // TODO(jonskeet): What? Java comment ends here! -- cgit v1.2.3