-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
Describe the solution you'd like
If I have a test like this:
using var context = new RockContext();
var disposable = context.Create<IDisposableCreateExpectations>();
disposable.Methods.Dispose();
iUseDisposable.Use(disposable.Instance());I get a CA2000 on the Instance() call. Rocks should suppress this because it's expected the developer will use the instance in such a way that the instance will be disposed.
Reactions are currently unavailable