22 references to ErrorUtilities
Microsoft.Build.Engine.OM.UnitTests (22)
FileUtilities.cs (10)
204ErrorUtilities.ThrowArgument("DebugPathTooLong", directory); 413ErrorUtilities.VerifyThrowInternalLength(path, nameof(path)); 414ErrorUtilities.VerifyThrow(trailingSegmentsToKeep >= 0, "trailing segments must be positive"); 485ErrorUtilities.VerifyThrowArgumentLength(path); 1168ErrorUtilities.VerifyThrowArgumentNull(basePath); 1169ErrorUtilities.VerifyThrowArgumentLength(path); 1177ErrorUtilities.VerifyThrow(splitPath.Length > 0, "Cannot call MakeRelative on a path of only slashes."); 1306ErrorUtilities.VerifyThrowArgumentNull(root); 1307ErrorUtilities.VerifyThrowArgumentNull(paths); 1517ErrorUtilities.ThrowArgument("InvalidGetPathOfFileAboveParameter", file);
PrintLineDebugger.cs (4)
30ErrorUtilities.VerifyThrowInternalNull(propertyInfo); 77ErrorUtilities.ThrowInternalError("Cannot set a new writer over an old writer. Remove the old one first"); 99ErrorUtilities.ThrowInternalError("Cannot unset an already null writer"); 161ErrorUtilities.ThrowInternalError($"The writer from this {nameof(PrintLineDebugger)} instance differs from the static writer.");
ResourceUtilities.cs (6)
42ErrorUtilities.VerifyThrowInternalNull(message); 438ErrorUtilities.ThrowInternalError( 464ErrorUtilities.ThrowInternalError("The resource string \"" + resourceName + "\" was not found."); 472ErrorUtilities.ThrowInternalError(e.Message); 479ErrorUtilities.ThrowInternalError(e.Message); 486ErrorUtilities.ThrowInternalError(e.Message);
TempFileUtilities.cs (2)
162ErrorUtilities.VerifyThrowArgumentLengthIfNotNull(directory, nameof(directory)); 188ErrorUtilities.VerifyThrow(!FileSystems.Default.FileExists(file), "Guid should be unique");