#6201·NLog

Remove usage of ReadOnlyCollection as property wrapper

Author: snakefootCreated May 31, 2026Updated May 31, 2026
Labelsbreaking change

It is often wasted effort to try and protect developers from themselves. Instead of using ReadOnlyCollection then just use IEnumerable.

Making NLog more AOT-friendly. Places that needs some attention:

  • SimpleLayout.Renderer - Created #6200 to mark obsolete
  • LoggingConfiguration.ConfiguredNamedTargets
  • LoggingConfiguration.AllTargets
  • LoggingRule.Levels