[
https://issues.apache.org/jira/browse/LOG4NET-390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dominik Psenner resolved LOG4NET-390.
-------------------------------------
Resolution: Fixed
Fix Version/s: 1.2.12
Fixed as of revision: 1520540
> ReadOnlyAppenderCollection.ToArray returns empty array
> ------------------------------------------------------
>
> Key: LOG4NET-390
> URL: https://issues.apache.org/jira/browse/LOG4NET-390
> Project: Log4net
> Issue Type: Bug
> Components: Appenders
> Affects Versions: 1.2.9, 1.2.10, 1.2.11
> Reporter: Carlos Muñoz Rodriguez
> Assignee: Dominik Psenner
> Priority: Minor
> Labels: easyfix, patch
> Fix For: 1.2.12
>
> Attachments: AppenderCollection.cs.patch, AppenderCollectionTest.cs
>
>
> log4net.Appender.AppenderCollection.ReadOnlyAppenderCollection does not
> override ToArray().
> As a consequence ToArray calls returns always empty arrays.
> Fix:
> public override IAppender[] ToArray()
> {
> return m_collection.ToArray();
> }
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira