flatbuffers/net/FlatBuffers
Mormegil 221193eaa2 Union accessors in C# should use generic type for the table
When accessing a union field, we should return the same object type
as was given to the method, i.e. the parameter should have a generic
type for any Table-derived type. This way, we do not need to make
superfluous casts (which also reduce type safety) like

var myUnionType = (MyUnionType)buff.GetUnionField(new MyUnionType());

when we can do just
var myUnionType = buff.GetUnionField(new MyUnionType());

Change-Id: Idac1b638e46cc50b1f2dc19f10741481202b1515
2015-05-08 16:21:54 -07:00
..
Properties Added Copyright headers 2015-03-11 17:27:38 -07:00
ByteBuffer.cs [BREAKING CHANGE] Field accessors should use property getters in C# 2015-05-06 11:55:07 -07:00
FlatBufferBuilder.cs [BREAKING CHANGE] Field accessors should use property getters in C# 2015-05-06 11:55:07 -07:00
FlatBufferConstants.cs Added Copyright headers 2015-03-11 17:27:38 -07:00
FlatBuffers.csproj Fixed C# SizedByteArray copying leading bytes of ByteBuffer. 2015-01-16 15:36:25 -08:00
Struct.cs Initial commit of .NET port of FlatBuffers 2014-09-15 16:13:27 -07:00
Table.cs Union accessors in C# should use generic type for the table 2015-05-08 16:21:54 -07:00