2 references to TryFindDisposePatternMethod
Microsoft.CodeAnalysis.CSharp (2)
Binder\ForEachLoopBinder.cs (1)
1198
MethodSymbol patternDisposeMethod =
TryFindDisposePatternMethod
(receiver, syntax, isAsync, patternDiagnostics, out bool expanded);
Binder\UsingStatementBinder.cs (1)
200
MethodSymbol disposeMethod = originalBinder.
TryFindDisposePatternMethod
(receiver, syntax, hasAwait, patternDiagnostics, out bool expanded);