4 references to DisposeMethodName
Microsoft.CodeAnalysis (1)
Symbols\ISymbolExtensions.cs (1)
158IMethodSymbol? disposeMethod = TryFindPublicVoidParameterlessMethod(scopeType, WellKnownMemberNames.DisposeMethodName);
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Statements.cs (1)
761hasAwait ? WellKnownMemberNames.DisposeAsyncMethodName : WellKnownMemberNames.DisposeMethodName,
Binder\LockBinder.cs (2)
94var disposeMethod = TryFindPublicVoidParameterlessMethod(scopeType, WellKnownMemberNames.DisposeMethodName); 97Error(diagnostics, ErrorCode.ERR_MissingPredefinedMember, syntax, $"{LockTypeFullName}+{WellKnownMemberNames.LockScopeTypeName}", WellKnownMemberNames.DisposeMethodName);