Cleanup '#if CORE' in cimConverter.cs (#4400)
This commit is contained in:
parent
30cd78a9a7
commit
df1056d28e
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue