From 43cdd54c16481244e7836a427bc90e89bcf1828d Mon Sep 17 00:00:00 2001 From: Pranav K Date: Wed, 1 Oct 2014 14:47:27 -0700 Subject: [PATCH] Removing declaration expressions --- .../Infrastructure/ChunkingCookieManager.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Microsoft.AspNet.Security.Cookies/Infrastructure/ChunkingCookieManager.cs b/src/Microsoft.AspNet.Security.Cookies/Infrastructure/ChunkingCookieManager.cs index f4d893bd58..07fc0db347 100644 --- a/src/Microsoft.AspNet.Security.Cookies/Infrastructure/ChunkingCookieManager.cs +++ b/src/Microsoft.AspNet.Security.Cookies/Infrastructure/ChunkingCookieManager.cs @@ -43,7 +43,8 @@ namespace Microsoft.AspNet.Security.Cookies.Infrastructure if (value != null && value.StartsWith("chunks:", StringComparison.Ordinal)) { var chunksCountString = value.Substring("chunks:".Length); - if (int.TryParse(chunksCountString, NumberStyles.None, CultureInfo.InvariantCulture, out var chunksCount)) + int chunksCount; + if (int.TryParse(chunksCountString, NumberStyles.None, CultureInfo.InvariantCulture, out chunksCount)) { return chunksCount; }