20 references to DisposeMethodKind
Microsoft.CodeAnalysis.AnalyzerUtilities (20)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IMethodSymbolExtensions.cs (12)
318/// Gets the <see cref="DisposeMethodKind"/> for the given method. 320public static DisposeMethodKind GetDisposeMethodKind(this IMethodSymbol method, Compilation compilation) 332/// Gets the <see cref="DisposeMethodKind"/> for the given method. 334public static DisposeMethodKind GetDisposeMethodKind( 354return DisposeMethodKind.Dispose; 358return DisposeMethodKind.DisposeBool; 362return DisposeMethodKind.DisposeAsync; 366return DisposeMethodKind.DisposeCoreAsync; 370return DisposeMethodKind.DisposeCoreAsync; 374return DisposeMethodKind.Close; 378return DisposeMethodKind.CloseAsync; 382return DisposeMethodKind.None;
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\DisposeAnalysis\DisposeAnalysis.DisposeDataFlowOperationVisitor.cs (6)
266var disposeMethodKind = GetDisposeMethodKind(method); 269case DisposeMethodKind.Dispose: 270case DisposeMethodKind.DisposeBool: 271case DisposeMethodKind.DisposeAsync: 275case DisposeMethodKind.Close: 279goto 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)
4223private protected DisposeMethodKind GetDisposeMethodKind(IMethodSymbol method)