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
namespaceRoslynSandbox{usingSystem;publicstaticclassFoo{/// <summary>/// .../// </summary>/// <returns>A new instance of <see cref="Disposable"/> that the caller is responsible for disposing.</returns>publicstaticIDisposableCreate()=>newDisposable();}}
And
namespaceRoslynSandbox{usingSystem;publicstaticclassFoo{privatestaticreadonlyIDisposableInstance=newDisposable();/// <summary>/// .../// </summary>/// <returns>A cached instance of <see cref="Disposable"/> that the caller must not dispose.</returns>publicstaticIDisposableBar()=>Instance;}}
The text was updated successfully, but these errors were encountered:
JohanLarsson
changed the title
Starndard docs about if the disposable is created or cached
Standard docs about if the disposable is created or cached
Nov 5, 2018
And
The text was updated successfully, but these errors were encountered: