aboutsummaryrefslogtreecommitdiff
path: root/src/google/protobuf/compiler/csharp/csharp_source_generator_base.cc
Commit message (Collapse)AuthorAgeFilesLines
* Remove WriteGeneratedTypeAttributes which is a no-opJon Skeet2016-07-071-4/+0
| | | | | | This does not affect the generated code. If we decide we want to apply attributes to generated types, we should start by just reverting this change.
* Move DebuggerNonUserCodeAttribute to function membersJon Skeet2016-07-041-0/+4
| | | | | | | | | 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.
* Added support for internal_access for C#Gaurav Vaish2016-04-071-1/+1
|
* Line-wrapping changes only for C# generator codeJon Skeet2016-04-061-1/+2
| | | | | | | | 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 typesGaurav Vaish2016-04-051-2/+8
| | | | | | | | | | | * `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
* Codegen changes to support descriptor runtime changesJon Skeet2015-07-091-1/+1
| | | | | | - Add a partial method called by all constructors - Generate internal classes for descriptor.proto (only) - Forbid proto2 descriptors except for descriptor.proto
* First stab at new proto3-only code generatorJon Skeet2015-06-051-8/+0
|
* Migrate writer to io::Printer for C#Jie Luo2015-06-041-2/+1
|
* Remove ClsCompliant declarations from C# codeJie Luo2015-05-011-5/+0
|
* output file naming logic, configurable file extension, comment rewordingJan Tattermusch2015-04-131-9/+2
|
* updated C# codegen to use restricted set of csharp options from descriptor.protoJan Tattermusch2015-04-131-0/+5
|
* Rewrote C# protogen to C++ (initial version)Jan Tattermusch2015-03-261-0/+82