Quantcast
Channel: injectors Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 5

Created Feature: Auto-Implement Dispose Checker [11317]

$
0
0
If you implement IDisposable, you should throw ObjectDisposedException whenever any member on your object is used after Dispose() is called. Doing something like this:

[CheckForDispose]
public class MyClass : IDisposable { // ... }

Would do that check for the developer.

Viewing all articles
Browse latest Browse all 5

Latest Images

Trending Articles





Latest Images