578 references to Action
Aspire.Azure.Messaging.EventHubs.Tests (2)
AspireEventHubsExtensionsTests.cs (2)
33private static readonly Action<HostApplicationBuilder, string, Action<AzureMessagingEventHubsSettings>?>[] s_keyedClientAdders = 42private static readonly Action<HostApplicationBuilder, string, Action<AzureMessagingEventHubsSettings>?>[] s_clientAdders =
Aspire.Microsoft.Data.SqlClient (6)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\Shared\DiagnosticSourceInstrumentation\DiagnosticSourceListener.cs (2)
15private readonly Action<string, string, Exception> logUnknownException; 17public DiagnosticSourceListener(ListenerHandler handler, Action<string, string, Exception> logUnknownException)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\Shared\DiagnosticSourceInstrumentation\DiagnosticSourceSubscriber.cs (3)
17private readonly Action<string, string, Exception> logUnknownException; 24Action<string, string, Exception> logUnknownException) 33Action<string, string, Exception> logUnknownException)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\SqlClientTraceInstrumentationOptions.cs (1)
136public Action<Activity, string, object> Enrich { get; set; }
Aspire.Microsoft.EntityFrameworkCore.SqlServer (6)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\Shared\DiagnosticSourceInstrumentation\DiagnosticSourceListener.cs (2)
15private readonly Action<string, string, Exception> logUnknownException; 17public DiagnosticSourceListener(ListenerHandler handler, Action<string, string, Exception> logUnknownException)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\Shared\DiagnosticSourceInstrumentation\DiagnosticSourceSubscriber.cs (3)
17private readonly Action<string, string, Exception> logUnknownException; 24Action<string, string, Exception> logUnknownException) 33Action<string, string, Exception> logUnknownException)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\SqlClientTraceInstrumentationOptions.cs (1)
136public Action<Activity, string, object> Enrich { get; set; }
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\TaskHelpers.cs (1)
206public static void Wait(this Task task, TimeSpan timeout, Action<Exception, TimeSpan, string> exceptionConverter, string operationType)
GenerateDocumentationAndConfigFiles (16)
Program.cs (1)
1220Action<StringBuilder, DiagnosticDescriptor, string> addRuleEntry,
src\Dependencies\PooledObjects\PooledDelegates.cs (8)
132public static Releaser GetPooledAction<T1, T2, TArg>(Action<T1, T2, TArg> unboundAction, TArg argument, out Action<T1, T2> boundAction) 133=> GetPooledDelegate<ActionWithBoundArgument<T1, T2, TArg>, TArg, Action<T1, T2, TArg>, Action<T1, T2>>(unboundAction, argument, out boundAction); 136/// Gets an <see cref="Action{T1, T2, T3}"/> delegate, which calls <paramref name="unboundAction"/> with the specified 167public static Releaser GetPooledAction<T1, T2, T3, TArg>(Action<T1, T2, T3, TArg> unboundAction, TArg argument, out Action<T1, T2, T3> boundAction) 168=> GetPooledDelegate<ActionWithBoundArgument<T1, T2, T3, TArg>, TArg, Action<T1, T2, T3, TArg>, Action<T1, T2, T3>>(unboundAction, argument, out boundAction); 398: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<T1, T2, TArg>, TArg, Action<T1, T2, TArg>, Action<T1, T2>> 405: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<T1, T2, T3, TArg>, TArg, Action<T1, T2, T3, TArg>, Action<T1, T2, T3>> 407protected override Action<T1, T2, T3> Bind()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.FormattedWhitespace.cs (1)
64FormattingContext context, ChainedFormattingRules formattingRules, Action<int, TokenStream, TriviaData> formattingResultApplier, CancellationToken cancellationToken, int tokenPairIndex = TokenPairIndexNotNeeded)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.ModifiedWhitespace.cs (1)
80Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.Whitespace.cs (1)
79Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TriviaData.cs (1)
46Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectWriter.cs (1)
366Action<BinaryWriter, T[], int> write)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EventHandlerFactory.cs (1)
17public static EventHandler<TArgs> CreateWeakHandler<TTarget>(TTarget target, Action<TTarget, object?, TArgs> invoker)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\WeakEvent`1.cs (1)
17/// Unlike handler created via <see cref="EventHandlerFactory{TArgs}.CreateWeakHandler{TTarget}(TTarget, Action{TTarget, object?, TArgs})"/> the handlers may capture state, which makes the subscribers simpler
Metrics (15)
src\Dependencies\PooledObjects\PooledDelegates.cs (8)
132public static Releaser GetPooledAction<T1, T2, TArg>(Action<T1, T2, TArg> unboundAction, TArg argument, out Action<T1, T2> boundAction) 133=> GetPooledDelegate<ActionWithBoundArgument<T1, T2, TArg>, TArg, Action<T1, T2, TArg>, Action<T1, T2>>(unboundAction, argument, out boundAction); 136/// Gets an <see cref="Action{T1, T2, T3}"/> delegate, which calls <paramref name="unboundAction"/> with the specified 167public static Releaser GetPooledAction<T1, T2, T3, TArg>(Action<T1, T2, T3, TArg> unboundAction, TArg argument, out Action<T1, T2, T3> boundAction) 168=> GetPooledDelegate<ActionWithBoundArgument<T1, T2, T3, TArg>, TArg, Action<T1, T2, T3, TArg>, Action<T1, T2, T3>>(unboundAction, argument, out boundAction); 398: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<T1, T2, TArg>, TArg, Action<T1, T2, TArg>, Action<T1, T2>> 405: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<T1, T2, T3, TArg>, TArg, Action<T1, T2, T3, TArg>, Action<T1, T2, T3>> 407protected override Action<T1, T2, T3> Bind()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.FormattedWhitespace.cs (1)
64FormattingContext context, ChainedFormattingRules formattingRules, Action<int, TokenStream, TriviaData> formattingResultApplier, CancellationToken cancellationToken, int tokenPairIndex = TokenPairIndexNotNeeded)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.ModifiedWhitespace.cs (1)
80Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.Whitespace.cs (1)
79Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TriviaData.cs (1)
46Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectWriter.cs (1)
366Action<BinaryWriter, T[], int> write)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EventHandlerFactory.cs (1)
17public static EventHandler<TArgs> CreateWeakHandler<TTarget>(TTarget target, Action<TTarget, object?, TArgs> invoker)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\WeakEvent`1.cs (1)
17/// Unlike handler created via <see cref="EventHandlerFactory{TArgs}.CreateWeakHandler{TTarget}(TTarget, Action{TTarget, object?, TArgs})"/> the handlers may capture state, which makes the subscribers simpler
Metrics.Legacy (15)
src\Dependencies\PooledObjects\PooledDelegates.cs (8)
132public static Releaser GetPooledAction<T1, T2, TArg>(Action<T1, T2, TArg> unboundAction, TArg argument, out Action<T1, T2> boundAction) 133=> GetPooledDelegate<ActionWithBoundArgument<T1, T2, TArg>, TArg, Action<T1, T2, TArg>, Action<T1, T2>>(unboundAction, argument, out boundAction); 136/// Gets an <see cref="Action{T1, T2, T3}"/> delegate, which calls <paramref name="unboundAction"/> with the specified 167public static Releaser GetPooledAction<T1, T2, T3, TArg>(Action<T1, T2, T3, TArg> unboundAction, TArg argument, out Action<T1, T2, T3> boundAction) 168=> GetPooledDelegate<ActionWithBoundArgument<T1, T2, T3, TArg>, TArg, Action<T1, T2, T3, TArg>, Action<T1, T2, T3>>(unboundAction, argument, out boundAction); 398: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<T1, T2, TArg>, TArg, Action<T1, T2, TArg>, Action<T1, T2>> 405: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<T1, T2, T3, TArg>, TArg, Action<T1, T2, T3, TArg>, Action<T1, T2, T3>> 407protected override Action<T1, T2, T3> Bind()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.FormattedWhitespace.cs (1)
64FormattingContext context, ChainedFormattingRules formattingRules, Action<int, TokenStream, TriviaData> formattingResultApplier, CancellationToken cancellationToken, int tokenPairIndex = TokenPairIndexNotNeeded)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.ModifiedWhitespace.cs (1)
80Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.Whitespace.cs (1)
79Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TriviaData.cs (1)
46Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectWriter.cs (1)
366Action<BinaryWriter, T[], int> write)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EventHandlerFactory.cs (1)
17public static EventHandler<TArgs> CreateWeakHandler<TTarget>(TTarget target, Action<TTarget, object?, TArgs> invoker)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\WeakEvent`1.cs (1)
17/// Unlike handler created via <see cref="EventHandlerFactory{TArgs}.CreateWeakHandler{TTarget}(TTarget, Action{TTarget, object?, TArgs})"/> the handlers may capture state, which makes the subscribers simpler
Microsoft.AspNetCore.Components.Endpoints (2)
DependencyInjection\PrerenderingErrorBoundaryLogger.cs (1)
11private static readonly Action<ILogger, string, Exception> _exceptionCaughtByErrorBoundary = LoggerMessage.Define<string>(
FormMapping\FormDataReader.cs (1)
51public Action<string, FormattableString, string?>? ErrorHandler { get; set; }
Microsoft.AspNetCore.Components.Web (2)
Forms\Mapping\FormValueMappingContext.cs (1)
48public Action<string, FormattableString, string?>? OnError { get; set; }
Forms\Mapping\SupplyParameterFromFormValueProvider.cs (1)
79Action<string, FormattableString, string?> errorHandler = string.IsNullOrEmpty(restrictToFormName) ?
Microsoft.AspNetCore.Http.Extensions (2)
RequestDelegateFactory.cs (1)
81private static readonly MethodInfo LogImplicitBodyNotProvidedMethod = GetMethodInfo<Action<HttpContext, string, bool>>((httpContext, parameterName, shouldThrow) =>
src\Components\Endpoints\src\FormMapping\FormDataReader.cs (1)
51public Action<string, FormattableString, string?>? ErrorHandler { get; set; }
Microsoft.AspNetCore.Http.Extensions.Tests (1)
RequestDelegateFactoryTests.cs (1)
1096new[] { (Action<HttpContext, MyService, IEnumerable<MyService>>)TestExplicitMultipleFromService },
Microsoft.AspNetCore.Mvc.RazorPages (7)
Infrastructure\DefaultPageActivatorProvider.cs (2)
15private readonly Action<PageContext, ViewContext, object> _disposer = Dispose; 36public Action<PageContext, ViewContext, object>? CreateReleaser(CompiledPageActionDescriptor actionDescriptor)
Infrastructure\DefaultPageFactoryProvider.cs (1)
70public Action<PageContext, ViewContext, object>? CreatePageDisposer(CompiledPageActionDescriptor descriptor)
IPageActivatorProvider.cs (2)
25Action<PageContext, ViewContext, object>? CreateReleaser(CompiledPageActionDescriptor descriptor); 34var releaser = CreateReleaser(descriptor);
IPageFactoryProvider.cs (2)
25Action<PageContext, ViewContext, object>? CreatePageDisposer(CompiledPageActionDescriptor descriptor); 34var disposer = CreatePageDisposer(descriptor);
Microsoft.AspNetCore.Mvc.RazorPages.Test (3)
Infrastructure\DefaultPageActivatorProviderTest.cs (2)
77var releaser = activator.CreateReleaser(new CompiledPageActionDescriptor 116var disposer = activator.CreateReleaser(new CompiledPageActionDescriptor
Infrastructure\DefaultPageFactoryProviderTest.cs (1)
320var disposer = factoryProvider.CreatePageDisposer(pageContext.ActionDescriptor);
Microsoft.AspNetCore.Server.Kestrel.Core (1)
HttpsConfigurationService.cs (1)
27private Action<FeatureCollection, ListenOptions, ILogger<HttpsConnectionMiddleware>>? _populateMultiplexedTransportFeatures;
Microsoft.AspNetCore.SignalR.Client.Core (1)
HubConnectionExtensions.cs (1)
84public static IDisposable On<T1, T2, T3>(this HubConnection hubConnection, string methodName, Action<T1, T2, T3> handler)
Microsoft.Build.Framework (1)
Debugging\CommonWriter.cs (1)
17public static Action<string, string, IEnumerable<string>> Writer { get; set; }
Microsoft.CodeAnalysis (31)
DiagnosticAnalyzer\AnalyzerDriver.cs (5)
476Action<Diagnostic, DiagnosticAnalyzer, CancellationToken>? addCategorizedNonLocalDiagnostic = null; 822Action<Exception, DiagnosticAnalyzer, Diagnostic> onAnalyzerException = 835Action<Exception, DiagnosticAnalyzer, Diagnostic> onAnalyzerException, 1967internal static Action<Diagnostic, DiagnosticAnalyzer, bool, CancellationToken> GetDiagnosticSink(Action<Diagnostic, DiagnosticAnalyzer, bool> addLocalDiagnosticCore, Compilation compilation, AnalyzerOptions? analyzerOptions, SeverityFilter severityFilter, ConcurrentSet<string>? suppressedDiagnosticIds) 1979internal static Action<Diagnostic, DiagnosticAnalyzer, CancellationToken> GetDiagnosticSink(Action<Diagnostic, DiagnosticAnalyzer> addDiagnosticCore, Compilation compilation, AnalyzerOptions? analyzerOptions, SeverityFilter severityFilter, ConcurrentSet<string>? suppressedDiagnosticIds)
DiagnosticAnalyzer\AnalyzerExecutor.AnalyzerDiagnosticReporter.cs (2)
35Action<Diagnostic, DiagnosticAnalyzer, CancellationToken>? addCategorizedNonLocalDiagnostic, 74private Action<Diagnostic, DiagnosticAnalyzer, CancellationToken>? _addCategorizedNonLocalDiagnostic;
DiagnosticAnalyzer\AnalyzerExecutor.cs (4)
36private readonly Action<Diagnostic, DiagnosticAnalyzer, CancellationToken>? _addCategorizedNonLocalDiagnostic; 115Action<Diagnostic, DiagnosticAnalyzer, CancellationToken>? addCategorizedNonLocalDiagnostic = null, 147Action<Diagnostic, DiagnosticAnalyzer, CancellationToken>? addCategorizedNonLocalDiagnostic, 1428Action<Diagnostic, DiagnosticAnalyzer, CancellationToken>? addCategorizedNonLocalDiagnostic,
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (1)
1221Action<Exception, DiagnosticAnalyzer, Diagnostic>? onAnalyzerException = null)
DiagnosticAnalyzer\CompilationWithAnalyzersOptions.cs (5)
15private readonly Action<Exception, DiagnosticAnalyzer, Diagnostic>? _onAnalyzerException; 29public Action<Exception, DiagnosticAnalyzer, Diagnostic>? OnAnalyzerException => _onAnalyzerException; 60Action<Exception, DiagnosticAnalyzer, Diagnostic>? onAnalyzerException, 77Action<Exception, DiagnosticAnalyzer, Diagnostic>? onAnalyzerException, 96Action<Exception, DiagnosticAnalyzer, Diagnostic>? onAnalyzerException,
SourceGeneration\Nodes\HostOutputNode.cs (2)
23private readonly Action<HostOutputProductionContext, TInput, CancellationToken> _action; 25public HostOutputNode(IIncrementalGeneratorNode<TInput> source, Action<HostOutputProductionContext, TInput, CancellationToken> action)
SourceGeneration\Nodes\SourceOutputNode.cs (2)
22private readonly Action<SourceProductionContext, TInput, CancellationToken> _action; 28public SourceOutputNode(IIncrementalGeneratorNode<TInput> source, Action<SourceProductionContext, TInput, CancellationToken> action, IncrementalGeneratorOutputKind outputKind, string sourceExtension)
SourceGeneration\UserFunction.cs (1)
97internal static Action<TInput1, TInput2, CancellationToken> WrapUserAction<TInput1, TInput2>(this Action<TInput1, TInput2> userAction, bool catchAnalyzerExceptions)
src\Dependencies\PooledObjects\PooledDelegates.cs (8)
132public static Releaser GetPooledAction<T1, T2, TArg>(Action<T1, T2, TArg> unboundAction, TArg argument, out Action<T1, T2> boundAction) 133=> GetPooledDelegate<ActionWithBoundArgument<T1, T2, TArg>, TArg, Action<T1, T2, TArg>, Action<T1, T2>>(unboundAction, argument, out boundAction); 136/// Gets an <see cref="Action{T1, T2, T3}"/> delegate, which calls <paramref name="unboundAction"/> with the specified 167public static Releaser GetPooledAction<T1, T2, T3, TArg>(Action<T1, T2, T3, TArg> unboundAction, TArg argument, out Action<T1, T2, T3> boundAction) 168=> GetPooledDelegate<ActionWithBoundArgument<T1, T2, T3, TArg>, TArg, Action<T1, T2, T3, TArg>, Action<T1, T2, T3>>(unboundAction, argument, out boundAction); 398: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<T1, T2, TArg>, TArg, Action<T1, T2, TArg>, Action<T1, T2>> 405: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<T1, T2, T3, TArg>, TArg, Action<T1, T2, T3, TArg>, Action<T1, T2, T3>> 407protected override Action<T1, T2, T3> Bind()
Text\SourceText.cs (1)
1048private void EnumerateChars(Action<int, char[], int> action)
Microsoft.CodeAnalysis.Analyzers (15)
src\Dependencies\PooledObjects\PooledDelegates.cs (8)
132public static Releaser GetPooledAction<T1, T2, TArg>(Action<T1, T2, TArg> unboundAction, TArg argument, out Action<T1, T2> boundAction) 133=> GetPooledDelegate<ActionWithBoundArgument<T1, T2, TArg>, TArg, Action<T1, T2, TArg>, Action<T1, T2>>(unboundAction, argument, out boundAction); 136/// Gets an <see cref="Action{T1, T2, T3}"/> delegate, which calls <paramref name="unboundAction"/> with the specified 167public static Releaser GetPooledAction<T1, T2, T3, TArg>(Action<T1, T2, T3, TArg> unboundAction, TArg argument, out Action<T1, T2, T3> boundAction) 168=> GetPooledDelegate<ActionWithBoundArgument<T1, T2, T3, TArg>, TArg, Action<T1, T2, T3, TArg>, Action<T1, T2, T3>>(unboundAction, argument, out boundAction); 398: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<T1, T2, TArg>, TArg, Action<T1, T2, TArg>, Action<T1, T2>> 405: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<T1, T2, T3, TArg>, TArg, Action<T1, T2, T3, TArg>, Action<T1, T2, T3>> 407protected override Action<T1, T2, T3> Bind()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.FormattedWhitespace.cs (1)
64FormattingContext context, ChainedFormattingRules formattingRules, Action<int, TokenStream, TriviaData> formattingResultApplier, CancellationToken cancellationToken, int tokenPairIndex = TokenPairIndexNotNeeded)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.ModifiedWhitespace.cs (1)
80Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.Whitespace.cs (1)
79Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TriviaData.cs (1)
46Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectWriter.cs (1)
366Action<BinaryWriter, T[], int> write)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EventHandlerFactory.cs (1)
17public static EventHandler<TArgs> CreateWeakHandler<TTarget>(TTarget target, Action<TTarget, object?, TArgs> invoker)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\WeakEvent`1.cs (1)
17/// Unlike handler created via <see cref="EventHandlerFactory{TArgs}.CreateWeakHandler{TTarget}(TTarget, Action{TTarget, object?, TArgs})"/> the handlers may capture state, which makes the subscribers simpler
Microsoft.CodeAnalysis.AnalyzerUtilities (16)
src\Dependencies\PooledObjects\PooledDelegates.cs (8)
132public static Releaser GetPooledAction<T1, T2, TArg>(Action<T1, T2, TArg> unboundAction, TArg argument, out Action<T1, T2> boundAction) 133=> GetPooledDelegate<ActionWithBoundArgument<T1, T2, TArg>, TArg, Action<T1, T2, TArg>, Action<T1, T2>>(unboundAction, argument, out boundAction); 136/// Gets an <see cref="Action{T1, T2, T3}"/> delegate, which calls <paramref name="unboundAction"/> with the specified 167public static Releaser GetPooledAction<T1, T2, T3, TArg>(Action<T1, T2, T3, TArg> unboundAction, TArg argument, out Action<T1, T2, T3> boundAction) 168=> GetPooledDelegate<ActionWithBoundArgument<T1, T2, T3, TArg>, TArg, Action<T1, T2, T3, TArg>, Action<T1, T2, T3>>(unboundAction, argument, out boundAction); 398: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<T1, T2, TArg>, TArg, Action<T1, T2, TArg>, Action<T1, T2>> 405: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<T1, T2, T3, TArg>, TArg, Action<T1, T2, T3, TArg>, Action<T1, T2, T3>> 407protected override Action<T1, T2, T3> Bind()
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\AnalysisEntityDataFlowOperationVisitor.cs (1)
644Action<TAnalysisData, AnalysisEntity, TAbstractAnalysisValue> setAbstractValue)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.FormattedWhitespace.cs (1)
64FormattingContext context, ChainedFormattingRules formattingRules, Action<int, TokenStream, TriviaData> formattingResultApplier, CancellationToken cancellationToken, int tokenPairIndex = TokenPairIndexNotNeeded)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.ModifiedWhitespace.cs (1)
80Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.Whitespace.cs (1)
79Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TriviaData.cs (1)
46Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectWriter.cs (1)
366Action<BinaryWriter, T[], int> write)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EventHandlerFactory.cs (1)
17public static EventHandler<TArgs> CreateWeakHandler<TTarget>(TTarget target, Action<TTarget, object?, TArgs> invoker)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\WeakEvent`1.cs (1)
17/// Unlike handler created via <see cref="EventHandlerFactory{TArgs}.CreateWeakHandler{TTarget}(TTarget, Action{TTarget, object?, TArgs})"/> the handlers may capture state, which makes the subscribers simpler
Microsoft.CodeAnalysis.BannedApiAnalyzers (15)
src\Dependencies\PooledObjects\PooledDelegates.cs (8)
132public static Releaser GetPooledAction<T1, T2, TArg>(Action<T1, T2, TArg> unboundAction, TArg argument, out Action<T1, T2> boundAction) 133=> GetPooledDelegate<ActionWithBoundArgument<T1, T2, TArg>, TArg, Action<T1, T2, TArg>, Action<T1, T2>>(unboundAction, argument, out boundAction); 136/// Gets an <see cref="Action{T1, T2, T3}"/> delegate, which calls <paramref name="unboundAction"/> with the specified 167public static Releaser GetPooledAction<T1, T2, T3, TArg>(Action<T1, T2, T3, TArg> unboundAction, TArg argument, out Action<T1, T2, T3> boundAction) 168=> GetPooledDelegate<ActionWithBoundArgument<T1, T2, T3, TArg>, TArg, Action<T1, T2, T3, TArg>, Action<T1, T2, T3>>(unboundAction, argument, out boundAction); 398: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<T1, T2, TArg>, TArg, Action<T1, T2, TArg>, Action<T1, T2>> 405: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<T1, T2, T3, TArg>, TArg, Action<T1, T2, T3, TArg>, Action<T1, T2, T3>> 407protected override Action<T1, T2, T3> Bind()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.FormattedWhitespace.cs (1)
64FormattingContext context, ChainedFormattingRules formattingRules, Action<int, TokenStream, TriviaData> formattingResultApplier, CancellationToken cancellationToken, int tokenPairIndex = TokenPairIndexNotNeeded)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.ModifiedWhitespace.cs (1)
80Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.Whitespace.cs (1)
79Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TriviaData.cs (1)
46Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectWriter.cs (1)
366Action<BinaryWriter, T[], int> write)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EventHandlerFactory.cs (1)
17public static EventHandler<TArgs> CreateWeakHandler<TTarget>(TTarget target, Action<TTarget, object?, TArgs> invoker)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\WeakEvent`1.cs (1)
17/// Unlike handler created via <see cref="EventHandlerFactory{TArgs}.CreateWeakHandler{TTarget}(TTarget, Action{TTarget, object?, TArgs})"/> the handlers may capture state, which makes the subscribers simpler
Microsoft.CodeAnalysis.CodeStyle (15)
src\Dependencies\PooledObjects\PooledDelegates.cs (8)
132public static Releaser GetPooledAction<T1, T2, TArg>(Action<T1, T2, TArg> unboundAction, TArg argument, out Action<T1, T2> boundAction) 133=> GetPooledDelegate<ActionWithBoundArgument<T1, T2, TArg>, TArg, Action<T1, T2, TArg>, Action<T1, T2>>(unboundAction, argument, out boundAction); 136/// Gets an <see cref="Action{T1, T2, T3}"/> delegate, which calls <paramref name="unboundAction"/> with the specified 167public static Releaser GetPooledAction<T1, T2, T3, TArg>(Action<T1, T2, T3, TArg> unboundAction, TArg argument, out Action<T1, T2, T3> boundAction) 168=> GetPooledDelegate<ActionWithBoundArgument<T1, T2, T3, TArg>, TArg, Action<T1, T2, T3, TArg>, Action<T1, T2, T3>>(unboundAction, argument, out boundAction); 398: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<T1, T2, TArg>, TArg, Action<T1, T2, TArg>, Action<T1, T2>> 405: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<T1, T2, T3, TArg>, TArg, Action<T1, T2, T3, TArg>, Action<T1, T2, T3>> 407protected override Action<T1, T2, T3> Bind()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.FormattedWhitespace.cs (1)
64FormattingContext context, ChainedFormattingRules formattingRules, Action<int, TokenStream, TriviaData> formattingResultApplier, CancellationToken cancellationToken, int tokenPairIndex = TokenPairIndexNotNeeded)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.ModifiedWhitespace.cs (1)
80Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.Whitespace.cs (1)
79Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TriviaData.cs (1)
46Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectWriter.cs (1)
366Action<BinaryWriter, T[], int> write)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EventHandlerFactory.cs (1)
17public static EventHandler<TArgs> CreateWeakHandler<TTarget>(TTarget target, Action<TTarget, object?, TArgs> invoker)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\WeakEvent`1.cs (1)
17/// Unlike handler created via <see cref="EventHandlerFactory{TArgs}.CreateWeakHandler{TTarget}(TTarget, Action{TTarget, object?, TArgs})"/> the handlers may capture state, which makes the subscribers simpler
Microsoft.CodeAnalysis.Collections.Package (8)
src\Dependencies\PooledObjects\PooledDelegates.cs (8)
132public static Releaser GetPooledAction<T1, T2, TArg>(Action<T1, T2, TArg> unboundAction, TArg argument, out Action<T1, T2> boundAction) 133=> GetPooledDelegate<ActionWithBoundArgument<T1, T2, TArg>, TArg, Action<T1, T2, TArg>, Action<T1, T2>>(unboundAction, argument, out boundAction); 136/// Gets an <see cref="Action{T1, T2, T3}"/> delegate, which calls <paramref name="unboundAction"/> with the specified 167public static Releaser GetPooledAction<T1, T2, T3, TArg>(Action<T1, T2, T3, TArg> unboundAction, TArg argument, out Action<T1, T2, T3> boundAction) 168=> GetPooledDelegate<ActionWithBoundArgument<T1, T2, T3, TArg>, TArg, Action<T1, T2, T3, TArg>, Action<T1, T2, T3>>(unboundAction, argument, out boundAction); 398: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<T1, T2, TArg>, TArg, Action<T1, T2, TArg>, Action<T1, T2>> 405: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<T1, T2, T3, TArg>, TArg, Action<T1, T2, T3, TArg>, Action<T1, T2, T3>> 407protected override Action<T1, T2, T3> Bind()
Microsoft.CodeAnalysis.CSharp (3)
Symbols\Source\SourceMemberContainerSymbol.cs (1)
2811Action<BindingDiagnosticBag, string, MethodSymbol> reportMatchNotFoundError)
Symbols\Synthesized\SynthesizedEmbeddedNullableAttributeSymbol.cs (2)
114private readonly Action<SyntheticBoundNodeFactory, ArrayBuilder<BoundStatement>, ImmutableArray<ParameterSymbol>> _getConstructorBody; 119Action<SyntheticBoundNodeFactory, ArrayBuilder<BoundStatement>, ImmutableArray<ParameterSymbol>> getConstructorBody) :
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\Trivia\TriviaDataFactory.ComplexTrivia.cs (1)
89Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\Trivia\TriviaDataFactory.FormattedComplexTrivia.cs (1)
72public override void Format(FormattingContext context, ChainedFormattingRules formattingRules, Action<int, TokenStream, TriviaData> formattingResultApplier, CancellationToken cancellationToken, int tokenPairIndex = TokenPairIndexNotNeeded)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\Trivia\TriviaDataFactory.ModifiedComplexTrivia.cs (1)
68Action<int, TokenStream, TriviaData> formattingResultApplier,
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
EncapsulateField\EncapsulateFieldTestState.cs (1)
38var callback = new Action<string, string, NotificationSeverity>((message, title, severity) => NotificationMessage = message);
Microsoft.CodeAnalysis.CSharp.Features (1)
ConvertBetweenRegularAndVerbatimString\ConvertBetweenRegularAndVerbatimInterpolatedStringCodeRefactoringProvider.cs (1)
46SyntaxKind newStartKind, Action<IVirtualCharService, StringBuilder, SyntaxToken> addStringText)
Microsoft.CodeAnalysis.CSharp.Test.Utilities (6)
CSharpTestBase.cs (6)
2613protected static IOperation? VerifyOperationTreeForTest<TSyntaxNode>(CSharpCompilation compilation, string expectedOperationTree, Action<IOperation?, Compilation, SyntaxNode?>? additionalOperationTreeVerifier = null) 2668Action<IOperation?, Compilation, SyntaxNode?>? additionalOperationTreeVerifier = null) 2694Action<IOperation?, Compilation, SyntaxNode?>? additionalOperationTreeVerifier = null, 2715Action<IOperation?, Compilation, SyntaxNode?>? additionalOperationTreeVerifier = null) 2733Action<IOperation?, Compilation, SyntaxNode?>? additionalOperationTreeVerifier = null, 2791Action<IOperation?, Compilation, SyntaxNode?>? additionalOperationTreeVerifier = null,
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\Trivia\TriviaDataFactory.ComplexTrivia.cs (1)
89Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\Trivia\TriviaDataFactory.FormattedComplexTrivia.cs (1)
72public override void Format(FormattingContext context, ChainedFormattingRules formattingRules, Action<int, TokenStream, TriviaData> formattingResultApplier, CancellationToken cancellationToken, int tokenPairIndex = TokenPairIndexNotNeeded)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\Trivia\TriviaDataFactory.ModifiedComplexTrivia.cs (1)
68Action<int, TokenStream, TriviaData> formattingResultApplier,
Microsoft.CodeAnalysis.Debugging.Package (8)
src\Dependencies\PooledObjects\PooledDelegates.cs (8)
132public static Releaser GetPooledAction<T1, T2, TArg>(Action<T1, T2, TArg> unboundAction, TArg argument, out Action<T1, T2> boundAction) 133=> GetPooledDelegate<ActionWithBoundArgument<T1, T2, TArg>, TArg, Action<T1, T2, TArg>, Action<T1, T2>>(unboundAction, argument, out boundAction); 136/// Gets an <see cref="Action{T1, T2, T3}"/> delegate, which calls <paramref name="unboundAction"/> with the specified 167public static Releaser GetPooledAction<T1, T2, T3, TArg>(Action<T1, T2, T3, TArg> unboundAction, TArg argument, out Action<T1, T2, T3> boundAction) 168=> GetPooledDelegate<ActionWithBoundArgument<T1, T2, T3, TArg>, TArg, Action<T1, T2, T3, TArg>, Action<T1, T2, T3>>(unboundAction, argument, out boundAction); 398: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<T1, T2, TArg>, TArg, Action<T1, T2, TArg>, Action<T1, T2>> 405: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<T1, T2, T3, TArg>, TArg, Action<T1, T2, T3, TArg>, Action<T1, T2, T3>> 407protected override Action<T1, T2, T3> Bind()
Microsoft.CodeAnalysis.EditorFeatures (6)
InlineRename\CommandHandlers\AbstractRenameCommandHandler.cs (1)
42private void HandlePossibleTypingCommand<TArgs>(TArgs args, Action nextHandler, IUIThreadOperationContext operationContext, Action<InlineRenameSession, IUIThreadOperationContext, SnapshotSpan> actionIfInsideActiveSpan)
IntelliSense\AsyncCompletion\ItemManager.CompletionListUpdater.cs (1)
59private readonly Action<IReadOnlyList<MatchResult>, string, IList<MatchResult>> _filterMethod;
Notification\EditorNotificationServiceFactory.cs (3)
45public Action<string, string, NotificationSeverity> NotificationCallback { get; set; } 52var callback = NotificationCallback; 70var callback = NotificationCallback;
WpfClassificationExtensions.cs (1)
38Action<Run, ClassifiedText, int> runCallback = null)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (25)
AbstractCommandHandlerTestState.cs (24)
256public void SendBackspace(Action<BackspaceKeyCommandArgs, Action, CommandExecutionContext> commandHandler, Action nextHandler) 259public void SendDelete(Action<DeleteKeyCommandArgs, Action, CommandExecutionContext> commandHandler, Action nextHandler) 262public void SendWordDeleteToStart(Action<WordDeleteToStartCommandArgs, Action, CommandExecutionContext> commandHandler, Action nextHandler) 265public void SendEscape(Action<EscapeKeyCommandArgs, Action, CommandExecutionContext> commandHandler, Action nextHandler) 271public void SendUpKey(Action<UpKeyCommandArgs, Action, CommandExecutionContext> commandHandler, Action nextHandler) 274public void SendDownKey(Action<DownKeyCommandArgs, Action, CommandExecutionContext> commandHandler, Action nextHandler) 277public void SendTab(Action<TabKeyCommandArgs, Action, CommandExecutionContext> commandHandler, Action nextHandler) 283public void SendBackTab(Action<BackTabKeyCommandArgs, Action, CommandExecutionContext> commandHandler, Action nextHandler) 289public void SendReturn(Action<ReturnKeyCommandArgs, Action, CommandExecutionContext> commandHandler, Action nextHandler) 295public void SendPageUp(Action<PageUpKeyCommandArgs, Action, CommandExecutionContext> commandHandler, Action nextHandler) 298public void SendPageDown(Action<PageDownKeyCommandArgs, Action, CommandExecutionContext> commandHandler, Action nextHandler) 301public void SendCopy(Action<CopyCommandArgs, Action, CommandExecutionContext> commandHandler, Action nextHandler) 304public void SendCut(Action<CutCommandArgs, Action, CommandExecutionContext> commandHandler, Action nextHandler) 307public void SendPaste(Action<PasteCommandArgs, Action, CommandExecutionContext> commandHandler, Action nextHandler) 310public void SendInvokeCompletionList(Action<InvokeCompletionListCommandArgs, Action, CommandExecutionContext> commandHandler, Action nextHandler) 313public void SendCommitUniqueCompletionListItem(Action<CommitUniqueCompletionListItemCommandArgs, Action, CommandExecutionContext> commandHandler, Action nextHandler) 316public void SendInsertSnippetCommand(Action<InsertSnippetCommandArgs, Action, CommandExecutionContext> commandHandler, Action nextHandler) 322public void SendSurroundWithCommand(Action<SurroundWithCommandArgs, Action, CommandExecutionContext> commandHandler, Action nextHandler) 328public void SendInvokeSignatureHelp(Action<InvokeSignatureHelpCommandArgs, Action, CommandExecutionContext> commandHandler, Action nextHandler) 331public void SendTypeChar(char typeChar, Action<TypeCharCommandArgs, Action, CommandExecutionContext> commandHandler, Action nextHandler) 334public void SendTypeChars(string typeChars, Action<TypeCharCommandArgs, Action, CommandExecutionContext> commandHandler) 343public void SendSave(Action<SaveCommandArgs, Action, CommandExecutionContext> commandHandler, Action nextHandler) 346public void SendSelectAll(Action<SelectAllCommandArgs, Action, CommandExecutionContext> commandHandler, Action nextHandler) 349public void SendToggleCompletionMode(Action<ToggleCompletionModeCommandArgs, Action, CommandExecutionContext> commandHandler, Action nextHandler)
DocumentationComments\AbstractDocumentationCommentTests.cs (1)
126Action<EditorTestWorkspace, IWpfTextView, IEditorOperationsFactoryService> execute,
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
RenameTracking\RenameTrackingTestState.cs (1)
94var callback = new Action<string, string, NotificationSeverity>((message, title, severity) => _notificationMessage = message);
Microsoft.CodeAnalysis.Extensions.Package (8)
src\Dependencies\PooledObjects\PooledDelegates.cs (8)
132public static Releaser GetPooledAction<T1, T2, TArg>(Action<T1, T2, TArg> unboundAction, TArg argument, out Action<T1, T2> boundAction) 133=> GetPooledDelegate<ActionWithBoundArgument<T1, T2, TArg>, TArg, Action<T1, T2, TArg>, Action<T1, T2>>(unboundAction, argument, out boundAction); 136/// Gets an <see cref="Action{T1, T2, T3}"/> delegate, which calls <paramref name="unboundAction"/> with the specified 167public static Releaser GetPooledAction<T1, T2, T3, TArg>(Action<T1, T2, T3, TArg> unboundAction, TArg argument, out Action<T1, T2, T3> boundAction) 168=> GetPooledDelegate<ActionWithBoundArgument<T1, T2, T3, TArg>, TArg, Action<T1, T2, T3, TArg>, Action<T1, T2, T3>>(unboundAction, argument, out boundAction); 398: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<T1, T2, TArg>, TArg, Action<T1, T2, TArg>, Action<T1, T2>> 405: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<T1, T2, T3, TArg>, TArg, Action<T1, T2, T3, TArg>, Action<T1, T2, T3>> 407protected override Action<T1, T2, T3> Bind()
Microsoft.CodeAnalysis.ExternalAccess.Razor.UnitTests (1)
RazorAnalyzerAssemblyResolverTests.cs (1)
75private static void RunWithLoader(Action<RazorAnalyzerAssemblyResolver, AnalyzerAssemblyLoader, AssemblyLoadContext> action)
Microsoft.CodeAnalysis.ExternalAccess.RazorCompiler (1)
GeneratorExtensions.cs (1)
20public static void RegisterHostOutput<TSource>(ref this IncrementalGeneratorInitializationContext @this, IncrementalValuesProvider<TSource> source, Action<HostProductionContext, TSource, CancellationToken> action)
Microsoft.CodeAnalysis.Features (1)
Notification\INotificationServiceCallback.cs (1)
11Action<string, string, NotificationSeverity> NotificationCallback { get; set; }
Microsoft.CodeAnalysis.InteractiveHost (9)
Interactive\Core\InteractiveHost.cs (1)
69internal event Action<InteractiveHostPlatformInfo, InteractiveHostOptions, RemoteExecutionResult>? ProcessInitialized;
src\Dependencies\PooledObjects\PooledDelegates.cs (8)
132public static Releaser GetPooledAction<T1, T2, TArg>(Action<T1, T2, TArg> unboundAction, TArg argument, out Action<T1, T2> boundAction) 133=> GetPooledDelegate<ActionWithBoundArgument<T1, T2, TArg>, TArg, Action<T1, T2, TArg>, Action<T1, T2>>(unboundAction, argument, out boundAction); 136/// Gets an <see cref="Action{T1, T2, T3}"/> delegate, which calls <paramref name="unboundAction"/> with the specified 167public static Releaser GetPooledAction<T1, T2, T3, TArg>(Action<T1, T2, T3, TArg> unboundAction, TArg argument, out Action<T1, T2, T3> boundAction) 168=> GetPooledDelegate<ActionWithBoundArgument<T1, T2, T3, TArg>, TArg, Action<T1, T2, T3, TArg>, Action<T1, T2, T3>>(unboundAction, argument, out boundAction); 398: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<T1, T2, TArg>, TArg, Action<T1, T2, TArg>, Action<T1, T2>> 405: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<T1, T2, T3, TArg>, TArg, Action<T1, T2, T3, TArg>, Action<T1, T2, T3>> 407protected override Action<T1, T2, T3> Bind()
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (15)
src\Dependencies\PooledObjects\PooledDelegates.cs (8)
132public static Releaser GetPooledAction<T1, T2, TArg>(Action<T1, T2, TArg> unboundAction, TArg argument, out Action<T1, T2> boundAction) 133=> GetPooledDelegate<ActionWithBoundArgument<T1, T2, TArg>, TArg, Action<T1, T2, TArg>, Action<T1, T2>>(unboundAction, argument, out boundAction); 136/// Gets an <see cref="Action{T1, T2, T3}"/> delegate, which calls <paramref name="unboundAction"/> with the specified 167public static Releaser GetPooledAction<T1, T2, T3, TArg>(Action<T1, T2, T3, TArg> unboundAction, TArg argument, out Action<T1, T2, T3> boundAction) 168=> GetPooledDelegate<ActionWithBoundArgument<T1, T2, T3, TArg>, TArg, Action<T1, T2, T3, TArg>, Action<T1, T2, T3>>(unboundAction, argument, out boundAction); 398: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<T1, T2, TArg>, TArg, Action<T1, T2, TArg>, Action<T1, T2>> 405: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<T1, T2, T3, TArg>, TArg, Action<T1, T2, T3, TArg>, Action<T1, T2, T3>> 407protected override Action<T1, T2, T3> Bind()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.FormattedWhitespace.cs (1)
64FormattingContext context, ChainedFormattingRules formattingRules, Action<int, TokenStream, TriviaData> formattingResultApplier, CancellationToken cancellationToken, int tokenPairIndex = TokenPairIndexNotNeeded)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.ModifiedWhitespace.cs (1)
80Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.Whitespace.cs (1)
79Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TriviaData.cs (1)
46Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectWriter.cs (1)
366Action<BinaryWriter, T[], int> write)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EventHandlerFactory.cs (1)
17public static EventHandler<TArgs> CreateWeakHandler<TTarget>(TTarget target, Action<TTarget, object?, TArgs> invoker)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\WeakEvent`1.cs (1)
17/// Unlike handler created via <see cref="EventHandlerFactory{TArgs}.CreateWeakHandler{TTarget}(TTarget, Action{TTarget, object?, TArgs})"/> the handlers may capture state, which makes the subscribers simpler
Microsoft.CodeAnalysis.PooledObjects.Package (8)
PooledDelegates.cs (8)
132public static Releaser GetPooledAction<T1, T2, TArg>(Action<T1, T2, TArg> unboundAction, TArg argument, out Action<T1, T2> boundAction) 133=> GetPooledDelegate<ActionWithBoundArgument<T1, T2, TArg>, TArg, Action<T1, T2, TArg>, Action<T1, T2>>(unboundAction, argument, out boundAction); 136/// Gets an <see cref="Action{T1, T2, T3}"/> delegate, which calls <paramref name="unboundAction"/> with the specified 167public static Releaser GetPooledAction<T1, T2, T3, TArg>(Action<T1, T2, T3, TArg> unboundAction, TArg argument, out Action<T1, T2, T3> boundAction) 168=> GetPooledDelegate<ActionWithBoundArgument<T1, T2, T3, TArg>, TArg, Action<T1, T2, T3, TArg>, Action<T1, T2, T3>>(unboundAction, argument, out boundAction); 398: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<T1, T2, TArg>, TArg, Action<T1, T2, TArg>, Action<T1, T2>> 405: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<T1, T2, T3, TArg>, TArg, Action<T1, T2, T3, TArg>, Action<T1, T2, T3>> 407protected override Action<T1, T2, T3> Bind()
Microsoft.CodeAnalysis.PublicApiAnalyzers (15)
src\Dependencies\PooledObjects\PooledDelegates.cs (8)
132public static Releaser GetPooledAction<T1, T2, TArg>(Action<T1, T2, TArg> unboundAction, TArg argument, out Action<T1, T2> boundAction) 133=> GetPooledDelegate<ActionWithBoundArgument<T1, T2, TArg>, TArg, Action<T1, T2, TArg>, Action<T1, T2>>(unboundAction, argument, out boundAction); 136/// Gets an <see cref="Action{T1, T2, T3}"/> delegate, which calls <paramref name="unboundAction"/> with the specified 167public static Releaser GetPooledAction<T1, T2, T3, TArg>(Action<T1, T2, T3, TArg> unboundAction, TArg argument, out Action<T1, T2, T3> boundAction) 168=> GetPooledDelegate<ActionWithBoundArgument<T1, T2, T3, TArg>, TArg, Action<T1, T2, T3, TArg>, Action<T1, T2, T3>>(unboundAction, argument, out boundAction); 398: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<T1, T2, TArg>, TArg, Action<T1, T2, TArg>, Action<T1, T2>> 405: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<T1, T2, T3, TArg>, TArg, Action<T1, T2, T3, TArg>, Action<T1, T2, T3>> 407protected override Action<T1, T2, T3> Bind()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.FormattedWhitespace.cs (1)
64FormattingContext context, ChainedFormattingRules formattingRules, Action<int, TokenStream, TriviaData> formattingResultApplier, CancellationToken cancellationToken, int tokenPairIndex = TokenPairIndexNotNeeded)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.ModifiedWhitespace.cs (1)
80Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.Whitespace.cs (1)
79Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TriviaData.cs (1)
46Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectWriter.cs (1)
366Action<BinaryWriter, T[], int> write)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EventHandlerFactory.cs (1)
17public static EventHandler<TArgs> CreateWeakHandler<TTarget>(TTarget target, Action<TTarget, object?, TArgs> invoker)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\WeakEvent`1.cs (1)
17/// Unlike handler created via <see cref="EventHandlerFactory{TArgs}.CreateWeakHandler{TTarget}(TTarget, Action{TTarget, object?, TArgs})"/> the handlers may capture state, which makes the subscribers simpler
Microsoft.CodeAnalysis.Remote.ServiceHub (8)
Host\AssetProvider.cs (4)
59AssetPath assetPath, HashSet<Checksum> checksums, Action<Checksum, T, TArg>? callback, TArg? arg, CancellationToken cancellationToken) where TArg : default 232AssetPath assetPath, Action<ProjectStateChecksums, HashSet<Checksum>, TArg> addAllChecksums, TArg arg) 245AssetPath assetPath, HashSet<Checksum> checksums, Action<Checksum, T, TArg>? callback, TArg? arg, CancellationToken cancellationToken) 313(AssetProvider assetProvider, Checksum[] missingChecksums, Action<Checksum, T, TArg>? callback, TArg? arg) tuple) =>
Host\IAssetSource.cs (1)
23Action<Checksum, T, TArg> callback,
Host\SolutionAssetSource.cs (1)
23Action<Checksum, T, TArg> assetCallback,
Host\TestUtils.cs (2)
188var callback = static (Checksum checksum, object asset, Dictionary<Checksum, object> map) => { map[checksum] = asset; }; 231var callback = static (Checksum checksum, object asset, Dictionary<Checksum, object> map) => { map[checksum] = asset; };
Microsoft.CodeAnalysis.Remote.Workspaces (8)
AbstractAssetProvider.cs (3)
27public abstract Task GetAssetsAsync<T, TArg>(AssetPath assetPath, HashSet<Checksum> checksums, Action<Checksum, T, TArg>? callback, TArg? arg, CancellationToken cancellationToken); 180public Task GetAssetsAsync<TArg>(AssetPath assetPath, HashSet<Checksum> checksums, Action<Checksum, T, TArg>? callback, TArg? arg, CancellationToken cancellationToken) 183public Task GetAssetsAsync<TArg>(AssetPath assetPath, ChecksumCollection checksums, Action<Checksum, T, TArg>? callback, TArg? arg, CancellationToken cancellationToken)
AbstractAssetProviderExtensions.cs (1)
34this AbstractAssetProvider assetProvider, AssetPath assetPath, ChecksumCollection checksums, Action<Checksum, T, TArg>? callback, TArg? arg, CancellationToken cancellationToken)
RemoteHostAssetReader.cs (2)
25Action<Checksum, T, TArg> callback, 32private readonly Action<Checksum, T, TArg> _callback = callback;
SolutionAssetStorage.Scope.cs (2)
43Action<Checksum, object, TArg> onAssetFound, 69AssetPath assetPath, HashSet<Checksum> remainingChecksumsToFind, Action<Checksum, object, TArg> onAssetFound, TArg arg, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.ResxSourceGenerator (15)
src\Dependencies\PooledObjects\PooledDelegates.cs (8)
132public static Releaser GetPooledAction<T1, T2, TArg>(Action<T1, T2, TArg> unboundAction, TArg argument, out Action<T1, T2> boundAction) 133=> GetPooledDelegate<ActionWithBoundArgument<T1, T2, TArg>, TArg, Action<T1, T2, TArg>, Action<T1, T2>>(unboundAction, argument, out boundAction); 136/// Gets an <see cref="Action{T1, T2, T3}"/> delegate, which calls <paramref name="unboundAction"/> with the specified 167public static Releaser GetPooledAction<T1, T2, T3, TArg>(Action<T1, T2, T3, TArg> unboundAction, TArg argument, out Action<T1, T2, T3> boundAction) 168=> GetPooledDelegate<ActionWithBoundArgument<T1, T2, T3, TArg>, TArg, Action<T1, T2, T3, TArg>, Action<T1, T2, T3>>(unboundAction, argument, out boundAction); 398: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<T1, T2, TArg>, TArg, Action<T1, T2, TArg>, Action<T1, T2>> 405: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<T1, T2, T3, TArg>, TArg, Action<T1, T2, T3, TArg>, Action<T1, T2, T3>> 407protected override Action<T1, T2, T3> Bind()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.FormattedWhitespace.cs (1)
64FormattingContext context, ChainedFormattingRules formattingRules, Action<int, TokenStream, TriviaData> formattingResultApplier, CancellationToken cancellationToken, int tokenPairIndex = TokenPairIndexNotNeeded)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.ModifiedWhitespace.cs (1)
80Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.Whitespace.cs (1)
79Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TriviaData.cs (1)
46Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectWriter.cs (1)
366Action<BinaryWriter, T[], int> write)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EventHandlerFactory.cs (1)
17public static EventHandler<TArgs> CreateWeakHandler<TTarget>(TTarget target, Action<TTarget, object?, TArgs> invoker)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\WeakEvent`1.cs (1)
17/// Unlike handler created via <see cref="EventHandlerFactory{TArgs}.CreateWeakHandler{TTarget}(TTarget, Action{TTarget, object?, TArgs})"/> the handlers may capture state, which makes the subscribers simpler
Microsoft.CodeAnalysis.Test.Utilities (10)
Compilation\TestDesktopStrongNameProvider.cs (1)
23internal Action<ExtendedPEBuilder, BlobBuilder, RSAParameters> SignBuilderFunc { get; set; }
Diagnostics\DiagnosticExtensions.cs (9)
146Action<Exception, DiagnosticAnalyzer, Diagnostic> onAnalyzerException = null) 156Action<Exception, DiagnosticAnalyzer, Diagnostic> onAnalyzerException = null, 168Action<Exception, DiagnosticAnalyzer, Diagnostic> onAnalyzerException = null, 181Action<Exception, DiagnosticAnalyzer, Diagnostic> onAnalyzerException = null, 193Action<Exception, DiagnosticAnalyzer, Diagnostic> onAnalyzerException = null, 205Action<Exception, DiagnosticAnalyzer, Diagnostic> onAnalyzerException = null, 227Action<Exception, DiagnosticAnalyzer, Diagnostic> onAnalyzerException, 285Action<Exception, DiagnosticAnalyzer, Diagnostic> onAnalyzerException = null, 299Action<Exception, DiagnosticAnalyzer, Diagnostic> onAnalyzerException,
Microsoft.CodeAnalysis.Threading.Package (8)
src\Dependencies\PooledObjects\PooledDelegates.cs (8)
132public static Releaser GetPooledAction<T1, T2, TArg>(Action<T1, T2, TArg> unboundAction, TArg argument, out Action<T1, T2> boundAction) 133=> GetPooledDelegate<ActionWithBoundArgument<T1, T2, TArg>, TArg, Action<T1, T2, TArg>, Action<T1, T2>>(unboundAction, argument, out boundAction); 136/// Gets an <see cref="Action{T1, T2, T3}"/> delegate, which calls <paramref name="unboundAction"/> with the specified 167public static Releaser GetPooledAction<T1, T2, T3, TArg>(Action<T1, T2, T3, TArg> unboundAction, TArg argument, out Action<T1, T2, T3> boundAction) 168=> GetPooledDelegate<ActionWithBoundArgument<T1, T2, T3, TArg>, TArg, Action<T1, T2, T3, TArg>, Action<T1, T2, T3>>(unboundAction, argument, out boundAction); 398: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<T1, T2, TArg>, TArg, Action<T1, T2, TArg>, Action<T1, T2>> 405: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<T1, T2, T3, TArg>, TArg, Action<T1, T2, T3, TArg>, Action<T1, T2, T3>> 407protected override Action<T1, T2, T3> Bind()
Microsoft.CodeAnalysis.UnitTests (3)
AnalyzerAssemblyLoaderTests.cs (2)
104Action<AnalyzerAssemblyLoader, AssemblyLoadTestFixture, object> testAction, 150Action<AnalyzerAssemblyLoader, AssemblyLoadTestFixture, object> testAction)
Collections\List\IEnumerable.Generic.Tests.cs (1)
131Action<IEnumerator<T>, T[], int> testCode,
Microsoft.CodeAnalysis.Workspaces (27)
src\Dependencies\PooledObjects\PooledDelegates.cs (8)
132public static Releaser GetPooledAction<T1, T2, TArg>(Action<T1, T2, TArg> unboundAction, TArg argument, out Action<T1, T2> boundAction) 133=> GetPooledDelegate<ActionWithBoundArgument<T1, T2, TArg>, TArg, Action<T1, T2, TArg>, Action<T1, T2>>(unboundAction, argument, out boundAction); 136/// Gets an <see cref="Action{T1, T2, T3}"/> delegate, which calls <paramref name="unboundAction"/> with the specified 167public static Releaser GetPooledAction<T1, T2, T3, TArg>(Action<T1, T2, T3, TArg> unboundAction, TArg argument, out Action<T1, T2, T3> boundAction) 168=> GetPooledDelegate<ActionWithBoundArgument<T1, T2, T3, TArg>, TArg, Action<T1, T2, T3, TArg>, Action<T1, T2, T3>>(unboundAction, argument, out boundAction); 398: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<T1, T2, TArg>, TArg, Action<T1, T2, TArg>, Action<T1, T2>> 405: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<T1, T2, T3, TArg>, TArg, Action<T1, T2, T3, TArg>, Action<T1, T2, T3>> 407protected override Action<T1, T2, T3> Bind()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.FormattedWhitespace.cs (1)
64FormattingContext context, ChainedFormattingRules formattingRules, Action<int, TokenStream, TriviaData> formattingResultApplier, CancellationToken cancellationToken, int tokenPairIndex = TokenPairIndexNotNeeded)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.ModifiedWhitespace.cs (1)
80Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.Whitespace.cs (1)
79Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TriviaData.cs (1)
46Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectWriter.cs (1)
366Action<BinaryWriter, T[], int> write)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EventHandlerFactory.cs (1)
17public static EventHandler<TArgs> CreateWeakHandler<TTarget>(TTarget target, Action<TTarget, object?, TArgs> invoker)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\WeakEvent`1.cs (1)
17/// Unlike handler created via <see cref="EventHandlerFactory{TArgs}.CreateWeakHandler{TTarget}(TTarget, Action{TTarget, object?, TArgs})"/> the handlers may capture state, which makes the subscribers simpler
Workspace\Solution\ChecksumCollection.cs (2)
60Action<Checksum, object, TArg> onAssetFound, 93Action<Checksum, object, TArg> onAssetFound,
Workspace\Solution\StateChecksums.cs (4)
105Action<Checksum, object, TArg> onAssetFound, 259Action<Checksum, object, TArg> onAssetFound, 429Action<Checksum, object, TArg> onAssetFound, 515Action<Checksum, object, TArg> onAssetFound,
Workspace\Workspace.cs (6)
480Action<Solution, Solution, TData>? onBeforeUpdate = null, 481Action<Solution, Solution, TData>? onAfterUpdate = null) 497/// <inheritdoc cref="SetCurrentSolution{TData}(TData, Func{Solution, TData, Solution}, bool, Action{Solution, Solution, TData}?, Action{Solution, Solution, TData}?)"/> 503Action<Solution, Solution, TData>? onBeforeUpdate, 504Action<Solution, Solution, TData>? onAfterUpdate,
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (8)
src\Dependencies\PooledObjects\PooledDelegates.cs (8)
132public static Releaser GetPooledAction<T1, T2, TArg>(Action<T1, T2, TArg> unboundAction, TArg argument, out Action<T1, T2> boundAction) 133=> GetPooledDelegate<ActionWithBoundArgument<T1, T2, TArg>, TArg, Action<T1, T2, TArg>, Action<T1, T2>>(unboundAction, argument, out boundAction); 136/// Gets an <see cref="Action{T1, T2, T3}"/> delegate, which calls <paramref name="unboundAction"/> with the specified 167public static Releaser GetPooledAction<T1, T2, T3, TArg>(Action<T1, T2, T3, TArg> unboundAction, TArg argument, out Action<T1, T2, T3> boundAction) 168=> GetPooledDelegate<ActionWithBoundArgument<T1, T2, T3, TArg>, TArg, Action<T1, T2, T3, TArg>, Action<T1, T2, T3>>(unboundAction, argument, out boundAction); 398: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<T1, T2, TArg>, TArg, Action<T1, T2, TArg>, Action<T1, T2>> 405: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<T1, T2, T3, TArg>, TArg, Action<T1, T2, T3, TArg>, Action<T1, T2, T3>> 407protected override Action<T1, T2, T3> Bind()
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Fakes\SimpleAssetSource.cs (1)
21Checksum solutionChecksum, AssetPath assetPath, ReadOnlyMemory<Checksum> checksums, ISerializerService deserializerService, Action<Checksum, T, TArg> callback, TArg arg, CancellationToken cancellationToken)
Microsoft.DotNet.RemoteExecutor (1)
RemoteExecutor.cs (1)
155public static RemoteInvokeHandle Invoke(Action<string, string, string> method, string arg1, string arg2,
Microsoft.Extensions.Http (4)
DefaultHttpClientFactory.cs (2)
326private static readonly Action<ILogger, int, Exception?> _cleanupCycleStart = LoggerMessage.Define<int>( 336private static readonly Action<ILogger, string, Exception> _cleanupItemFailed = LoggerMessage.Define<string>(
Logging\LogHelper.cs (2)
46private static readonly Action<ILogger, double, Exception?> _requestFailed = LoggerMessage.Define<double>( 63private static readonly Action<ILogger, double, Exception?> _requestPipelineFailed = LoggerMessage.Define<double>(
Microsoft.Extensions.Logging.Abstractions (2)
LoggerMessage.cs (2)
172public static Action<ILogger, T1, Exception?> Define<T1>(LogLevel logLevel, EventId eventId, string formatString) 184public static Action<ILogger, T1, Exception?> Define<T1>(LogLevel logLevel, EventId eventId, string formatString, LogDefineOptions? options)
Microsoft.Extensions.ML (3)
ModelLoaders\FileModelLoader.cs (1)
159private static readonly Action<ILogger, string, Exception> _fileLoadBegin = LoggerMessage.Define<string>(
ModelLoaders\UriModelLoader.cs (2)
193private static readonly Action<ILogger, Uri, Exception> _uriReloadBegin = LoggerMessage.Define<Uri>( 208private static readonly Action<ILogger, Uri, Exception> _uriLoadError = LoggerMessage.Define<Uri>(
Microsoft.Extensions.Options (6)
ConfigureNamedOptions.cs (2)
136public ConfigureNamedOptions(string? name, TDep1 dependency, TDep2 dependency2, Action<TOptions, TDep1, TDep2>? action) 152public Action<TOptions, TDep1, TDep2>? Action { get; }
OptionsBuilder.cs (2)
85public virtual OptionsBuilder<TOptions> Configure<TDep1, TDep2>(Action<TOptions, TDep1, TDep2> configureOptions) 234public virtual OptionsBuilder<TOptions> PostConfigure<TDep1, TDep2>(Action<TOptions, TDep1, TDep2> configureOptions)
PostConfigureOptions.cs (2)
130public PostConfigureOptions(string? name, TDep1 dependency, TDep2 dependency2, Action<TOptions, TDep1, TDep2>? action) 146public Action<TOptions, TDep1, TDep2>? Action { get; }
Microsoft.Gen.ComplianceReports (2)
src\Generators\Shared\GeneratorUtilities.cs (2)
46Action<Compilation, IEnumerable<SyntaxNode>, SourceProductionContext> process) => Initialize(context, fullyQualifiedAttributeNames, x => x, process); 53Action<Compilation, IEnumerable<SyntaxNode>, SourceProductionContext> process)
Microsoft.Gen.ContextualOptions (2)
src\Generators\Shared\GeneratorUtilities.cs (2)
46Action<Compilation, IEnumerable<SyntaxNode>, SourceProductionContext> process) => Initialize(context, fullyQualifiedAttributeNames, x => x, process); 53Action<Compilation, IEnumerable<SyntaxNode>, SourceProductionContext> process)
Microsoft.Gen.Logging (4)
Parsing\Parser.cs (1)
37Action<DiagnosticDescriptor, Location?, object?[]?> diagReport = Diag; // Keeping one instance of the delegate
Parsing\SymbolLoader.cs (1)
54Action<DiagnosticDescriptor, Location?, object?[]?> diagCallback)
src\Generators\Shared\GeneratorUtilities.cs (2)
46Action<Compilation, IEnumerable<SyntaxNode>, SourceProductionContext> process) => Initialize(context, fullyQualifiedAttributeNames, x => x, process); 53Action<Compilation, IEnumerable<SyntaxNode>, SourceProductionContext> process)
Microsoft.Gen.Logging.Unit.Tests (2)
SymbolLoaderTests.cs (1)
46var callbackMock = new Mock<Action<DiagnosticDescriptor, Location?, object?[]?>>();
TypeSymbolExtensionsTests.cs (1)
14private readonly Action<DiagnosticDescriptor, Location?, object
Microsoft.Gen.MetadataExtractor (2)
src\Generators\Shared\GeneratorUtilities.cs (2)
46Action<Compilation, IEnumerable<SyntaxNode>, SourceProductionContext> process) => Initialize(context, fullyQualifiedAttributeNames, x => x, process); 53Action<Compilation, IEnumerable<SyntaxNode>, SourceProductionContext> process)
Microsoft.Gen.Metrics (2)
src\Generators\Shared\GeneratorUtilities.cs (2)
46Action<Compilation, IEnumerable<SyntaxNode>, SourceProductionContext> process) => Initialize(context, fullyQualifiedAttributeNames, x => x, process); 53Action<Compilation, IEnumerable<SyntaxNode>, SourceProductionContext> process)
Microsoft.Gen.MetricsReports (2)
src\Generators\Shared\GeneratorUtilities.cs (2)
46Action<Compilation, IEnumerable<SyntaxNode>, SourceProductionContext> process) => Initialize(context, fullyQualifiedAttributeNames, x => x, process); 53Action<Compilation, IEnumerable<SyntaxNode>, SourceProductionContext> process)
Microsoft.Interop.LibraryImportGenerator (2)
Analyzers\DiagnosticReporter.cs (2)
12private readonly Action<DiagnosticDescriptor, ImmutableDictionary<string, string>, object[]> _diagnosticFactory; 14public DiagnosticReporter(Action<DiagnosticDescriptor, ImmutableDictionary<string, string>, object[]> createAndReportDiagnostic)
Microsoft.Maui (25)
CommandMapper.cs (11)
3using Command = System.Action<Microsoft.Maui.IElementHandler, Microsoft.Maui.IElement, object?>; 9 readonly Dictionary<string, Command> _mapper = new(StringComparer.Ordinal); 22 private protected virtual void SetPropertyCore(string key, Command action) 32 var action = GetCommand(key); 36 public virtual Command? GetCommand(string key) 38 if (_mapper.TryGetValue(key, out var action)) 63 Command? GetCommand(string key); 74 void Add(string key, Action<TViewHandler, TVirtualView, object?> action); 90 public Action<TViewHandler, TVirtualView, object?> this[string key] 94 var action = GetCommand(key) ?? throw new IndexOutOfRangeException($"Unable to find mapping for '{nameof(key)}'."); 104 public void Add(string key, Action<TViewHandler, TVirtualView, object?> action) =>
CommandMapperExtensions.cs (12)
16 string key, Action<TViewHandler, TVirtualView, object?, Action<IElementHandler, IElement, object?>?> method) 29 string key, Action<TViewHandler, TVirtualView, object?, Action<IElementHandler, IElement, object?>?> method) 32 var previousMethod = commandMapper.GetCommand(key); 51 string key, Action<TViewHandler, TVirtualView, object?, Action<IElementHandler, IElement, object?>?> method) 54 var previousMethod = commandMapper.GetCommand(key); 76 string key, Action<TViewHandler, TVirtualView, object?> method) 91 string key, Action<TViewHandler, TVirtualView, object?> method) 104 string key, Action<TViewHandler, TVirtualView, object?> method) 123 string key, Action<TViewHandler, TVirtualView, object?> method) 144 string key, Action<TViewHandler, TVirtualView, object?> method) 157 string key, Action<TViewHandler, TVirtualView, object?> method) 176 string key, Action<TViewHandler, TVirtualView, object?> method)
PropertyMapperExtensions.cs (2)
16 string key, Action<TViewHandler, TVirtualView, Action<IElementHandler, IElement>?> method) 38 string key, Action<TViewHandler, TVirtualView, Action<IElementHandler, IElement>?> method)
Microsoft.Maui.Controls (4)
Interactivity\Condition.cs (2)
9 Action<BindableObject, bool, bool> _conditionChanged; 17 internal Action<BindableObject, bool, bool> ConditionChanged
Internals\NotifyCollectionChangedEventArgsExtensions.cs (1)
25 public static NotifyCollectionChangedAction Apply(this NotifyCollectionChangedEventArgs self, Action<object, int, bool> insert, Action<object, int> removeAt, Action reset)
VisualElement\VisualElement.Mapper.cs (1)
61 static void MapFocus(IViewHandler handler, VisualElement view, object args, Action<IElementHandler, IElement, object> baseMethod)
Microsoft.ML.Core (3)
Utilities\Utils.cs (1)
1231public static void MarshalActionInvoke<TArg1, TArg2, TArg3>(Action<TArg1, TArg2, TArg3> act, Type genArg, TArg1 arg1, TArg2 arg2, TArg3 arg3)
Utilities\VBufferUtils.cs (2)
113public static void ForEachBothDefined<T>(in VBuffer<T> a, in VBuffer<T> b, Action<int, T, T> visitor) 164public static void ForEachEitherDefined<T>(in VBuffer<T> a, in VBuffer<T> b, Action<int, T, T> visitor)
Microsoft.ML.Core.Tests (2)
UnitTests\TestVBuffer.cs (2)
415private static void NaiveForEach<T1, T2>(ref VBuffer<T1> a, ref VBuffer<T2> b, Action<int, T1, T2> vis, bool union) 438Action<int, float, float> vis = (int ind, float av, float bv) => accum += 2 * bv + av - ind;
Microsoft.ML.Data (9)
Evaluators\AnomalyDetectionEvaluator.cs (1)
129out Action<uint, ReadOnlyMemory<char>, Aggregator> addAgg, out Func<Dictionary<string, IDataView>> consolidate)
Evaluators\BinaryClassifierEvaluator.cs (1)
218out Action<uint, ReadOnlyMemory<char>, Aggregator> addAgg, out Func<Dictionary<string, IDataView>> consolidate)
Evaluators\ClusteringEvaluator.cs (1)
160out Action<uint, ReadOnlyMemory<char>, Aggregator> addAgg, out Func<Dictionary<string, IDataView>> consolidate)
Evaluators\EvaluatorBase.cs (2)
177Action<uint, ReadOnlyMemory<char>, TAgg> addAgg; 203out Action<uint, ReadOnlyMemory<char>, TAgg> addAgg, out Func<Dictionary<string, IDataView>> consolidate);
Evaluators\MulticlassClassificationEvaluator.cs (1)
141out Action<uint, ReadOnlyMemory<char>, Aggregator> addAgg, out Func<Dictionary<string, IDataView>> consolidate)
Evaluators\MultiOutputRegressionEvaluator.cs (1)
96out Action<uint, ReadOnlyMemory<char>, Aggregator> addAgg, out Func<Dictionary<string, IDataView>> consolidate)
Evaluators\RankingEvaluator.cs (1)
159out Action<uint, ReadOnlyMemory<char>, Aggregator> addAgg, out Func<Dictionary<string, IDataView>> consolidate)
Evaluators\RegressionEvaluatorBase.cs (1)
51out Action<uint, ReadOnlyMemory<char>, TAgg> addAgg, out Func<Dictionary<string, IDataView>> consolidate)
Microsoft.ML.Samples (2)
Dynamic\NgramExtraction.cs (1)
66Action<string, IEnumerable<VBuffer<float>>,
Dynamic\Transforms\StatefulCustomMapping.cs (1)
32Action<InputData, CustomMappingOutput, State> mapping =
Microsoft.ML.Tests (1)
Transformers\CustomMappingTests.cs (1)
143public override Action<MyStatefulInput, MyStatefulOutput, MyState> GetMapping()
Microsoft.ML.TimeSeries (3)
SequentialTransformBase.cs (1)
248Action<DataBox<TInput>, DataBox<TOutput>, TState> lambda;
SequentialTransformerBase.cs (2)
512Action<DataBox<TInput>, DataBoxForecastingWithConfidenceIntervals<TOutput>, TState> lambda; 528Action<DataBox<TInput>, DataBox<TOutput>, TState> lambda;
Microsoft.ML.Transforms (10)
CustomMappingCatalog.cs (1)
67public static StatefulCustomMappingEstimator<TSrc, TDst, TState> StatefulCustomMapping<TSrc, TDst, TState>(this TransformsCatalog catalog, Action<TSrc, TDst, TState> mapAction,
CustomMappingFactory.cs (2)
62public abstract Action<TSrc, TDst, TState> GetMapping(); 71Action<TSrc, TDst, TState> mapAction = GetMapping();
Expression\CodeGen.cs (1)
831Action<CompareOp, bool, Label> fnc;
LambdaTransform.cs (1)
99Action<TSrc, TDst, TState> mapAction, Action<TState> initStateAction,
PermutationFeatureImportance.cs (1)
201Action<FeaturesBuffer, FeaturesBuffer, PermuterState> permuter =
StatefulCustomMappingTransformer.cs (4)
27private readonly Action<TSrc, TDst, TState> _mapAction; 47internal StatefulCustomMappingTransformer(IHostEnvironment env, Action<TSrc, TDst, TState> mapAction, string contractName, 362/// <seealso cref="CustomMappingCatalog.StatefulCustomMapping{TSrc, TDst, TState}(TransformsCatalog, Action{TSrc, TDst, TState}, Action{TState}, string)"/> 375internal StatefulCustomMappingEstimator(IHostEnvironment env, Action<TSrc, TDst, TState> mapAction, string contractName,
Microsoft.VisualStudio.LanguageServices (1)
Notification\VSNotificationServiceFactory.cs (1)
48public Action<string, string, NotificationSeverity> NotificationCallback { get; set; }
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
32[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Action<,,>))]
netstandard (1)
netstandard.cs (1)
27[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Action<,,>))]
PresentationFramework (2)
MS\Internal\Data\LiveShapingList.cs (1)
290internal void RestoreLiveSortingByInsertionSort(Action<NotifyCollectionChangedEventArgs, int, int> RaiseMoveEvent)
MS\Internal\Data\LiveShapingTree.cs (1)
49internal void RestoreLiveSortingByInsertionSort(Action<NotifyCollectionChangedEventArgs, int, int> RaiseMoveEvent)
PresentationFramework-SystemCore (2)
DynamicAccessorImpl.cs (2)
40_setter = CallSite<Action<CallSite, object, object>>.Create(binder); 47private CallSite<Action<CallSite, object, object>> _setter;
Roslyn.Diagnostics.Analyzers (15)
src\Dependencies\PooledObjects\PooledDelegates.cs (8)
132public static Releaser GetPooledAction<T1, T2, TArg>(Action<T1, T2, TArg> unboundAction, TArg argument, out Action<T1, T2> boundAction) 133=> GetPooledDelegate<ActionWithBoundArgument<T1, T2, TArg>, TArg, Action<T1, T2, TArg>, Action<T1, T2>>(unboundAction, argument, out boundAction); 136/// Gets an <see cref="Action{T1, T2, T3}"/> delegate, which calls <paramref name="unboundAction"/> with the specified 167public static Releaser GetPooledAction<T1, T2, T3, TArg>(Action<T1, T2, T3, TArg> unboundAction, TArg argument, out Action<T1, T2, T3> boundAction) 168=> GetPooledDelegate<ActionWithBoundArgument<T1, T2, T3, TArg>, TArg, Action<T1, T2, T3, TArg>, Action<T1, T2, T3>>(unboundAction, argument, out boundAction); 398: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<T1, T2, TArg>, TArg, Action<T1, T2, TArg>, Action<T1, T2>> 405: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<T1, T2, T3, TArg>, TArg, Action<T1, T2, T3, TArg>, Action<T1, T2, T3>> 407protected override Action<T1, T2, T3> Bind()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.FormattedWhitespace.cs (1)
64FormattingContext context, ChainedFormattingRules formattingRules, Action<int, TokenStream, TriviaData> formattingResultApplier, CancellationToken cancellationToken, int tokenPairIndex = TokenPairIndexNotNeeded)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.ModifiedWhitespace.cs (1)
80Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.Whitespace.cs (1)
79Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TriviaData.cs (1)
46Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectWriter.cs (1)
366Action<BinaryWriter, T[], int> write)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EventHandlerFactory.cs (1)
17public static EventHandler<TArgs> CreateWeakHandler<TTarget>(TTarget target, Action<TTarget, object?, TArgs> invoker)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\WeakEvent`1.cs (1)
17/// Unlike handler created via <see cref="EventHandlerFactory{TArgs}.CreateWeakHandler{TTarget}(TTarget, Action{TTarget, object?, TArgs})"/> the handlers may capture state, which makes the subscribers simpler
Roslyn.Diagnostics.CSharp.Analyzers (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\Trivia\TriviaDataFactory.ComplexTrivia.cs (1)
89Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\Trivia\TriviaDataFactory.FormattedComplexTrivia.cs (1)
72public override void Format(FormattingContext context, ChainedFormattingRules formattingRules, Action<int, TokenStream, TriviaData> formattingResultApplier, CancellationToken cancellationToken, int tokenPairIndex = TokenPairIndexNotNeeded)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\Trivia\TriviaDataFactory.ModifiedComplexTrivia.cs (1)
68Action<int, TokenStream, TriviaData> formattingResultApplier,
Roslyn.VisualStudio.Next.UnitTests (2)
Remote\SerializationValidator.cs (1)
28public override async Task GetAssetsAsync<T, TArg>(AssetPath assetPath, HashSet<Checksum> checksums, Action<Checksum, T, TArg>? callback, TArg? arg, CancellationToken cancellationToken) where TArg : default
Services\AssetProviderTests.cs (1)
195Action<Checksum, T, TArg> callback,
System.ComponentModel.Composition (1)
System\ComponentModel\Composition\ReflectionModel\ReflectionComposablePart.cs (1)
471private void UseImportedValues<TImportDefinition>(IEnumerable<TImportDefinition> definitions, Action<ImportingItem, TImportDefinition, object> useImportValue, bool errorIfMissing)
System.Core (1)
System.Core.cs (1)
20[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Action<,,>))]
System.Diagnostics.DiagnosticSource (3)
System\Diagnostics\DsesFilterAndTransform.cs (1)
499Action<string, string, IEnumerable<KeyValuePair<string, string?>>>? writeEvent = null;
System\Diagnostics\Metrics\AggregationManager.cs (2)
37private readonly Action<Instrument, LabeledAggregationStatistics, InstrumentState?> _collectMeasurement; 56Action<Instrument, LabeledAggregationStatistics, InstrumentState?> collectMeasurement,
System.Linq.Expressions (9)
System\Dynamic\UpdateDelegates.Generated.cs (3)
1624var @this = (CallSite<Action<CallSite, T0, T1>>)site; 1625Action<CallSite, T0, T1>[] applicable; 1626Action<CallSite, T0, T1> rule, originalRule = @this.Target;
System\Linq\Expressions\Compiler\DelegateHelpers.Generated.cs (1)
245return typeof(Action<,,>).MakeGenericType(types);
System\Linq\Expressions\Interpreter\CallInstruction.Generated.cs (3)
320private readonly Action<T0, T1, T2> _target; 327_target = (Action<T0, T1, T2>)target.CreateDelegate(typeof(Action<T0, T1, T2>));
System\Linq\Expressions\StackGuard.cs (2)
39public void RunOnEmptyStack<T1, T2, T3>(Action<T1, T2, T3> action, T1 arg1, T2 arg2, T3 arg3) => 42var t = ((Action<T1, T2, T3>, T1, T2, T3))s;
System.Net.Sockets (3)
System\Net\Sockets\SocketAsyncContext.Unix.cs (3)
622public Action<IntPtr, Memory<byte>, SocketError>? Callback { get; set; } 637var cb = Callback!; 1474public SocketError AcceptAsync(Memory<byte> socketAddress, out int socketAddressLen, out IntPtr acceptedFd, Action<IntPtr, Memory<byte>, SocketError> callback, CancellationToken cancellationToken)
System.Net.WebClient (2)
System\Net\WebClient.cs (2)
869AsyncOperation asyncOp, Action<byte[]?, Exception?, AsyncOperation> completionDelegate) 1007AsyncOperation asyncOp, Action<byte[]?, Exception?, AsyncOperation> completionDelegate)
System.Private.CoreLib (1)
src\System\Runtime\InteropServices\Marshal.CoreCLR.cs (1)
166private static unsafe void WriteValueSlow<T>(object ptr, int ofs, T val, Action<IntPtr, int, T> writeValueHelper)
System.Runtime (1)
artifacts\obj\System.Runtime\Debug\net10.0\System.Runtime.Forwards.cs (1)
20[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Action<,,>))]
System.Runtime.InteropServices.JavaScript (2)
artifacts\obj\System.Runtime.InteropServices.JavaScript\Debug\net10.0\System.Runtime.InteropServices.JavaScript.notsupported.cs (2)
288public void ToManaged<T1, T2, T3>(out Action<T1, T2, T3>? value, ArgumentToJSCallback<T1> arg1Marshaler, ArgumentToJSCallback<T2> arg2Marshaler, ArgumentToJSCallback<T3> arg3Marshaler) { throw new System.PlatformNotSupportedException(System.SR.SystemRuntimeInteropServicesJavaScript_PlatformNotSupported); } 289public void ToJS<T1, T2, T3>(Action<T1, T2, T3>? value, ArgumentToManagedCallback<T1> arg1Marshaler, ArgumentToManagedCallback<T2> arg2Marshaler, ArgumentToManagedCallback<T3> arg3Marshaler) { throw new System.PlatformNotSupportedException(System.SR.SystemRuntimeInteropServicesJavaScript_PlatformNotSupported); }
System.ServiceModel.Primitives (1)
Internals\System\Runtime\TaskHelpers.cs (1)
325public static void Wait(this Task task, TimeSpan timeout, Action<Exception, TimeSpan, string> exceptionConverter, string operationType)
System.Text.RegularExpressions (1)
System\Threading\StackHelper.cs (1)
62public static void CallOnEmptyStack<TArg1, TArg2, TArg3>(Action<TArg1, TArg2, TArg3> action, TArg1 arg1, TArg2 arg2, TArg3 arg3) =>
System.Text.RegularExpressions.Generator (1)
src\libraries\System.Text.RegularExpressions\src\System\Threading\StackHelper.cs (1)
62public static void CallOnEmptyStack<TArg1, TArg2, TArg3>(Action<TArg1, TArg2, TArg3> action, TArg1 arg1, TArg2 arg2, TArg3 arg3) =>
System.Threading.Tasks.Dataflow (5)
Internal\ActionOnDispose.cs (4)
46internal static IDisposable Create<T1, T2, T3>(Action<T1, T2, T3> action, T1 arg1, T2 arg2, T3 arg3) 108private Action<T1, T2, T3>? _action; 115internal Disposable(Action<T1, T2, T3> action, T1 arg1, T2 arg2, T3 arg3) 130Action<T1, T2, T3>? toRun = _action;
Internal\Common.cs (1)
601internal static readonly Action<object, TargetRegistry<T>, ITargetBlock<T>> CreateUnlinkerShimAction =
System.Threading.Tasks.Parallel (8)
System\Threading\Tasks\Parallel.cs (8)
1324public static ParallelLoopResult ForEach<TSource>(IEnumerable<TSource> source, Action<TSource, ParallelLoopState, long> body) 1365public static ParallelLoopResult ForEach<TSource>(IEnumerable<TSource> source, ParallelOptions parallelOptions, Action<TSource, ParallelLoopState, long> body) 1640Action<TSource, ParallelLoopState, long>? bodyWithStateAndIndex, 1698Action<TSource, ParallelLoopState, long>? bodyWithStateAndIndex, 1757Action<TSource, ParallelLoopState, long>? bodyWithStateAndIndex, 1946Action<TSource, ParallelLoopState, long> body) 2307Action<TSource, ParallelLoopState, long> body) 2511Action<TSource, ParallelLoopState, long>? bodyWithStateAndIndex,
System.Windows.Forms (2)
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\ButtonDarkModeRendererBase.cs (1)
41Action<Rectangle, Color, bool> paintField)
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\IButtonRenderer.cs (1)
52Action<Rectangle, Color, bool> paintField);
System.Windows.Forms.Tests (3)
System\Windows\Forms\TrackBarRendererTests.cs (3)
73void TestDrawThumb(Action<Graphics, Rectangle, TrackBarThumbState> drawThumb, Rectangle bounds, TrackBarThumbState state) 153var drawThumbActions = new Action<Graphics, Rectangle, TrackBarThumbState>[] 161foreach (Action<Graphics, Rectangle, TrackBarThumbState> drawThumb in drawThumbActions)
Test.Utilities (15)
src\Dependencies\PooledObjects\PooledDelegates.cs (8)
132public static Releaser GetPooledAction<T1, T2, TArg>(Action<T1, T2, TArg> unboundAction, TArg argument, out Action<T1, T2> boundAction) 133=> GetPooledDelegate<ActionWithBoundArgument<T1, T2, TArg>, TArg, Action<T1, T2, TArg>, Action<T1, T2>>(unboundAction, argument, out boundAction); 136/// Gets an <see cref="Action{T1, T2, T3}"/> delegate, which calls <paramref name="unboundAction"/> with the specified 167public static Releaser GetPooledAction<T1, T2, T3, TArg>(Action<T1, T2, T3, TArg> unboundAction, TArg argument, out Action<T1, T2, T3> boundAction) 168=> GetPooledDelegate<ActionWithBoundArgument<T1, T2, T3, TArg>, TArg, Action<T1, T2, T3, TArg>, Action<T1, T2, T3>>(unboundAction, argument, out boundAction); 398: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<T1, T2, TArg>, TArg, Action<T1, T2, TArg>, Action<T1, T2>> 405: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<T1, T2, T3, TArg>, TArg, Action<T1, T2, T3, TArg>, Action<T1, T2, T3>> 407protected override Action<T1, T2, T3> Bind()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.FormattedWhitespace.cs (1)
64FormattingContext context, ChainedFormattingRules formattingRules, Action<int, TokenStream, TriviaData> formattingResultApplier, CancellationToken cancellationToken, int tokenPairIndex = TokenPairIndexNotNeeded)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.ModifiedWhitespace.cs (1)
80Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.Whitespace.cs (1)
79Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TriviaData.cs (1)
46Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectWriter.cs (1)
366Action<BinaryWriter, T[], int> write)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EventHandlerFactory.cs (1)
17public static EventHandler<TArgs> CreateWeakHandler<TTarget>(TTarget target, Action<TTarget, object?, TArgs> invoker)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\WeakEvent`1.cs (1)
17/// Unlike handler created via <see cref="EventHandlerFactory{TArgs}.CreateWeakHandler{TTarget}(TTarget, Action{TTarget, object?, TArgs})"/> the handlers may capture state, which makes the subscribers simpler
Text.Analyzers (15)
src\Dependencies\PooledObjects\PooledDelegates.cs (8)
132public static Releaser GetPooledAction<T1, T2, TArg>(Action<T1, T2, TArg> unboundAction, TArg argument, out Action<T1, T2> boundAction) 133=> GetPooledDelegate<ActionWithBoundArgument<T1, T2, TArg>, TArg, Action<T1, T2, TArg>, Action<T1, T2>>(unboundAction, argument, out boundAction); 136/// Gets an <see cref="Action{T1, T2, T3}"/> delegate, which calls <paramref name="unboundAction"/> with the specified 167public static Releaser GetPooledAction<T1, T2, T3, TArg>(Action<T1, T2, T3, TArg> unboundAction, TArg argument, out Action<T1, T2, T3> boundAction) 168=> GetPooledDelegate<ActionWithBoundArgument<T1, T2, T3, TArg>, TArg, Action<T1, T2, T3, TArg>, Action<T1, T2, T3>>(unboundAction, argument, out boundAction); 398: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<T1, T2, TArg>, TArg, Action<T1, T2, TArg>, Action<T1, T2>> 405: AbstractDelegateWithBoundArgument<ActionWithBoundArgument<T1, T2, T3, TArg>, TArg, Action<T1, T2, T3, TArg>, Action<T1, T2, T3>> 407protected override Action<T1, T2, T3> Bind()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.FormattedWhitespace.cs (1)
64FormattingContext context, ChainedFormattingRules formattingRules, Action<int, TokenStream, TriviaData> formattingResultApplier, CancellationToken cancellationToken, int tokenPairIndex = TokenPairIndexNotNeeded)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.ModifiedWhitespace.cs (1)
80Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.Whitespace.cs (1)
79Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TriviaData.cs (1)
46Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectWriter.cs (1)
366Action<BinaryWriter, T[], int> write)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EventHandlerFactory.cs (1)
17public static EventHandler<TArgs> CreateWeakHandler<TTarget>(TTarget target, Action<TTarget, object?, TArgs> invoker)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\WeakEvent`1.cs (1)
17/// Unlike handler created via <see cref="EventHandlerFactory{TArgs}.CreateWeakHandler{TTarget}(TTarget, Action{TTarget, object?, TArgs})"/> the handlers may capture state, which makes the subscribers simpler