Fixed "name can be simplified"

This commit is contained in:
Joshua Askharoun
2021-03-31 17:20:20 -05:00
parent 9b09412b45
commit 799fca8d97
384 changed files with 3966 additions and 3966 deletions
+3 -3
View File
@@ -249,12 +249,12 @@ namespace Microsoft.Iris
add
{
using (this.ThreadValidator)
this.AddEventHandler(Choice.s_chosenChangedEvent, value);
this.AddEventHandler(s_chosenChangedEvent, value);
}
remove
{
using (this.ThreadValidator)
this.RemoveEventHandler(Choice.s_chosenChangedEvent, value);
this.RemoveEventHandler(s_chosenChangedEvent, value);
}
}
@@ -315,7 +315,7 @@ namespace Microsoft.Iris
private void FireChangedChosenEvent()
{
if (this.GetEventHandler(Choice.s_chosenChangedEvent) is EventHandler eventHandler)
if (this.GetEventHandler(s_chosenChangedEvent) is EventHandler eventHandler)
eventHandler(this, EventArgs.Empty);
this.OnChosenChanged();
}