From 8f33c6f0873fa5924d19fa4dfefb6d68632a8345 Mon Sep 17 00:00:00 2001 From: Adam Sitnik Date: Sat, 15 Jun 2019 13:10:04 +0000 Subject: [PATCH] don't use var --- .../shared/System/Globalization/CompareInfo.Unix.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/System.Private.CoreLib/shared/System/Globalization/CompareInfo.Unix.cs b/src/System.Private.CoreLib/shared/System/Globalization/CompareInfo.Unix.cs index c61526d..05a69e2 100644 --- a/src/System.Private.CoreLib/shared/System/Globalization/CompareInfo.Unix.cs +++ b/src/System.Private.CoreLib/shared/System/Globalization/CompareInfo.Unix.cs @@ -936,7 +936,7 @@ namespace System.Globalization { if (!s_sortNameToSortHandleCache.TryGetValue(sortName, out IntPtr result)) { - var resultCode = Interop.Globalization.GetSortHandle(sortName, out result); + Interop.Globalization.ResultCode resultCode = Interop.Globalization.GetSortHandle(sortName, out result); if (resultCode == Interop.Globalization.ResultCode.OutOfMemory) throw new OutOfMemoryException(); -- 2.7.4