12 references to SymbolUsageResult
Microsoft.CodeAnalysis.CodeStyle (12)
src\Analyzers\Core\Analyzers\RemoveUnusedParametersAndValues\AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.SymbolStartAnalyzer.BlockAnalyzer.cs (7)
470
using var _ = PooledHashSet<
SymbolUsageResult
>.GetInstance(out var symbolUsageResultsBuilder);
481
PooledHashSet<
SymbolUsageResult
> symbolUsageResultsBuilder,
505
var
resultFromOperationBlockAnalysis = SymbolUsageAnalysis.Run(operationBlock, context.OwningSymbol, context.CancellationToken);
519
var
symbolUsageResult = SymbolUsageAnalysis.Run(controlFlowGraph, context.OwningSymbol, context.CancellationToken);
591
SymbolUsageResult
resultFromFlowAnalysis,
699
PooledHashSet<
SymbolUsageResult
> symbolUsageResultsBuilder,
750
foreach (
var
symbolUsageResult in symbolUsageResultsBuilder)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.AnalysisData.cs (2)
85
/// Creates an immutable <see cref="
SymbolUsageResult
"/> for the current analysis data.
87
public
SymbolUsageResult
ToResult()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.cs (2)
25
public static
SymbolUsageResult
Run(ControlFlowGraph cfg, ISymbol owningSymbol, CancellationToken cancellationToken)
32
public static
SymbolUsageResult
Run(IOperation rootOperation, ISymbol owningSymbol, CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.cs (1)
40
public static
SymbolUsageResult
RunAnalysis(ControlFlowGraph cfg, ISymbol owningSymbol, CancellationToken cancellationToken)