6 instantiations of RuntimeFile
Microsoft.DotNet.SharedFramework.Sdk (2)
src\GenerateSharedFrameworkDepsFile.cs (2)
72var nativeFile = new RuntimeFile(fileName, null, fileVersion); 77var runtimeFile = new RuntimeFile(fileName,
Microsoft.Extensions.DependencyModel (4)
DependencyContextJsonReader.cs (3)
535runtimeFiles.Add(new RuntimeFile(path, assemblyVersion, fileVersion)); 789.Select(e => new RuntimeFile(e.Path, e.AssemblyVersion, e.FileVersion)) 801.Select(e => new RuntimeFile(e.Path, e.AssemblyVersion, e.FileVersion))
RuntimeAssetGroup.cs (1)
61return _assetPaths!.Select(path => new RuntimeFile(path, null, null)).ToArray();
29 references to RuntimeFile
Microsoft.DotNet.SharedFramework.Sdk (4)
src\GenerateSharedFrameworkDepsFile.cs (4)
51var runtimeFiles = new List<RuntimeFile>(); 52var nativeFiles = new List<RuntimeFile>(); 72var nativeFile = new RuntimeFile(fileName, null, fileVersion); 77var runtimeFile = new RuntimeFile(fileName,
Microsoft.Extensions.DependencyModel (25)
CollectionExtensions.cs (4)
51public static IEnumerable<RuntimeFile> GetDefaultRuntimeFileAssets(this IEnumerable<RuntimeAssetGroup> self) => GetRuntimeFiles(self, string.Empty); 52public static IEnumerable<RuntimeFile> GetRuntimeFileAssets(this IEnumerable<RuntimeAssetGroup> self, string runtime) 61private static IEnumerable<RuntimeFile> GetRuntimeFiles(IEnumerable<RuntimeAssetGroup> groups, string runtime) 67foreach (RuntimeFile file in group.RuntimeFiles)
DependencyContextExtensions.cs (6)
23public static IEnumerable<RuntimeFile> GetDefaultNativeRuntimeFileAssets(this DependencyContext self) 38public static IEnumerable<RuntimeFile> GetRuntimeNativeRuntimeFileAssets(this DependencyContext self, string runtimeIdentifier) 53public static IEnumerable<RuntimeFile> GetDefaultNativeRuntimeFileAssets(this RuntimeLibrary self, DependencyContext context) 69public static IEnumerable<RuntimeFile> GetRuntimeNativeRuntimeFileAssets(this RuntimeLibrary self, DependencyContext context, string runtimeIdentifier) 136private static IEnumerable<RuntimeFile> ResolveRuntimeFiles( 161private static IEnumerable<RuntimeFile> SelectRuntimeFiles(IEnumerable<string?> rids, IEnumerable<RuntimeAssetGroup> groups)
DependencyContextJsonReader.cs (8)
396List<RuntimeFile>? runtimes = null; 397List<RuntimeFile>? natives = null; 500private static List<RuntimeFile> ReadRuntimeFiles(ref Utf8JsonReader reader) 502var runtimeFiles = new List<RuntimeFile>(); 787RuntimeFile[] groupRuntimeAssemblies = ridGroup 799RuntimeFile[] groupNativeLibraries = ridGroup 888public List<RuntimeFile>? Runtimes; 890public List<RuntimeFile>? Natives;
DependencyContextWriter.cs (4)
347private static void AddRuntimeSpecificAssets(IEnumerable<RuntimeFile> assets, string? runtime, string? assetType, Utf8JsonWriter jsonWriter) 349foreach (RuntimeFile asset in assets) 381private static void WriteAssetList(string key, IEnumerable<RuntimeFile> runtimeFiles, Utf8JsonWriter jsonWriter) 385foreach (RuntimeFile runtimeFile in runtimeFiles)
RuntimeAssetGroup.cs (3)
12private readonly IReadOnlyList<RuntimeFile>? _runtimeFiles; 22public RuntimeAssetGroup(string? runtime, IEnumerable<RuntimeFile> runtimeFiles) 52public IReadOnlyList<RuntimeFile> RuntimeFiles