diff options
author | csharptest <roger@csharptest.net> | 2012-10-14 23:03:24 -0500 |
---|---|---|
committer | rogerk <devnull@localhost> | 2012-10-14 23:03:24 -0500 |
commit | c9bce45a01cc8861ec7c88e84d947ed6ebc8f7d1 (patch) | |
tree | 67b0bed46bb50ec47a383fc355db4a73d568b482 /src/ProtocolBuffers/TextFormat.cs | |
parent | 9f787cc64e47333ea717681c874843b44fee60e7 (diff) | |
download | protobuf-c9bce45a01cc8861ec7c88e84d947ed6ebc8f7d1.tar.gz protobuf-c9bce45a01cc8861ec7c88e84d947ed6ebc8f7d1.tar.bz2 protobuf-c9bce45a01cc8861ec7c88e84d947ed6ebc8f7d1.zip |
Portability Changes -
Removing uses of Enum to IConvertible from CodedIOStreams,
Removed MessageStreamIterator.FromFile on non-client profiles,
Removed use of Path.GetFileName,
Removed uses of Converter<T1, T2> delegate,
Removed Guid/DispId options from test protos
Diffstat (limited to 'src/ProtocolBuffers/TextFormat.cs')
-rw-r--r-- | src/ProtocolBuffers/TextFormat.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ProtocolBuffers/TextFormat.cs b/src/ProtocolBuffers/TextFormat.cs index c0f4a5f6..7e2eff04 100644 --- a/src/ProtocolBuffers/TextFormat.cs +++ b/src/ProtocolBuffers/TextFormat.cs @@ -708,7 +708,7 @@ namespace Google.ProtocolBuffers {
// Explicitly specify the invariant culture so that this code does not break when
// executing in Turkey.
- String lowerName = name.ToLower(FrameworkPortability.InvariantCulture);
+ String lowerName = name.ToLowerInvariant();
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!
|