<PackageReference Include="Google.Protobuf" Version="3.36.2" />

Google.Protobuf.ProtoPreconditions

public static class ProtoPreconditions
Helper methods for throwing exceptions when preconditions are not met.
namespace Google.Protobuf { public static class ProtoPreconditions { public static T CheckNotNull<T>(T value, string name) where T : class; } }