12 references to DisposeMethodKind
Microsoft.CodeAnalysis.ResxSourceGenerator (12)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IMethodSymbolExtensions.cs (12)
318
/// Gets the <see cref="
DisposeMethodKind
"/> for the given method.
320
public static
DisposeMethodKind
GetDisposeMethodKind(this IMethodSymbol method, Compilation compilation)
332
/// Gets the <see cref="
DisposeMethodKind
"/> for the given method.
334
public static
DisposeMethodKind
GetDisposeMethodKind(
354
return
DisposeMethodKind
.Dispose;
358
return
DisposeMethodKind
.DisposeBool;
362
return
DisposeMethodKind
.DisposeAsync;
366
return
DisposeMethodKind
.DisposeCoreAsync;
370
return
DisposeMethodKind
.DisposeCoreAsync;
374
return
DisposeMethodKind
.Close;
378
return
DisposeMethodKind
.CloseAsync;
382
return
DisposeMethodKind
.None;