You are here
Home > Innovation > A Proposal for IDisposable and Static Analysis: DisposeUnused Attribute

A Proposal for IDisposable and Static Analysis: DisposeUnused Attribute

When .NET was first created, there was uncertainty about how IDisposable should be used. As a result, IDisposable was applied in an overly aggressive fashion with many categories of classes requiring empty Dispose methods. This has led to problems with static analysis tools that cannot separate real cases of missing Dispose calls from false positives.

By Jonathan Allen

Read more…

Powered by WPeMatico

Want to reply...?

Top
%d bloggers like this: