Remove 4 assertions which cause debug build test runs to fail (#15963)
This commit is contained in:
parent
e70ad6ce25
commit
c39d672560
|
@ -851,18 +851,6 @@ namespace Microsoft.PowerShell
|
|||
}
|
||||
|
||||
// If we get all the way to here, then we've compressed all the nodes and we still don't fit.
|
||||
|
||||
#if DEBUG || ASSERTIONS_TRACE
|
||||
|
||||
Dbg.Assert(
|
||||
nodesCompressed == CountNodes(),
|
||||
"We should have compressed every node in the tree.");
|
||||
Dbg.Assert(
|
||||
AllNodesHaveGivenStyle(_topLevelNodes, newStyle),
|
||||
"We should have compressed every node in the tree.");
|
||||
|
||||
#endif
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -28,7 +28,6 @@ namespace System.Management.Automation.Help
|
|||
internal UpdatableHelpModuleInfo(string name, Guid guid, string path, string uri)
|
||||
{
|
||||
Debug.Assert(!string.IsNullOrEmpty(name));
|
||||
Debug.Assert(guid != Guid.Empty);
|
||||
Debug.Assert(!string.IsNullOrEmpty(path));
|
||||
Debug.Assert(!string.IsNullOrEmpty(uri));
|
||||
|
||||
|
|
|
@ -21,7 +21,6 @@ namespace System.Management.Automation.Help
|
|||
internal UpdatableHelpUri(string moduleName, Guid moduleGuid, CultureInfo culture, string resolvedUri)
|
||||
{
|
||||
Debug.Assert(!string.IsNullOrEmpty(moduleName));
|
||||
Debug.Assert(moduleGuid != Guid.Empty);
|
||||
Debug.Assert(!string.IsNullOrEmpty(resolvedUri));
|
||||
|
||||
ModuleName = moduleName;
|
||||
|
|
Loading…
Reference in a new issue