• Mormegil's avatar
    [BREAKING CHANGE] Field accessors should use property getters in C# · 0ee1b99c
    Mormegil authored
    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
    0ee1b99c
Name
Last commit
Last update
CMake Loading commit data...
android Loading commit data...
biicode Loading commit data...
build Loading commit data...
docs Loading commit data...
go Loading commit data...
include/flatbuffers Loading commit data...
java Loading commit data...
net/FlatBuffers Loading commit data...
samples Loading commit data...
src Loading commit data...
tests Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CMakeLists.txt Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE.txt Loading commit data...
biicode.conf Loading commit data...
readme.md Loading commit data...