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