internal SynthesizedFieldLikeEventAccessorSymbol(SourceFieldLikeEventSymbol @event, bool isAdder) : base(@event, null, null, @event.Locations) { this.flags = MakeFlags( isAdder ? MethodKind.EventAdd : MethodKind.EventRemove, @event.Modifiers, returnsVoid: false, // until we learn otherwise (in LazyMethodChecks). isExtensionMethod: false, isMetadataVirtualIgnoringModifiers: false); this.name = GetOverriddenAccessorName(@event, isAdder) ?? SourceEventSymbol.GetAccessorName(@event.Name, isAdder); }