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