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
Is not possible to invoke an event using MyEvent?.Invoke
publicclassContract_Event: SmartContract.Framework.SmartContract
{[DisplayName("transfer")]
#pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.publicstaticeventAction<byte[],byte[],BigInteger>Transferred;
#pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.publicstaticvoidtest(){
Transferred?.Invoke(newbyte[]{1,2,3},newbyte[]{4,5,6},7);}
It throw NC2001: Unsupported symbol
The text was updated successfully, but these errors were encountered:
Is not possible to invoke an event using
MyEvent?.Invoke
It throw
NC2001: Unsupported symbol
The text was updated successfully, but these errors were encountered: