1 instantiation of V3VulnerabilityIndexEntry
NuGet.Protocol (1)
_generated\113\JsonContext.V3VulnerabilityIndexEntry.g.cs (1)
32
ObjectWithParameterizedConstructorCreator = static args => new global::NuGet.Protocol.Model.
V3VulnerabilityIndexEntry
((string)args[0], (global::System.Uri)args[1], (string)args[2], (string)args[3]),
45 references to V3VulnerabilityIndexEntry
NuGet.Protocol (45)
_generated\113\JsonContext.V3VulnerabilityIndexEntry.g.cs (22)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Model.
V3VulnerabilityIndexEntry
>? _V3VulnerabilityIndexEntry;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Model.
V3VulnerabilityIndexEntry
> V3VulnerabilityIndexEntry
22
get => _V3VulnerabilityIndexEntry ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Model.
V3VulnerabilityIndexEntry
>)Options.GetTypeInfo(typeof(global::NuGet.Protocol.Model.
V3VulnerabilityIndexEntry
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Model.
V3VulnerabilityIndexEntry
> Create_V3VulnerabilityIndexEntry(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::NuGet.Protocol.Model.
V3VulnerabilityIndexEntry
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Model.
V3VulnerabilityIndexEntry
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::NuGet.Protocol.Model.
V3VulnerabilityIndexEntry
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Model.
V3VulnerabilityIndexEntry
).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string), typeof(global::System.Uri), typeof(string), typeof(string)}, modifiers: null),
41
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::NuGet.Protocol.Model.
V3VulnerabilityIndexEntry
>(options, objectInfo);
58
DeclaringType = typeof(global::NuGet.Protocol.Model.
V3VulnerabilityIndexEntry
),
60
Getter = static obj => ((global::NuGet.Protocol.Model.
V3VulnerabilityIndexEntry
)obj).Name,
68
AttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Model.
V3VulnerabilityIndexEntry
).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
79
DeclaringType = typeof(global::NuGet.Protocol.Model.
V3VulnerabilityIndexEntry
),
81
Getter = static obj => ((global::NuGet.Protocol.Model.
V3VulnerabilityIndexEntry
)obj).Url,
89
AttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Model.
V3VulnerabilityIndexEntry
).GetProperty("Url", InstanceMemberBindingFlags, null, typeof(global::System.Uri), global::System.Array.Empty<global::System.Type>(), null),
100
DeclaringType = typeof(global::NuGet.Protocol.Model.
V3VulnerabilityIndexEntry
),
102
Getter = static obj => ((global::NuGet.Protocol.Model.
V3VulnerabilityIndexEntry
)obj).Updated,
110
AttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Model.
V3VulnerabilityIndexEntry
).GetProperty("Updated", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
121
DeclaringType = typeof(global::NuGet.Protocol.Model.
V3VulnerabilityIndexEntry
),
123
Getter = static obj => ((global::NuGet.Protocol.Model.
V3VulnerabilityIndexEntry
)obj).Comment,
131
AttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Model.
V3VulnerabilityIndexEntry
).GetProperty("Comment", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
_generated\127\JsonContext.VulnerabilityIndex.g.cs (10)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IReadOnlyList<global::NuGet.Protocol.Model.
V3VulnerabilityIndexEntry
>>? _VulnerabilityIndex;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IReadOnlyList<global::NuGet.Protocol.Model.
V3VulnerabilityIndexEntry
>> VulnerabilityIndex
22
get => _VulnerabilityIndex ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IReadOnlyList<global::NuGet.Protocol.Model.
V3VulnerabilityIndexEntry
>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IReadOnlyList<global::NuGet.Protocol.Model.
V3VulnerabilityIndexEntry
>));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IReadOnlyList<global::NuGet.Protocol.Model.
V3VulnerabilityIndexEntry
>> Create_VulnerabilityIndex(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IReadOnlyList<global::NuGet.Protocol.Model.
V3VulnerabilityIndexEntry
>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IReadOnlyList<global::NuGet.Protocol.Model.
V3VulnerabilityIndexEntry
>> jsonTypeInfo))
29
var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IReadOnlyList<global::NuGet.Protocol.Model.
V3VulnerabilityIndexEntry
>>
37
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIEnumerableInfo<global::System.Collections.Generic.IReadOnlyList<global::NuGet.Protocol.Model.
V3VulnerabilityIndexEntry
>, global::NuGet.Protocol.Model.
V3VulnerabilityIndexEntry
>(options, info);
_generated\143\JsonContext.GetJsonTypeInfo.g.cs (2)
86
if (type == typeof(global::NuGet.Protocol.Model.
V3VulnerabilityIndexEntry
))
142
if (type == typeof(global::System.Collections.Generic.IReadOnlyList<global::NuGet.Protocol.Model.
V3VulnerabilityIndexEntry
>))
Resources\VulnerabilityInfoResourceV3.cs (10)
36
public async Task<IReadOnlyList<
V3VulnerabilityIndexEntry
>> GetVulnerabilityFilesAsync(SourceCacheContext cacheContext, ILogger log, CancellationToken cancellationToken)
44
IReadOnlyList<
V3VulnerabilityIndexEntry
>? vulnFiles;
50
IReadOnlyList<
V3VulnerabilityIndexEntry
>? parsed =
88
V3VulnerabilityIndexEntry
vulnerabilityPage,
135
IReadOnlyList<
V3VulnerabilityIndexEntry
> indexEntries = await GetVulnerabilityFilesAsync(cacheContext, logger, cancellationToken);
154
V3VulnerabilityIndexEntry
indexEntry = indexEntries[i];
200
private IReadOnlyList<
V3VulnerabilityIndexEntry
> GetValidIndexEntries(IReadOnlyList<
V3VulnerabilityIndexEntry
> indexEntries, ref List<Exception>? exceptions)
202
List<
V3VulnerabilityIndexEntry
> validIndexEntries = new(indexEntries.Count);
212
V3VulnerabilityIndexEntry
entry = indexEntries[i];
Utility\JsonContext.cs (1)
19
[JsonSerializable(typeof(IReadOnlyList<
V3VulnerabilityIndexEntry
>), TypeInfoPropertyName = "VulnerabilityIndex")]