diff options
author | Jon Skeet <skeet@pobox.com> | 2008-08-14 20:35:22 +0100 |
---|---|---|
committer | Jon Skeet <skeet@pobox.com> | 2008-08-14 20:35:22 +0100 |
commit | 3f9a6f211664021db368c4b4549793935315382a (patch) | |
tree | 2ecd2bd93f9db925f5f644a0d72ef34b65320158 /csharp/ProtocolBuffers/ExtensionRegistry.cs | |
parent | 575083ae9c3ecb17e14ae29aa20b784940fcdfd1 (diff) | |
download | protobuf-3f9a6f211664021db368c4b4549793935315382a.tar.gz protobuf-3f9a6f211664021db368c4b4549793935315382a.tar.bz2 protobuf-3f9a6f211664021db368c4b4549793935315382a.zip |
Implemented GeneratedExtension, although list handling may be incorrect.
Diffstat (limited to 'csharp/ProtocolBuffers/ExtensionRegistry.cs')
-rw-r--r-- | csharp/ProtocolBuffers/ExtensionRegistry.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/csharp/ProtocolBuffers/ExtensionRegistry.cs b/csharp/ProtocolBuffers/ExtensionRegistry.cs index 9cda6a84..c8f31d37 100644 --- a/csharp/ProtocolBuffers/ExtensionRegistry.cs +++ b/csharp/ProtocolBuffers/ExtensionRegistry.cs @@ -88,7 +88,7 @@ namespace Google.ProtocolBuffers { /// <summary> /// Add an extension from a generated file to the registry. /// </summary> - public void Add<TContainer, TExtension> (GeneratedExtension<TContainer, TExtension> extension) + public void Add<TContainer, TExtension> (GeneratedExtensionBase<TContainer, TExtension> extension) where TContainer : IMessage<TContainer> { if (extension.Descriptor.MappedType == MappedType.Message) { Add(new ExtensionInfo(extension.Descriptor, extension.MessageDefaultInstance)); |