diff options
author | Jon Skeet <skeet@pobox.com> | 2008-08-14 20:38:07 +0100 |
---|---|---|
committer | Jon Skeet <skeet@pobox.com> | 2008-08-14 20:38:07 +0100 |
commit | 0980982095e5fc99a20b627c188d52a8b63248c7 (patch) | |
tree | 1952fd5258f2e548211e6bfb826c2579727bf509 /csharp/ProtocolBuffers/FieldAccess/IFieldAccessor.cs | |
parent | 38da52d3490a329be0407438eeddff6da65e5085 (diff) | |
download | protobuf-0980982095e5fc99a20b627c188d52a8b63248c7.tar.gz protobuf-0980982095e5fc99a20b627c188d52a8b63248c7.tar.bz2 protobuf-0980982095e5fc99a20b627c188d52a8b63248c7.zip |
Evil reflection optimisation.
Diffstat (limited to 'csharp/ProtocolBuffers/FieldAccess/IFieldAccessor.cs')
-rw-r--r-- | csharp/ProtocolBuffers/FieldAccess/IFieldAccessor.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/csharp/ProtocolBuffers/FieldAccess/IFieldAccessor.cs b/csharp/ProtocolBuffers/FieldAccess/IFieldAccessor.cs index eb57c8c9..ec079f92 100644 --- a/csharp/ProtocolBuffers/FieldAccess/IFieldAccessor.cs +++ b/csharp/ProtocolBuffers/FieldAccess/IFieldAccessor.cs @@ -58,18 +58,18 @@ namespace Google.ProtocolBuffers.FieldAccess { /// <summary> /// Accessor for repeated fields /// </summary> - object GetRepeatedValue(IMessage message, int index); + object GetRepeatedValue(TMessage message, int index); /// <summary> /// Mutator for repeated fields /// </summary> - void SetRepeated(IBuilder builder, int index, object value); + void SetRepeated(TBuilder builder, int index, object value); /// <summary> /// Adds the specified value to the field in the given builder. /// </summary> - void AddRepeated(IBuilder builder, object value); + void AddRepeated(TBuilder builder, object value); /// <summary> /// Returns a read-only wrapper around the value of a repeated field. /// </summary> - object GetRepeatedWrapper(IBuilder builder); + object GetRepeatedWrapper(TBuilder builder); } } |