mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-01 07:11:38 +00:00
Switched C# accessors from classes to structs
This commit is contained in:
@@ -19,7 +19,7 @@ namespace FlatBuffers
|
||||
/// <summary>
|
||||
/// Offset class for typesafe assignments.
|
||||
/// </summary>
|
||||
public struct Offset<T> where T : class
|
||||
public struct Offset<T> where T : struct
|
||||
{
|
||||
public int Value;
|
||||
public Offset(int value)
|
||||
|
||||
Reference in New Issue
Block a user