neo-devpack-dotnet
neo-devpack-dotnet copied to clipboard
fix inline for null body method
this pr fixes https://github.com/neo-project/neo-devpack-dotnet/issues/1209
[MethodImpl(MethodImplOptions.AggressiveInlining)]
private static void ArrowInline(int a, int b) => CallMethodThatReturnsInt(a, b);
The compiler should drop the returned value in this case.
[MethodImpl(MethodImplOptions.AggressiveInlining)] private static void ArrowInline(int a, int b) => CallMethodThatReturnsInt(a, b);The compiler should drop the returned value in this case.
If it's private yes, if it's public... Maybe we can create a new issue for it
[MethodImpl(MethodImplOptions.AggressiveInlining)] private static void ArrowInline(int a, int b) => CallMethodThatReturnsInt(a, b);The compiler should drop the returned value in this case.
Fixed.