From b7012484f3f9caa54389d43b93a80fa672ef37f1 Mon Sep 17 00:00:00 2001
From: Vladimir Glavnyy <31897320+vglavnyy@users.noreply.github.com>
Date: Tue, 25 Jun 2019 07:51:04 +0700
Subject: [PATCH] Set C# Struct/Table visibility to public (#5381) (#5416)
---
net/FlatBuffers/Struct.cs | 2 +-
net/FlatBuffers/Table.cs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/FlatBuffers/Struct.cs b/net/FlatBuffers/Struct.cs
index 82a3d10..4f7fac9 100644
--- a/net/FlatBuffers/Struct.cs
+++ b/net/FlatBuffers/Struct.cs
@@ -19,7 +19,7 @@ namespace FlatBuffers
///
/// All structs in the generated code derive from this class, and add their own accessors.
///
- internal struct Struct
+ public struct Struct
{
public int bb_pos { get; private set; }
public ByteBuffer bb { get; private set; }
diff --git a/net/FlatBuffers/Table.cs b/net/FlatBuffers/Table.cs
index 9d0744a..e10ba95 100644
--- a/net/FlatBuffers/Table.cs
+++ b/net/FlatBuffers/Table.cs
@@ -22,7 +22,7 @@ namespace FlatBuffers
///
/// All tables in the generated code derive from this struct, and add their own accessors.
///
- internal struct Table
+ public struct Table
{
public int bb_pos { get; private set; }
public ByteBuffer bb { get; private set; }
--
2.7.4