You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For binary references where we can't walk the source we need to make a best guess about if a method returns a new instance that we now own and should dispose.
publicstaticclassExtensions{/// <summary>/// Test method that returns a different type than the in parameter. We assume that the method creates a new disposable then./// </summary>publicstatic ICustomDisposable AsCustom(thisIDisposabledisposable)=>default(ICustomDisposable);/// <summary>/// Test method that returns the same type as the in parameter. We assume that the method does not create a new disposable then./// </summary>publicstatic IDisposable Fluent(thisIDisposabledisposable)=> disposable;}
The text was updated successfully, but these errors were encountered:
For binary references where we can't walk the source we need to make a best guess about if a method returns a new instance that we now own and should dispose.
The text was updated successfully, but these errors were encountered: