System.Net.Http.Headers.CookieState.CheckValueFormat C# (CSharp) Method

CheckValueFormat() private static method

private static CheckValueFormat ( string value, string parameterName ) : void
value string
parameterName string
return void
        private static void CheckValueFormat(string value, string parameterName)
        {
            // Empty string is a valid cookie value
            if (value == null)
            {
                throw new ArgumentNullException(parameterName);
            }
        }