[C#] support Object API (#5710)
authormugisoba <51015092+mugisoba@users.noreply.github.com>
Thu, 30 Jan 2020 18:18:28 +0000 (03:18 +0900)
committerGitHub <noreply@github.com>
Thu, 30 Jan 2020 18:18:28 +0000 (10:18 -0800)
commit7418d85872ac2e04eccc037230fa3a8f1c321b69
treeb41bebde88c9f6f4851878777ecc551efca6ef98
parentc580fa284c70409bb3b2af303dc7eb772b607caa
[C#] support Object API (#5710)

* [C#] support Object API

* fix sign-compare

* fix indent

* add new line before for loop.

* using auto whenever possible

* reduce the amout of blank lines.

* wip: support vectors of union

* done: support unions of vectors

* set C# version to 4.0
* remove null propagation operator
* remove auto property initializer
* remove expression-bodied method
* remove pattern matching

* add Example2 to NetTest.sh

* separate JavaUsage.md and CsharpUsage.md from JavaCsharpUsage.md

* add C# Object based API notes.

* support vs2010.

* remove range based for loop.

* remove System.Linq

* fix indent

* CreateSharedString to CreateString

* check shared attribute

* snake case
36 files changed:
docs/source/CsharpUsage.md [moved from docs/source/JavaCsharpUsage.md with 60% similarity]
docs/source/FlatBuffers.md
docs/source/JavaUsage.md [new file with mode: 0644]
docs/source/Tutorial.md
docs/source/doxygen_layout.xml
src/idl_gen_csharp.cpp
tests/FlatBuffers.Test/FlatBuffers.Test.csproj
tests/FlatBuffers.Test/FlatBuffersExampleTests.cs
tests/FlatBuffers.Test/NetTest.sh
tests/MyGame/Example/Ability.cs
tests/MyGame/Example/Any.cs
tests/MyGame/Example/AnyAmbiguousAliases.cs
tests/MyGame/Example/AnyUniqueAliases.cs
tests/MyGame/Example/ArrayStruct.cs
tests/MyGame/Example/ArrayTable.cs
tests/MyGame/Example/Monster.cs
tests/MyGame/Example/NestedStruct.cs
tests/MyGame/Example/Referrable.cs
tests/MyGame/Example/Stat.cs
tests/MyGame/Example/Test.cs
tests/MyGame/Example/TestSimpleTableWithEnum.cs
tests/MyGame/Example/TypeAliases.cs
tests/MyGame/Example/Vec3.cs
tests/MyGame/Example2/Monster.cs
tests/MyGame/InParentNamespace.cs
tests/MyGame/MonsterExtra.cs
tests/namespace_test/NamespaceA/NamespaceB/StructInNestedNS.cs
tests/namespace_test/NamespaceA/NamespaceB/TableInNestedNS.cs
tests/namespace_test/NamespaceA/SecondTableInA.cs
tests/namespace_test/NamespaceA/TableInFirstNS.cs
tests/namespace_test/NamespaceC/TableInC.cs
tests/union_vector/Attacker.cs
tests/union_vector/BookReader.cs
tests/union_vector/Character.cs
tests/union_vector/Movie.cs
tests/union_vector/Rapunzel.cs