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