1 instantiation of V3VulnerabilityIndexEntry
NuGet.Protocol (1)
_generated\7\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]),
52 references to V3VulnerabilityIndexEntry
NuGet.Protocol (52)
_generated\15\JsonContext.VulnerabilityIndex.g.cs (12)
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>> 35jsonTypeInfo = 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); 45private void VulnerabilityIndexSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IReadOnlyList<global::NuGet.Protocol.Model.V3VulnerabilityIndexEntry>? value) 55foreach (global::NuGet.Protocol.Model.V3VulnerabilityIndexEntry element in value)
_generated\24\JsonContext.GetJsonTypeInfo.g.cs (2)
50if (type == typeof(global::NuGet.Protocol.Model.V3VulnerabilityIndexEntry)) 82if (type == typeof(global::System.Collections.Generic.IReadOnlyList<global::NuGet.Protocol.Model.V3VulnerabilityIndexEntry>))
_generated\7\JsonContext.V3VulnerabilityIndexEntry.g.cs (27)
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), 39jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::NuGet.Protocol.Model.V3VulnerabilityIndexEntry>(options, objectInfo); 56DeclaringType = typeof(global::NuGet.Protocol.Model.V3VulnerabilityIndexEntry), 58Getter = static obj => ((global::NuGet.Protocol.Model.V3VulnerabilityIndexEntry)obj).Name, 66AttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Model.V3VulnerabilityIndexEntry).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 77DeclaringType = typeof(global::NuGet.Protocol.Model.V3VulnerabilityIndexEntry), 79Getter = static obj => ((global::NuGet.Protocol.Model.V3VulnerabilityIndexEntry)obj).Url, 87AttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Model.V3VulnerabilityIndexEntry).GetProperty("Url", InstanceMemberBindingFlags, null, typeof(global::System.Uri), global::System.Array.Empty<global::System.Type>(), null), 98DeclaringType = typeof(global::NuGet.Protocol.Model.V3VulnerabilityIndexEntry), 100Getter = static obj => ((global::NuGet.Protocol.Model.V3VulnerabilityIndexEntry)obj).Updated, 108AttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Model.V3VulnerabilityIndexEntry).GetProperty("Updated", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 119DeclaringType = typeof(global::NuGet.Protocol.Model.V3VulnerabilityIndexEntry), 121Getter = static obj => ((global::NuGet.Protocol.Model.V3VulnerabilityIndexEntry)obj).Comment, 129AttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Model.V3VulnerabilityIndexEntry).GetProperty("Comment", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 139private void V3VulnerabilityIndexEntrySerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::NuGet.Protocol.Model.V3VulnerabilityIndexEntry? value) 149writer.WriteString(EncodedPropName_406E616D65, ((global::NuGet.Protocol.Model.V3VulnerabilityIndexEntry)value).Name); 151global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::NuGet.Protocol.Model.V3VulnerabilityIndexEntry)value).Url, Uri); 152writer.WriteString(EncodedPropName_4075706461746564, ((global::NuGet.Protocol.Model.V3VulnerabilityIndexEntry)value).Updated); 153writer.WriteString(PropName_comment, ((global::NuGet.Protocol.Model.V3VulnerabilityIndexEntry)value).Comment);
Resources\VulnerabilityInfoResourceV3.cs (10)
36public async Task<IReadOnlyList<V3VulnerabilityIndexEntry>> GetVulnerabilityFilesAsync(SourceCacheContext cacheContext, ILogger log, CancellationToken cancellationToken) 43IReadOnlyList<V3VulnerabilityIndexEntry>? vulnFiles; 49IReadOnlyList<V3VulnerabilityIndexEntry>? parsed = 86V3VulnerabilityIndexEntry vulnerabilityPage, 132IReadOnlyList<V3VulnerabilityIndexEntry> indexEntries = await GetVulnerabilityFilesAsync(cacheContext, logger, cancellationToken); 151V3VulnerabilityIndexEntry indexEntry = indexEntries[i]; 197private IReadOnlyList<V3VulnerabilityIndexEntry> GetValidIndexEntries(IReadOnlyList<V3VulnerabilityIndexEntry> indexEntries, ref List<Exception>? exceptions) 199List<V3VulnerabilityIndexEntry> validIndexEntries = new(indexEntries.Count); 209V3VulnerabilityIndexEntry entry = indexEntries[i];
Utility\JsonContext.cs (1)
17[JsonSerializable(typeof(IReadOnlyList<V3VulnerabilityIndexEntry>), TypeInfoPropertyName = "VulnerabilityIndex")]