11 references to IsLocalFunction
Microsoft.CodeAnalysis.Workspaces (11)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions.cs (1)
279
=> symbol.IsAnonymousFunction() || symbol.
IsLocalFunction
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.AnalysisData.cs (1)
93
Debug.Assert(localFunction.
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 (6)
145
Debug.Assert(lambdaOrLocalFunction.IsAnonymousFunction() || lambdaOrLocalFunction.
IsLocalFunction
());
258
else if (invocation.TargetMethod.
IsLocalFunction
())
288
case IMethodReferenceOperation methodReferenceOperation when (methodReferenceOperation.Method.
IsLocalFunction
()):
322
Debug.Assert(localFunction.
IsLocalFunction
());
487
Debug.Assert(localFunction.
IsLocalFunction
());
578
Debug.Assert(localFunctionTarget.Method.
IsLocalFunction
());
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (2)
347
Debug.Assert(localFunction.
IsLocalFunction
());
463
if (methodReference.Method.
IsLocalFunction
())