21 references to Create
NuGet.Commands (21)
RestoreCommand\Utility\SpecValidationUtility.cs (21)
67throw RestoreSpecException.Create(message, Enumerable.Empty<string>()); 73throw RestoreSpecException.Create(Strings.SpecValidationZeroRestoreRequests, Enumerable.Empty<string>()); 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);