1 instantiation of Releaser
Microsoft.CodeAnalysis (1)
34 references to Releaser
Microsoft.CodeAnalysis (34)
DiagnosticAnalyzer\AnalyzerExecutor.cs (9)
388using var _ = PooledDelegates.GetPooledFunction((d, arg) => arg.self.IsSupportedDiagnostic(arg.analyzer, d), (self: this, analyzer), out Func<Diagnostic, bool> isSupportedDiagnostic);
432using var _ = PooledDelegates.GetPooledFunction((d, arg) => arg.self.IsSupportedDiagnostic(arg.analyzer, d), (self: this, analyzer), out Func<Diagnostic, bool> isSupportedDiagnostic);
523using var _ = PooledDelegates.GetPooledFunction((d, arg) => arg.self.IsSupportedDiagnostic(arg.analyzer, d), (self: this, analyzer), out Func<Diagnostic, bool> isSupportedDiagnostic);
567using var _ = PooledDelegates.GetPooledFunction((d, arg) => arg.self.IsSupportedDiagnostic(arg.analyzer, d), (self: this, analyzer), out Func<Diagnostic, bool> isSupportedDiagnostic);
611using var _ = PooledDelegates.GetPooledFunction((d, arg) => arg.self.IsSupportedDiagnostic(arg.analyzer, d), (self: this, analyzer), out Func<Diagnostic, bool> isSupportedDiagnostic);
646using var _ = PooledDelegates.GetPooledFunction((d, arg) => arg.self.IsSupportedDiagnostic(arg.analyzer, d), (self: this, analyzer), out Func<Diagnostic, bool> isSupportedDiagnostic);
857using var _ = PooledDelegates.GetPooledFunction((d, arg) => arg.self.IsSupportedDiagnostic(arg.analyzer, d), (self: this, analyzer), out Func<Diagnostic, bool> isSupportedDiagnostic);
982using var _ = PooledDelegates.GetPooledFunction((d, arg) => arg.self.IsSupportedDiagnostic(arg.analyzer, d), (self: this, analyzer), out Func<Diagnostic, bool> isSupportedDiagnostic);
1070using var _ = PooledDelegates.GetPooledFunction((d, arg) => arg.self.IsSupportedDiagnostic(arg.analyzer, d), (self: this, analyzer), out Func<Diagnostic, bool> isSupportedDiagnostic);
PooledDelegates.cs (25)
21private static Releaser GetPooledDelegate<TPooled, TArg, TUnboundDelegate, TBoundDelegate>(TUnboundDelegate unboundDelegate, TArg argument, out TBoundDelegate boundDelegate)
36/// until the returned <see cref="Releaser"/> is disposed.
61/// <returns>A disposable <see cref="Releaser"/> which returns the object to the delegate pool.</returns>
62public static Releaser GetPooledAction<TArg>(Action<TArg> unboundAction, TArg argument, out Action boundAction)
68/// until the returned <see cref="Releaser"/> is disposed.
94/// <returns>A disposable <see cref="Releaser"/> which returns the object to the delegate pool.</returns>
95public static Releaser GetPooledAction<T1, TArg>(Action<T1, TArg> unboundAction, TArg argument, out Action<T1> boundAction)
101/// until the returned <see cref="Releaser"/> is disposed.
128/// <returns>A disposable <see cref="Releaser"/> which returns the object to the delegate pool.</returns>
129public static Releaser GetPooledAction<T1, T2, TArg>(Action<T1, T2, TArg> unboundAction, TArg argument, out Action<T1, T2> boundAction)
135/// until the returned <see cref="Releaser"/> is disposed.
163/// <returns>A disposable <see cref="Releaser"/> which returns the object to the delegate pool.</returns>
164public static Releaser GetPooledAction<T1, T2, T3, TArg>(Action<T1, T2, T3, TArg> unboundAction, TArg argument, out Action<T1, T2, T3> boundAction)
170/// number of times until the returned <see cref="Releaser"/> is disposed.
196/// <returns>A disposable <see cref="Releaser"/> which returns the object to the delegate pool.</returns>
197public static Releaser GetPooledFunction<TArg, TResult>(Func<TArg, TResult> unboundFunction, TArg argument, out Func<TResult> boundFunction)
203/// number of times until the returned <see cref="Releaser"/> is disposed.
230/// <returns>A disposable <see cref="Releaser"/> which returns the object to the delegate pool.</returns>
231public static Releaser GetPooledFunction<T1, TArg, TResult>(Func<T1, TArg, TResult> unboundFunction, TArg argument, out Func<T1, TResult> boundFunction)
237/// number of times until the returned <see cref="Releaser"/> is disposed.
265/// <returns>A disposable <see cref="Releaser"/> which returns the object to the delegate pool.</returns>
266public static Releaser GetPooledFunction<T1, T2, TArg, TResult>(Func<T1, T2, TArg, TResult> unboundFunction, TArg argument, out Func<T1, T2, TResult> boundFunction)
272/// number of times until the returned <see cref="Releaser"/> is disposed.
301/// <returns>A disposable <see cref="Releaser"/> which returns the object to the delegate pool.</returns>
302public static Releaser GetPooledFunction<T1, T2, T3, TArg, TResult>(Func<T1, T2, T3, TArg, TResult> unboundFunction, TArg argument, out Func<T1, T2, T3, TResult> boundFunction)