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