aboutsummaryrefslogtreecommitdiff
path: root/csharp/src/Google.Protobuf/WellKnownTypes/FieldMaskPartial.cs
Commit message (Collapse)AuthorAgeFilesLines
* Change JSON field name formattingJon Skeet2016-11-031-5/+5
| | | | | | | | | This affects cases with leading capital letters. This breaks compatibility with previous C# releases, but fixes compatibility with other implementations. See #2278 for details.
* Adding conditional compiler symbol to support .NET 3.5 (#1713)detlevschwabe2016-06-281-0/+5
| | | | * Adding condition compiler symbol to support .NET 3.5
* Replace StringBuilder with TextWriter in JsonFormatteravgweb2016-03-061-8/+9
|
* Ensure that FieldMask, Timestamp and Duration ToString() calls don't throwJon Skeet2016-01-201-0/+122
The usage of ICustomDiagnosticMessage here is non-essential - ToDiagnosticString doesn't actually get called by ToString() in this case, due to JsonFormatter code. It was intended to make it clearer that it *did* have a custom format... but then arguably I should do the same for Value, Struct, Any etc. Moving some of the code out of JsonFormatter and into Duration/Timestamp/FieldMask likewise feels somewhat nice, somewhat nasty... basically there are JSON-specific bits of formatting, but also domain-specific bits of computation. <sigh> Thoughts welcome.