20 references to DisposeMethodKind
Microsoft.CodeAnalysis.AnalyzerUtilities (20)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IMethodSymbolExtensions.cs (12)
254/// Gets the <see cref="DisposeMethodKind"/> for the given method. 256public static DisposeMethodKind GetDisposeMethodKind(this IMethodSymbol method, Compilation compilation) 268/// Gets the <see cref="DisposeMethodKind"/> for the given method. 270public static DisposeMethodKind GetDisposeMethodKind( 288return DisposeMethodKind.Dispose; 292return DisposeMethodKind.DisposeBool; 296return DisposeMethodKind.DisposeAsync; 300return DisposeMethodKind.DisposeCoreAsync; 304return DisposeMethodKind.DisposeCoreAsync; 308return DisposeMethodKind.Close; 312return DisposeMethodKind.CloseAsync; 316return DisposeMethodKind.None;
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\DisposeAnalysis\DisposeAnalysis.DisposeDataFlowOperationVisitor.cs (6)
268var disposeMethodKind = GetDisposeMethodKind(method); 271case DisposeMethodKind.Dispose: 272case DisposeMethodKind.DisposeBool: 273case DisposeMethodKind.DisposeAsync: 277case DisposeMethodKind.Close: 281goto case DisposeMethodKind.Dispose;
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\DisposeAnalysis\DisposeAnalysisHelper.cs (1)
222public DisposeMethodKind GetDisposeMethodKind(IMethodSymbol method)
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DataFlowOperationVisitor.cs (1)
4225private protected DisposeMethodKind GetDisposeMethodKind(IMethodSymbol method)