public void MergeFrom(IExtensionValue value) { if (value is ExtensionValue <T> ) { var extensionValue = value as ExtensionValue <T>; codec.FieldMerger(ref field, extensionValue.field); } }