Commit b1b65583 authored by Nick Craver's avatar Nick Craver

Cleanup: RedisFeatures

parent d4dd61ad
......@@ -34,10 +34,10 @@ public struct RedisFeatures
/// <summary>
/// Create a new RedisFeatures instance for the given version
/// </summary>
/// <param name="version">The version of redis to base the feature set on.</param>
public RedisFeatures(Version version)
{
if (version == null) throw new ArgumentNullException(nameof(version));
this.version = version;
this.version = version ?? throw new ArgumentNullException(nameof(version));
}
/// <summary>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment