25 references to LicenseExpressionType
NuGet.CommandLine.XPlat (13)
_generated\10\PackageSearchJsonContext.NuGetLicenseExpression.g.cs (3)
51
var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::NuGet.Packaging.Licenses.
LicenseExpressionType
>
66
AttributeProviderFactory = static () => typeof(global::NuGet.Packaging.Licenses.NuGetLicenseExpression).GetProperty("Type", InstanceMemberBindingFlags, null, typeof(global::NuGet.Packaging.Licenses.
LicenseExpressionType
), global::System.Array.Empty<global::System.Type>(), null),
69
properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::NuGet.Packaging.Licenses.
LicenseExpressionType
>(options, info0);
_generated\36\PackageSearchJsonContext.GetJsonTypeInfo.g.cs (1)
58
if (type == typeof(global::NuGet.Packaging.Licenses.
LicenseExpressionType
))
_generated\9\PackageSearchJsonContext.LicenseExpressionType.g.cs (9)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Packaging.Licenses.
LicenseExpressionType
>? _LicenseExpressionType;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Packaging.Licenses.
LicenseExpressionType
> LicenseExpressionType
22
get => _LicenseExpressionType ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Packaging.Licenses.
LicenseExpressionType
>)Options.GetTypeInfo(typeof(global::NuGet.Packaging.Licenses.
LicenseExpressionType
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Packaging.Licenses.
LicenseExpressionType
> Create_LicenseExpressionType(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::NuGet.Packaging.Licenses.
LicenseExpressionType
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Packaging.Licenses.
LicenseExpressionType
> jsonTypeInfo))
29
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo<global::NuGet.Packaging.Licenses.
LicenseExpressionType
>(options, global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.GetEnumConverter<global::NuGet.Packaging.Licenses.
LicenseExpressionType
>(options));
NuGet.Packaging (12)
Licenses\LicenseOperator.cs (1)
21
Type =
LicenseExpressionType
.Operator;
Licenses\NuGetLicense.cs (1)
36
Type =
LicenseExpressionType
.License;
Licenses\NuGetLicenseExpression.cs (2)
9
/// <seealso cref="
LicenseExpressionType
"/>
18
public
LicenseExpressionType
Type { get; protected set; }
Licenses\NuGetLicenseExpressionExtensions.cs (6)
19
case
LicenseExpressionType
.License:
22
case
LicenseExpressionType
.Operator:
51
case
LicenseExpressionType
.License:
56
case
LicenseExpressionType
.Operator:
91
case
LicenseExpressionType
.License:
94
case
LicenseExpressionType
.Operator: // expressions with operators cannot be unlicensed.
Rules\UnrecognizedLicenseIdentifierRule.cs (2)
39
case
LicenseExpressionType
.License:
50
case
LicenseExpressionType
.Operator: