20 references to NuGetLicenseExpressionParsingException
NuGet.Packaging (20)
Licenses\NuGetLicense.cs (6)
56
throw new
NuGetLicenseExpressionParsingException
(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_DeprecatedIdentifier, licenseIdentifier));
68
throw new
NuGetLicenseExpressionParsingException
(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_DeprecatedIdentifier, licenseIdentifier));
103
throw new
NuGetLicenseExpressionParsingException
(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_IllegalUnlicensedOperator));
109
throw new
NuGetLicenseExpressionParsingException
(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_UnexpectedIdentifier, licenseIdentifier));
118
throw new
NuGetLicenseExpressionParsingException
(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_LicenseInvalidCharacters, licenseIdentifier));
121
throw new
NuGetLicenseExpressionParsingException
(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_LicenseIdentifierIsException, licenseIdentifier));
Licenses\NuGetLicenseException.cs (3)
39
throw new
NuGetLicenseExpressionParsingException
(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_DeprecatedIdentifier, exceptionIdentifier));
45
throw new
NuGetLicenseExpressionParsingException
(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_ExceptionIdentifierIsLicense, exceptionIdentifier));
49
throw new
NuGetLicenseExpressionParsingException
(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_InvalidExceptionIdentifier, exceptionIdentifier));
Licenses\NuGetLicenseExpressionParser.cs (11)
50
throw new
NuGetLicenseExpressionParsingException
(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_InvalidToken, token.Value));
59
throw new
NuGetLicenseExpressionParsingException
(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_InvalidToken, token.Value));
67
throw new
NuGetLicenseExpressionParsingException
(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_InvalidToken, token.Value));
83
throw new
NuGetLicenseExpressionParsingException
(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_MismatchedParentheses));
92
throw new
NuGetLicenseExpressionParsingException
(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_InvalidToken, token.Value));
109
throw new
NuGetLicenseExpressionParsingException
("Should not happen. File a bug with repro steps on NuGet/Home if seen.");
123
throw new
NuGetLicenseExpressionParsingException
(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_MismatchedParentheses));
132
throw new
NuGetLicenseExpressionParsingException
(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_InvalidExpression));
159
throw new
NuGetLicenseExpressionParsingException
(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_InvalidCharacters, expression));
175
throw new
NuGetLicenseExpressionParsingException
(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_InvalidExpression));
206
throw new
NuGetLicenseExpressionParsingException
(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_InvalidExpression));