8 references to IsAnonymousFunction
Microsoft.CodeAnalysis.Workspaces (8)
FindSymbols\FindReferences\Finders\ParameterSymbolReferenceFinder.cs (2)
95
if (parameter.ContainingSymbol.
IsAnonymousFunction
())
144
symbol.ContainingSymbol.
IsAnonymousFunction
() &&
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions.cs (1)
279
=> symbol.
IsAnonymousFunction
() || symbol.IsLocalFunction();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.cs (1)
57
Debug.Assert(localFunctionOrLambda.IsLocalFunction() || localFunctionOrLambda.
IsAnonymousFunction
());
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (1)
145
Debug.Assert(lambdaOrLocalFunction.
IsAnonymousFunction
() || lambdaOrLocalFunction.IsLocalFunction());
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AnonymousFunctionOrDelegateSymbolKey.cs (1)
23
Debug.Assert(symbol.IsAnonymousDelegateType() || symbol.
IsAnonymousFunction
());
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AbstractSpeculationAnalyzer.cs (2)
388
if (symbol.
IsAnonymousFunction
())
390
return newSymbol.
IsAnonymousFunction
();