From 3ad4e28a2cdb6ccf40e8fb70aeb4c4ba9d89f9a4 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 20 Apr 2017 15:49:25 -0400 Subject: [PATCH] no inline out --- src/App/Models/CipherString.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/App/Models/CipherString.cs b/src/App/Models/CipherString.cs index 344f1b1ac..37030b54b 100644 --- a/src/App/Models/CipherString.cs +++ b/src/App/Models/CipherString.cs @@ -19,7 +19,8 @@ namespace Bit.App.Models var headerPieces = encryptedString.Split('.'); string[] encPieces; - if(headerPieces.Length == 2 && Enum.TryParse(headerPieces[0], out EncryptionType encType)) + EncryptionType encType; + if(headerPieces.Length == 2 && Enum.TryParse(headerPieces[0], out encType)) { EncryptionType = encType; encPieces = headerPieces[1].Split('|');