Switched C# accessors from classes to structs

This commit is contained in:
Wouter van Oortmerssen
2016-08-31 17:34:51 -07:00
parent d05d114523
commit 52ca75506a
32 changed files with 541 additions and 388 deletions
+1 -1
View File
@@ -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)