in src/CosmosCache.cs [315:320]
public void Set(string key, byte[] value, DistributedCacheEntryOptions options)
{
#pragma warning disable VSTHRD002 // Avoid problematic synchronous waits
this.SetAsync(key, value, options).GetAwaiter().GetResult();
#pragma warning restore VSTHRD002 // Avoid problematic synchronous waits
}