ReplaceNullStringPropertiesWithEmptyString() private method

The Windows Runtime string type is a value type and has no null value. The .NET projection prohibits passing a null .NET string across the Windows Runtime ABI boundary for this reason.
private ReplaceNullStringPropertiesWithEmptyString ( ) : void
return void
        private static async Task <AuthenticationResult> RunTask(Task <AuthenticationResult> task)
        {
            AuthenticationResult result;

            try
            {
                result = await task;
            }
            catch (Exception ex)
            {
                result = new AuthenticationResult(ex);
            }

            result.ReplaceNullStringPropertiesWithEmptyString();

            return(result);
        }
        private static async Task<AuthenticationResult> RunTask(Task<AuthenticationResult> task)
        {
            AuthenticationResult result;

            try
            {
                result = await task;
            }
            catch (Exception ex)
            {
                result = new AuthenticationResult(ex);
            }

            result.ReplaceNullStringPropertiesWithEmptyString();

            return result;
        }