mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Remove empty branch and add Dbg.Assert in ExportCsvHelper. (#6816)
Remove Dbg.Assert and add ArgumentNullException.
This commit is contained in:
@@ -874,11 +874,13 @@ namespace Microsoft.PowerShell.Commands
|
||||
/// </summary>
|
||||
/// <param name="cmdlet"></param>
|
||||
/// <param name="delimiter"></param>
|
||||
/// <exception cref="ArgumentNullException">throw if cmdlet is null</exception>
|
||||
internal
|
||||
ExportCsvHelper(PSCmdlet cmdlet, char delimiter)
|
||||
{
|
||||
if (cmdlet == null)
|
||||
{
|
||||
throw new ArgumentNullException("cmdlet");
|
||||
}
|
||||
_cmdlet = cmdlet;
|
||||
_delimiter = delimiter;
|
||||
|
||||
Reference in New Issue
Block a user