30 references to AnonymousFunction
ILLink.RoslynAnalyzer (1)
IOperationExtensions.cs (1)
186 case OperationKind.AnonymousFunction:
Microsoft.Analyzers.Extra (1)
AsyncCallInsideUsingBlockAnalyzer.cs (1)
112case OperationKind.AnonymousFunction:
Microsoft.AspNetCore.App.Analyzers (2)
Http\RequestDelegateReturnTypeAnalyzer.cs (1)
72}, OperationKind.AnonymousFunction);
RouteHandlers\RouteHandlerAnalyzer.cs (1)
105if (delegateCreation.Target.Kind == OperationKind.AnonymousFunction)
Microsoft.AspNetCore.Mvc.Analyzers (1)
TagHelpersInCodeBlocksAnalyzer.cs (1)
125if (operation.Kind == OperationKind.AnonymousFunction)
Microsoft.CodeAnalysis (5)
Generated\Operations.Generated.cs (2)
1240/// <item><description><see cref="OperationKind.AnonymousFunction"/></description></item> 5911public override OperationKind Kind => OperationKind.AnonymousFunction;
Operations\ControlFlowGraph.cs (1)
40Debug.Assert(parent != null == (originalOperation.Kind == OperationKind.LocalFunction || originalOperation.Kind == OperationKind.AnonymousFunction));
Operations\ControlFlowGraphBuilder.cs (2)
108Debug.Assert(body.Kind == OperationKind.LocalFunction || body.Kind == OperationKind.AnonymousFunction); 130case OperationKind.AnonymousFunction:
Microsoft.CodeAnalysis.CodeStyle (6)
src\Analyzers\Core\Analyzers\RemoveUnusedParametersAndValues\AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.SymbolStartAnalyzer.BlockAnalyzer.cs (3)
74context.RegisterOperationAction(blockAnalyzer.AnalyzeDelegateCreationOrAnonymousFunction, OperationKind.DelegateCreation, OperationKind.AnonymousFunction); 259Debug.Assert(operation.Kind is OperationKind.DelegateCreation or OperationKind.AnonymousFunction); 284if (operation.Kind == OperationKind.AnonymousFunction &&
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (1)
243case OperationKind.AnonymousFunction:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (1)
192if (operation.Kind is OperationKind.LocalFunction or OperationKind.AnonymousFunction)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (1)
451case OperationKind.AnonymousFunction:
Microsoft.CodeAnalysis.Features (5)
InitializeParameter\AbstractInitializeParameterCodeRefactoringProvider.cs (1)
171case OperationKind.AnonymousFunction:
InlineMethod\AbstractInlineMethodRefactoringProvider.InlineContext.cs (1)
421if (operation.Kind is OperationKind.AnonymousFunction or OperationKind.LocalFunction)
src\Analyzers\Core\Analyzers\RemoveUnusedParametersAndValues\AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.SymbolStartAnalyzer.BlockAnalyzer.cs (3)
74context.RegisterOperationAction(blockAnalyzer.AnalyzeDelegateCreationOrAnonymousFunction, OperationKind.DelegateCreation, OperationKind.AnonymousFunction); 259Debug.Assert(operation.Kind is OperationKind.DelegateCreation or OperationKind.AnonymousFunction); 284if (operation.Kind == OperationKind.AnonymousFunction &&
Microsoft.CodeAnalysis.Test.Utilities (5)
Compilation\ControlFlowGraphVerifier.cs (2)
1826Assert.Equal(OperationKind.AnonymousFunction, g.OriginalOperation.Kind); 1866case OperationKind.AnonymousFunction:
Compilation\TestOperationVisitor.cs (2)
938Assert.Equal(OperationKind.AnonymousFunction, operation.Kind); 1709case OperationKind.AnonymousFunction:
Diagnostics\OperationTestAnalyzer.cs (1)
1339OperationKind.AnonymousFunction);
Microsoft.CodeAnalysis.Workspaces (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (1)
243case OperationKind.AnonymousFunction:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (1)
192if (operation.Kind is OperationKind.LocalFunction or OperationKind.AnonymousFunction)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (1)
451case OperationKind.AnonymousFunction:
System.Private.CoreLib.Generators (1)
IntrinsicsInSystemPrivateCoreLibAnalyzer.cs (1)
493if (operationSearch.Kind == OperationKind.AnonymousFunction)