1 write to Value
NuGet.Packaging (1)
Licenses\LicenseExpressionToken.cs (1)
26Value = value ?? throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Strings.ArgumentCannotBeNullOrEmpty, nameof(value)));
10 references to Value
NuGet.Packaging (10)
Licenses\LicenseExpressionToken.cs (1)
32return $"Value: {Value}, Type: {TokenType}";
Licenses\NuGetLicenseExpressionParser.cs (9)
50throw new NuGetLicenseExpressionParsingException(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_InvalidToken, token.Value)); 59throw new NuGetLicenseExpressionParsingException(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_InvalidToken, token.Value)); 67throw new NuGetLicenseExpressionParsingException(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_InvalidToken, token.Value)); 92throw new NuGetLicenseExpressionParsingException(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_InvalidToken, token.Value)); 138return value.Item1 ? NuGetLicense.ParseIdentifier(((LicenseExpressionToken)value.Item2).Value, allowUnlicensed: true) : (NuGetLicenseExpression)value.Item2; 181var withNode = new WithOperator(NuGetLicense.ParseIdentifier(left.Value), NuGetLicenseException.ParseIdentifier(right.Value)); 190NuGetLicense.ParseIdentifier(((LicenseExpressionToken)rightOperand.Item2).Value) : 194NuGetLicense.ParseIdentifier(((LicenseExpressionToken)leftOperand.Item2).Value) :