Classes and records with either private
or file
access modifiers aren’t visible outside of their assemblies or files, so
if they’re not extended inside their scope, they should be made explicitly non-extensible with the addition of the sealed
keyword.
What is the potential impact?
We measured at least 4x improvement in execution time. For more details see the Benchmarks
section from the More info
tab.