aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/google/protobuf/compiler/csharp/csharp_message_field.cc
Commit message (Collapse)AuthorAge
* Write messages to backing field in generated C# cloning code (#4440)Gravatar Sydney Acksman2018-04-19
| | | | | | * Edited MessageFieldGenerator to clone to backing field instead of property * Generated C# proto code
* Fix merging with message-valued oneofGravatar Jon Skeet2017-10-31
| | | | | | | | | | If messages A and B have the same oneof case, which is a message type, and we merge B into A, those sub-messages should be merged. Fixes #3200. Note that I haven't regenerated all the code, as some of the protos have been changed, breaking generation.
* Move DebuggerNonUserCodeAttribute to function membersGravatar Jon Skeet2016-07-04
| | | | | | | | | I think this has caught everything. I've left a stub for attributes to be applied to the types themselves, but we don't currently need anything. Follow-up commit will include the changes to generated code itself. Fixes #1671.
* Line-wrapping changes only for C# generator codeGravatar Jon Skeet2016-04-06
| | | | | | | | This should have no behavioral changes at all. This doesn't strictly enforce an 80-column limit, but removes the most egregious violations. The indentation in the C# generator code is inconsistent in general, unfortunately - if we have any good tools that can be trusted to reformat, I'd be happy to apply them.
* Added access_level for typesGravatar Gaurav Vaish2016-04-05
| | | | | | | | | | | * `csharp_options`: Added `Options` to encapsulate generator options. Supported options for now - file_extension, base_namespace * `{Blah}Generator`: Now accept `Options*` as parameter to constructor * `csharp_generator.cc`: Parse and populate options * `Makefile.am`: Added `csharp_options.h` * `extract_includes.bat.in`: Added `csharp_options.h` Refactoring code to two commits. This is the first commit
* First pass at generating XML documentation from .proto comments.Gravatar Jon Skeet2015-10-01
| | | | | | This could be tidied up significantly, and at some point we will want to parse the markdown and generate more appropriate XML - but this is definitely better than nothing. Generated code changes coming in next commit.
* remove the freeze APIGravatar Jan Tattermusch2015-07-29
|
* Codegen changes to support descriptor runtime changesGravatar Jon Skeet2015-07-09
| | | | | | - Add a partial method called by all constructors - Generate internal classes for descriptor.proto (only) - Forbid proto2 descriptors except for descriptor.proto
* First pass at map support.Gravatar Jon Skeet2015-06-25
| | | | More tests required. Generated code in next commit.
* Implement freezing for messages and repeated fields.Gravatar Jon Skeet2015-06-24
| | | | Fixes issue #523.
* Implement Clone.Gravatar Jon Skeet2015-06-23
| | | | Fixes issue #527.
* Use the fact that we know the tag size and bytes at codegen time to optimize.Gravatar Jon Skeet2015-06-17
|
* Coded*Stream streamlining.Gravatar Jon Skeet2015-06-12
| | | | Remove ICodedInputStream and ICodedOutputStream, and rewrite CodedInputStream and CodedOutputStream to be specific to the binary format. If we want to support text-based formats, that can be a whole different serialization mechanism.
* First pass at the mutable API. Quite a bit more to do - in particular, it's ↵Gravatar Jon Skeet2015-06-09
| | | | pretty slow right now.
* First stab at new proto3-only code generatorGravatar Jon Skeet2015-06-05
|
* Migrate writer to io::Printer for C#Gravatar Jie Luo2015-06-04
|
* Add oneof support for C#Gravatar Jie Luo2015-05-29
|
* Rewrote C# protogen to C++ (initial version)Gravatar Jan Tattermusch2015-03-26