2 overrides of UsedLocalFunctions
Microsoft.CodeAnalysis.CSharp (1)
FlowAnalysis\CSharpDataFlowAnalysis.cs (1)
344
public override ImmutableArray<IMethodSymbol>
UsedLocalFunctions
Microsoft.CodeAnalysis.VisualBasic (1)
Analysis\FlowAnalysis\VisualBasicDataFlowAnalysis.vb (1)
289
Public Overrides ReadOnly Property
UsedLocalFunctions
As ImmutableArray(Of IMethodSymbol)
26 references to UsedLocalFunctions
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Analyzers\CSharp\Analyzers\MakeLocalFunctionStatic\MakeLocalFunctionStaticHelper.cs (1)
27
return !dataFlow.
UsedLocalFunctions
.Any(static (usedLocalFunction, localFunctionStatement) =>
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (24)
FlowAnalysis\RegionAnalysisTests.cs (24)
8163
Assert.Null(GetSymbolNamesJoined(results.
UsedLocalFunctions
));
8194
Assert.Equal("Local", GetSymbolNamesJoined(results.
UsedLocalFunctions
));
8226
Assert.Equal("Local", GetSymbolNamesJoined(results.
UsedLocalFunctions
));
8262
Assert.Equal("Local, Second", GetSymbolNamesJoined(results.
UsedLocalFunctions
));
8296
Assert.Equal("Local", GetSymbolNamesJoined(results.
UsedLocalFunctions
));
8331
Assert.Equal("Local, Sub", GetSymbolNamesJoined(results.
UsedLocalFunctions
));
8371
Assert.Equal("Local, Second, Sub", GetSymbolNamesJoined(results.
UsedLocalFunctions
));
8412
Assert.Equal("Local, Second, Sub", GetSymbolNamesJoined(results.
UsedLocalFunctions
));
8447
Assert.Equal("Local, Sub", GetSymbolNamesJoined(results.
UsedLocalFunctions
));
8482
Assert.Equal("Local, Sub", GetSymbolNamesJoined(results.
UsedLocalFunctions
));
8517
Assert.Equal("Local, Sub", GetSymbolNamesJoined(results.
UsedLocalFunctions
));
8549
Assert.Equal("Local", GetSymbolNamesJoined(results.
UsedLocalFunctions
));
8581
Assert.Equal("Local", GetSymbolNamesJoined(results.
UsedLocalFunctions
));
8617
Assert.Equal("Local, Sub", GetSymbolNamesJoined(results.
UsedLocalFunctions
));
8653
Assert.Equal("Local, Sub", GetSymbolNamesJoined(results.
UsedLocalFunctions
));
8685
Assert.Equal("Local", GetSymbolNamesJoined(results.
UsedLocalFunctions
));
8717
Assert.Equal("Local", GetSymbolNamesJoined(results.
UsedLocalFunctions
));
8753
Assert.Equal("Local, Sub", GetSymbolNamesJoined(results.
UsedLocalFunctions
));
8789
Assert.Equal("Local, Sub", GetSymbolNamesJoined(results.
UsedLocalFunctions
));
8820
Assert.Equal("Local", GetSymbolNamesJoined(results.
UsedLocalFunctions
));
8855
Assert.Equal("Local, Sub", GetSymbolNamesJoined(results.
UsedLocalFunctions
));
8886
Assert.Equal("Local", GetSymbolNamesJoined(results.
UsedLocalFunctions
));
8921
Assert.Equal("Local, Sub", GetSymbolNamesJoined(results.
UsedLocalFunctions
));
9299
Assert.Null(GetSymbolNamesJoined(results.
UsedLocalFunctions
));
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\Analyzers\MakeLocalFunctionStatic\MakeLocalFunctionStaticHelper.cs (1)
27
return !dataFlow.
UsedLocalFunctions
.Any(static (usedLocalFunction, localFunctionStatement) =>