Remove unreachable DSC code (#12076)
* Remove unreachable code * Update src/System.Management.Automation/DscSupport/CimDSCParser.cs Co-Authored-By: Ilya <darpa@yandex.ru> Co-authored-by: Ilya <darpa@yandex.ru>
This commit is contained in:
parent
5f46605a21
commit
5fd89561d0
|
@ -1233,8 +1233,7 @@ namespace Microsoft.PowerShell.DesiredStateConfiguration.Internal
|
|||
{
|
||||
if (string.IsNullOrEmpty(path))
|
||||
{
|
||||
throw PSTraceSource.NewArgumentNullException("path");
|
||||
throw new ArgumentNullException("path");
|
||||
throw PSTraceSource.NewArgumentNullException(nameof(path));
|
||||
}
|
||||
|
||||
if (schemaValidationOption < (int)Microsoft.Management.Infrastructure.Serialization.MofDeserializerSchemaValidationOption.Default ||
|
||||
|
@ -4073,4 +4072,3 @@ namespace Microsoft.PowerShell.DesiredStateConfiguration.Internal
|
|||
";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue