Use null propagation operator in /engine (#17789)

This commit is contained in:
Frode Flaten authored and GitHub committed 2022-07-29 09:06:07 +05:00
1 parent 5eb91360bb
commit 4b4f1d144f
36 files changed
+137 -479

No files matched your search

@@ -2126,10 +2126,7 @@ namespace System.Management.Automation
{
if (_inputFormat == NativeCommandIOFormat.Xml)
{
if (_xmlSerializer != null)
{
_xmlSerializer.Done();
}
_xmlSerializer?.Done();
}
else // Text
{