mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 20:56:02 +00:00
Remove empty branch and add Dbg.Assert in ExportCsvHelper. (#6816)
Remove Dbg.Assert and add ArgumentNullException.
This commit is contained in:
1 parent
f33689b4cb
commit
d1b9aa7eae
1 file changed
+2
@@ -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