1 instantiation of Releaser
Microsoft.CodeAnalysis.InteractiveHost (1)
src\Dependencies\PooledObjects\PooledDelegates.cs (1)
33
return new
Releaser
(obj);
26 references to Releaser
Microsoft.CodeAnalysis.InteractiveHost (26)
src\Dependencies\PooledObjects\PooledDelegates.cs (26)
24
private static
Releaser
GetPooledDelegate<TPooled, TArg, TUnboundDelegate, TBoundDelegate>(TUnboundDelegate unboundDelegate, TArg argument, out TBoundDelegate boundDelegate)
39
/// until the returned <see cref="
Releaser
"/> is disposed.
64
/// <returns>A disposable <see cref="
Releaser
"/> which returns the object to the delegate pool.</returns>
65
public static
Releaser
GetPooledAction<TArg>(Action<TArg> unboundAction, TArg argument, out Action boundAction)
71
/// until the returned <see cref="
Releaser
"/> is disposed.
97
/// <returns>A disposable <see cref="
Releaser
"/> which returns the object to the delegate pool.</returns>
98
public static
Releaser
GetPooledAction<T1, TArg>(Action<T1, TArg> unboundAction, TArg argument, out Action<T1> boundAction)
104
/// until the returned <see cref="
Releaser
"/> is disposed.
131
/// <returns>A disposable <see cref="
Releaser
"/> which returns the object to the delegate pool.</returns>
132
public static
Releaser
GetPooledAction<T1, T2, TArg>(Action<T1, T2, TArg> unboundAction, TArg argument, out Action<T1, T2> boundAction)
138
/// until the returned <see cref="
Releaser
"/> is disposed.
166
/// <returns>A disposable <see cref="
Releaser
"/> which returns the object to the delegate pool.</returns>
167
public static
Releaser
GetPooledAction<T1, T2, T3, TArg>(Action<T1, T2, T3, TArg> unboundAction, TArg argument, out Action<T1, T2, T3> boundAction)
173
/// number of times until the returned <see cref="
Releaser
"/> is disposed.
199
/// <returns>A disposable <see cref="
Releaser
"/> which returns the object to the delegate pool.</returns>
200
public static
Releaser
GetPooledFunction<TArg, TResult>(Func<TArg, TResult> unboundFunction, TArg argument, out Func<TResult> boundFunction)
208
public static
Releaser
GetPooledCreateValueCallback<TKey, TArg, TValue>(
218
/// number of times until the returned <see cref="
Releaser
"/> is disposed.
245
/// <returns>A disposable <see cref="
Releaser
"/> which returns the object to the delegate pool.</returns>
246
public static
Releaser
GetPooledFunction<T1, TArg, TResult>(Func<T1, TArg, TResult> unboundFunction, TArg argument, out Func<T1, TResult> boundFunction)
252
/// number of times until the returned <see cref="
Releaser
"/> is disposed.
280
/// <returns>A disposable <see cref="
Releaser
"/> which returns the object to the delegate pool.</returns>
281
public static
Releaser
GetPooledFunction<T1, T2, TArg, TResult>(Func<T1, T2, TArg, TResult> unboundFunction, TArg argument, out Func<T1, T2, TResult> boundFunction)
287
/// number of times until the returned <see cref="
Releaser
"/> is disposed.
316
/// <returns>A disposable <see cref="
Releaser
"/> which returns the object to the delegate pool.</returns>
317
public static
Releaser
GetPooledFunction<T1, T2, T3, TArg, TResult>(Func<T1, T2, T3, TArg, TResult> unboundFunction, TArg argument, out Func<T1, T2, T3, TResult> boundFunction)