<PackageReference Include="Serilog" Version="4.3.2-dev-02419" />

System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute

Disables the built-in runtime managed/unmanaged marshalling subsystem for P/Invokes, Delegate types, and unmanaged function pointer invocations.
namespace System.Runtime.CompilerServices { internal sealed class DisableRuntimeMarshallingAttribute : Attribute { public DisableRuntimeMarshallingAttribute(); } }