diff options
author | csharptest <roger@csharptest.net> | 2012-10-14 12:46:10 -0500 |
---|---|---|
committer | rogerk <devnull@localhost> | 2012-10-14 12:46:10 -0500 |
commit | 0d91952a584fea498b22fc180fcf599e85fd4933 (patch) | |
tree | 63ba2d54acf009baabc987eb2ab958ff5e42f8f5 /src/ProtocolBuffers/GeneratedMessageLite.cs | |
parent | 14e011f61ba2f5976f287e67f4ad82e0cdc546cd (diff) | |
download | protobuf-0d91952a584fea498b22fc180fcf599e85fd4933.tar.gz protobuf-0d91952a584fea498b22fc180fcf599e85fd4933.tar.bz2 protobuf-0d91952a584fea498b22fc180fcf599e85fd4933.zip |
Refactoring compatibility code to use FrameworkPortability class
Diffstat (limited to 'src/ProtocolBuffers/GeneratedMessageLite.cs')
-rw-r--r-- | src/ProtocolBuffers/GeneratedMessageLite.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ProtocolBuffers/GeneratedMessageLite.cs b/src/ProtocolBuffers/GeneratedMessageLite.cs index aecba7d6..0dfc976b 100644 --- a/src/ProtocolBuffers/GeneratedMessageLite.cs +++ b/src/ProtocolBuffers/GeneratedMessageLite.cs @@ -111,7 +111,7 @@ namespace Google.ProtocolBuffers }
else
{
- writer.WriteLine("{0}: {1}", name, ((IConvertible) value).ToString(CultureInfo.InvariantCulture));
+ writer.WriteLine("{0}: {1}", name, ((IConvertible)value).ToString(FrameworkPortability.InvariantCulture));
}
}
|