We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MethodImpl(MethodImplOptions.AggressiveInlining)] private static ByteString MyMethod(object foo) => StdLib.Serialize((foo, bar));
https://github.com/Hecate2/neo-devpack-dotnet/blob/add21354263b658f46c66b4738d0296c08fb3b7d/src/Neo.Compiler.CSharp/MethodConvert/Helpers/ConvertHelpers.cs#L45 syntax.Body is null for this case, because no explicit method body is defined in a BlockSyntax {}. syntax.ExpressionBody may be useful for such cases, but I do not know how to compile the method for now.
syntax.Body
syntax.ExpressionBody
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
https://github.com/Hecate2/neo-devpack-dotnet/blob/add21354263b658f46c66b4738d0296c08fb3b7d/src/Neo.Compiler.CSharp/MethodConvert/Helpers/ConvertHelpers.cs#L45
syntax.Body
is null for this case, because no explicit method body is defined in a BlockSyntax {}.syntax.ExpressionBody
may be useful for such cases, but I do not know how to compile the method for now.The text was updated successfully, but these errors were encountered: