4 overrides of RemoveMethod
Microsoft.CodeAnalysis.CSharp (4)
Symbols\Metadata\PE\PEEventSymbol.cs (1)
339public override MethodSymbol RemoveMethod
Symbols\Retargeting\RetargetingEventSymbol.cs (1)
67public override MethodSymbol? RemoveMethod
Symbols\Source\SourceEventSymbol.cs (1)
87public abstract override MethodSymbol? RemoveMethod { get; }
Symbols\SubstitutedEventSymbol.cs (1)
68public override MethodSymbol? RemoveMethod
22 references to RemoveMethod
Microsoft.CodeAnalysis.CSharp (22)
Binder\Binder_Lookup.cs (1)
1560method2 = @event.RemoveMethod;
Binder\Binder_Operators.cs (1)
284MethodSymbol method = isAddition ? eventSymbol.AddMethod : eventSymbol.RemoveMethod;
Compilation\CSharpSemanticModel.cs (1)
3499var methodSymbol = eventAssignment.IsAddition ? eventSymbol.AddMethod : eventSymbol.RemoveMethod;
Emitter\Model\EventSymbolAdapter.cs (2)
38var removeMethod = AdaptedEventSymbol.RemoveMethod?.GetCciAdapter(); 62var removeMethod = AdaptedEventSymbol.RemoveMethod?.GetCciAdapter();
Emitter\NoPia\EmbeddedTypesManager.cs (1)
573var removeMethod = @event.AdaptedEventSymbol.RemoveMethod?.GetCciAdapter();
Lowering\LocalRewriter\LocalRewriter_Event.cs (2)
56MethodSymbol? method = node.IsAddition ? node.Event.AddMethod : node.Event.RemoveMethod; 109methodOpt: eventSymbol.RemoveMethod,
Symbols\EventSymbol.cs (1)
162MethodSymbol? accessor = AddMethod ?? RemoveMethod;
Symbols\MemberSymbolExtensions.cs (2)
139return isImplementableAndNotPublic(eventSymbol.AddMethod) || isImplementableAndNotPublic(eventSymbol.RemoveMethod); 521MethodSymbol removeMethod = @event.RemoveMethod;
Symbols\OverriddenOrHiddenMembersHelpers.cs (1)
352MethodSymbol correspondingAccessor = accessorIsAdder ? eventHiddenByEvent.AddMethod : eventHiddenByEvent.RemoveMethod;
Symbols\PublicModel\EventSymbol.cs (1)
52return _underlying.RemoveMethod.GetPublicSymbol();
Symbols\Retargeting\RetargetingEventSymbol.cs (2)
71return (object?)_underlyingEvent.RemoveMethod == null 73: this.RetargetingTranslator.Retarget(_underlyingEvent.RemoveMethod);
Symbols\Source\ExplicitInterfaceHelpers.cs (1)
325checkAccessorIsAccessibleIfImplementable(eventSymbol.RemoveMethod);
Symbols\Source\SourceEventAccessorSymbol.cs (1)
60MethodSymbol implementedAccessor = isAdder ? explicitlyImplementedEventOpt.AddMethod : explicitlyImplementedEventOpt.RemoveMethod;
Symbols\Source\SourceEventSymbol.cs (1)
772CheckExplicitImplementationAccessor(RemoveMethod, explicitlyImplementedEvent.RemoveMethod, explicitlyImplementedEvent, diagnostics);
Symbols\Source\SourceMemberContainerSymbol.cs (1)
3926var locationFrom = (Symbol?)(isAdder ? propertySymbol.AddMethod : propertySymbol.RemoveMethod) ?? propertySymbol;
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
613var removeMethod = @event.RemoveMethod;
Symbols\SubstitutedEventSymbol.cs (1)
72MethodSymbol? originalRemoveMethod = OriginalDefinition.RemoveMethod;
Symbols\TypeSymbol.cs (1)
1414interfaceAccessor2 = interfaceEvent.RemoveMethod;