You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have multiple events with colliding DisplayName, nccs doesn't report and error or warning, but the contract can't be deployed.
Example:
publicdelegatevoidOnSomethingDelegate(ByteStringdata);publicdelegatevoidOnSomethingElseDelegate(ByteStringdata);[DisplayName("OnSomething")]publicstaticeventOnSomethingDelegate Something;// deploy fails because this DisplayName collides with the DisplayName attached Something event[DisplayName("OnSomething")]publicstaticeventOnSomethingElseDelegate SomethingElse;
The text was updated successfully, but these errors were encountered:
If you have multiple events with colliding DisplayName, nccs doesn't report and error or warning, but the contract can't be deployed.
Example:
The text was updated successfully, but these errors were encountered: