- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 8.6k
Open
Labels
Description
Feature and motivation
Ideally all *EventArgs should be immutable. But from spec perspective, it is just a type, even regular type, which can be mutable. If we really want to make all event args immutable, then we should create a copy of class (including all referenced classed). I don't think we really want to do it.
Another option is to accept that event args can be mutable (no effect for users). But then name all event args as spec defines them (without EventArgs prefix). It also makes sense to convert EventArgs class to IEventArgs interface, because if spec will define inheritance, we cannot support it.
Usage example
Just types renaming.