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