From df1056d28e8cf9f5786666308d46a55fa7d6ec0b Mon Sep 17 00:00:00 2001 From: Ilya Date: Tue, 1 Aug 2017 00:08:42 +0400 Subject: [PATCH] Cleanup '#if CORE' in cimConverter.cs (#4400) --- .../cimSupport/cmdletization/cim/cimConverter.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/cimConverter.cs b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/cimConverter.cs index 6792eb656..02b740335 100644 --- a/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/cimConverter.cs +++ b/src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/cimConverter.cs @@ -36,11 +36,9 @@ namespace Microsoft.PowerShell.Cim { _string = new string('\0', numberOfCharacters); -#if !CORECLR // String.IsInterned Not In CoreCLR Debug.Assert( string.IsInterned(_string) == null, "We will overwrite string contents - we can't / shouldn't do this for interned strings."); -#endif /* The string is pinned (while still being filled with insignificant data) * to prevent copying of sensitive data by garbage collection.