22 references to ErrorUtilities
Microsoft.Build.Engine.OM.UnitTests (22)
FileUtilities.cs (10)
191ErrorUtilities.ThrowArgument("DebugPathTooLong", directory); 392ErrorUtilities.VerifyThrowInternalLength(path, nameof(path)); 393ErrorUtilities.VerifyThrow(trailingSegmentsToKeep >= 0, "trailing segments must be positive"); 464ErrorUtilities.VerifyThrowArgumentLength(path, nameof(path)); 1135ErrorUtilities.VerifyThrowArgumentNull(basePath, nameof(basePath)); 1136ErrorUtilities.VerifyThrowArgumentLength(path, nameof(path)); 1144ErrorUtilities.VerifyThrow(splitPath.Length > 0, "Cannot call MakeRelative on a path of only slashes."); 1273ErrorUtilities.VerifyThrowArgumentNull(root, nameof(root)); 1274ErrorUtilities.VerifyThrowArgumentNull(paths, nameof(paths)); 1484ErrorUtilities.ThrowArgument("InvalidGetPathOfFileAboveParameter", file);
PrintLineDebugger.cs (4)
30ErrorUtilities.VerifyThrowInternalNull(propertyInfo, nameof(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, nameof(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");