aboutsummaryrefslogtreecommitdiff
path: root/csharp/src/ProtocolBuffers/FieldAccess
Commit message (Collapse)AuthorAgeFilesLines
* Changing reflection namespace (part 1)Jon Skeet2015-07-148-635/+0
| | | | | | | - Move types into Google.Protobuf.Reflection - Change codegen to reflect that in generated types Generated code changes coming in part 2
* Changes suggested during review.Jon Skeet2015-07-141-26/+2
| | | | | - Remove the indexers in FieldAccessorTable - Add a TODO for field ordering in oneof
* Oneof reflection support. (Generated code changes in next commit.)Jon Skeet2015-07-103-35/+66
|
* Initial implementation of JSON formattingJon Skeet2015-07-101-0/+2
| | | | | | - No parsing - Reflection based, so not hugely efficient - No line breaks or indentation
* Implement reflection properly for fields.Jon Skeet2015-07-097-178/+159
| | | | | | | | | | | | | - FieldAccessorTable is now non-generic - We don't have a static field per message type in the umbrella class. (Message descriptors are accessed via the file descriptor.) - Removed the "descriptor assigner" complication from the descriptor fixup; without extensions, we don't need it - MapField implements IDictionary (more tests would be good...) - RepeatedField implements IList (more tests would be good) - Use expression trees to build accessors. (Will need to test this on various platforms... probably need a fallback strategy just using reflection directly.) - Added FieldDescriptor.IsMap - Added tests for reflection with generated messages Changes to generated code coming in next commit.
* Fix copyright lines for all C# code.Jon Skeet2015-06-307-31/+114
| | | | | | Everything should now be consistent - the only difference between files is the year (aside from generated files). Fixes issue #531.
* Remove a lot of code which wasn't needed any more.Jon Skeet2015-06-261-7/+0
|
* First pass at the mutable API. Quite a bit more to do - in particular, it's ↵Jon Skeet2015-06-0913-848/+215
| | | | pretty slow right now.
* Add oneof support for C#Jie Luo2015-05-295-11/+155
|
* fix commentsJie Luo2015-05-012-2/+1
|
* fix commends from Jon SkeetJie Luo2015-04-302-12/+6
|
* field presence Reflection and testsJie Luo2015-04-294-10/+31
|
* Imported protobuf-csharp-port into csharp/ treeJan Tattermusch2015-04-169-0/+1044