in JetBrains.Etw.HostService.Updater/src/SharedStorage/FileSharedStorage.cs [16:22]
public FileSharedStorage([NotNull] ILogger logger, [NotNull] string file, [NotNull] Func<string, TValue> fromValue, [NotNull] Func<TValue, string> toValue)
{
myLogger = logger ?? throw new ArgumentNullException(nameof(logger));
myFromValue = fromValue ?? throw new ArgumentNullException(nameof(fromValue));
myToValue = toValue ?? throw new ArgumentNullException(nameof(toValue));
myFile = Environment.ExpandEnvironmentVariables(file);
}