Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for nullable annotations #124

Open
FreeAndNil opened this issue Mar 13, 2024 · 0 comments
Open

Add support for nullable annotations #124

FreeAndNil opened this issue Mar 13, 2024 · 0 comments
Milestone

Comments

@FreeAndNil
Copy link
Contributor

FreeAndNil commented Mar 13, 2024

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

  • interface log4net.Appender.AppenderCollection.IAppenderCollectionEnumerator is now obsolete and must be replaced by IEnumerator<IAppender>
  • log4net.Appender.MemoryAppender.m_eventsList (protected field) was changed from ArrayList to List<LoggingEvent>
    • for getting m_eventsList.SyncRoot you need to cast it: ((ICollection)m_eventsList).SyncRoot
@FreeAndNil FreeAndNil added this to the 3.0.0 milestone Mar 13, 2024
FreeAndNil added a commit that referenced this issue Mar 28, 2024
erikmav added a commit to erikmav/logging-log4net that referenced this issue Mar 28, 2024
…ormattter serialize-deserialze testing across versions, and correct serialization property bag names broken by modernization (apache#124).
erikmav added a commit to erikmav/logging-log4net that referenced this issue Mar 28, 2024
…ormattter serialize-deserialze testing across versions, and correct serialization property bag names broken by modernization (apache#124).
erikmav added a commit to erikmav/logging-log4net that referenced this issue Mar 28, 2024
…ormattter serialize-deserialze testing across versions, and correct serialization property bag names broken by modernization (apache#124).
erikmav added a commit to erikmav/logging-log4net that referenced this issue Mar 28, 2024
…ormattter serialize-deserialze testing across versions, and correct serialization property bag names broken by modernization (apache#124).
erikmav added a commit to erikmav/logging-log4net that referenced this issue Mar 28, 2024
…ormattter serialize-deserialze testing across versions, and correct serialization property bag names broken by modernization (apache#124).
FreeAndNil added a commit that referenced this issue Apr 3, 2024
- added breaking changes to release notes
FreeAndNil added a commit that referenced this issue Apr 3, 2024
- implemented ICollection.Add & Remove explicitly for keeping old signatures
- added breaking changes to release notes
FreeAndNil added a commit that referenced this issue Apr 3, 2024
- implemented ICollection.Add & Remove explicitly for keeping old signatures
- added breaking changes to release notes
FreeAndNil pushed a commit that referenced this issue Apr 4, 2024
* Remove obsolete properties, methods, and classes for 3.0. Add BinaryFormattter serialize-deserialze testing across versions, and correct serialization property bag names broken by modernization (#124).

* Seal AliasRepositoryAttribute
FreeAndNil added a commit that referenced this issue Apr 4, 2024
FreeAndNil added a commit that referenced this issue Apr 5, 2024
FreeAndNil added a commit that referenced this issue Apr 5, 2024
FreeAndNil added a commit that referenced this issue Apr 8, 2024
#124 fixed more nullable Warnings when targeting net8.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant