<type1> '<typename1>' conflicts with a member implicitly declared for event '<eventname>' in <type2> '<typename2>'
The name of a type member conflicts with the name of a member implicitly created for an event. Events implicitly create several implicit variables. For example, the declaration Event X
implicitly declares the names XEventHandler
, XEvent
, add_X
, and remove_X
.
Error ID: BC31061
- Rename the explicitly declared member to remove the naming conflict.
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET feedback
.NET is an open source project. Select a link to provide feedback: