Closed FreeAndNil closed 3 months ago
Public classes and interfaces should get nullable annotations so that callers will be warned when passing null values.
log4net.Appender.AppenderCollection.IAppenderCollectionEnumerator
IEnumerator<IAppender>
log4net.Appender.MemoryAppender.m_eventsList
ArrayList
List<LoggingEvent>
m_eventsList.SyncRoot
((ICollection)m_eventsList).SyncRoot
Public classes and interfaces should get nullable annotations so that callers will be warned when passing null values.
List of breaking changes
129 - Part 4 of nullable and modernization
log4net.Appender.AppenderCollection.IAppenderCollectionEnumerator
is now obsolete and must be replaced byIEnumerator<IAppender>
log4net.Appender.MemoryAppender.m_eventsList
(protected field) was changed fromArrayList
toList<LoggingEvent>
m_eventsList.SyncRoot
you need to cast it:((ICollection)m_eventsList).SyncRoot