13 references to IsLocalFunction
Microsoft.CodeAnalysis.CodeStyle (13)
src\Analyzers\Core\Analyzers\RemoveUnusedParametersAndValues\AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.SymbolStartAnalyzer.BlockAnalyzer.cs (1)
537
unusedParameter.ContainingSymbol.
IsLocalFunction
())
src\Analyzers\Core\Analyzers\RemoveUnusedParametersAndValues\AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.SymbolStartAnalyzer.cs (1)
144
isLocalFunctionParameter: parameter.ContainingSymbol.
IsLocalFunction
());
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
())