Update missing C# namespace to Google.FlatBuffers

This commit is contained in:
Derek Bailey 2022-12-01 20:04:49 -08:00
parent 00af4e23b3
commit 3b2ced0131
4 changed files with 6 additions and 6 deletions

View File

@ -82,7 +82,7 @@ pass to the `GetRootAsMyRootType` function:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~{.cs}
using MyGame.Example;
using FlatBuffers;
using Google.FlatBuffers;
// This snippet ignores exceptions for brevity.
byte[] data = File.ReadAllBytes("monsterdata_test.mon");

View File

@ -415,7 +415,7 @@ The first step is to import/include the library, generated files, etc.
</div>
<div class="language-csharp">
~~~{.cs}
using FlatBuffers;
using Google.FlatBuffers;
using MyGame.Sample; // The `flatc` generated files. (Monster, Vec3, etc.)
~~~
</div>
@ -2200,7 +2200,7 @@ before:
</div>
<div class="language-csharp">
~~~{.cs}
using FlatBuffers;
using Google.FlatBuffers;
using MyGame.Sample; // The `flatc` generated files. (Monster, Vec3, etc.)
~~~
</div>
@ -3449,7 +3449,7 @@ Java supports vectors of unions, but it isn't currently documented.
</div>
<div class="language-csharp">
~~~{.cs}
using FlatBuffers;
using Google.FlatBuffers;
using Example.VectorOfUnions;
var fbb = new FlatBufferBuilder(100);

View File

@ -17,7 +17,7 @@
// To run, use the `csharp_sample.sh` script.
using System;
using FlatBuffers;
using Google.FlatBuffers;
using MyGame.Sample;
class SampleBinary

View File

@ -4,7 +4,7 @@ namespace NamespaceA
{
using System;
using FlatBuffers;
using Google.FlatBuffers;
public sealed class TableInC : Table {
public static TableInC GetRootAsTableInC(ByteBuffer _bb) { return GetRootAsTableInC(_bb, new TableInC()); }