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