4 overrides of GetRemoveMethod
System.Private.CoreLib (1)
src\System\Reflection\RuntimeEventInfo.cs (1)
160
public override MethodInfo?
GetRemoveMethod
(bool nonPublic)
System.Reflection.Context (1)
System\Reflection\Context\Delegation\DelegatingEventInfo.cs (1)
80
public override MethodInfo?
GetRemoveMethod
(bool nonPublic)
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Events\RoEvent.cs (1)
60
public sealed override MethodInfo?
GetRemoveMethod
(bool nonPublic) => GetRoRemoveMethod()?.FilterAccessor(nonPublic);
System.Runtime.InteropServices (1)
System\Runtime\InteropServices\ComAwareEventInfo.cs (1)
72
public override MethodInfo?
GetRemoveMethod
(bool nonPublic) => _innerEventInfo.GetRemoveMethod(nonPublic);
7 references to GetRemoveMethod
System.ComponentModel.Composition (1)
System\ComponentModel\Composition\ReflectionModel\LazyMemberInfo.cs (1)
37
_accessors = new MemberInfo?[] { event_.GetRaiseMethod(true), event_.GetAddMethod(true), event_.
GetRemoveMethod
(true) };
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\Reflection\EventInfo.cs (3)
22
public virtual MethodInfo? RemoveMethod =>
GetRemoveMethod
(nonPublic: true);
26
public MethodInfo? GetRemoveMethod() =>
GetRemoveMethod
(nonPublic: false);
72
MethodInfo removeMethod =
GetRemoveMethod
(nonPublic: false) ?? throw new InvalidOperationException(SR.InvalidOperation_NoPublicRemoveMethod);
System.Reflection.Context (1)
System\Reflection\Context\Delegation\DelegatingEventInfo.cs (1)
82
return UnderlyingEvent.
GetRemoveMethod
(nonPublic);
System.Reflection.TypeExtensions (1)
System\Reflection\TypeExtensions.cs (1)
445
return eventInfo.
GetRemoveMethod
(nonPublic);
System.Runtime.InteropServices (1)
System\Runtime\InteropServices\ComAwareEventInfo.cs (1)
72
public override MethodInfo? GetRemoveMethod(bool nonPublic) => _innerEventInfo.
GetRemoveMethod
(nonPublic);