mirror of
https://github.com/vee1e/flatbuffers.git
synced 2026-09-03 10:47:28 +00:00
In C#, plain field accessors should not be nonparametric methods but should be standard property getters. The accessor methods with parameters were renamed to `GetXxx` because a method cannot be named identically to a property. Also, `ByteBuffer.Position`, `FlatBufferBuilder.Offset` and `FlatBufferBuilder.DataBuffer` are now properties instead of nonparametric accessor methods, for more idiomatic C# style. This is a breaking change, all client C# code accessing these fields needs to be changed (i.e. remove those `()` or add the `Get` prefix). Issue: #77 Change-Id: Iaabe9ada076e5ea2c69911cf6170fdda2df3487e |
||
|---|---|---|
| .. | ||
| Any.cs | ||
| Any.go | ||
| Any.java | ||
| Color.cs | ||
| Color.go | ||
| Color.java | ||
| Monster.cs | ||
| Monster.go | ||
| Monster.java | ||
| Stat.cs | ||
| Stat.go | ||
| Stat.java | ||
| Test.cs | ||
| Test.go | ||
| Test.java | ||
| Vec3.cs | ||
| Vec3.go | ||
| Vec3.java | ||