mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-12 16:00:59 +00:00
* [C#] Fixes issue #5399 by always including namespaces * Updated tests for code generator changes * Fixed 'As' method names
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
a6be1d0d74
commit
a80db8538c
@@ -1182,7 +1182,7 @@ class GeneralGenerator : public BaseGenerator {
|
||||
auto nested_type_name = WrapInNameSpace(*field.nested_flatbuffer);
|
||||
auto nested_method_name =
|
||||
MakeCamel(field.name, lang_.first_camel_upper) + "As" +
|
||||
nested_type_name;
|
||||
field.nested_flatbuffer->name;
|
||||
auto get_nested_method_name = nested_method_name;
|
||||
if (lang_.language == IDLOptions::kCSharp) {
|
||||
get_nested_method_name = "Get" + nested_method_name;
|
||||
|
||||
Reference in New Issue
Block a user