1 instantiation of RestoreSpecException
NuGet.Commands (1)
RestoreCommand\RequestFactory\RestoreSpecException.cs (1)
63return new RestoreSpecException(completeMessage, files, innerException);
25 references to RestoreSpecException
NuGet.Commands (25)
RestoreCommand\RequestFactory\RestoreSpecException.cs (2)
26public static RestoreSpecException Create(string message, IEnumerable<string> files) 31public static RestoreSpecException Create(string message, IEnumerable<string> files, Exception innerException)
RestoreCommand\Utility\SpecValidationUtility.cs (23)
67throw RestoreSpecException.Create(message, Enumerable.Empty<string>()); 73throw RestoreSpecException.Create(Strings.SpecValidationZeroRestoreRequests, Enumerable.Empty<string>()); 76catch (Exception ex) when (!(ex is RestoreSpecException)) 79throw RestoreSpecException.Create( 109throw RestoreSpecException.Create(message, files); 148throw RestoreSpecException.Create(Strings.SpecValidationNoFrameworks, files); 168throw RestoreSpecException.Create(string.Format(CultureInfo.CurrentCulture, Strings.Invalid_Framework), files); 174throw RestoreSpecException.Create(Strings.SpecValidationNoFrameworks, files); 192throw RestoreSpecException.Create(message, files); 204throw RestoreSpecException.Create(message, files); 216throw RestoreSpecException.Create(message, files); 234throw RestoreSpecException.Create(message, files); 249throw RestoreSpecException.Create(message, files); 268throw RestoreSpecException.Create(message, files); 282throw RestoreSpecException.Create(message, files); 296throw RestoreSpecException.Create(message, files); 310throw RestoreSpecException.Create(message, files); 321throw RestoreSpecException.Create(message, files); 332throw RestoreSpecException.Create(message, files); 343throw RestoreSpecException.Create(message, files); 357throw RestoreSpecException.Create(message, files); 371throw RestoreSpecException.Create(message, files); 382throw RestoreSpecException.Create(message, files);