Are expression-bodied methods automatically inlined?
Are the following equivalent in non-debug compilation?
public byte[] GetBytes(char value) => GetBytesInternal(value, 2);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public byte[] GetBytes(char value) => GetBytesInternal(value, 2);
Is there any guide to when inlining is done by compiler, so as to avoid these messy attributes?